* config/bfin/bfin.c (length_for_loop): Use NONDEBUG_INSN_P
[official-gcc/alias-decl.git] / libstdc++-v3 / configure
blob1430a8b030777a0298d1909a04c3dda9f28f91d0
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.
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.
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 ## -------------------- ##
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 *) :
30 esac
34 as_nl='
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"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
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=';'
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"
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
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
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
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
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='+ '
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
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 *) :
148 esac
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; }
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 :
164 else
165 exitcode=1; echo positional parameters were not saved.
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 if (eval "$as_required") 2>/dev/null; then :
174 as_have_required=yes
175 else
176 as_have_required=no
178 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
180 else
181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
182 as_found=false
183 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
185 IFS=$as_save_IFS
186 test -z "$as_dir" && as_dir=.
187 as_found=:
188 case $as_dir in #(
190 for as_base in sh bash ksh sh5; do
191 # Try only shells that exist, to save several forks.
192 as_shell=$as_dir/$as_base
193 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
194 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
195 CONFIG_SHELL=$as_shell as_have_required=yes
196 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
197 break 2
200 done;;
201 esac
202 as_found=false
203 done
204 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
205 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
206 CONFIG_SHELL=$SHELL as_have_required=yes
207 fi; }
208 IFS=$as_save_IFS
211 if test "x$CONFIG_SHELL" != x; then :
212 # We cannot yet assume a decent shell, so we have to provide a
213 # neutralization value for shells without unset; and this also
214 # works around shells that cannot unset nonexistent variables.
215 BASH_ENV=/dev/null
216 ENV=/dev/null
217 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
218 export CONFIG_SHELL
219 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222 if test x$as_have_required = xno; then :
223 $as_echo "$0: This script requires a shell more modern than all"
224 $as_echo "$0: the shells that I found on your system."
225 if test x${ZSH_VERSION+set} = xset ; then
226 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
227 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
228 else
229 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
230 $0: including any error possibly output before this
231 $0: message. Then install a modern shell, or manually run
232 $0: the script under such a shell if you do have one."
234 exit 1
238 SHELL=${CONFIG_SHELL-/bin/sh}
239 export SHELL
240 # Unset more variables known to interfere with behavior of common tools.
241 CLICOLOR_FORCE= GREP_OPTIONS=
242 unset CLICOLOR_FORCE GREP_OPTIONS
244 ## --------------------- ##
245 ## M4sh Shell Functions. ##
246 ## --------------------- ##
247 # as_fn_unset VAR
248 # ---------------
249 # Portably unset VAR.
250 as_fn_unset ()
252 { eval $1=; unset $1;}
254 as_unset=as_fn_unset
256 # as_fn_set_status STATUS
257 # -----------------------
258 # Set $? to STATUS, without forking.
259 as_fn_set_status ()
261 return $1
262 } # as_fn_set_status
264 # as_fn_exit STATUS
265 # -----------------
266 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
267 as_fn_exit ()
269 set +e
270 as_fn_set_status $1
271 exit $1
272 } # as_fn_exit
274 # as_fn_mkdir_p
275 # -------------
276 # Create "$as_dir" as a directory, including parents if necessary.
277 as_fn_mkdir_p ()
280 case $as_dir in #(
281 -*) as_dir=./$as_dir;;
282 esac
283 test -d "$as_dir" || eval $as_mkdir_p || {
284 as_dirs=
285 while :; do
286 case $as_dir in #(
287 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
288 *) as_qdir=$as_dir;;
289 esac
290 as_dirs="'$as_qdir' $as_dirs"
291 as_dir=`$as_dirname -- "$as_dir" ||
292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
293 X"$as_dir" : 'X\(//\)[^/]' \| \
294 X"$as_dir" : 'X\(//\)$' \| \
295 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
296 $as_echo X"$as_dir" |
297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
298 s//\1/
301 /^X\(\/\/\)[^/].*/{
302 s//\1/
305 /^X\(\/\/\)$/{
306 s//\1/
309 /^X\(\/\).*/{
310 s//\1/
313 s/.*/./; q'`
314 test -d "$as_dir" && break
315 done
316 test -z "$as_dirs" || eval "mkdir $as_dirs"
317 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
320 } # as_fn_mkdir_p
321 # as_fn_append VAR VALUE
322 # ----------------------
323 # Append the text in VALUE to the end of the definition contained in VAR. Take
324 # advantage of any shell optimizations that allow amortized linear growth over
325 # repeated appends, instead of the typical quadratic growth present in naive
326 # implementations.
327 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
328 eval 'as_fn_append ()
330 eval $1+=\$2
332 else
333 as_fn_append ()
335 eval $1=\$$1\$2
337 fi # as_fn_append
339 # as_fn_arith ARG...
340 # ------------------
341 # Perform arithmetic evaluation on the ARGs, and store the result in the
342 # global $as_val. Take advantage of shells that can avoid forks. The arguments
343 # must be portable across $(()) and expr.
344 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
345 eval 'as_fn_arith ()
347 as_val=$(( $* ))
349 else
350 as_fn_arith ()
352 as_val=`expr "$@" || test $? -eq 1`
354 fi # as_fn_arith
357 # as_fn_error ERROR [LINENO LOG_FD]
358 # ---------------------------------
359 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
360 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
361 # script with status $?, using 1 if that was 0.
362 as_fn_error ()
364 as_status=$?; test $as_status -eq 0 && as_status=1
365 if test "$3"; then
366 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
367 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
369 $as_echo "$as_me: error: $1" >&2
370 as_fn_exit $as_status
371 } # as_fn_error
373 if expr a : '\(a\)' >/dev/null 2>&1 &&
374 test "X`expr 00001 : '.*\(...\)'`" = X001; then
375 as_expr=expr
376 else
377 as_expr=false
380 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
381 as_basename=basename
382 else
383 as_basename=false
386 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
387 as_dirname=dirname
388 else
389 as_dirname=false
392 as_me=`$as_basename -- "$0" ||
393 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
394 X"$0" : 'X\(//\)$' \| \
395 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
396 $as_echo X/"$0" |
397 sed '/^.*\/\([^/][^/]*\)\/*$/{
398 s//\1/
401 /^X\/\(\/\/\)$/{
402 s//\1/
405 /^X\/\(\/\).*/{
406 s//\1/
409 s/.*/./; q'`
411 # Avoid depending upon Character Ranges.
412 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
413 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
414 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
415 as_cr_digits='0123456789'
416 as_cr_alnum=$as_cr_Letters$as_cr_digits
419 as_lineno_1=$LINENO as_lineno_1a=$LINENO
420 as_lineno_2=$LINENO as_lineno_2a=$LINENO
421 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
422 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
423 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
424 sed -n '
426 /[$]LINENO/=
427 ' <$as_myself |
428 sed '
429 s/[$]LINENO.*/&-/
430 t lineno
432 :lineno
434 :loop
435 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
436 t loop
437 s/-\n.*//
438 ' >$as_me.lineno &&
439 chmod +x "$as_me.lineno" ||
440 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
442 # Don't try to exec as it changes $[0], causing all sort of problems
443 # (the dirname of $[0] is not the place where we might find the
444 # original and so on. Autoconf is especially sensitive to this).
445 . "./$as_me.lineno"
446 # Exit status is that of the last command.
447 exit
450 ECHO_C= ECHO_N= ECHO_T=
451 case `echo -n x` in #(((((
452 -n*)
453 case `echo 'xy\c'` in
454 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
455 xy) ECHO_C='\c';;
456 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
457 ECHO_T=' ';;
458 esac;;
460 ECHO_N='-n';;
461 esac
463 rm -f conf$$ conf$$.exe conf$$.file
464 if test -d conf$$.dir; then
465 rm -f conf$$.dir/conf$$.file
466 else
467 rm -f conf$$.dir
468 mkdir conf$$.dir 2>/dev/null
470 if (echo >conf$$.file) 2>/dev/null; then
471 if ln -s conf$$.file conf$$ 2>/dev/null; then
472 as_ln_s='ln -s'
473 # ... but there are two gotchas:
474 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
475 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
476 # In both cases, we have to default to `cp -p'.
477 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
478 as_ln_s='cp -p'
479 elif ln conf$$.file conf$$ 2>/dev/null; then
480 as_ln_s=ln
481 else
482 as_ln_s='cp -p'
484 else
485 as_ln_s='cp -p'
487 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
488 rmdir conf$$.dir 2>/dev/null
490 if mkdir -p . 2>/dev/null; then
491 as_mkdir_p='mkdir -p "$as_dir"'
492 else
493 test -d ./-p && rmdir ./-p
494 as_mkdir_p=false
497 if test -x / >/dev/null 2>&1; then
498 as_test_x='test -x'
499 else
500 if ls -dL / >/dev/null 2>&1; then
501 as_ls_L_option=L
502 else
503 as_ls_L_option=
505 as_test_x='
506 eval sh -c '\''
507 if test -d "$1"; then
508 test -d "$1/.";
509 else
510 case $1 in #(
511 -*)set "./$1";;
512 esac;
513 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
514 ???[sx]*):;;*)false;;esac;fi
515 '\'' sh
518 as_executable_p=$as_test_x
520 # Sed expression to map a string onto a valid CPP name.
521 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
523 # Sed expression to map a string onto a valid variable name.
524 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
528 # Check that we are running under the correct shell.
529 SHELL=${CONFIG_SHELL-/bin/sh}
531 case X$lt_ECHO in
532 X*--fallback-echo)
533 # Remove one level of quotation (which was required for Make).
534 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
536 esac
538 ECHO=${lt_ECHO-echo}
539 if test "X$1" = X--no-reexec; then
540 # Discard the --no-reexec flag, and continue.
541 shift
542 elif test "X$1" = X--fallback-echo; then
543 # Avoid inline document here, it may be left over
545 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
546 # Yippee, $ECHO works!
548 else
549 # Restart under the correct shell.
550 exec $SHELL "$0" --no-reexec ${1+"$@"}
553 if test "X$1" = X--fallback-echo; then
554 # used as fallback echo
555 shift
556 cat <<_LT_EOF
558 _LT_EOF
559 exit 0
562 # The HP-UX ksh and POSIX shell print the target directory to stdout
563 # if CDPATH is set.
564 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
566 if test -z "$lt_ECHO"; then
567 if test "X${echo_test_string+set}" != Xset; then
568 # find a string as large as possible, as long as the shell can cope with it
569 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
570 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
571 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
572 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
573 then
574 break
576 done
579 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
580 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
581 test "X$echo_testing_string" = "X$echo_test_string"; then
583 else
584 # The Solaris, AIX, and Digital Unix default echo programs unquote
585 # backslashes. This makes it impossible to quote backslashes using
586 # echo "$something" | sed 's/\\/\\\\/g'
588 # So, first we look for a working echo in the user's PATH.
590 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
591 for dir in $PATH /usr/ucb; do
592 IFS="$lt_save_ifs"
593 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
594 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
595 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
596 test "X$echo_testing_string" = "X$echo_test_string"; then
597 ECHO="$dir/echo"
598 break
600 done
601 IFS="$lt_save_ifs"
603 if test "X$ECHO" = Xecho; then
604 # We didn't find a better echo, so look for alternatives.
605 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
606 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
607 test "X$echo_testing_string" = "X$echo_test_string"; then
608 # This shell has a builtin print -r that does the trick.
609 ECHO='print -r'
610 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
611 test "X$CONFIG_SHELL" != X/bin/ksh; then
612 # If we have ksh, try running configure again with it.
613 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
614 export ORIGINAL_CONFIG_SHELL
615 CONFIG_SHELL=/bin/ksh
616 export CONFIG_SHELL
617 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
618 else
619 # Try using printf.
620 ECHO='printf %s\n'
621 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
622 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
623 test "X$echo_testing_string" = "X$echo_test_string"; then
624 # Cool, printf works
626 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
627 test "X$echo_testing_string" = 'X\t' &&
628 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
629 test "X$echo_testing_string" = "X$echo_test_string"; then
630 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
631 export CONFIG_SHELL
632 SHELL="$CONFIG_SHELL"
633 export SHELL
634 ECHO="$CONFIG_SHELL $0 --fallback-echo"
635 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
636 test "X$echo_testing_string" = 'X\t' &&
637 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
638 test "X$echo_testing_string" = "X$echo_test_string"; then
639 ECHO="$CONFIG_SHELL $0 --fallback-echo"
640 else
641 # maybe with a smaller string...
642 prev=:
644 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
645 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
646 then
647 break
649 prev="$cmd"
650 done
652 if test "$prev" != 'sed 50q "$0"'; then
653 echo_test_string=`eval $prev`
654 export echo_test_string
655 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
656 else
657 # Oops. We lost completely, so just stick with echo.
658 ECHO=echo
666 # Copy echo and quote the copy suitably for passing to libtool from
667 # the Makefile, instead of quoting the original, which is used later.
668 lt_ECHO=$ECHO
669 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
670 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
676 exec 7<&0 </dev/null 6>&1
678 # Name of the host.
679 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
680 # so uname gets run too.
681 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
684 # Initializations.
686 ac_default_prefix=/usr/local
687 ac_clean_files=
688 ac_config_libobj_dir=.
689 LIBOBJS=
690 cross_compiling=no
691 subdirs=
692 MFLAGS=
693 MAKEFLAGS=
695 # Identity of this package.
696 PACKAGE_NAME='package-unused'
697 PACKAGE_TARNAME='libstdc++'
698 PACKAGE_VERSION='version-unused'
699 PACKAGE_STRING='package-unused version-unused'
700 PACKAGE_BUGREPORT=''
701 PACKAGE_URL=''
703 ac_unique_file="src/ios.cc"
704 # Factoring default headers for most tests.
705 ac_includes_default="\
706 #include <stdio.h>
707 #ifdef HAVE_SYS_TYPES_H
708 # include <sys/types.h>
709 #endif
710 #ifdef HAVE_SYS_STAT_H
711 # include <sys/stat.h>
712 #endif
713 #ifdef STDC_HEADERS
714 # include <stdlib.h>
715 # include <stddef.h>
716 #else
717 # ifdef HAVE_STDLIB_H
718 # include <stdlib.h>
719 # endif
720 #endif
721 #ifdef HAVE_STRING_H
722 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
723 # include <memory.h>
724 # endif
725 # include <string.h>
726 #endif
727 #ifdef HAVE_STRINGS_H
728 # include <strings.h>
729 #endif
730 #ifdef HAVE_INTTYPES_H
731 # include <inttypes.h>
732 #endif
733 #ifdef HAVE_STDINT_H
734 # include <stdint.h>
735 #endif
736 #ifdef HAVE_UNISTD_H
737 # include <unistd.h>
738 #endif"
740 ac_subst_vars='am__EXEEXT_FALSE
741 am__EXEEXT_TRUE
742 LTLIBOBJS
743 LIBOBJS
744 LIBSUPCXX_PICFLAGS
745 WARN_FLAGS
746 OPTIMIZE_CXXFLAGS
747 TOPLEVEL_INCLUDES
748 GLIBCXX_INCLUDES
749 glibcxx_toolexeclibdir
750 glibcxx_toolexecdir
751 gxx_include_dir
752 glibcxx_prefixdir
753 ERROR_CONSTANTS_SRCDIR
754 OS_INC_SRCDIR
755 ABI_TWEAKS_SRCDIR
756 CPU_DEFINES_SRCDIR
757 ATOMIC_FLAGS
758 ATOMIC_WORD_SRCDIR
759 ATOMICITY_SRCDIR
760 baseline_dir
761 GLIBCXX_LDBL_COMPAT_FALSE
762 GLIBCXX_LDBL_COMPAT_TRUE
763 ENABLE_VISIBILITY_FALSE
764 ENABLE_VISIBILITY_TRUE
765 ENABLE_SYMVERS_DARWIN_FALSE
766 ENABLE_SYMVERS_DARWIN_TRUE
767 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
768 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
769 ENABLE_SYMVERS_GNU_FALSE
770 ENABLE_SYMVERS_GNU_TRUE
771 ENABLE_SYMVERS_FALSE
772 ENABLE_SYMVERS_TRUE
773 port_specific_symbol_files
774 SYMVER_FILE
775 LTLIBICONV
776 LIBICONV
777 OPT_LDFLAGS
778 SECTION_LDFLAGS
779 GLIBCXX_LIBS
780 EXTRA_CXX_FLAGS
781 ENABLE_PARALLEL_FALSE
782 ENABLE_PARALLEL_TRUE
783 GLIBCXX_BUILD_DEBUG_FALSE
784 GLIBCXX_BUILD_DEBUG_TRUE
785 DEBUG_FLAGS
786 GLIBCXX_C_HEADERS_EXTRA_FALSE
787 GLIBCXX_C_HEADERS_EXTRA_TRUE
788 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
789 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
790 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
791 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
792 GLIBCXX_C_HEADERS_C_STD_FALSE
793 GLIBCXX_C_HEADERS_C_STD_TRUE
794 GLIBCXX_C_HEADERS_C_FALSE
795 GLIBCXX_C_HEADERS_C_TRUE
796 C_INCLUDE_DIR
797 ALLOCATOR_NAME
798 ALLOCATOR_H
799 CLOCALE_INTERNAL_H
800 CLOCALE_CC
801 CTIME_CC
802 CTIME_H
803 CNUMERIC_CC
804 CMONEY_CC
805 CMESSAGES_CC
806 CCTYPE_CC
807 CCOLLATE_CC
808 CCODECVT_CC
809 CMESSAGES_H
810 CLOCALE_H
811 USE_NLS
812 glibcxx_localedir
813 glibcxx_POFILES
814 glibcxx_MOFILES
815 check_msgfmt
816 BASIC_FILE_CC
817 BASIC_FILE_H
818 CSTDIO_H
819 SECTION_FLAGS
820 WERROR
821 glibcxx_thread_h
822 glibcxx_PCHFLAGS
823 GLIBCXX_BUILD_PCH_FALSE
824 GLIBCXX_BUILD_PCH_TRUE
825 GLIBCXX_HOSTED_FALSE
826 GLIBCXX_HOSTED_TRUE
827 enable_static
828 enable_shared
829 CXXCPP
830 OTOOL64
831 OTOOL
832 LIPO
833 NMEDIT
834 DSYMUTIL
835 lt_ECHO
836 OBJDUMP
838 ac_ct_DUMPBIN
839 DUMPBIN
841 FGREP
843 LIBTOOL
844 EGREP
845 GREP
847 MAINT
848 MAINTAINER_MODE_FALSE
849 MAINTAINER_MODE_TRUE
850 RANLIB
853 LN_S
854 toplevel_srcdir
855 glibcxx_srcdir
856 glibcxx_builddir
857 ac_ct_CXX
858 CXXFLAGS
860 OBJEXT
861 EXEEXT
862 ac_ct_CC
863 CPPFLAGS
864 LDFLAGS
865 CFLAGS
867 am__untar
868 am__tar
869 AMTAR
870 am__leading_dot
871 SET_MAKE
873 mkdir_p
874 MKDIR_P
875 INSTALL_STRIP_PROGRAM
876 STRIP
877 install_sh
878 MAKEINFO
879 AUTOHEADER
880 AUTOMAKE
881 AUTOCONF
882 ACLOCAL
883 VERSION
884 PACKAGE
885 CYGPATH_W
886 am__isrc
887 INSTALL_DATA
888 INSTALL_SCRIPT
889 INSTALL_PROGRAM
890 target_os
891 target_vendor
892 target_cpu
893 target
894 host_os
895 host_vendor
896 host_cpu
897 host
898 build_os
899 build_vendor
900 build_cpu
901 build
902 multi_basedir
903 libtool_VERSION
904 target_alias
905 host_alias
906 build_alias
907 LIBS
908 ECHO_T
909 ECHO_N
910 ECHO_C
911 DEFS
912 mandir
913 localedir
914 libdir
915 psdir
916 pdfdir
917 dvidir
918 htmldir
919 infodir
920 docdir
921 oldincludedir
922 includedir
923 localstatedir
924 sharedstatedir
925 sysconfdir
926 datadir
927 datarootdir
928 libexecdir
929 sbindir
930 bindir
931 program_transform_name
932 prefix
933 exec_prefix
934 PACKAGE_URL
935 PACKAGE_BUGREPORT
936 PACKAGE_STRING
937 PACKAGE_VERSION
938 PACKAGE_TARNAME
939 PACKAGE_NAME
940 PATH_SEPARATOR
941 SHELL'
942 ac_subst_files=''
943 ac_user_opts='
944 enable_option_checking
945 enable_multilib
946 with_target_subdir
947 with_cross_host
948 with_newlib
949 enable_maintainer_mode
950 enable_shared
951 enable_static
952 with_pic
953 enable_fast_install
954 with_gnu_ld
955 enable_libtool_lock
956 enable_hosted_libstdcxx
957 enable_sjlj_exceptions
958 enable_libstdcxx_pch
959 enable_cstdio
960 enable_clocale
961 enable_nls
962 enable_libstdcxx_allocator
963 enable_cheaders
964 enable_long_long
965 enable_wchar_t
966 enable_c99
967 enable_concept_checks
968 enable_libstdcxx_debug_flags
969 enable_libstdcxx_debug
970 enable_cxx_flags
971 enable_fully_dynamic_string
972 enable_libstdcxx_time
973 enable_tls
974 enable_rpath
975 with_libiconv_prefix
976 with_system_libunwind
977 enable_linux_futex
978 enable_symvers
979 enable_visibility
980 with_gxx_include_dir
981 enable_version_specific_runtime_libs
983 ac_precious_vars='build_alias
984 host_alias
985 target_alias
987 CPPFLAGS
989 CXXFLAGS
990 LDFLAGS
991 LIBS
993 CXXCPP'
996 # Initialize some variables set by options.
997 ac_init_help=
998 ac_init_version=false
999 ac_unrecognized_opts=
1000 ac_unrecognized_sep=
1001 # The variables have the same names as the options, with
1002 # dashes changed to underlines.
1003 cache_file=/dev/null
1004 exec_prefix=NONE
1005 no_create=
1006 no_recursion=
1007 prefix=NONE
1008 program_prefix=NONE
1009 program_suffix=NONE
1010 program_transform_name=s,x,x,
1011 silent=
1012 site=
1013 srcdir=
1014 verbose=
1015 x_includes=NONE
1016 x_libraries=NONE
1018 # Installation directory options.
1019 # These are left unexpanded so users can "make install exec_prefix=/foo"
1020 # and all the variables that are supposed to be based on exec_prefix
1021 # by default will actually change.
1022 # Use braces instead of parens because sh, perl, etc. also accept them.
1023 # (The list follows the same order as the GNU Coding Standards.)
1024 bindir='${exec_prefix}/bin'
1025 sbindir='${exec_prefix}/sbin'
1026 libexecdir='${exec_prefix}/libexec'
1027 datarootdir='${prefix}/share'
1028 datadir='${datarootdir}'
1029 sysconfdir='${prefix}/etc'
1030 sharedstatedir='${prefix}/com'
1031 localstatedir='${prefix}/var'
1032 includedir='${prefix}/include'
1033 oldincludedir='/usr/include'
1034 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1035 infodir='${datarootdir}/info'
1036 htmldir='${docdir}'
1037 dvidir='${docdir}'
1038 pdfdir='${docdir}'
1039 psdir='${docdir}'
1040 libdir='${exec_prefix}/lib'
1041 localedir='${datarootdir}/locale'
1042 mandir='${datarootdir}/man'
1044 ac_prev=
1045 ac_dashdash=
1046 for ac_option
1048 # If the previous option needs an argument, assign it.
1049 if test -n "$ac_prev"; then
1050 eval $ac_prev=\$ac_option
1051 ac_prev=
1052 continue
1055 case $ac_option in
1056 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1057 *) ac_optarg=yes ;;
1058 esac
1060 # Accept the important Cygnus configure options, so we can diagnose typos.
1062 case $ac_dashdash$ac_option in
1064 ac_dashdash=yes ;;
1066 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1067 ac_prev=bindir ;;
1068 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1069 bindir=$ac_optarg ;;
1071 -build | --build | --buil | --bui | --bu)
1072 ac_prev=build_alias ;;
1073 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1074 build_alias=$ac_optarg ;;
1076 -cache-file | --cache-file | --cache-fil | --cache-fi \
1077 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1078 ac_prev=cache_file ;;
1079 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1080 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1081 cache_file=$ac_optarg ;;
1083 --config-cache | -C)
1084 cache_file=config.cache ;;
1086 -datadir | --datadir | --datadi | --datad)
1087 ac_prev=datadir ;;
1088 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1089 datadir=$ac_optarg ;;
1091 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1092 | --dataroo | --dataro | --datar)
1093 ac_prev=datarootdir ;;
1094 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1095 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1096 datarootdir=$ac_optarg ;;
1098 -disable-* | --disable-*)
1099 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1100 # Reject names that are not valid shell variable names.
1101 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1102 as_fn_error "invalid feature name: $ac_useropt"
1103 ac_useropt_orig=$ac_useropt
1104 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1105 case $ac_user_opts in
1107 "enable_$ac_useropt"
1108 "*) ;;
1109 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1110 ac_unrecognized_sep=', ';;
1111 esac
1112 eval enable_$ac_useropt=no ;;
1114 -docdir | --docdir | --docdi | --doc | --do)
1115 ac_prev=docdir ;;
1116 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1117 docdir=$ac_optarg ;;
1119 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1120 ac_prev=dvidir ;;
1121 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1122 dvidir=$ac_optarg ;;
1124 -enable-* | --enable-*)
1125 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1126 # Reject names that are not valid shell variable names.
1127 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1128 as_fn_error "invalid feature name: $ac_useropt"
1129 ac_useropt_orig=$ac_useropt
1130 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1131 case $ac_user_opts in
1133 "enable_$ac_useropt"
1134 "*) ;;
1135 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1136 ac_unrecognized_sep=', ';;
1137 esac
1138 eval enable_$ac_useropt=\$ac_optarg ;;
1140 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1141 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1142 | --exec | --exe | --ex)
1143 ac_prev=exec_prefix ;;
1144 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1145 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1146 | --exec=* | --exe=* | --ex=*)
1147 exec_prefix=$ac_optarg ;;
1149 -gas | --gas | --ga | --g)
1150 # Obsolete; use --with-gas.
1151 with_gas=yes ;;
1153 -help | --help | --hel | --he | -h)
1154 ac_init_help=long ;;
1155 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1156 ac_init_help=recursive ;;
1157 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1158 ac_init_help=short ;;
1160 -host | --host | --hos | --ho)
1161 ac_prev=host_alias ;;
1162 -host=* | --host=* | --hos=* | --ho=*)
1163 host_alias=$ac_optarg ;;
1165 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1166 ac_prev=htmldir ;;
1167 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1168 | --ht=*)
1169 htmldir=$ac_optarg ;;
1171 -includedir | --includedir | --includedi | --included | --include \
1172 | --includ | --inclu | --incl | --inc)
1173 ac_prev=includedir ;;
1174 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1175 | --includ=* | --inclu=* | --incl=* | --inc=*)
1176 includedir=$ac_optarg ;;
1178 -infodir | --infodir | --infodi | --infod | --info | --inf)
1179 ac_prev=infodir ;;
1180 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1181 infodir=$ac_optarg ;;
1183 -libdir | --libdir | --libdi | --libd)
1184 ac_prev=libdir ;;
1185 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1186 libdir=$ac_optarg ;;
1188 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1189 | --libexe | --libex | --libe)
1190 ac_prev=libexecdir ;;
1191 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1192 | --libexe=* | --libex=* | --libe=*)
1193 libexecdir=$ac_optarg ;;
1195 -localedir | --localedir | --localedi | --localed | --locale)
1196 ac_prev=localedir ;;
1197 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1198 localedir=$ac_optarg ;;
1200 -localstatedir | --localstatedir | --localstatedi | --localstated \
1201 | --localstate | --localstat | --localsta | --localst | --locals)
1202 ac_prev=localstatedir ;;
1203 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1204 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1205 localstatedir=$ac_optarg ;;
1207 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1208 ac_prev=mandir ;;
1209 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1210 mandir=$ac_optarg ;;
1212 -nfp | --nfp | --nf)
1213 # Obsolete; use --without-fp.
1214 with_fp=no ;;
1216 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1217 | --no-cr | --no-c | -n)
1218 no_create=yes ;;
1220 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1221 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1222 no_recursion=yes ;;
1224 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1225 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1226 | --oldin | --oldi | --old | --ol | --o)
1227 ac_prev=oldincludedir ;;
1228 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1229 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1230 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1231 oldincludedir=$ac_optarg ;;
1233 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1234 ac_prev=prefix ;;
1235 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1236 prefix=$ac_optarg ;;
1238 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1239 | --program-pre | --program-pr | --program-p)
1240 ac_prev=program_prefix ;;
1241 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1242 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1243 program_prefix=$ac_optarg ;;
1245 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1246 | --program-suf | --program-su | --program-s)
1247 ac_prev=program_suffix ;;
1248 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1249 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1250 program_suffix=$ac_optarg ;;
1252 -program-transform-name | --program-transform-name \
1253 | --program-transform-nam | --program-transform-na \
1254 | --program-transform-n | --program-transform- \
1255 | --program-transform | --program-transfor \
1256 | --program-transfo | --program-transf \
1257 | --program-trans | --program-tran \
1258 | --progr-tra | --program-tr | --program-t)
1259 ac_prev=program_transform_name ;;
1260 -program-transform-name=* | --program-transform-name=* \
1261 | --program-transform-nam=* | --program-transform-na=* \
1262 | --program-transform-n=* | --program-transform-=* \
1263 | --program-transform=* | --program-transfor=* \
1264 | --program-transfo=* | --program-transf=* \
1265 | --program-trans=* | --program-tran=* \
1266 | --progr-tra=* | --program-tr=* | --program-t=*)
1267 program_transform_name=$ac_optarg ;;
1269 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1270 ac_prev=pdfdir ;;
1271 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1272 pdfdir=$ac_optarg ;;
1274 -psdir | --psdir | --psdi | --psd | --ps)
1275 ac_prev=psdir ;;
1276 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1277 psdir=$ac_optarg ;;
1279 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1280 | -silent | --silent | --silen | --sile | --sil)
1281 silent=yes ;;
1283 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1284 ac_prev=sbindir ;;
1285 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1286 | --sbi=* | --sb=*)
1287 sbindir=$ac_optarg ;;
1289 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1290 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1291 | --sharedst | --shareds | --shared | --share | --shar \
1292 | --sha | --sh)
1293 ac_prev=sharedstatedir ;;
1294 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1295 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1296 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1297 | --sha=* | --sh=*)
1298 sharedstatedir=$ac_optarg ;;
1300 -site | --site | --sit)
1301 ac_prev=site ;;
1302 -site=* | --site=* | --sit=*)
1303 site=$ac_optarg ;;
1305 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1306 ac_prev=srcdir ;;
1307 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1308 srcdir=$ac_optarg ;;
1310 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1311 | --syscon | --sysco | --sysc | --sys | --sy)
1312 ac_prev=sysconfdir ;;
1313 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1314 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1315 sysconfdir=$ac_optarg ;;
1317 -target | --target | --targe | --targ | --tar | --ta | --t)
1318 ac_prev=target_alias ;;
1319 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1320 target_alias=$ac_optarg ;;
1322 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1323 verbose=yes ;;
1325 -version | --version | --versio | --versi | --vers | -V)
1326 ac_init_version=: ;;
1328 -with-* | --with-*)
1329 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1330 # Reject names that are not valid shell variable names.
1331 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1332 as_fn_error "invalid package name: $ac_useropt"
1333 ac_useropt_orig=$ac_useropt
1334 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1335 case $ac_user_opts in
1337 "with_$ac_useropt"
1338 "*) ;;
1339 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1340 ac_unrecognized_sep=', ';;
1341 esac
1342 eval with_$ac_useropt=\$ac_optarg ;;
1344 -without-* | --without-*)
1345 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1346 # Reject names that are not valid shell variable names.
1347 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1348 as_fn_error "invalid package name: $ac_useropt"
1349 ac_useropt_orig=$ac_useropt
1350 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1351 case $ac_user_opts in
1353 "with_$ac_useropt"
1354 "*) ;;
1355 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1356 ac_unrecognized_sep=', ';;
1357 esac
1358 eval with_$ac_useropt=no ;;
1360 --x)
1361 # Obsolete; use --with-x.
1362 with_x=yes ;;
1364 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1365 | --x-incl | --x-inc | --x-in | --x-i)
1366 ac_prev=x_includes ;;
1367 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1368 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1369 x_includes=$ac_optarg ;;
1371 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1372 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1373 ac_prev=x_libraries ;;
1374 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1375 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1376 x_libraries=$ac_optarg ;;
1378 -*) as_fn_error "unrecognized option: \`$ac_option'
1379 Try \`$0 --help' for more information."
1382 *=*)
1383 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1384 # Reject names that are not valid shell variable names.
1385 case $ac_envvar in #(
1386 '' | [0-9]* | *[!_$as_cr_alnum]* )
1387 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1388 esac
1389 eval $ac_envvar=\$ac_optarg
1390 export $ac_envvar ;;
1393 # FIXME: should be removed in autoconf 3.0.
1394 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1395 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1396 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1397 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1400 esac
1401 done
1403 if test -n "$ac_prev"; then
1404 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1405 as_fn_error "missing argument to $ac_option"
1408 if test -n "$ac_unrecognized_opts"; then
1409 case $enable_option_checking in
1410 no) ;;
1411 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1412 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1413 esac
1416 # Check all directory arguments for consistency.
1417 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1418 datadir sysconfdir sharedstatedir localstatedir includedir \
1419 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1420 libdir localedir mandir
1422 eval ac_val=\$$ac_var
1423 # Remove trailing slashes.
1424 case $ac_val in
1425 */ )
1426 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1427 eval $ac_var=\$ac_val;;
1428 esac
1429 # Be sure to have absolute directory names.
1430 case $ac_val in
1431 [\\/$]* | ?:[\\/]* ) continue;;
1432 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1433 esac
1434 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1435 done
1437 # There might be people who depend on the old broken behavior: `$host'
1438 # used to hold the argument of --host etc.
1439 # FIXME: To remove some day.
1440 build=$build_alias
1441 host=$host_alias
1442 target=$target_alias
1444 # FIXME: To remove some day.
1445 if test "x$host_alias" != x; then
1446 if test "x$build_alias" = x; then
1447 cross_compiling=maybe
1448 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1449 If a cross compiler is detected then cross compile mode will be used." >&2
1450 elif test "x$build_alias" != "x$host_alias"; then
1451 cross_compiling=yes
1455 ac_tool_prefix=
1456 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1458 test "$silent" = yes && exec 6>/dev/null
1461 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1462 ac_ls_di=`ls -di .` &&
1463 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1464 as_fn_error "working directory cannot be determined"
1465 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1466 as_fn_error "pwd does not report name of working directory"
1469 # Find the source files, if location was not specified.
1470 if test -z "$srcdir"; then
1471 ac_srcdir_defaulted=yes
1472 # Try the directory containing this script, then the parent directory.
1473 ac_confdir=`$as_dirname -- "$as_myself" ||
1474 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1475 X"$as_myself" : 'X\(//\)[^/]' \| \
1476 X"$as_myself" : 'X\(//\)$' \| \
1477 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1478 $as_echo X"$as_myself" |
1479 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1480 s//\1/
1483 /^X\(\/\/\)[^/].*/{
1484 s//\1/
1487 /^X\(\/\/\)$/{
1488 s//\1/
1491 /^X\(\/\).*/{
1492 s//\1/
1495 s/.*/./; q'`
1496 srcdir=$ac_confdir
1497 if test ! -r "$srcdir/$ac_unique_file"; then
1498 srcdir=..
1500 else
1501 ac_srcdir_defaulted=no
1503 if test ! -r "$srcdir/$ac_unique_file"; then
1504 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1505 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1507 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1508 ac_abs_confdir=`(
1509 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1510 pwd)`
1511 # When building in place, set srcdir=.
1512 if test "$ac_abs_confdir" = "$ac_pwd"; then
1513 srcdir=.
1515 # Remove unnecessary trailing slashes from srcdir.
1516 # Double slashes in file names in object file debugging info
1517 # mess up M-x gdb in Emacs.
1518 case $srcdir in
1519 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1520 esac
1521 for ac_var in $ac_precious_vars; do
1522 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1523 eval ac_env_${ac_var}_value=\$${ac_var}
1524 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1525 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1526 done
1529 # Report the --help message.
1531 if test "$ac_init_help" = "long"; then
1532 # Omit some internal or obsolete options to make the list less imposing.
1533 # This message is too long to be a string in the A/UX 3.1 sh.
1534 cat <<_ACEOF
1535 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1537 Usage: $0 [OPTION]... [VAR=VALUE]...
1539 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1540 VAR=VALUE. See below for descriptions of some of the useful variables.
1542 Defaults for the options are specified in brackets.
1544 Configuration:
1545 -h, --help display this help and exit
1546 --help=short display options specific to this package
1547 --help=recursive display the short help of all the included packages
1548 -V, --version display version information and exit
1549 -q, --quiet, --silent do not print \`checking...' messages
1550 --cache-file=FILE cache test results in FILE [disabled]
1551 -C, --config-cache alias for \`--cache-file=config.cache'
1552 -n, --no-create do not create output files
1553 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1555 Installation directories:
1556 --prefix=PREFIX install architecture-independent files in PREFIX
1557 [$ac_default_prefix]
1558 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1559 [PREFIX]
1561 By default, \`make install' will install all the files in
1562 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1563 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1564 for instance \`--prefix=\$HOME'.
1566 For better control, use the options below.
1568 Fine tuning of the installation directories:
1569 --bindir=DIR user executables [EPREFIX/bin]
1570 --sbindir=DIR system admin executables [EPREFIX/sbin]
1571 --libexecdir=DIR program executables [EPREFIX/libexec]
1572 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1573 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1574 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1575 --libdir=DIR object code libraries [EPREFIX/lib]
1576 --includedir=DIR C header files [PREFIX/include]
1577 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1578 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1579 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1580 --infodir=DIR info documentation [DATAROOTDIR/info]
1581 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1582 --mandir=DIR man documentation [DATAROOTDIR/man]
1583 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1584 --htmldir=DIR html documentation [DOCDIR]
1585 --dvidir=DIR dvi documentation [DOCDIR]
1586 --pdfdir=DIR pdf documentation [DOCDIR]
1587 --psdir=DIR ps documentation [DOCDIR]
1588 _ACEOF
1590 cat <<\_ACEOF
1592 Program names:
1593 --program-prefix=PREFIX prepend PREFIX to installed program names
1594 --program-suffix=SUFFIX append SUFFIX to installed program names
1595 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1597 System types:
1598 --build=BUILD configure for building on BUILD [guessed]
1599 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1600 --target=TARGET configure for building compilers for TARGET [HOST]
1601 _ACEOF
1604 if test -n "$ac_init_help"; then
1605 case $ac_init_help in
1606 short | recursive ) echo "Configuration of package-unused version-unused:";;
1607 esac
1608 cat <<\_ACEOF
1610 Optional Features:
1611 --disable-option-checking ignore unrecognized --enable/--with options
1612 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1613 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1614 --enable-multilib build many library versions (default)
1615 --enable-maintainer-mode enable make rules and dependencies not useful
1616 (and sometimes confusing) to the casual installer
1617 --enable-shared[=PKGS] build shared libraries [default=yes]
1618 --enable-static[=PKGS] build static libraries [default=yes]
1619 --enable-fast-install[=PKGS]
1620 optimize for fast installation [default=yes]
1621 --disable-libtool-lock avoid locking (might break parallel builds)
1622 --disable-hosted-libstdcxx
1623 only build freestanding C++ runtime support
1624 --enable-sjlj-exceptions
1625 force use of builtin_setjmp for exceptions
1626 [default=auto]
1627 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1628 [default=$is_hosted]
1629 --enable-cstdio=PACKAGE use target-specific I/O package [default=stdio]
1630 --enable-clocale[=MODEL]
1631 use MODEL for target locale package [default=auto]
1632 --enable-nls use Native Language Support (default)
1633 --enable-libstdcxx-allocator=KIND
1634 use KIND for target std::allocator base
1635 [default=auto]
1636 --enable-cheaders=KIND construct "C" headers for g++ [default=$c_model]
1637 --enable-long-long enable template specializations for 'long long'
1638 [default=yes]
1639 --enable-wchar_t enable template specializations for 'wchar_t'
1640 [default=yes]
1641 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1642 --enable-concept-checks use Boost-derived template checks [default=no]
1643 --enable-libstdcxx-debug-flags=FLAGS
1644 pass compiler FLAGS when building debug library
1645 [default="-g3 -O0"]
1646 --enable-libstdcxx-debug
1647 build extra debug library [default=no]
1648 --enable-cxx-flags=FLAGS
1649 pass compiler FLAGS when building library [default=]
1650 --enable-fully-dynamic-string
1651 do not put empty strings in per-process static
1652 memory [default=no]
1653 --enable-libstdcxx-time=KIND
1654 use KIND for check type [default=no]
1655 --enable-tls Use thread-local storage [default=yes]
1656 --disable-rpath do not hardcode runtime library paths
1657 --enable-linux-futex use the Linux futex system call [default=default]
1658 --enable-symvers=STYLE enables symbol versioning of the shared library
1659 [default=yes]
1660 --enable-visibility enables visibility safe usage [default=yes]
1661 --enable-version-specific-runtime-libs
1662 Specify that runtime libraries should be installed
1663 in a compiler-specific directory
1665 Optional Packages:
1666 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1667 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1668 --with-target-subdir=SUBDIR
1669 configuring in a subdirectory
1670 --with-cross-host=HOST configuring with a cross compiler
1671 --with-newlib assume newlib as a system C library
1672 --with-pic try to use only PIC/non-PIC objects [default=use
1673 both]
1674 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1675 --with-gnu-ld assume the C compiler uses GNU ld default=no
1676 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1677 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1678 --with-system-libunwind use installed libunwind
1679 --with-gxx-include-dir=DIR
1680 installation directory for include files
1682 Some influential environment variables:
1683 CC C compiler command
1684 CFLAGS C compiler flags
1685 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1686 nonstandard directory <lib dir>
1687 LIBS libraries to pass to the linker, e.g. -l<library>
1688 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1689 you have headers in a nonstandard directory <include dir>
1690 CXX C++ compiler command
1691 CXXFLAGS C++ compiler flags
1692 CPP C preprocessor
1693 CXXCPP C++ preprocessor
1695 Use these variables to override the choices made by `configure' or to help
1696 it to find libraries and programs with nonstandard names/locations.
1698 Report bugs to the package provider.
1699 _ACEOF
1700 ac_status=$?
1703 if test "$ac_init_help" = "recursive"; then
1704 # If there are subdirs, report their specific --help.
1705 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1706 test -d "$ac_dir" ||
1707 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1708 continue
1709 ac_builddir=.
1711 case "$ac_dir" in
1712 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1714 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1715 # A ".." for each directory in $ac_dir_suffix.
1716 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1717 case $ac_top_builddir_sub in
1718 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1719 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1720 esac ;;
1721 esac
1722 ac_abs_top_builddir=$ac_pwd
1723 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1724 # for backward compatibility:
1725 ac_top_builddir=$ac_top_build_prefix
1727 case $srcdir in
1728 .) # We are building in place.
1729 ac_srcdir=.
1730 ac_top_srcdir=$ac_top_builddir_sub
1731 ac_abs_top_srcdir=$ac_pwd ;;
1732 [\\/]* | ?:[\\/]* ) # Absolute name.
1733 ac_srcdir=$srcdir$ac_dir_suffix;
1734 ac_top_srcdir=$srcdir
1735 ac_abs_top_srcdir=$srcdir ;;
1736 *) # Relative name.
1737 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1738 ac_top_srcdir=$ac_top_build_prefix$srcdir
1739 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1740 esac
1741 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1743 cd "$ac_dir" || { ac_status=$?; continue; }
1744 # Check for guested configure.
1745 if test -f "$ac_srcdir/configure.gnu"; then
1746 echo &&
1747 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1748 elif test -f "$ac_srcdir/configure"; then
1749 echo &&
1750 $SHELL "$ac_srcdir/configure" --help=recursive
1751 else
1752 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1753 fi || ac_status=$?
1754 cd "$ac_pwd" || { ac_status=$?; break; }
1755 done
1758 test -n "$ac_init_help" && exit $ac_status
1759 if $ac_init_version; then
1760 cat <<\_ACEOF
1761 package-unused configure version-unused
1762 generated by GNU Autoconf 2.64
1764 Copyright (C) 2009 Free Software Foundation, Inc.
1765 This configure script is free software; the Free Software Foundation
1766 gives unlimited permission to copy, distribute and modify it.
1767 _ACEOF
1768 exit
1771 ## ------------------------ ##
1772 ## Autoconf initialization. ##
1773 ## ------------------------ ##
1775 # ac_fn_c_try_compile LINENO
1776 # --------------------------
1777 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1778 ac_fn_c_try_compile ()
1780 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1781 rm -f conftest.$ac_objext
1782 if { { ac_try="$ac_compile"
1783 case "(($ac_try" in
1784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1785 *) ac_try_echo=$ac_try;;
1786 esac
1787 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1788 $as_echo "$ac_try_echo"; } >&5
1789 (eval "$ac_compile") 2>conftest.err
1790 ac_status=$?
1791 if test -s conftest.err; then
1792 grep -v '^ *+' conftest.err >conftest.er1
1793 cat conftest.er1 >&5
1794 mv -f conftest.er1 conftest.err
1796 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1797 test $ac_status = 0; } && {
1798 test -z "$ac_c_werror_flag" ||
1799 test ! -s conftest.err
1800 } && test -s conftest.$ac_objext; then :
1801 ac_retval=0
1802 else
1803 $as_echo "$as_me: failed program was:" >&5
1804 sed 's/^/| /' conftest.$ac_ext >&5
1806 ac_retval=1
1808 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1809 return $ac_retval
1811 } # ac_fn_c_try_compile
1813 # ac_fn_cxx_try_compile LINENO
1814 # ----------------------------
1815 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1816 ac_fn_cxx_try_compile ()
1818 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1819 rm -f conftest.$ac_objext
1820 if { { ac_try="$ac_compile"
1821 case "(($ac_try" in
1822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1823 *) ac_try_echo=$ac_try;;
1824 esac
1825 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1826 $as_echo "$ac_try_echo"; } >&5
1827 (eval "$ac_compile") 2>conftest.err
1828 ac_status=$?
1829 if test -s conftest.err; then
1830 grep -v '^ *+' conftest.err >conftest.er1
1831 cat conftest.er1 >&5
1832 mv -f conftest.er1 conftest.err
1834 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1835 test $ac_status = 0; } && {
1836 test -z "$ac_cxx_werror_flag" ||
1837 test ! -s conftest.err
1838 } && test -s conftest.$ac_objext; then :
1839 ac_retval=0
1840 else
1841 $as_echo "$as_me: failed program was:" >&5
1842 sed 's/^/| /' conftest.$ac_ext >&5
1844 ac_retval=1
1846 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1847 return $ac_retval
1849 } # ac_fn_cxx_try_compile
1851 # ac_fn_c_try_cpp LINENO
1852 # ----------------------
1853 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1854 ac_fn_c_try_cpp ()
1856 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1857 if { { ac_try="$ac_cpp conftest.$ac_ext"
1858 case "(($ac_try" in
1859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1860 *) ac_try_echo=$ac_try;;
1861 esac
1862 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1863 $as_echo "$ac_try_echo"; } >&5
1864 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1865 ac_status=$?
1866 if test -s conftest.err; then
1867 grep -v '^ *+' conftest.err >conftest.er1
1868 cat conftest.er1 >&5
1869 mv -f conftest.er1 conftest.err
1871 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1872 test $ac_status = 0; } >/dev/null && {
1873 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1874 test ! -s conftest.err
1875 }; then :
1876 ac_retval=0
1877 else
1878 $as_echo "$as_me: failed program was:" >&5
1879 sed 's/^/| /' conftest.$ac_ext >&5
1881 ac_retval=1
1883 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1884 return $ac_retval
1886 } # ac_fn_c_try_cpp
1888 # ac_fn_c_try_link LINENO
1889 # -----------------------
1890 # Try to link conftest.$ac_ext, and return whether this succeeded.
1891 ac_fn_c_try_link ()
1893 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1894 rm -f conftest.$ac_objext conftest$ac_exeext
1895 if { { ac_try="$ac_link"
1896 case "(($ac_try" in
1897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1898 *) ac_try_echo=$ac_try;;
1899 esac
1900 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1901 $as_echo "$ac_try_echo"; } >&5
1902 (eval "$ac_link") 2>conftest.err
1903 ac_status=$?
1904 if test -s conftest.err; then
1905 grep -v '^ *+' conftest.err >conftest.er1
1906 cat conftest.er1 >&5
1907 mv -f conftest.er1 conftest.err
1909 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1910 test $ac_status = 0; } && {
1911 test -z "$ac_c_werror_flag" ||
1912 test ! -s conftest.err
1913 } && test -s conftest$ac_exeext && {
1914 test "$cross_compiling" = yes ||
1915 $as_test_x conftest$ac_exeext
1916 }; then :
1917 ac_retval=0
1918 else
1919 $as_echo "$as_me: failed program was:" >&5
1920 sed 's/^/| /' conftest.$ac_ext >&5
1922 ac_retval=1
1924 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1925 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1926 # interfere with the next link command; also delete a directory that is
1927 # left behind by Apple's compiler. We do this before executing the actions.
1928 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1929 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1930 return $ac_retval
1932 } # ac_fn_c_try_link
1934 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1935 # -------------------------------------------------------
1936 # Tests whether HEADER exists and can be compiled using the include files in
1937 # INCLUDES, setting the cache variable VAR accordingly.
1938 ac_fn_c_check_header_compile ()
1940 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1942 $as_echo_n "checking for $2... " >&6; }
1943 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1944 $as_echo_n "(cached) " >&6
1945 else
1946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1947 /* end confdefs.h. */
1949 #include <$2>
1950 _ACEOF
1951 if ac_fn_c_try_compile "$LINENO"; then :
1952 eval "$3=yes"
1953 else
1954 eval "$3=no"
1956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1958 eval ac_res=\$$3
1959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1960 $as_echo "$ac_res" >&6; }
1961 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1963 } # ac_fn_c_check_header_compile
1965 # ac_fn_c_try_run LINENO
1966 # ----------------------
1967 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1968 # that executables *can* be run.
1969 ac_fn_c_try_run ()
1971 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1972 if { { ac_try="$ac_link"
1973 case "(($ac_try" in
1974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1975 *) ac_try_echo=$ac_try;;
1976 esac
1977 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1978 $as_echo "$ac_try_echo"; } >&5
1979 (eval "$ac_link") 2>&5
1980 ac_status=$?
1981 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1982 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1983 { { case "(($ac_try" in
1984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1985 *) ac_try_echo=$ac_try;;
1986 esac
1987 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1988 $as_echo "$ac_try_echo"; } >&5
1989 (eval "$ac_try") 2>&5
1990 ac_status=$?
1991 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1992 test $ac_status = 0; }; }; then :
1993 ac_retval=0
1994 else
1995 $as_echo "$as_me: program exited with status $ac_status" >&5
1996 $as_echo "$as_me: failed program was:" >&5
1997 sed 's/^/| /' conftest.$ac_ext >&5
1999 ac_retval=$ac_status
2001 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2002 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2003 return $ac_retval
2005 } # ac_fn_c_try_run
2007 # ac_fn_c_check_func LINENO FUNC VAR
2008 # ----------------------------------
2009 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2010 ac_fn_c_check_func ()
2012 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2014 $as_echo_n "checking for $2... " >&6; }
2015 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2016 $as_echo_n "(cached) " >&6
2017 else
2018 if test x$gcc_no_link = xyes; then
2019 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
2021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2022 /* end confdefs.h. */
2023 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2024 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2025 #define $2 innocuous_$2
2027 /* System header to define __stub macros and hopefully few prototypes,
2028 which can conflict with char $2 (); below.
2029 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2030 <limits.h> exists even on freestanding compilers. */
2032 #ifdef __STDC__
2033 # include <limits.h>
2034 #else
2035 # include <assert.h>
2036 #endif
2038 #undef $2
2040 /* Override any GCC internal prototype to avoid an error.
2041 Use char because int might match the return type of a GCC
2042 builtin and then its argument prototype would still apply. */
2043 #ifdef __cplusplus
2044 extern "C"
2045 #endif
2046 char $2 ();
2047 /* The GNU C library defines this for functions which it implements
2048 to always fail with ENOSYS. Some functions are actually named
2049 something starting with __ and the normal name is an alias. */
2050 #if defined __stub_$2 || defined __stub___$2
2051 choke me
2052 #endif
2055 main ()
2057 return $2 ();
2059 return 0;
2061 _ACEOF
2062 if ac_fn_c_try_link "$LINENO"; then :
2063 eval "$3=yes"
2064 else
2065 eval "$3=no"
2067 rm -f core conftest.err conftest.$ac_objext \
2068 conftest$ac_exeext conftest.$ac_ext
2070 eval ac_res=\$$3
2071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2072 $as_echo "$ac_res" >&6; }
2073 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2075 } # ac_fn_c_check_func
2077 # ac_fn_cxx_try_cpp LINENO
2078 # ------------------------
2079 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2080 ac_fn_cxx_try_cpp ()
2082 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2083 if { { ac_try="$ac_cpp conftest.$ac_ext"
2084 case "(($ac_try" in
2085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2086 *) ac_try_echo=$ac_try;;
2087 esac
2088 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2089 $as_echo "$ac_try_echo"; } >&5
2090 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2091 ac_status=$?
2092 if test -s conftest.err; then
2093 grep -v '^ *+' conftest.err >conftest.er1
2094 cat conftest.er1 >&5
2095 mv -f conftest.er1 conftest.err
2097 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2098 test $ac_status = 0; } >/dev/null && {
2099 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2100 test ! -s conftest.err
2101 }; then :
2102 ac_retval=0
2103 else
2104 $as_echo "$as_me: failed program was:" >&5
2105 sed 's/^/| /' conftest.$ac_ext >&5
2107 ac_retval=1
2109 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2110 return $ac_retval
2112 } # ac_fn_cxx_try_cpp
2114 # ac_fn_cxx_try_link LINENO
2115 # -------------------------
2116 # Try to link conftest.$ac_ext, and return whether this succeeded.
2117 ac_fn_cxx_try_link ()
2119 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2120 rm -f conftest.$ac_objext conftest$ac_exeext
2121 if { { ac_try="$ac_link"
2122 case "(($ac_try" in
2123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2124 *) ac_try_echo=$ac_try;;
2125 esac
2126 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2127 $as_echo "$ac_try_echo"; } >&5
2128 (eval "$ac_link") 2>conftest.err
2129 ac_status=$?
2130 if test -s conftest.err; then
2131 grep -v '^ *+' conftest.err >conftest.er1
2132 cat conftest.er1 >&5
2133 mv -f conftest.er1 conftest.err
2135 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2136 test $ac_status = 0; } && {
2137 test -z "$ac_cxx_werror_flag" ||
2138 test ! -s conftest.err
2139 } && test -s conftest$ac_exeext && {
2140 test "$cross_compiling" = yes ||
2141 $as_test_x conftest$ac_exeext
2142 }; then :
2143 ac_retval=0
2144 else
2145 $as_echo "$as_me: failed program was:" >&5
2146 sed 's/^/| /' conftest.$ac_ext >&5
2148 ac_retval=1
2150 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2151 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2152 # interfere with the next link command; also delete a directory that is
2153 # left behind by Apple's compiler. We do this before executing the actions.
2154 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2155 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2156 return $ac_retval
2158 } # ac_fn_cxx_try_link
2160 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2161 # -------------------------------------------------------
2162 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2163 # the include files in INCLUDES and setting the cache variable VAR
2164 # accordingly.
2165 ac_fn_c_check_header_mongrel ()
2167 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2168 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2170 $as_echo_n "checking for $2... " >&6; }
2171 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2172 $as_echo_n "(cached) " >&6
2174 eval ac_res=\$$3
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2176 $as_echo "$ac_res" >&6; }
2177 else
2178 # Is the header compilable?
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2180 $as_echo_n "checking $2 usability... " >&6; }
2181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2182 /* end confdefs.h. */
2184 #include <$2>
2185 _ACEOF
2186 if ac_fn_c_try_compile "$LINENO"; then :
2187 ac_header_compiler=yes
2188 else
2189 ac_header_compiler=no
2191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2193 $as_echo "$ac_header_compiler" >&6; }
2195 # Is the header present?
2196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2197 $as_echo_n "checking $2 presence... " >&6; }
2198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2199 /* end confdefs.h. */
2200 #include <$2>
2201 _ACEOF
2202 if ac_fn_c_try_cpp "$LINENO"; then :
2203 ac_header_preproc=yes
2204 else
2205 ac_header_preproc=no
2207 rm -f conftest.err conftest.$ac_ext
2208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2209 $as_echo "$ac_header_preproc" >&6; }
2211 # So? What about this header?
2212 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2213 yes:no: )
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2215 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2217 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2219 no:yes:* )
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2221 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2222 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2223 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2225 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2227 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2228 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2229 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2231 esac
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2233 $as_echo_n "checking for $2... " >&6; }
2234 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2235 $as_echo_n "(cached) " >&6
2236 else
2237 eval "$3=\$ac_header_compiler"
2239 eval ac_res=\$$3
2240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2241 $as_echo "$ac_res" >&6; }
2243 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2245 } # ac_fn_c_check_header_mongrel
2247 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2248 # ---------------------------------------------------------
2249 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2250 # the include files in INCLUDES and setting the cache variable VAR
2251 # accordingly.
2252 ac_fn_cxx_check_header_mongrel ()
2254 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2255 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2257 $as_echo_n "checking for $2... " >&6; }
2258 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2259 $as_echo_n "(cached) " >&6
2261 eval ac_res=\$$3
2262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2263 $as_echo "$ac_res" >&6; }
2264 else
2265 # Is the header compilable?
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2267 $as_echo_n "checking $2 usability... " >&6; }
2268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2269 /* end confdefs.h. */
2271 #include <$2>
2272 _ACEOF
2273 if ac_fn_cxx_try_compile "$LINENO"; then :
2274 ac_header_compiler=yes
2275 else
2276 ac_header_compiler=no
2278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2280 $as_echo "$ac_header_compiler" >&6; }
2282 # Is the header present?
2283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2284 $as_echo_n "checking $2 presence... " >&6; }
2285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2286 /* end confdefs.h. */
2287 #include <$2>
2288 _ACEOF
2289 if ac_fn_cxx_try_cpp "$LINENO"; then :
2290 ac_header_preproc=yes
2291 else
2292 ac_header_preproc=no
2294 rm -f conftest.err conftest.$ac_ext
2295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2296 $as_echo "$ac_header_preproc" >&6; }
2298 # So? What about this header?
2299 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2300 yes:no: )
2301 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2302 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2303 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2304 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2306 no:yes:* )
2307 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2308 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2310 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2312 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2313 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2314 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2316 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2318 esac
2319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2320 $as_echo_n "checking for $2... " >&6; }
2321 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2322 $as_echo_n "(cached) " >&6
2323 else
2324 eval "$3=\$ac_header_compiler"
2326 eval ac_res=\$$3
2327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2328 $as_echo "$ac_res" >&6; }
2330 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2332 } # ac_fn_cxx_check_header_mongrel
2334 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2335 # -------------------------------------------
2336 # Tests whether TYPE exists after having included INCLUDES, setting cache
2337 # variable VAR accordingly.
2338 ac_fn_c_check_type ()
2340 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2342 $as_echo_n "checking for $2... " >&6; }
2343 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2344 $as_echo_n "(cached) " >&6
2345 else
2346 eval "$3=no"
2347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2348 /* end confdefs.h. */
2351 main ()
2353 if (sizeof ($2))
2354 return 0;
2356 return 0;
2358 _ACEOF
2359 if ac_fn_c_try_compile "$LINENO"; then :
2360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2361 /* end confdefs.h. */
2364 main ()
2366 if (sizeof (($2)))
2367 return 0;
2369 return 0;
2371 _ACEOF
2372 if ac_fn_c_try_compile "$LINENO"; then :
2374 else
2375 eval "$3=yes"
2377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2381 eval ac_res=\$$3
2382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2383 $as_echo "$ac_res" >&6; }
2384 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2386 } # ac_fn_c_check_type
2388 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2389 # --------------------------------------------
2390 # Tries to find the compile-time value of EXPR in a program that includes
2391 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2392 # computed
2393 ac_fn_c_compute_int ()
2395 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2396 if test "$cross_compiling" = yes; then
2397 # Depending upon the size, compute the lo and hi bounds.
2398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2399 /* end confdefs.h. */
2402 main ()
2404 static int test_array [1 - 2 * !(($2) >= 0)];
2405 test_array [0] = 0
2408 return 0;
2410 _ACEOF
2411 if ac_fn_c_try_compile "$LINENO"; then :
2412 ac_lo=0 ac_mid=0
2413 while :; do
2414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2415 /* end confdefs.h. */
2418 main ()
2420 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2421 test_array [0] = 0
2424 return 0;
2426 _ACEOF
2427 if ac_fn_c_try_compile "$LINENO"; then :
2428 ac_hi=$ac_mid; break
2429 else
2430 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2431 if test $ac_lo -le $ac_mid; then
2432 ac_lo= ac_hi=
2433 break
2435 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2438 done
2439 else
2440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2441 /* end confdefs.h. */
2444 main ()
2446 static int test_array [1 - 2 * !(($2) < 0)];
2447 test_array [0] = 0
2450 return 0;
2452 _ACEOF
2453 if ac_fn_c_try_compile "$LINENO"; then :
2454 ac_hi=-1 ac_mid=-1
2455 while :; do
2456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2457 /* end confdefs.h. */
2460 main ()
2462 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2463 test_array [0] = 0
2466 return 0;
2468 _ACEOF
2469 if ac_fn_c_try_compile "$LINENO"; then :
2470 ac_lo=$ac_mid; break
2471 else
2472 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2473 if test $ac_mid -le $ac_hi; then
2474 ac_lo= ac_hi=
2475 break
2477 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2480 done
2481 else
2482 ac_lo= ac_hi=
2484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2487 # Binary search between lo and hi bounds.
2488 while test "x$ac_lo" != "x$ac_hi"; do
2489 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2491 /* end confdefs.h. */
2494 main ()
2496 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2497 test_array [0] = 0
2500 return 0;
2502 _ACEOF
2503 if ac_fn_c_try_compile "$LINENO"; then :
2504 ac_hi=$ac_mid
2505 else
2506 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2509 done
2510 case $ac_lo in #((
2511 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2512 '') ac_retval=1 ;;
2513 esac
2514 else
2515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2516 /* end confdefs.h. */
2518 static long int longval () { return $2; }
2519 static unsigned long int ulongval () { return $2; }
2520 #include <stdio.h>
2521 #include <stdlib.h>
2523 main ()
2526 FILE *f = fopen ("conftest.val", "w");
2527 if (! f)
2528 return 1;
2529 if (($2) < 0)
2531 long int i = longval ();
2532 if (i != ($2))
2533 return 1;
2534 fprintf (f, "%ld", i);
2536 else
2538 unsigned long int i = ulongval ();
2539 if (i != ($2))
2540 return 1;
2541 fprintf (f, "%lu", i);
2543 /* Do not output a trailing newline, as this causes \r\n confusion
2544 on some platforms. */
2545 return ferror (f) || fclose (f) != 0;
2548 return 0;
2550 _ACEOF
2551 if ac_fn_c_try_run "$LINENO"; then :
2552 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2553 else
2554 ac_retval=1
2556 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2557 conftest.$ac_objext conftest.beam conftest.$ac_ext
2558 rm -f conftest.val
2561 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2562 return $ac_retval
2564 } # ac_fn_c_compute_int
2565 cat >config.log <<_ACEOF
2566 This file contains any messages produced by compilers while
2567 running configure, to aid debugging if configure makes a mistake.
2569 It was created by package-unused $as_me version-unused, which was
2570 generated by GNU Autoconf 2.64. Invocation command line was
2572 $ $0 $@
2574 _ACEOF
2575 exec 5>>config.log
2577 cat <<_ASUNAME
2578 ## --------- ##
2579 ## Platform. ##
2580 ## --------- ##
2582 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2583 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2584 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2585 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2586 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2588 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2589 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2591 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2592 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2593 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2594 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2595 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2596 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2597 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2599 _ASUNAME
2601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2602 for as_dir in $PATH
2604 IFS=$as_save_IFS
2605 test -z "$as_dir" && as_dir=.
2606 $as_echo "PATH: $as_dir"
2607 done
2608 IFS=$as_save_IFS
2610 } >&5
2612 cat >&5 <<_ACEOF
2615 ## ----------- ##
2616 ## Core tests. ##
2617 ## ----------- ##
2619 _ACEOF
2622 # Keep a trace of the command line.
2623 # Strip out --no-create and --no-recursion so they do not pile up.
2624 # Strip out --silent because we don't want to record it for future runs.
2625 # Also quote any args containing shell meta-characters.
2626 # Make two passes to allow for proper duplicate-argument suppression.
2627 ac_configure_args=
2628 ac_configure_args0=
2629 ac_configure_args1=
2630 ac_must_keep_next=false
2631 for ac_pass in 1 2
2633 for ac_arg
2635 case $ac_arg in
2636 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2637 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2638 | -silent | --silent | --silen | --sile | --sil)
2639 continue ;;
2640 *\'*)
2641 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2642 esac
2643 case $ac_pass in
2644 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2646 as_fn_append ac_configure_args1 " '$ac_arg'"
2647 if test $ac_must_keep_next = true; then
2648 ac_must_keep_next=false # Got value, back to normal.
2649 else
2650 case $ac_arg in
2651 *=* | --config-cache | -C | -disable-* | --disable-* \
2652 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2653 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2654 | -with-* | --with-* | -without-* | --without-* | --x)
2655 case "$ac_configure_args0 " in
2656 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2657 esac
2659 -* ) ac_must_keep_next=true ;;
2660 esac
2662 as_fn_append ac_configure_args " '$ac_arg'"
2664 esac
2665 done
2666 done
2667 { ac_configure_args0=; unset ac_configure_args0;}
2668 { ac_configure_args1=; unset ac_configure_args1;}
2670 # When interrupted or exit'd, cleanup temporary files, and complete
2671 # config.log. We remove comments because anyway the quotes in there
2672 # would cause problems or look ugly.
2673 # WARNING: Use '\'' to represent an apostrophe within the trap.
2674 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2675 trap 'exit_status=$?
2676 # Save into config.log some information that might help in debugging.
2678 echo
2680 cat <<\_ASBOX
2681 ## ---------------- ##
2682 ## Cache variables. ##
2683 ## ---------------- ##
2684 _ASBOX
2685 echo
2686 # The following way of writing the cache mishandles newlines in values,
2688 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2689 eval ac_val=\$$ac_var
2690 case $ac_val in #(
2691 *${as_nl}*)
2692 case $ac_var in #(
2693 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2694 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2695 esac
2696 case $ac_var in #(
2697 _ | IFS | as_nl) ;; #(
2698 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2699 *) { eval $ac_var=; unset $ac_var;} ;;
2700 esac ;;
2701 esac
2702 done
2703 (set) 2>&1 |
2704 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2705 *${as_nl}ac_space=\ *)
2706 sed -n \
2707 "s/'\''/'\''\\\\'\'''\''/g;
2708 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2709 ;; #(
2711 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2713 esac |
2714 sort
2716 echo
2718 cat <<\_ASBOX
2719 ## ----------------- ##
2720 ## Output variables. ##
2721 ## ----------------- ##
2722 _ASBOX
2723 echo
2724 for ac_var in $ac_subst_vars
2726 eval ac_val=\$$ac_var
2727 case $ac_val in
2728 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2729 esac
2730 $as_echo "$ac_var='\''$ac_val'\''"
2731 done | sort
2732 echo
2734 if test -n "$ac_subst_files"; then
2735 cat <<\_ASBOX
2736 ## ------------------- ##
2737 ## File substitutions. ##
2738 ## ------------------- ##
2739 _ASBOX
2740 echo
2741 for ac_var in $ac_subst_files
2743 eval ac_val=\$$ac_var
2744 case $ac_val in
2745 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2746 esac
2747 $as_echo "$ac_var='\''$ac_val'\''"
2748 done | sort
2749 echo
2752 if test -s confdefs.h; then
2753 cat <<\_ASBOX
2754 ## ----------- ##
2755 ## confdefs.h. ##
2756 ## ----------- ##
2757 _ASBOX
2758 echo
2759 cat confdefs.h
2760 echo
2762 test "$ac_signal" != 0 &&
2763 $as_echo "$as_me: caught signal $ac_signal"
2764 $as_echo "$as_me: exit $exit_status"
2765 } >&5
2766 rm -f core *.core core.conftest.* &&
2767 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2768 exit $exit_status
2770 for ac_signal in 1 2 13 15; do
2771 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2772 done
2773 ac_signal=0
2775 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2776 rm -f -r conftest* confdefs.h
2778 $as_echo "/* confdefs.h */" > confdefs.h
2780 # Predefined preprocessor variables.
2782 cat >>confdefs.h <<_ACEOF
2783 #define PACKAGE_NAME "$PACKAGE_NAME"
2784 _ACEOF
2786 cat >>confdefs.h <<_ACEOF
2787 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2788 _ACEOF
2790 cat >>confdefs.h <<_ACEOF
2791 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2792 _ACEOF
2794 cat >>confdefs.h <<_ACEOF
2795 #define PACKAGE_STRING "$PACKAGE_STRING"
2796 _ACEOF
2798 cat >>confdefs.h <<_ACEOF
2799 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2800 _ACEOF
2802 cat >>confdefs.h <<_ACEOF
2803 #define PACKAGE_URL "$PACKAGE_URL"
2804 _ACEOF
2807 # Let the site file select an alternate cache file if it wants to.
2808 # Prefer an explicitly selected file to automatically selected ones.
2809 ac_site_file1=NONE
2810 ac_site_file2=NONE
2811 if test -n "$CONFIG_SITE"; then
2812 ac_site_file1=$CONFIG_SITE
2813 elif test "x$prefix" != xNONE; then
2814 ac_site_file1=$prefix/share/config.site
2815 ac_site_file2=$prefix/etc/config.site
2816 else
2817 ac_site_file1=$ac_default_prefix/share/config.site
2818 ac_site_file2=$ac_default_prefix/etc/config.site
2820 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2822 test "x$ac_site_file" = xNONE && continue
2823 if test -r "$ac_site_file"; then
2824 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2825 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2826 sed 's/^/| /' "$ac_site_file" >&5
2827 . "$ac_site_file"
2829 done
2831 if test -r "$cache_file"; then
2832 # Some versions of bash will fail to source /dev/null (special
2833 # files actually), so we avoid doing that.
2834 if test -f "$cache_file"; then
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2836 $as_echo "$as_me: loading cache $cache_file" >&6;}
2837 case $cache_file in
2838 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2839 *) . "./$cache_file";;
2840 esac
2842 else
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2844 $as_echo "$as_me: creating cache $cache_file" >&6;}
2845 >$cache_file
2848 # Check that the precious variables saved in the cache have kept the same
2849 # value.
2850 ac_cache_corrupted=false
2851 for ac_var in $ac_precious_vars; do
2852 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2853 eval ac_new_set=\$ac_env_${ac_var}_set
2854 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2855 eval ac_new_val=\$ac_env_${ac_var}_value
2856 case $ac_old_set,$ac_new_set in
2857 set,)
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2859 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2860 ac_cache_corrupted=: ;;
2861 ,set)
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2863 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2864 ac_cache_corrupted=: ;;
2865 ,);;
2867 if test "x$ac_old_val" != "x$ac_new_val"; then
2868 # differences in whitespace do not lead to failure.
2869 ac_old_val_w=`echo x $ac_old_val`
2870 ac_new_val_w=`echo x $ac_new_val`
2871 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2873 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2874 ac_cache_corrupted=:
2875 else
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2877 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2878 eval $ac_var=\$ac_old_val
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2881 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2883 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2884 fi;;
2885 esac
2886 # Pass precious variables to config.status.
2887 if test "$ac_new_set" = set; then
2888 case $ac_new_val in
2889 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2890 *) ac_arg=$ac_var=$ac_new_val ;;
2891 esac
2892 case " $ac_configure_args " in
2893 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2894 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2895 esac
2897 done
2898 if $ac_cache_corrupted; then
2899 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2900 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2902 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2903 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2905 ## -------------------- ##
2906 ## Main body of script. ##
2907 ## -------------------- ##
2909 ac_ext=c
2910 ac_cpp='$CPP $CPPFLAGS'
2911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2920 ac_config_headers="$ac_config_headers config.h"
2923 # This works around the fact that libtool configuration may change LD
2924 # for this particular configuration, but some shells, instead of
2925 # keeping the changes in LD private, export them just because LD is
2926 # exported. Only used at the end of this file.
2927 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2929 # For libtool versioning info, format is CURRENT:REVISION:AGE
2930 libtool_VERSION=6:14:0
2933 # Find the rest of the source tree framework.
2934 # Default to --enable-multilib
2935 # Check whether --enable-multilib was given.
2936 if test "${enable_multilib+set}" = set; then :
2937 enableval=$enable_multilib; case "$enableval" in
2938 yes) multilib=yes ;;
2939 no) multilib=no ;;
2940 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2941 esac
2942 else
2943 multilib=yes
2947 # We may get other options which we leave undocumented:
2948 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2949 # See config-ml.in if you want the gory details.
2951 if test "$srcdir" = "."; then
2952 if test "$with_target_subdir" != "."; then
2953 multi_basedir="$srcdir/$with_multisrctop../.."
2954 else
2955 multi_basedir="$srcdir/$with_multisrctop.."
2957 else
2958 multi_basedir="$srcdir/.."
2962 # Even if the default multilib is not a cross compilation,
2963 # it may be that some of the other multilibs are.
2964 if test $cross_compiling = no && test $multilib = yes \
2965 && test "x${with_multisubdir}" != x ; then
2966 cross_compiling=maybe
2969 ac_config_commands="$ac_config_commands default-1"
2972 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2974 # You will slowly go insane if you do not grok the following fact: when
2975 # building v3 as part of the compiler, the top-level /target/ becomes the
2976 # library's /host/. configure then causes --target to default to --host,
2977 # exactly like any other package using autoconf. Therefore, 'target' and
2978 # 'host' will always be the same. This makes sense both for native and
2979 # cross compilers, just think about it for a little while. :-)
2981 # Also, if v3 is being configured as part of a cross compiler, the top-level
2982 # configure script will pass the "real" host as $with_cross_host.
2984 # Do not delete or change the following two lines. For why, see
2985 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2986 ac_aux_dir=
2987 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2988 for ac_t in install-sh install.sh shtool; do
2989 if test -f "$ac_dir/$ac_t"; then
2990 ac_aux_dir=$ac_dir
2991 ac_install_sh="$ac_aux_dir/$ac_t -c"
2992 break 2
2994 done
2995 done
2996 if test -z "$ac_aux_dir"; then
2997 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3000 # These three variables are undocumented and unsupported,
3001 # and are intended to be withdrawn in a future Autoconf release.
3002 # They can cause serious problems if a builder's source tree is in a directory
3003 # whose full name contains unusual characters.
3004 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3005 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3006 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3009 # Make sure we can run config.sub.
3010 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3011 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3014 $as_echo_n "checking build system type... " >&6; }
3015 if test "${ac_cv_build+set}" = set; then :
3016 $as_echo_n "(cached) " >&6
3017 else
3018 ac_build_alias=$build_alias
3019 test "x$ac_build_alias" = x &&
3020 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3021 test "x$ac_build_alias" = x &&
3022 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
3023 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3024 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3028 $as_echo "$ac_cv_build" >&6; }
3029 case $ac_cv_build in
3030 *-*-*) ;;
3031 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
3032 esac
3033 build=$ac_cv_build
3034 ac_save_IFS=$IFS; IFS='-'
3035 set x $ac_cv_build
3036 shift
3037 build_cpu=$1
3038 build_vendor=$2
3039 shift; shift
3040 # Remember, the first character of IFS is used to create $*,
3041 # except with old shells:
3042 build_os=$*
3043 IFS=$ac_save_IFS
3044 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3048 $as_echo_n "checking host system type... " >&6; }
3049 if test "${ac_cv_host+set}" = set; then :
3050 $as_echo_n "(cached) " >&6
3051 else
3052 if test "x$host_alias" = x; then
3053 ac_cv_host=$ac_cv_build
3054 else
3055 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3056 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3061 $as_echo "$ac_cv_host" >&6; }
3062 case $ac_cv_host in
3063 *-*-*) ;;
3064 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3065 esac
3066 host=$ac_cv_host
3067 ac_save_IFS=$IFS; IFS='-'
3068 set x $ac_cv_host
3069 shift
3070 host_cpu=$1
3071 host_vendor=$2
3072 shift; shift
3073 # Remember, the first character of IFS is used to create $*,
3074 # except with old shells:
3075 host_os=$*
3076 IFS=$ac_save_IFS
3077 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3081 $as_echo_n "checking target system type... " >&6; }
3082 if test "${ac_cv_target+set}" = set; then :
3083 $as_echo_n "(cached) " >&6
3084 else
3085 if test "x$target_alias" = x; then
3086 ac_cv_target=$ac_cv_host
3087 else
3088 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3089 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3094 $as_echo "$ac_cv_target" >&6; }
3095 case $ac_cv_target in
3096 *-*-*) ;;
3097 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3098 esac
3099 target=$ac_cv_target
3100 ac_save_IFS=$IFS; IFS='-'
3101 set x $ac_cv_target
3102 shift
3103 target_cpu=$1
3104 target_vendor=$2
3105 shift; shift
3106 # Remember, the first character of IFS is used to create $*,
3107 # except with old shells:
3108 target_os=$*
3109 IFS=$ac_save_IFS
3110 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3113 # The aliases save the names the user supplied, while $host etc.
3114 # will get canonicalized.
3115 test -n "$target_alias" &&
3116 test "$program_prefix$program_suffix$program_transform_name" = \
3117 NONENONEs,x,x, &&
3118 program_prefix=${target_alias}-
3120 target_alias=${target_alias-$host_alias}
3122 # Handy for debugging:
3123 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3125 if test "$build" != "$host"; then
3126 # We are being configured with some form of cross compiler.
3127 GLIBCXX_IS_NATIVE=false
3128 case "$host","$target" in
3129 # Darwin crosses can use the host system's libraries and headers,
3130 # because of the fat library support. Of course, it must be the
3131 # same version of Darwin on both sides. Allow the user to
3132 # just say --target=foo-darwin without a version number to mean
3133 # "the version on this system".
3134 *-*-darwin*,*-*-darwin*)
3135 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3136 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3137 if test $hostos = $targetos -o $targetos = darwin ; then
3138 GLIBCXX_IS_NATIVE=true
3145 esac
3146 else
3147 GLIBCXX_IS_NATIVE=true
3150 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3151 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3152 # 1.x: minimum required version
3153 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3154 # of other PACKAGE_* variables will, however, and there's nothing
3155 # we can do about that; they come from AC_INIT).
3156 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3157 # file in the top srcdir, etc, etc), so stop complaining.
3158 # no-dependencies: turns off auto dependency generation (just for now)
3159 # -Wall: turns on all automake warnings...
3160 # -Wno-portability: ...except this one, since GNU make is now required.
3161 am__api_version='1.11'
3163 # Find a good install program. We prefer a C program (faster),
3164 # so one script is as good as another. But avoid the broken or
3165 # incompatible versions:
3166 # SysV /etc/install, /usr/sbin/install
3167 # SunOS /usr/etc/install
3168 # IRIX /sbin/install
3169 # AIX /bin/install
3170 # AmigaOS /C/install, which installs bootblocks on floppy discs
3171 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3172 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3173 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3174 # OS/2's system install, which has a completely different semantic
3175 # ./install, which can be erroneously created by make from ./install.sh.
3176 # Reject install programs that cannot install multiple files.
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3178 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3179 if test -z "$INSTALL"; then
3180 if test "${ac_cv_path_install+set}" = set; then :
3181 $as_echo_n "(cached) " >&6
3182 else
3183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3184 for as_dir in $PATH
3186 IFS=$as_save_IFS
3187 test -z "$as_dir" && as_dir=.
3188 # Account for people who put trailing slashes in PATH elements.
3189 case $as_dir/ in #((
3190 ./ | .// | /[cC]/* | \
3191 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3192 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3193 /usr/ucb/* ) ;;
3195 # OSF1 and SCO ODT 3.0 have their own names for install.
3196 # Don't use installbsd from OSF since it installs stuff as root
3197 # by default.
3198 for ac_prog in ginstall scoinst install; do
3199 for ac_exec_ext in '' $ac_executable_extensions; do
3200 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3201 if test $ac_prog = install &&
3202 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3203 # AIX install. It has an incompatible calling convention.
3205 elif test $ac_prog = install &&
3206 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3207 # program-specific install script used by HP pwplus--don't use.
3209 else
3210 rm -rf conftest.one conftest.two conftest.dir
3211 echo one > conftest.one
3212 echo two > conftest.two
3213 mkdir conftest.dir
3214 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3215 test -s conftest.one && test -s conftest.two &&
3216 test -s conftest.dir/conftest.one &&
3217 test -s conftest.dir/conftest.two
3218 then
3219 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3220 break 3
3224 done
3225 done
3227 esac
3229 done
3230 IFS=$as_save_IFS
3232 rm -rf conftest.one conftest.two conftest.dir
3235 if test "${ac_cv_path_install+set}" = set; then
3236 INSTALL=$ac_cv_path_install
3237 else
3238 # As a last resort, use the slow shell script. Don't cache a
3239 # value for INSTALL within a source directory, because that will
3240 # break other packages using the cache if that directory is
3241 # removed, or if the value is a relative name.
3242 INSTALL=$ac_install_sh
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3246 $as_echo "$INSTALL" >&6; }
3248 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3249 # It thinks the first close brace ends the variable substitution.
3250 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3252 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3254 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3257 $as_echo_n "checking whether build environment is sane... " >&6; }
3258 # Just in case
3259 sleep 1
3260 echo timestamp > conftest.file
3261 # Reject unsafe characters in $srcdir or the absolute working directory
3262 # name. Accept space and tab only in the latter.
3263 am_lf='
3265 case `pwd` in
3266 *[\\\"\#\$\&\'\`$am_lf]*)
3267 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3268 esac
3269 case $srcdir in
3270 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3271 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3272 esac
3274 # Do `set' in a subshell so we don't clobber the current shell's
3275 # arguments. Must try -L first in case configure is actually a
3276 # symlink; some systems play weird games with the mod time of symlinks
3277 # (eg FreeBSD returns the mod time of the symlink's containing
3278 # directory).
3279 if (
3280 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3281 if test "$*" = "X"; then
3282 # -L didn't work.
3283 set X `ls -t "$srcdir/configure" conftest.file`
3285 rm -f conftest.file
3286 if test "$*" != "X $srcdir/configure conftest.file" \
3287 && test "$*" != "X conftest.file $srcdir/configure"; then
3289 # If neither matched, then we have a broken ls. This can happen
3290 # if, for instance, CONFIG_SHELL is bash and it inherits a
3291 # broken ls alias from the environment. This has actually
3292 # happened. Such a system could not be considered "sane".
3293 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3294 alias in your environment" "$LINENO" 5
3297 test "$2" = conftest.file
3299 then
3300 # Ok.
3302 else
3303 as_fn_error "newly created file is older than distributed files!
3304 Check your system clock" "$LINENO" 5
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3307 $as_echo "yes" >&6; }
3308 test "$program_prefix" != NONE &&
3309 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3310 # Use a double $ so make ignores it.
3311 test "$program_suffix" != NONE &&
3312 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3313 # Double any \ or $.
3314 # By default was `s,x,x', remove it if useless.
3315 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3316 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3318 # expand $ac_aux_dir to an absolute path
3319 am_aux_dir=`cd $ac_aux_dir && pwd`
3321 if test x"${MISSING+set}" != xset; then
3322 case $am_aux_dir in
3323 *\ * | *\ *)
3324 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3326 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3327 esac
3329 # Use eval to expand $SHELL
3330 if eval "$MISSING --run true"; then
3331 am_missing_run="$MISSING --run "
3332 else
3333 am_missing_run=
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3335 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3338 if test x"${install_sh}" != xset; then
3339 case $am_aux_dir in
3340 *\ * | *\ *)
3341 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3343 install_sh="\${SHELL} $am_aux_dir/install-sh"
3344 esac
3347 # Installed binaries are usually stripped using `strip' when the user
3348 # run `make install-strip'. However `strip' might not be the right
3349 # tool to use in cross-compilation environments, therefore Automake
3350 # will honor the `STRIP' environment variable to overrule this program.
3351 if test "$cross_compiling" != no; then
3352 if test -n "$ac_tool_prefix"; then
3353 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3354 set dummy ${ac_tool_prefix}strip; ac_word=$2
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3356 $as_echo_n "checking for $ac_word... " >&6; }
3357 if test "${ac_cv_prog_STRIP+set}" = set; then :
3358 $as_echo_n "(cached) " >&6
3359 else
3360 if test -n "$STRIP"; then
3361 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3362 else
3363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3364 for as_dir in $PATH
3366 IFS=$as_save_IFS
3367 test -z "$as_dir" && as_dir=.
3368 for ac_exec_ext in '' $ac_executable_extensions; do
3369 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3370 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3371 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3372 break 2
3374 done
3375 done
3376 IFS=$as_save_IFS
3380 STRIP=$ac_cv_prog_STRIP
3381 if test -n "$STRIP"; then
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3383 $as_echo "$STRIP" >&6; }
3384 else
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3386 $as_echo "no" >&6; }
3391 if test -z "$ac_cv_prog_STRIP"; then
3392 ac_ct_STRIP=$STRIP
3393 # Extract the first word of "strip", so it can be a program name with args.
3394 set dummy strip; ac_word=$2
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3396 $as_echo_n "checking for $ac_word... " >&6; }
3397 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3398 $as_echo_n "(cached) " >&6
3399 else
3400 if test -n "$ac_ct_STRIP"; then
3401 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3402 else
3403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3404 for as_dir in $PATH
3406 IFS=$as_save_IFS
3407 test -z "$as_dir" && as_dir=.
3408 for ac_exec_ext in '' $ac_executable_extensions; do
3409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3410 ac_cv_prog_ac_ct_STRIP="strip"
3411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3412 break 2
3414 done
3415 done
3416 IFS=$as_save_IFS
3420 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3421 if test -n "$ac_ct_STRIP"; then
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3423 $as_echo "$ac_ct_STRIP" >&6; }
3424 else
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3426 $as_echo "no" >&6; }
3429 if test "x$ac_ct_STRIP" = x; then
3430 STRIP=":"
3431 else
3432 case $cross_compiling:$ac_tool_warned in
3433 yes:)
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3435 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3436 ac_tool_warned=yes ;;
3437 esac
3438 STRIP=$ac_ct_STRIP
3440 else
3441 STRIP="$ac_cv_prog_STRIP"
3445 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3448 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3449 if test -z "$MKDIR_P"; then
3450 if test "${ac_cv_path_mkdir+set}" = set; then :
3451 $as_echo_n "(cached) " >&6
3452 else
3453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3454 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3456 IFS=$as_save_IFS
3457 test -z "$as_dir" && as_dir=.
3458 for ac_prog in mkdir gmkdir; do
3459 for ac_exec_ext in '' $ac_executable_extensions; do
3460 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3461 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3462 'mkdir (GNU coreutils) '* | \
3463 'mkdir (coreutils) '* | \
3464 'mkdir (fileutils) '4.1*)
3465 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3466 break 3;;
3467 esac
3468 done
3469 done
3470 done
3471 IFS=$as_save_IFS
3475 if test "${ac_cv_path_mkdir+set}" = set; then
3476 MKDIR_P="$ac_cv_path_mkdir -p"
3477 else
3478 # As a last resort, use the slow shell script. Don't cache a
3479 # value for MKDIR_P within a source directory, because that will
3480 # break other packages using the cache if that directory is
3481 # removed, or if the value is a relative name.
3482 test -d ./--version && rmdir ./--version
3483 MKDIR_P="$ac_install_sh -d"
3486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3487 $as_echo "$MKDIR_P" >&6; }
3489 mkdir_p="$MKDIR_P"
3490 case $mkdir_p in
3491 [\\/$]* | ?:[\\/]*) ;;
3492 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3493 esac
3495 for ac_prog in gawk mawk nawk awk
3497 # Extract the first word of "$ac_prog", so it can be a program name with args.
3498 set dummy $ac_prog; ac_word=$2
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3500 $as_echo_n "checking for $ac_word... " >&6; }
3501 if test "${ac_cv_prog_AWK+set}" = set; then :
3502 $as_echo_n "(cached) " >&6
3503 else
3504 if test -n "$AWK"; then
3505 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3506 else
3507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3508 for as_dir in $PATH
3510 IFS=$as_save_IFS
3511 test -z "$as_dir" && as_dir=.
3512 for ac_exec_ext in '' $ac_executable_extensions; do
3513 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3514 ac_cv_prog_AWK="$ac_prog"
3515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3516 break 2
3518 done
3519 done
3520 IFS=$as_save_IFS
3524 AWK=$ac_cv_prog_AWK
3525 if test -n "$AWK"; then
3526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3527 $as_echo "$AWK" >&6; }
3528 else
3529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3530 $as_echo "no" >&6; }
3534 test -n "$AWK" && break
3535 done
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3538 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3539 set x ${MAKE-make}
3540 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3541 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3542 $as_echo_n "(cached) " >&6
3543 else
3544 cat >conftest.make <<\_ACEOF
3545 SHELL = /bin/sh
3546 all:
3547 @echo '@@@%%%=$(MAKE)=@@@%%%'
3548 _ACEOF
3549 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3550 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3551 *@@@%%%=?*=@@@%%%*)
3552 eval ac_cv_prog_make_${ac_make}_set=yes;;
3554 eval ac_cv_prog_make_${ac_make}_set=no;;
3555 esac
3556 rm -f conftest.make
3558 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3560 $as_echo "yes" >&6; }
3561 SET_MAKE=
3562 else
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3564 $as_echo "no" >&6; }
3565 SET_MAKE="MAKE=${MAKE-make}"
3568 rm -rf .tst 2>/dev/null
3569 mkdir .tst 2>/dev/null
3570 if test -d .tst; then
3571 am__leading_dot=.
3572 else
3573 am__leading_dot=_
3575 rmdir .tst 2>/dev/null
3577 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3578 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3579 # is not polluted with repeated "-I."
3580 am__isrc=' -I$(srcdir)'
3581 # test to see if srcdir already configured
3582 if test -f $srcdir/config.status; then
3583 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3587 # test whether we have cygpath
3588 if test -z "$CYGPATH_W"; then
3589 if (cygpath --version) >/dev/null 2>/dev/null; then
3590 CYGPATH_W='cygpath -w'
3591 else
3592 CYGPATH_W=echo
3597 # Define the identity of the package.
3598 PACKAGE='libstdc++'
3599 VERSION='version-unused'
3602 # Some tools Automake needs.
3604 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3607 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3610 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3613 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3616 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3618 # We need awk for the "check" target. The system "awk" is bad on
3619 # some platforms.
3620 # Always define AMTAR for backward compatibility.
3622 AMTAR=${AMTAR-"${am_missing_run}tar"}
3624 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3633 # We're almost certainly being configured before anything else which uses
3634 # C++, so all of our AC_PROG_* discoveries will be cached. It's vital that
3635 # we not cache the value of CXX that we "discover" here, because it's set
3636 # to something unique for us and libjava. Other target libraries need to
3637 # find CXX for themselves. We yank the rug out from under the normal AC_*
3638 # process by sneakily renaming the cache variable. This also lets us debug
3639 # the value of "our" CXX in postmortems.
3641 # We must also force CXX to /not/ be a precious variable, otherwise the
3642 # wrong (non-multilib-adjusted) value will be used in multilibs. This
3643 # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS. And as a side
3644 # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
3645 # that ourselves. Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
3647 # -fno-builtin must be present here so that a non-conflicting form of
3648 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3653 save_CXXFLAGS="$CXXFLAGS"
3654 CXXFLAGS="$CXXFLAGS -fno-builtin"
3655 ac_ext=c
3656 ac_cpp='$CPP $CPPFLAGS'
3657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3660 if test -n "$ac_tool_prefix"; then
3661 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3662 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3664 $as_echo_n "checking for $ac_word... " >&6; }
3665 if test "${ac_cv_prog_CC+set}" = set; then :
3666 $as_echo_n "(cached) " >&6
3667 else
3668 if test -n "$CC"; then
3669 ac_cv_prog_CC="$CC" # Let the user override the test.
3670 else
3671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3672 for as_dir in $PATH
3674 IFS=$as_save_IFS
3675 test -z "$as_dir" && as_dir=.
3676 for ac_exec_ext in '' $ac_executable_extensions; do
3677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3678 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3680 break 2
3682 done
3683 done
3684 IFS=$as_save_IFS
3688 CC=$ac_cv_prog_CC
3689 if test -n "$CC"; then
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3691 $as_echo "$CC" >&6; }
3692 else
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3694 $as_echo "no" >&6; }
3699 if test -z "$ac_cv_prog_CC"; then
3700 ac_ct_CC=$CC
3701 # Extract the first word of "gcc", so it can be a program name with args.
3702 set dummy gcc; ac_word=$2
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3704 $as_echo_n "checking for $ac_word... " >&6; }
3705 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3706 $as_echo_n "(cached) " >&6
3707 else
3708 if test -n "$ac_ct_CC"; then
3709 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3710 else
3711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3712 for as_dir in $PATH
3714 IFS=$as_save_IFS
3715 test -z "$as_dir" && as_dir=.
3716 for ac_exec_ext in '' $ac_executable_extensions; do
3717 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3718 ac_cv_prog_ac_ct_CC="gcc"
3719 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3720 break 2
3722 done
3723 done
3724 IFS=$as_save_IFS
3728 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3729 if test -n "$ac_ct_CC"; then
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3731 $as_echo "$ac_ct_CC" >&6; }
3732 else
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3734 $as_echo "no" >&6; }
3737 if test "x$ac_ct_CC" = x; then
3738 CC=""
3739 else
3740 case $cross_compiling:$ac_tool_warned in
3741 yes:)
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3743 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3744 ac_tool_warned=yes ;;
3745 esac
3746 CC=$ac_ct_CC
3748 else
3749 CC="$ac_cv_prog_CC"
3752 if test -z "$CC"; then
3753 if test -n "$ac_tool_prefix"; then
3754 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3755 set dummy ${ac_tool_prefix}cc; ac_word=$2
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3757 $as_echo_n "checking for $ac_word... " >&6; }
3758 if test "${ac_cv_prog_CC+set}" = set; then :
3759 $as_echo_n "(cached) " >&6
3760 else
3761 if test -n "$CC"; then
3762 ac_cv_prog_CC="$CC" # Let the user override the test.
3763 else
3764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3765 for as_dir in $PATH
3767 IFS=$as_save_IFS
3768 test -z "$as_dir" && as_dir=.
3769 for ac_exec_ext in '' $ac_executable_extensions; do
3770 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3771 ac_cv_prog_CC="${ac_tool_prefix}cc"
3772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3773 break 2
3775 done
3776 done
3777 IFS=$as_save_IFS
3781 CC=$ac_cv_prog_CC
3782 if test -n "$CC"; then
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3784 $as_echo "$CC" >&6; }
3785 else
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3787 $as_echo "no" >&6; }
3793 if test -z "$CC"; then
3794 # Extract the first word of "cc", so it can be a program name with args.
3795 set dummy cc; ac_word=$2
3796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3797 $as_echo_n "checking for $ac_word... " >&6; }
3798 if test "${ac_cv_prog_CC+set}" = set; then :
3799 $as_echo_n "(cached) " >&6
3800 else
3801 if test -n "$CC"; then
3802 ac_cv_prog_CC="$CC" # Let the user override the test.
3803 else
3804 ac_prog_rejected=no
3805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3806 for as_dir in $PATH
3808 IFS=$as_save_IFS
3809 test -z "$as_dir" && as_dir=.
3810 for ac_exec_ext in '' $ac_executable_extensions; do
3811 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3812 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3813 ac_prog_rejected=yes
3814 continue
3816 ac_cv_prog_CC="cc"
3817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3818 break 2
3820 done
3821 done
3822 IFS=$as_save_IFS
3824 if test $ac_prog_rejected = yes; then
3825 # We found a bogon in the path, so make sure we never use it.
3826 set dummy $ac_cv_prog_CC
3827 shift
3828 if test $# != 0; then
3829 # We chose a different compiler from the bogus one.
3830 # However, it has the same basename, so the bogon will be chosen
3831 # first if we set CC to just the basename; use the full file name.
3832 shift
3833 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3838 CC=$ac_cv_prog_CC
3839 if test -n "$CC"; then
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3841 $as_echo "$CC" >&6; }
3842 else
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3844 $as_echo "no" >&6; }
3849 if test -z "$CC"; then
3850 if test -n "$ac_tool_prefix"; then
3851 for ac_prog in cl.exe
3853 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3854 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3856 $as_echo_n "checking for $ac_word... " >&6; }
3857 if test "${ac_cv_prog_CC+set}" = set; then :
3858 $as_echo_n "(cached) " >&6
3859 else
3860 if test -n "$CC"; then
3861 ac_cv_prog_CC="$CC" # Let the user override the test.
3862 else
3863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3864 for as_dir in $PATH
3866 IFS=$as_save_IFS
3867 test -z "$as_dir" && as_dir=.
3868 for ac_exec_ext in '' $ac_executable_extensions; do
3869 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3870 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3872 break 2
3874 done
3875 done
3876 IFS=$as_save_IFS
3880 CC=$ac_cv_prog_CC
3881 if test -n "$CC"; then
3882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3883 $as_echo "$CC" >&6; }
3884 else
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3886 $as_echo "no" >&6; }
3890 test -n "$CC" && break
3891 done
3893 if test -z "$CC"; then
3894 ac_ct_CC=$CC
3895 for ac_prog in cl.exe
3897 # Extract the first word of "$ac_prog", so it can be a program name with args.
3898 set dummy $ac_prog; ac_word=$2
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3900 $as_echo_n "checking for $ac_word... " >&6; }
3901 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3902 $as_echo_n "(cached) " >&6
3903 else
3904 if test -n "$ac_ct_CC"; then
3905 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3906 else
3907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3908 for as_dir in $PATH
3910 IFS=$as_save_IFS
3911 test -z "$as_dir" && as_dir=.
3912 for ac_exec_ext in '' $ac_executable_extensions; do
3913 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3914 ac_cv_prog_ac_ct_CC="$ac_prog"
3915 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3916 break 2
3918 done
3919 done
3920 IFS=$as_save_IFS
3924 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3925 if test -n "$ac_ct_CC"; then
3926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3927 $as_echo "$ac_ct_CC" >&6; }
3928 else
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3930 $as_echo "no" >&6; }
3934 test -n "$ac_ct_CC" && break
3935 done
3937 if test "x$ac_ct_CC" = x; then
3938 CC=""
3939 else
3940 case $cross_compiling:$ac_tool_warned in
3941 yes:)
3942 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3943 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3944 ac_tool_warned=yes ;;
3945 esac
3946 CC=$ac_ct_CC
3953 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3954 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3955 as_fn_error "no acceptable C compiler found in \$PATH
3956 See \`config.log' for more details." "$LINENO" 5; }
3958 # Provide some information about the compiler.
3959 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3960 set X $ac_compile
3961 ac_compiler=$2
3962 for ac_option in --version -v -V -qversion; do
3963 { { ac_try="$ac_compiler $ac_option >&5"
3964 case "(($ac_try" in
3965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3966 *) ac_try_echo=$ac_try;;
3967 esac
3968 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3969 $as_echo "$ac_try_echo"; } >&5
3970 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3971 ac_status=$?
3972 if test -s conftest.err; then
3973 sed '10a\
3974 ... rest of stderr output deleted ...
3975 10q' conftest.err >conftest.er1
3976 cat conftest.er1 >&5
3977 rm -f conftest.er1 conftest.err
3979 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3980 test $ac_status = 0; }
3981 done
3983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3984 /* end confdefs.h. */
3987 main ()
3991 return 0;
3993 _ACEOF
3994 # FIXME: Cleanup?
3995 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3996 (eval $ac_link) 2>&5
3997 ac_status=$?
3998 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3999 test $ac_status = 0; }; then :
4000 gcc_no_link=no
4001 else
4002 gcc_no_link=yes
4004 if test x$gcc_no_link = xyes; then
4005 # Setting cross_compile will disable run tests; it will
4006 # also disable AC_CHECK_FILE but that's generally
4007 # correct if we can't link.
4008 cross_compiling=yes
4009 EXEEXT=
4010 else
4011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4012 /* end confdefs.h. */
4015 main ()
4019 return 0;
4021 _ACEOF
4022 ac_clean_files_save=$ac_clean_files
4023 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4024 # Try to create an executable without -o first, disregard a.out.
4025 # It will help us diagnose broken compilers, and finding out an intuition
4026 # of exeext.
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4028 $as_echo_n "checking for C compiler default output file name... " >&6; }
4029 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4031 # The possible output files:
4032 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4034 ac_rmfiles=
4035 for ac_file in $ac_files
4037 case $ac_file in
4038 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4039 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4040 esac
4041 done
4042 rm -f $ac_rmfiles
4044 if { { ac_try="$ac_link_default"
4045 case "(($ac_try" in
4046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4047 *) ac_try_echo=$ac_try;;
4048 esac
4049 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4050 $as_echo "$ac_try_echo"; } >&5
4051 (eval "$ac_link_default") 2>&5
4052 ac_status=$?
4053 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4054 test $ac_status = 0; }; then :
4055 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4056 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4057 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4058 # so that the user can short-circuit this test for compilers unknown to
4059 # Autoconf.
4060 for ac_file in $ac_files ''
4062 test -f "$ac_file" || continue
4063 case $ac_file in
4064 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4066 [ab].out )
4067 # We found the default executable, but exeext='' is most
4068 # certainly right.
4069 break;;
4070 *.* )
4071 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4072 then :; else
4073 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4075 # We set ac_cv_exeext here because the later test for it is not
4076 # safe: cross compilers may not add the suffix if given an `-o'
4077 # argument, so we may need to know it at that point already.
4078 # Even if this section looks crufty: it has the advantage of
4079 # actually working.
4080 break;;
4082 break;;
4083 esac
4084 done
4085 test "$ac_cv_exeext" = no && ac_cv_exeext=
4087 else
4088 ac_file=''
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4091 $as_echo "$ac_file" >&6; }
4092 if test -z "$ac_file"; then :
4093 $as_echo "$as_me: failed program was:" >&5
4094 sed 's/^/| /' conftest.$ac_ext >&5
4096 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4097 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4098 { as_fn_set_status 77
4099 as_fn_error "C compiler cannot create executables
4100 See \`config.log' for more details." "$LINENO" 5; }; }
4102 ac_exeext=$ac_cv_exeext
4104 # Check that the compiler produces executables we can run. If not, either
4105 # the compiler is broken, or we cross compile.
4106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4107 $as_echo_n "checking whether the C compiler works... " >&6; }
4108 # If not cross compiling, check that we can run a simple program.
4109 if test "$cross_compiling" != yes; then
4110 if { ac_try='./$ac_file'
4111 { { case "(($ac_try" in
4112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4113 *) ac_try_echo=$ac_try;;
4114 esac
4115 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4116 $as_echo "$ac_try_echo"; } >&5
4117 (eval "$ac_try") 2>&5
4118 ac_status=$?
4119 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4120 test $ac_status = 0; }; }; then
4121 cross_compiling=no
4122 else
4123 if test "$cross_compiling" = maybe; then
4124 cross_compiling=yes
4125 else
4126 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4127 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4128 as_fn_error "cannot run C compiled programs.
4129 If you meant to cross compile, use \`--host'.
4130 See \`config.log' for more details." "$LINENO" 5; }
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4135 $as_echo "yes" >&6; }
4137 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4138 ac_clean_files=$ac_clean_files_save
4139 # Check that the compiler produces executables we can run. If not, either
4140 # the compiler is broken, or we cross compile.
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4142 $as_echo_n "checking whether we are cross compiling... " >&6; }
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4144 $as_echo "$cross_compiling" >&6; }
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4147 $as_echo_n "checking for suffix of executables... " >&6; }
4148 if { { ac_try="$ac_link"
4149 case "(($ac_try" in
4150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4151 *) ac_try_echo=$ac_try;;
4152 esac
4153 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4154 $as_echo "$ac_try_echo"; } >&5
4155 (eval "$ac_link") 2>&5
4156 ac_status=$?
4157 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4158 test $ac_status = 0; }; then :
4159 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4160 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4161 # work properly (i.e., refer to `conftest.exe'), while it won't with
4162 # `rm'.
4163 for ac_file in conftest.exe conftest conftest.*; do
4164 test -f "$ac_file" || continue
4165 case $ac_file in
4166 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4167 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4168 break;;
4169 * ) break;;
4170 esac
4171 done
4172 else
4173 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4174 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4175 as_fn_error "cannot compute suffix of executables: cannot compile and link
4176 See \`config.log' for more details." "$LINENO" 5; }
4178 rm -f conftest$ac_cv_exeext
4179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4180 $as_echo "$ac_cv_exeext" >&6; }
4182 rm -f conftest.$ac_ext
4183 EXEEXT=$ac_cv_exeext
4184 ac_exeext=$EXEEXT
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4187 $as_echo_n "checking for suffix of object files... " >&6; }
4188 if test "${ac_cv_objext+set}" = set; then :
4189 $as_echo_n "(cached) " >&6
4190 else
4191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4192 /* end confdefs.h. */
4195 main ()
4199 return 0;
4201 _ACEOF
4202 rm -f conftest.o conftest.obj
4203 if { { ac_try="$ac_compile"
4204 case "(($ac_try" in
4205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4206 *) ac_try_echo=$ac_try;;
4207 esac
4208 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4209 $as_echo "$ac_try_echo"; } >&5
4210 (eval "$ac_compile") 2>&5
4211 ac_status=$?
4212 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4213 test $ac_status = 0; }; then :
4214 for ac_file in conftest.o conftest.obj conftest.*; do
4215 test -f "$ac_file" || continue;
4216 case $ac_file in
4217 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4218 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4219 break;;
4220 esac
4221 done
4222 else
4223 $as_echo "$as_me: failed program was:" >&5
4224 sed 's/^/| /' conftest.$ac_ext >&5
4226 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4227 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4228 as_fn_error "cannot compute suffix of object files: cannot compile
4229 See \`config.log' for more details." "$LINENO" 5; }
4231 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4234 $as_echo "$ac_cv_objext" >&6; }
4235 OBJEXT=$ac_cv_objext
4236 ac_objext=$OBJEXT
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4238 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4239 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4240 $as_echo_n "(cached) " >&6
4241 else
4242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4243 /* end confdefs.h. */
4246 main ()
4248 #ifndef __GNUC__
4249 choke me
4250 #endif
4253 return 0;
4255 _ACEOF
4256 if ac_fn_c_try_compile "$LINENO"; then :
4257 ac_compiler_gnu=yes
4258 else
4259 ac_compiler_gnu=no
4261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4262 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4266 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4267 if test $ac_compiler_gnu = yes; then
4268 GCC=yes
4269 else
4270 GCC=
4272 ac_test_CFLAGS=${CFLAGS+set}
4273 ac_save_CFLAGS=$CFLAGS
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4275 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4276 if test "${ac_cv_prog_cc_g+set}" = set; then :
4277 $as_echo_n "(cached) " >&6
4278 else
4279 ac_save_c_werror_flag=$ac_c_werror_flag
4280 ac_c_werror_flag=yes
4281 ac_cv_prog_cc_g=no
4282 CFLAGS="-g"
4283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4284 /* end confdefs.h. */
4287 main ()
4291 return 0;
4293 _ACEOF
4294 if ac_fn_c_try_compile "$LINENO"; then :
4295 ac_cv_prog_cc_g=yes
4296 else
4297 CFLAGS=""
4298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4299 /* end confdefs.h. */
4302 main ()
4306 return 0;
4308 _ACEOF
4309 if ac_fn_c_try_compile "$LINENO"; then :
4311 else
4312 ac_c_werror_flag=$ac_save_c_werror_flag
4313 CFLAGS="-g"
4314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4315 /* end confdefs.h. */
4318 main ()
4322 return 0;
4324 _ACEOF
4325 if ac_fn_c_try_compile "$LINENO"; then :
4326 ac_cv_prog_cc_g=yes
4328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4333 ac_c_werror_flag=$ac_save_c_werror_flag
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4336 $as_echo "$ac_cv_prog_cc_g" >&6; }
4337 if test "$ac_test_CFLAGS" = set; then
4338 CFLAGS=$ac_save_CFLAGS
4339 elif test $ac_cv_prog_cc_g = yes; then
4340 if test "$GCC" = yes; then
4341 CFLAGS="-g -O2"
4342 else
4343 CFLAGS="-g"
4345 else
4346 if test "$GCC" = yes; then
4347 CFLAGS="-O2"
4348 else
4349 CFLAGS=
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4353 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4354 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4355 $as_echo_n "(cached) " >&6
4356 else
4357 ac_cv_prog_cc_c89=no
4358 ac_save_CC=$CC
4359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4360 /* end confdefs.h. */
4361 #include <stdarg.h>
4362 #include <stdio.h>
4363 #include <sys/types.h>
4364 #include <sys/stat.h>
4365 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4366 struct buf { int x; };
4367 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4368 static char *e (p, i)
4369 char **p;
4370 int i;
4372 return p[i];
4374 static char *f (char * (*g) (char **, int), char **p, ...)
4376 char *s;
4377 va_list v;
4378 va_start (v,p);
4379 s = g (p, va_arg (v,int));
4380 va_end (v);
4381 return s;
4384 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4385 function prototypes and stuff, but not '\xHH' hex character constants.
4386 These don't provoke an error unfortunately, instead are silently treated
4387 as 'x'. The following induces an error, until -std is added to get
4388 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4389 array size at least. It's necessary to write '\x00'==0 to get something
4390 that's true only with -std. */
4391 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4393 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4394 inside strings and character constants. */
4395 #define FOO(x) 'x'
4396 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4398 int test (int i, double x);
4399 struct s1 {int (*f) (int a);};
4400 struct s2 {int (*f) (double a);};
4401 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4402 int argc;
4403 char **argv;
4405 main ()
4407 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4409 return 0;
4411 _ACEOF
4412 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4413 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4415 CC="$ac_save_CC $ac_arg"
4416 if ac_fn_c_try_compile "$LINENO"; then :
4417 ac_cv_prog_cc_c89=$ac_arg
4419 rm -f core conftest.err conftest.$ac_objext
4420 test "x$ac_cv_prog_cc_c89" != "xno" && break
4421 done
4422 rm -f conftest.$ac_ext
4423 CC=$ac_save_CC
4426 # AC_CACHE_VAL
4427 case "x$ac_cv_prog_cc_c89" in
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4430 $as_echo "none needed" >&6; } ;;
4431 xno)
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4433 $as_echo "unsupported" >&6; } ;;
4435 CC="$CC $ac_cv_prog_cc_c89"
4436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4437 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4438 esac
4439 if test "x$ac_cv_prog_cc_c89" != xno; then :
4443 ac_ext=c
4444 ac_cpp='$CPP $CPPFLAGS'
4445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4449 ac_ext=cpp
4450 ac_cpp='$CXXCPP $CPPFLAGS'
4451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4454 if test -z "$CXX"; then
4455 if test -n "$CCC"; then
4456 CXX=$CCC
4457 else
4458 if test -n "$ac_tool_prefix"; then
4459 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4461 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4462 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4464 $as_echo_n "checking for $ac_word... " >&6; }
4465 if test "${glibcxx_cv_prog_CXX+set}" = set; then :
4466 $as_echo_n "(cached) " >&6
4467 else
4468 if test -n "$CXX"; then
4469 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
4470 else
4471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4472 for as_dir in $PATH
4474 IFS=$as_save_IFS
4475 test -z "$as_dir" && as_dir=.
4476 for ac_exec_ext in '' $ac_executable_extensions; do
4477 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4478 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4479 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4480 break 2
4482 done
4483 done
4484 IFS=$as_save_IFS
4488 CXX=$glibcxx_cv_prog_CXX
4489 if test -n "$CXX"; then
4490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4491 $as_echo "$CXX" >&6; }
4492 else
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4494 $as_echo "no" >&6; }
4498 test -n "$CXX" && break
4499 done
4501 if test -z "$CXX"; then
4502 ac_ct_CXX=$CXX
4503 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4505 # Extract the first word of "$ac_prog", so it can be a program name with args.
4506 set dummy $ac_prog; ac_word=$2
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4508 $as_echo_n "checking for $ac_word... " >&6; }
4509 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4510 $as_echo_n "(cached) " >&6
4511 else
4512 if test -n "$ac_ct_CXX"; then
4513 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4514 else
4515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4516 for as_dir in $PATH
4518 IFS=$as_save_IFS
4519 test -z "$as_dir" && as_dir=.
4520 for ac_exec_ext in '' $ac_executable_extensions; do
4521 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4522 ac_cv_prog_ac_ct_CXX="$ac_prog"
4523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4524 break 2
4526 done
4527 done
4528 IFS=$as_save_IFS
4532 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4533 if test -n "$ac_ct_CXX"; then
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4535 $as_echo "$ac_ct_CXX" >&6; }
4536 else
4537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4538 $as_echo "no" >&6; }
4542 test -n "$ac_ct_CXX" && break
4543 done
4545 if test "x$ac_ct_CXX" = x; then
4546 CXX="g++"
4547 else
4548 case $cross_compiling:$ac_tool_warned in
4549 yes:)
4550 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4551 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4552 ac_tool_warned=yes ;;
4553 esac
4554 CXX=$ac_ct_CXX
4560 # Provide some information about the compiler.
4561 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4562 set X $ac_compile
4563 ac_compiler=$2
4564 for ac_option in --version -v -V -qversion; do
4565 { { ac_try="$ac_compiler $ac_option >&5"
4566 case "(($ac_try" in
4567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4568 *) ac_try_echo=$ac_try;;
4569 esac
4570 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4571 $as_echo "$ac_try_echo"; } >&5
4572 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4573 ac_status=$?
4574 if test -s conftest.err; then
4575 sed '10a\
4576 ... rest of stderr output deleted ...
4577 10q' conftest.err >conftest.er1
4578 cat conftest.er1 >&5
4579 rm -f conftest.er1 conftest.err
4581 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4582 test $ac_status = 0; }
4583 done
4585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4586 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4587 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4588 $as_echo_n "(cached) " >&6
4589 else
4590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4591 /* end confdefs.h. */
4594 main ()
4596 #ifndef __GNUC__
4597 choke me
4598 #endif
4601 return 0;
4603 _ACEOF
4604 if ac_fn_cxx_try_compile "$LINENO"; then :
4605 ac_compiler_gnu=yes
4606 else
4607 ac_compiler_gnu=no
4609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4610 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4614 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4615 if test $ac_compiler_gnu = yes; then
4616 GXX=yes
4617 else
4618 GXX=
4620 ac_test_CXXFLAGS=${CXXFLAGS+set}
4621 ac_save_CXXFLAGS=$CXXFLAGS
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4623 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4624 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4625 $as_echo_n "(cached) " >&6
4626 else
4627 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4628 ac_cxx_werror_flag=yes
4629 ac_cv_prog_cxx_g=no
4630 CXXFLAGS="-g"
4631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4632 /* end confdefs.h. */
4635 main ()
4639 return 0;
4641 _ACEOF
4642 if ac_fn_cxx_try_compile "$LINENO"; then :
4643 ac_cv_prog_cxx_g=yes
4644 else
4645 CXXFLAGS=""
4646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4647 /* end confdefs.h. */
4650 main ()
4654 return 0;
4656 _ACEOF
4657 if ac_fn_cxx_try_compile "$LINENO"; then :
4659 else
4660 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4661 CXXFLAGS="-g"
4662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4663 /* end confdefs.h. */
4666 main ()
4670 return 0;
4672 _ACEOF
4673 if ac_fn_cxx_try_compile "$LINENO"; then :
4674 ac_cv_prog_cxx_g=yes
4676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4681 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4684 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4685 if test "$ac_test_CXXFLAGS" = set; then
4686 CXXFLAGS=$ac_save_CXXFLAGS
4687 elif test $ac_cv_prog_cxx_g = yes; then
4688 if test "$GXX" = yes; then
4689 CXXFLAGS="-g -O2"
4690 else
4691 CXXFLAGS="-g"
4693 else
4694 if test "$GXX" = yes; then
4695 CXXFLAGS="-O2"
4696 else
4697 CXXFLAGS=
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
4706 CXXFLAGS="$save_CXXFLAGS"
4711 # Runs configure.host, and assorted other critical bits. Sets
4712 # up critical shell variables.
4714 ac_ext=c
4715 ac_cpp='$CPP $CPPFLAGS'
4716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4720 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4721 # On Suns, sometimes $CPP names a directory.
4722 if test -n "$CPP" && test -d "$CPP"; then
4723 CPP=
4725 if test -z "$CPP"; then
4726 if test "${ac_cv_prog_CPP+set}" = set; then :
4727 $as_echo_n "(cached) " >&6
4728 else
4729 # Double quotes because CPP needs to be expanded
4730 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4732 ac_preproc_ok=false
4733 for ac_c_preproc_warn_flag in '' yes
4735 # Use a header file that comes with gcc, so configuring glibc
4736 # with a fresh cross-compiler works.
4737 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4738 # <limits.h> exists even on freestanding compilers.
4739 # On the NeXT, cc -E runs the code through the compiler's parser,
4740 # not just through cpp. "Syntax error" is here to catch this case.
4741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4742 /* end confdefs.h. */
4743 #ifdef __STDC__
4744 # include <limits.h>
4745 #else
4746 # include <assert.h>
4747 #endif
4748 Syntax error
4749 _ACEOF
4750 if ac_fn_c_try_cpp "$LINENO"; then :
4752 else
4753 # Broken: fails on valid input.
4754 continue
4756 rm -f conftest.err conftest.$ac_ext
4758 # OK, works on sane cases. Now check whether nonexistent headers
4759 # can be detected and how.
4760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4761 /* end confdefs.h. */
4762 #include <ac_nonexistent.h>
4763 _ACEOF
4764 if ac_fn_c_try_cpp "$LINENO"; then :
4765 # Broken: success on invalid input.
4766 continue
4767 else
4768 # Passes both tests.
4769 ac_preproc_ok=:
4770 break
4772 rm -f conftest.err conftest.$ac_ext
4774 done
4775 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4776 rm -f conftest.err conftest.$ac_ext
4777 if $ac_preproc_ok; then :
4778 break
4781 done
4782 ac_cv_prog_CPP=$CPP
4785 CPP=$ac_cv_prog_CPP
4786 else
4787 ac_cv_prog_CPP=$CPP
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4790 $as_echo "$CPP" >&6; }
4791 ac_preproc_ok=false
4792 for ac_c_preproc_warn_flag in '' yes
4794 # Use a header file that comes with gcc, so configuring glibc
4795 # with a fresh cross-compiler works.
4796 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4797 # <limits.h> exists even on freestanding compilers.
4798 # On the NeXT, cc -E runs the code through the compiler's parser,
4799 # not just through cpp. "Syntax error" is here to catch this case.
4800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4801 /* end confdefs.h. */
4802 #ifdef __STDC__
4803 # include <limits.h>
4804 #else
4805 # include <assert.h>
4806 #endif
4807 Syntax error
4808 _ACEOF
4809 if ac_fn_c_try_cpp "$LINENO"; then :
4811 else
4812 # Broken: fails on valid input.
4813 continue
4815 rm -f conftest.err conftest.$ac_ext
4817 # OK, works on sane cases. Now check whether nonexistent headers
4818 # can be detected and how.
4819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4820 /* end confdefs.h. */
4821 #include <ac_nonexistent.h>
4822 _ACEOF
4823 if ac_fn_c_try_cpp "$LINENO"; then :
4824 # Broken: success on invalid input.
4825 continue
4826 else
4827 # Passes both tests.
4828 ac_preproc_ok=:
4829 break
4831 rm -f conftest.err conftest.$ac_ext
4833 done
4834 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4835 rm -f conftest.err conftest.$ac_ext
4836 if $ac_preproc_ok; then :
4838 else
4839 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4840 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4841 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4842 See \`config.log' for more details." "$LINENO" 5; }
4845 ac_ext=c
4846 ac_cpp='$CPP $CPPFLAGS'
4847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4853 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4854 if test "${ac_cv_path_GREP+set}" = set; then :
4855 $as_echo_n "(cached) " >&6
4856 else
4857 if test -z "$GREP"; then
4858 ac_path_GREP_found=false
4859 # Loop through the user's path and test for each of PROGNAME-LIST
4860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4861 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4863 IFS=$as_save_IFS
4864 test -z "$as_dir" && as_dir=.
4865 for ac_prog in grep ggrep; do
4866 for ac_exec_ext in '' $ac_executable_extensions; do
4867 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4868 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4869 # Check for GNU ac_path_GREP and select it if it is found.
4870 # Check for GNU $ac_path_GREP
4871 case `"$ac_path_GREP" --version 2>&1` in
4872 *GNU*)
4873 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4875 ac_count=0
4876 $as_echo_n 0123456789 >"conftest.in"
4877 while :
4879 cat "conftest.in" "conftest.in" >"conftest.tmp"
4880 mv "conftest.tmp" "conftest.in"
4881 cp "conftest.in" "conftest.nl"
4882 $as_echo 'GREP' >> "conftest.nl"
4883 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4884 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4885 as_fn_arith $ac_count + 1 && ac_count=$as_val
4886 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4887 # Best one so far, save it but keep looking for a better one
4888 ac_cv_path_GREP="$ac_path_GREP"
4889 ac_path_GREP_max=$ac_count
4891 # 10*(2^10) chars as input seems more than enough
4892 test $ac_count -gt 10 && break
4893 done
4894 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4895 esac
4897 $ac_path_GREP_found && break 3
4898 done
4899 done
4900 done
4901 IFS=$as_save_IFS
4902 if test -z "$ac_cv_path_GREP"; then
4903 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4905 else
4906 ac_cv_path_GREP=$GREP
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4911 $as_echo "$ac_cv_path_GREP" >&6; }
4912 GREP="$ac_cv_path_GREP"
4915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4916 $as_echo_n "checking for egrep... " >&6; }
4917 if test "${ac_cv_path_EGREP+set}" = set; then :
4918 $as_echo_n "(cached) " >&6
4919 else
4920 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4921 then ac_cv_path_EGREP="$GREP -E"
4922 else
4923 if test -z "$EGREP"; then
4924 ac_path_EGREP_found=false
4925 # Loop through the user's path and test for each of PROGNAME-LIST
4926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4927 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4929 IFS=$as_save_IFS
4930 test -z "$as_dir" && as_dir=.
4931 for ac_prog in egrep; do
4932 for ac_exec_ext in '' $ac_executable_extensions; do
4933 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4934 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4935 # Check for GNU ac_path_EGREP and select it if it is found.
4936 # Check for GNU $ac_path_EGREP
4937 case `"$ac_path_EGREP" --version 2>&1` in
4938 *GNU*)
4939 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4941 ac_count=0
4942 $as_echo_n 0123456789 >"conftest.in"
4943 while :
4945 cat "conftest.in" "conftest.in" >"conftest.tmp"
4946 mv "conftest.tmp" "conftest.in"
4947 cp "conftest.in" "conftest.nl"
4948 $as_echo 'EGREP' >> "conftest.nl"
4949 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4950 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4951 as_fn_arith $ac_count + 1 && ac_count=$as_val
4952 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4953 # Best one so far, save it but keep looking for a better one
4954 ac_cv_path_EGREP="$ac_path_EGREP"
4955 ac_path_EGREP_max=$ac_count
4957 # 10*(2^10) chars as input seems more than enough
4958 test $ac_count -gt 10 && break
4959 done
4960 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4961 esac
4963 $ac_path_EGREP_found && break 3
4964 done
4965 done
4966 done
4967 IFS=$as_save_IFS
4968 if test -z "$ac_cv_path_EGREP"; then
4969 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4971 else
4972 ac_cv_path_EGREP=$EGREP
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4978 $as_echo "$ac_cv_path_EGREP" >&6; }
4979 EGREP="$ac_cv_path_EGREP"
4983 # Keep these sync'd with the list in Makefile.am. The first provides an
4984 # expandable list at autoconf time; the second provides an expandable list
4985 # (i.e., shell variable) at configure time.
4987 SUBDIRS='include libsupc++ python src doc po testsuite'
4989 # These need to be absolute paths, yet at the same time need to
4990 # canonicalize only relative paths, because then amd will not unmount
4991 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4992 glibcxx_builddir=`${PWDCMD-pwd}`
4993 case $srcdir in
4994 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4995 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4996 esac
4997 toplevel_srcdir=${glibcxx_srcdir}/..
5002 # We use these options to decide which functions to include. They are
5003 # set from the top level.
5005 # Check whether --with-target-subdir was given.
5006 if test "${with_target_subdir+set}" = set; then :
5007 withval=$with_target_subdir;
5012 # Check whether --with-cross-host was given.
5013 if test "${with_cross_host+set}" = set; then :
5014 withval=$with_cross_host;
5019 # Check whether --with-newlib was given.
5020 if test "${with_newlib+set}" = set; then :
5021 withval=$with_newlib;
5025 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
5026 # available). Uncomment the next line to force a particular method.
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5028 $as_echo_n "checking whether ln -s works... " >&6; }
5029 LN_S=$as_ln_s
5030 if test "$LN_S" = "ln -s"; then
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5032 $as_echo "yes" >&6; }
5033 else
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5035 $as_echo "no, using $LN_S" >&6; }
5038 #LN_S='cp -p'
5040 if test -n "$ac_tool_prefix"; then
5041 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5042 set dummy ${ac_tool_prefix}as; ac_word=$2
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5044 $as_echo_n "checking for $ac_word... " >&6; }
5045 if test "${ac_cv_prog_AS+set}" = set; then :
5046 $as_echo_n "(cached) " >&6
5047 else
5048 if test -n "$AS"; then
5049 ac_cv_prog_AS="$AS" # Let the user override the test.
5050 else
5051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5052 for as_dir in $PATH
5054 IFS=$as_save_IFS
5055 test -z "$as_dir" && as_dir=.
5056 for ac_exec_ext in '' $ac_executable_extensions; do
5057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5058 ac_cv_prog_AS="${ac_tool_prefix}as"
5059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5060 break 2
5062 done
5063 done
5064 IFS=$as_save_IFS
5068 AS=$ac_cv_prog_AS
5069 if test -n "$AS"; then
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5071 $as_echo "$AS" >&6; }
5072 else
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5074 $as_echo "no" >&6; }
5079 if test -z "$ac_cv_prog_AS"; then
5080 ac_ct_AS=$AS
5081 # Extract the first word of "as", so it can be a program name with args.
5082 set dummy as; ac_word=$2
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5084 $as_echo_n "checking for $ac_word... " >&6; }
5085 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5086 $as_echo_n "(cached) " >&6
5087 else
5088 if test -n "$ac_ct_AS"; then
5089 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5090 else
5091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5092 for as_dir in $PATH
5094 IFS=$as_save_IFS
5095 test -z "$as_dir" && as_dir=.
5096 for ac_exec_ext in '' $ac_executable_extensions; do
5097 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5098 ac_cv_prog_ac_ct_AS="as"
5099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5100 break 2
5102 done
5103 done
5104 IFS=$as_save_IFS
5108 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5109 if test -n "$ac_ct_AS"; then
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5111 $as_echo "$ac_ct_AS" >&6; }
5112 else
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5114 $as_echo "no" >&6; }
5117 if test "x$ac_ct_AS" = x; then
5118 AS=""
5119 else
5120 case $cross_compiling:$ac_tool_warned in
5121 yes:)
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5123 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5124 ac_tool_warned=yes ;;
5125 esac
5126 AS=$ac_ct_AS
5128 else
5129 AS="$ac_cv_prog_AS"
5132 if test -n "$ac_tool_prefix"; then
5133 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5134 set dummy ${ac_tool_prefix}ar; ac_word=$2
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5136 $as_echo_n "checking for $ac_word... " >&6; }
5137 if test "${ac_cv_prog_AR+set}" = set; then :
5138 $as_echo_n "(cached) " >&6
5139 else
5140 if test -n "$AR"; then
5141 ac_cv_prog_AR="$AR" # Let the user override the test.
5142 else
5143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5144 for as_dir in $PATH
5146 IFS=$as_save_IFS
5147 test -z "$as_dir" && as_dir=.
5148 for ac_exec_ext in '' $ac_executable_extensions; do
5149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5150 ac_cv_prog_AR="${ac_tool_prefix}ar"
5151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5152 break 2
5154 done
5155 done
5156 IFS=$as_save_IFS
5160 AR=$ac_cv_prog_AR
5161 if test -n "$AR"; then
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5163 $as_echo "$AR" >&6; }
5164 else
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5166 $as_echo "no" >&6; }
5171 if test -z "$ac_cv_prog_AR"; then
5172 ac_ct_AR=$AR
5173 # Extract the first word of "ar", so it can be a program name with args.
5174 set dummy ar; ac_word=$2
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5176 $as_echo_n "checking for $ac_word... " >&6; }
5177 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5178 $as_echo_n "(cached) " >&6
5179 else
5180 if test -n "$ac_ct_AR"; then
5181 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5182 else
5183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5184 for as_dir in $PATH
5186 IFS=$as_save_IFS
5187 test -z "$as_dir" && as_dir=.
5188 for ac_exec_ext in '' $ac_executable_extensions; do
5189 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5190 ac_cv_prog_ac_ct_AR="ar"
5191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5192 break 2
5194 done
5195 done
5196 IFS=$as_save_IFS
5200 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5201 if test -n "$ac_ct_AR"; then
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5203 $as_echo "$ac_ct_AR" >&6; }
5204 else
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5206 $as_echo "no" >&6; }
5209 if test "x$ac_ct_AR" = x; then
5210 AR=""
5211 else
5212 case $cross_compiling:$ac_tool_warned in
5213 yes:)
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5215 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5216 ac_tool_warned=yes ;;
5217 esac
5218 AR=$ac_ct_AR
5220 else
5221 AR="$ac_cv_prog_AR"
5224 if test -n "$ac_tool_prefix"; then
5225 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5226 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5228 $as_echo_n "checking for $ac_word... " >&6; }
5229 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5230 $as_echo_n "(cached) " >&6
5231 else
5232 if test -n "$RANLIB"; then
5233 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5234 else
5235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5236 for as_dir in $PATH
5238 IFS=$as_save_IFS
5239 test -z "$as_dir" && as_dir=.
5240 for ac_exec_ext in '' $ac_executable_extensions; do
5241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5242 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5244 break 2
5246 done
5247 done
5248 IFS=$as_save_IFS
5252 RANLIB=$ac_cv_prog_RANLIB
5253 if test -n "$RANLIB"; then
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5255 $as_echo "$RANLIB" >&6; }
5256 else
5257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5258 $as_echo "no" >&6; }
5263 if test -z "$ac_cv_prog_RANLIB"; then
5264 ac_ct_RANLIB=$RANLIB
5265 # Extract the first word of "ranlib", so it can be a program name with args.
5266 set dummy ranlib; ac_word=$2
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5268 $as_echo_n "checking for $ac_word... " >&6; }
5269 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5270 $as_echo_n "(cached) " >&6
5271 else
5272 if test -n "$ac_ct_RANLIB"; then
5273 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5274 else
5275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5276 for as_dir in $PATH
5278 IFS=$as_save_IFS
5279 test -z "$as_dir" && as_dir=.
5280 for ac_exec_ext in '' $ac_executable_extensions; do
5281 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5282 ac_cv_prog_ac_ct_RANLIB="ranlib"
5283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5284 break 2
5286 done
5287 done
5288 IFS=$as_save_IFS
5292 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5293 if test -n "$ac_ct_RANLIB"; then
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5295 $as_echo "$ac_ct_RANLIB" >&6; }
5296 else
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5298 $as_echo "no" >&6; }
5301 if test "x$ac_ct_RANLIB" = x; then
5302 RANLIB="ranlib-not-found-in-path-error"
5303 else
5304 case $cross_compiling:$ac_tool_warned in
5305 yes:)
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5307 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5308 ac_tool_warned=yes ;;
5309 esac
5310 RANLIB=$ac_ct_RANLIB
5312 else
5313 RANLIB="$ac_cv_prog_RANLIB"
5318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5319 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5320 # Check whether --enable-maintainer-mode was given.
5321 if test "${enable_maintainer_mode+set}" = set; then :
5322 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5323 else
5324 USE_MAINTAINER_MODE=no
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5328 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5329 if test $USE_MAINTAINER_MODE = yes; then
5330 MAINTAINER_MODE_TRUE=
5331 MAINTAINER_MODE_FALSE='#'
5332 else
5333 MAINTAINER_MODE_TRUE='#'
5334 MAINTAINER_MODE_FALSE=
5337 MAINT=$MAINTAINER_MODE_TRUE
5341 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5342 # which are themselves conditionally expanded.
5343 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5344 ## other macros from doing the same. This should be automated.) -pme
5346 # Check for uClibc since Linux platforms use different configuration
5347 # directories depending on the C library in use.
5348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5349 /* end confdefs.h. */
5351 #include <stdio.h>
5352 #if __UCLIBC__
5353 _using_uclibc
5354 #endif
5356 _ACEOF
5357 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5358 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5359 uclibc=yes
5360 else
5361 uclibc=no
5363 rm -f conftest*
5366 # Find platform-specific directories containing configuration info.
5367 # Also possibly modify flags used elsewhere, as needed by the platform.
5369 . $glibcxx_srcdir/configure.host
5370 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5371 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5373 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5377 if test "x${with_newlib}" != "xyes"; then
5378 enable_dlopen=yes
5383 case `pwd` in
5384 *\ * | *\ *)
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5386 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5387 esac
5391 macro_version='2.2.6'
5392 macro_revision='1.3012'
5406 ltmain="$ac_aux_dir/ltmain.sh"
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5409 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5410 if test "${ac_cv_path_SED+set}" = set; then :
5411 $as_echo_n "(cached) " >&6
5412 else
5413 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5414 for ac_i in 1 2 3 4 5 6 7; do
5415 ac_script="$ac_script$as_nl$ac_script"
5416 done
5417 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5418 { ac_script=; unset ac_script;}
5419 if test -z "$SED"; then
5420 ac_path_SED_found=false
5421 # Loop through the user's path and test for each of PROGNAME-LIST
5422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5423 for as_dir in $PATH
5425 IFS=$as_save_IFS
5426 test -z "$as_dir" && as_dir=.
5427 for ac_prog in sed gsed; do
5428 for ac_exec_ext in '' $ac_executable_extensions; do
5429 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5430 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5431 # Check for GNU ac_path_SED and select it if it is found.
5432 # Check for GNU $ac_path_SED
5433 case `"$ac_path_SED" --version 2>&1` in
5434 *GNU*)
5435 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5437 ac_count=0
5438 $as_echo_n 0123456789 >"conftest.in"
5439 while :
5441 cat "conftest.in" "conftest.in" >"conftest.tmp"
5442 mv "conftest.tmp" "conftest.in"
5443 cp "conftest.in" "conftest.nl"
5444 $as_echo '' >> "conftest.nl"
5445 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5446 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5447 as_fn_arith $ac_count + 1 && ac_count=$as_val
5448 if test $ac_count -gt ${ac_path_SED_max-0}; then
5449 # Best one so far, save it but keep looking for a better one
5450 ac_cv_path_SED="$ac_path_SED"
5451 ac_path_SED_max=$ac_count
5453 # 10*(2^10) chars as input seems more than enough
5454 test $ac_count -gt 10 && break
5455 done
5456 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5457 esac
5459 $ac_path_SED_found && break 3
5460 done
5461 done
5462 done
5463 IFS=$as_save_IFS
5464 if test -z "$ac_cv_path_SED"; then
5465 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5467 else
5468 ac_cv_path_SED=$SED
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5473 $as_echo "$ac_cv_path_SED" >&6; }
5474 SED="$ac_cv_path_SED"
5475 rm -f conftest.sed
5477 test -z "$SED" && SED=sed
5478 Xsed="$SED -e 1s/^X//"
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5491 $as_echo_n "checking for fgrep... " >&6; }
5492 if test "${ac_cv_path_FGREP+set}" = set; then :
5493 $as_echo_n "(cached) " >&6
5494 else
5495 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5496 then ac_cv_path_FGREP="$GREP -F"
5497 else
5498 if test -z "$FGREP"; then
5499 ac_path_FGREP_found=false
5500 # Loop through the user's path and test for each of PROGNAME-LIST
5501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5502 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5504 IFS=$as_save_IFS
5505 test -z "$as_dir" && as_dir=.
5506 for ac_prog in fgrep; do
5507 for ac_exec_ext in '' $ac_executable_extensions; do
5508 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5509 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5510 # Check for GNU ac_path_FGREP and select it if it is found.
5511 # Check for GNU $ac_path_FGREP
5512 case `"$ac_path_FGREP" --version 2>&1` in
5513 *GNU*)
5514 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5516 ac_count=0
5517 $as_echo_n 0123456789 >"conftest.in"
5518 while :
5520 cat "conftest.in" "conftest.in" >"conftest.tmp"
5521 mv "conftest.tmp" "conftest.in"
5522 cp "conftest.in" "conftest.nl"
5523 $as_echo 'FGREP' >> "conftest.nl"
5524 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5525 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5526 as_fn_arith $ac_count + 1 && ac_count=$as_val
5527 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5528 # Best one so far, save it but keep looking for a better one
5529 ac_cv_path_FGREP="$ac_path_FGREP"
5530 ac_path_FGREP_max=$ac_count
5532 # 10*(2^10) chars as input seems more than enough
5533 test $ac_count -gt 10 && break
5534 done
5535 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5536 esac
5538 $ac_path_FGREP_found && break 3
5539 done
5540 done
5541 done
5542 IFS=$as_save_IFS
5543 if test -z "$ac_cv_path_FGREP"; then
5544 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5546 else
5547 ac_cv_path_FGREP=$FGREP
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5553 $as_echo "$ac_cv_path_FGREP" >&6; }
5554 FGREP="$ac_cv_path_FGREP"
5557 test -z "$GREP" && GREP=grep
5577 # Check whether --with-gnu-ld was given.
5578 if test "${with_gnu_ld+set}" = set; then :
5579 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5580 else
5581 with_gnu_ld=no
5584 ac_prog=ld
5585 if test "$GCC" = yes; then
5586 # Check if gcc -print-prog-name=ld gives a path.
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5588 $as_echo_n "checking for ld used by $CC... " >&6; }
5589 case $host in
5590 *-*-mingw*)
5591 # gcc leaves a trailing carriage return which upsets mingw
5592 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5594 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5595 esac
5596 case $ac_prog in
5597 # Accept absolute paths.
5598 [\\/]* | ?:[\\/]*)
5599 re_direlt='/[^/][^/]*/\.\./'
5600 # Canonicalize the pathname of ld
5601 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5602 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5603 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5604 done
5605 test -z "$LD" && LD="$ac_prog"
5608 # If it fails, then pretend we aren't using GCC.
5609 ac_prog=ld
5612 # If it is relative, then search for the first ld in PATH.
5613 with_gnu_ld=unknown
5615 esac
5616 elif test "$with_gnu_ld" = yes; then
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5618 $as_echo_n "checking for GNU ld... " >&6; }
5619 else
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5621 $as_echo_n "checking for non-GNU ld... " >&6; }
5623 if test "${lt_cv_path_LD+set}" = set; then :
5624 $as_echo_n "(cached) " >&6
5625 else
5626 if test -z "$LD"; then
5627 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5628 for ac_dir in $PATH; do
5629 IFS="$lt_save_ifs"
5630 test -z "$ac_dir" && ac_dir=.
5631 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5632 lt_cv_path_LD="$ac_dir/$ac_prog"
5633 # Check to see if the program is GNU ld. I'd rather use --version,
5634 # but apparently some variants of GNU ld only accept -v.
5635 # Break only if it was the GNU/non-GNU ld that we prefer.
5636 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5637 *GNU* | *'with BFD'*)
5638 test "$with_gnu_ld" != no && break
5641 test "$with_gnu_ld" != yes && break
5643 esac
5645 done
5646 IFS="$lt_save_ifs"
5647 else
5648 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5652 LD="$lt_cv_path_LD"
5653 if test -n "$LD"; then
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5655 $as_echo "$LD" >&6; }
5656 else
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5658 $as_echo "no" >&6; }
5660 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5662 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5663 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5664 $as_echo_n "(cached) " >&6
5665 else
5666 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5667 case `$LD -v 2>&1 </dev/null` in
5668 *GNU* | *'with BFD'*)
5669 lt_cv_prog_gnu_ld=yes
5672 lt_cv_prog_gnu_ld=no
5674 esac
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5677 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5678 with_gnu_ld=$lt_cv_prog_gnu_ld
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5689 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5690 if test "${lt_cv_path_NM+set}" = set; then :
5691 $as_echo_n "(cached) " >&6
5692 else
5693 if test -n "$NM"; then
5694 # Let the user override the test.
5695 lt_cv_path_NM="$NM"
5696 else
5697 lt_nm_to_check="${ac_tool_prefix}nm"
5698 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5699 lt_nm_to_check="$lt_nm_to_check nm"
5701 for lt_tmp_nm in $lt_nm_to_check; do
5702 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5703 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5704 IFS="$lt_save_ifs"
5705 test -z "$ac_dir" && ac_dir=.
5706 tmp_nm="$ac_dir/$lt_tmp_nm"
5707 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5708 # Check to see if the nm accepts a BSD-compat flag.
5709 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5710 # nm: unknown option "B" ignored
5711 # Tru64's nm complains that /dev/null is an invalid object file
5712 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5713 */dev/null* | *'Invalid file or object type'*)
5714 lt_cv_path_NM="$tmp_nm -B"
5715 break
5718 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5719 */dev/null*)
5720 lt_cv_path_NM="$tmp_nm -p"
5721 break
5724 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5725 continue # so that we can try to find one that supports BSD flags
5727 esac
5729 esac
5731 done
5732 IFS="$lt_save_ifs"
5733 done
5734 : ${lt_cv_path_NM=no}
5737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5738 $as_echo "$lt_cv_path_NM" >&6; }
5739 if test "$lt_cv_path_NM" != "no"; then
5740 NM="$lt_cv_path_NM"
5741 else
5742 # Didn't find any BSD compatible name lister, look for dumpbin.
5743 if test -n "$ac_tool_prefix"; then
5744 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5746 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5747 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5749 $as_echo_n "checking for $ac_word... " >&6; }
5750 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5751 $as_echo_n "(cached) " >&6
5752 else
5753 if test -n "$DUMPBIN"; then
5754 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5755 else
5756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5757 for as_dir in $PATH
5759 IFS=$as_save_IFS
5760 test -z "$as_dir" && as_dir=.
5761 for ac_exec_ext in '' $ac_executable_extensions; do
5762 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5763 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5765 break 2
5767 done
5768 done
5769 IFS=$as_save_IFS
5773 DUMPBIN=$ac_cv_prog_DUMPBIN
5774 if test -n "$DUMPBIN"; then
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5776 $as_echo "$DUMPBIN" >&6; }
5777 else
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5779 $as_echo "no" >&6; }
5783 test -n "$DUMPBIN" && break
5784 done
5786 if test -z "$DUMPBIN"; then
5787 ac_ct_DUMPBIN=$DUMPBIN
5788 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5790 # Extract the first word of "$ac_prog", so it can be a program name with args.
5791 set dummy $ac_prog; ac_word=$2
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5793 $as_echo_n "checking for $ac_word... " >&6; }
5794 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5795 $as_echo_n "(cached) " >&6
5796 else
5797 if test -n "$ac_ct_DUMPBIN"; then
5798 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5799 else
5800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5801 for as_dir in $PATH
5803 IFS=$as_save_IFS
5804 test -z "$as_dir" && as_dir=.
5805 for ac_exec_ext in '' $ac_executable_extensions; do
5806 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5807 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5809 break 2
5811 done
5812 done
5813 IFS=$as_save_IFS
5817 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5818 if test -n "$ac_ct_DUMPBIN"; then
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5820 $as_echo "$ac_ct_DUMPBIN" >&6; }
5821 else
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5823 $as_echo "no" >&6; }
5827 test -n "$ac_ct_DUMPBIN" && break
5828 done
5830 if test "x$ac_ct_DUMPBIN" = x; then
5831 DUMPBIN=":"
5832 else
5833 case $cross_compiling:$ac_tool_warned in
5834 yes:)
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5836 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5837 ac_tool_warned=yes ;;
5838 esac
5839 DUMPBIN=$ac_ct_DUMPBIN
5844 if test "$DUMPBIN" != ":"; then
5845 NM="$DUMPBIN"
5848 test -z "$NM" && NM=nm
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5856 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5857 if test "${lt_cv_nm_interface+set}" = set; then :
5858 $as_echo_n "(cached) " >&6
5859 else
5860 lt_cv_nm_interface="BSD nm"
5861 echo "int some_variable = 0;" > conftest.$ac_ext
5862 (eval echo "\"\$as_me:5862: $ac_compile\"" >&5)
5863 (eval "$ac_compile" 2>conftest.err)
5864 cat conftest.err >&5
5865 (eval echo "\"\$as_me:5865: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5866 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5867 cat conftest.err >&5
5868 (eval echo "\"\$as_me:5868: output\"" >&5)
5869 cat conftest.out >&5
5870 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5871 lt_cv_nm_interface="MS dumpbin"
5873 rm -f conftest*
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5876 $as_echo "$lt_cv_nm_interface" >&6; }
5878 # find the maximum length of command line arguments
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5880 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5881 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5882 $as_echo_n "(cached) " >&6
5883 else
5885 teststring="ABCD"
5887 case $build_os in
5888 msdosdjgpp*)
5889 # On DJGPP, this test can blow up pretty badly due to problems in libc
5890 # (any single argument exceeding 2000 bytes causes a buffer overrun
5891 # during glob expansion). Even if it were fixed, the result of this
5892 # check would be larger than it should be.
5893 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5896 gnu*)
5897 # Under GNU Hurd, this test is not required because there is
5898 # no limit to the length of command line arguments.
5899 # Libtool will interpret -1 as no limit whatsoever
5900 lt_cv_sys_max_cmd_len=-1;
5903 cygwin* | mingw* | cegcc*)
5904 # On Win9x/ME, this test blows up -- it succeeds, but takes
5905 # about 5 minutes as the teststring grows exponentially.
5906 # Worse, since 9x/ME are not pre-emptively multitasking,
5907 # you end up with a "frozen" computer, even though with patience
5908 # the test eventually succeeds (with a max line length of 256k).
5909 # Instead, let's just punt: use the minimum linelength reported by
5910 # all of the supported platforms: 8192 (on NT/2K/XP).
5911 lt_cv_sys_max_cmd_len=8192;
5914 amigaos*)
5915 # On AmigaOS with pdksh, this test takes hours, literally.
5916 # So we just punt and use a minimum line length of 8192.
5917 lt_cv_sys_max_cmd_len=8192;
5920 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5921 # This has been around since 386BSD, at least. Likely further.
5922 if test -x /sbin/sysctl; then
5923 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5924 elif test -x /usr/sbin/sysctl; then
5925 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5926 else
5927 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5929 # And add a safety zone
5930 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5931 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5934 interix*)
5935 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5936 lt_cv_sys_max_cmd_len=196608
5939 osf*)
5940 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5941 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5942 # nice to cause kernel panics so lets avoid the loop below.
5943 # First set a reasonable default.
5944 lt_cv_sys_max_cmd_len=16384
5946 if test -x /sbin/sysconfig; then
5947 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5948 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5949 esac
5952 sco3.2v5*)
5953 lt_cv_sys_max_cmd_len=102400
5955 sysv5* | sco5v6* | sysv4.2uw2*)
5956 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5957 if test -n "$kargmax"; then
5958 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5959 else
5960 lt_cv_sys_max_cmd_len=32768
5964 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5965 if test -n "$lt_cv_sys_max_cmd_len"; then
5966 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5967 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5968 else
5969 # Make teststring a little bigger before we do anything with it.
5970 # a 1K string should be a reasonable start.
5971 for i in 1 2 3 4 5 6 7 8 ; do
5972 teststring=$teststring$teststring
5973 done
5974 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5975 # If test is not a shell built-in, we'll probably end up computing a
5976 # maximum length that is only half of the actual maximum length, but
5977 # we can't tell.
5978 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5979 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5980 test $i != 17 # 1/2 MB should be enough
5982 i=`expr $i + 1`
5983 teststring=$teststring$teststring
5984 done
5985 # Only check the string length outside the loop.
5986 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5987 teststring=
5988 # Add a significant safety factor because C++ compilers can tack on
5989 # massive amounts of additional arguments before passing them to the
5990 # linker. It appears as though 1/2 is a usable value.
5991 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5994 esac
5998 if test -n $lt_cv_sys_max_cmd_len ; then
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6000 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6001 else
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6003 $as_echo "none" >&6; }
6005 max_cmd_len=$lt_cv_sys_max_cmd_len
6012 : ${CP="cp -f"}
6013 : ${MV="mv -f"}
6014 : ${RM="rm -f"}
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6017 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6018 # Try some XSI features
6019 xsi_shell=no
6020 ( _lt_dummy="a/b/c"
6021 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6022 = c,a/b,, \
6023 && eval 'test $(( 1 + 1 )) -eq 2 \
6024 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6025 && xsi_shell=yes
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6027 $as_echo "$xsi_shell" >&6; }
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6031 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6032 lt_shell_append=no
6033 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6034 >/dev/null 2>&1 \
6035 && lt_shell_append=yes
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6037 $as_echo "$lt_shell_append" >&6; }
6040 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6041 lt_unset=unset
6042 else
6043 lt_unset=false
6050 # test EBCDIC or ASCII
6051 case `echo X|tr X '\101'` in
6052 A) # ASCII based system
6053 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6054 lt_SP2NL='tr \040 \012'
6055 lt_NL2SP='tr \015\012 \040\040'
6057 *) # EBCDIC based system
6058 lt_SP2NL='tr \100 \n'
6059 lt_NL2SP='tr \r\n \100\100'
6061 esac
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6072 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6073 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6074 $as_echo_n "(cached) " >&6
6075 else
6076 lt_cv_ld_reload_flag='-r'
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6079 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6080 reload_flag=$lt_cv_ld_reload_flag
6081 case $reload_flag in
6082 "" | " "*) ;;
6083 *) reload_flag=" $reload_flag" ;;
6084 esac
6085 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6086 case $host_os in
6087 darwin*)
6088 if test "$GCC" = yes; then
6089 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6090 else
6091 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6094 esac
6104 if test -n "$ac_tool_prefix"; then
6105 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6106 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6108 $as_echo_n "checking for $ac_word... " >&6; }
6109 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6110 $as_echo_n "(cached) " >&6
6111 else
6112 if test -n "$OBJDUMP"; then
6113 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6114 else
6115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6116 for as_dir in $PATH
6118 IFS=$as_save_IFS
6119 test -z "$as_dir" && as_dir=.
6120 for ac_exec_ext in '' $ac_executable_extensions; do
6121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6122 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6124 break 2
6126 done
6127 done
6128 IFS=$as_save_IFS
6132 OBJDUMP=$ac_cv_prog_OBJDUMP
6133 if test -n "$OBJDUMP"; then
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6135 $as_echo "$OBJDUMP" >&6; }
6136 else
6137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6138 $as_echo "no" >&6; }
6143 if test -z "$ac_cv_prog_OBJDUMP"; then
6144 ac_ct_OBJDUMP=$OBJDUMP
6145 # Extract the first word of "objdump", so it can be a program name with args.
6146 set dummy objdump; ac_word=$2
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6148 $as_echo_n "checking for $ac_word... " >&6; }
6149 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6150 $as_echo_n "(cached) " >&6
6151 else
6152 if test -n "$ac_ct_OBJDUMP"; then
6153 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6154 else
6155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6156 for as_dir in $PATH
6158 IFS=$as_save_IFS
6159 test -z "$as_dir" && as_dir=.
6160 for ac_exec_ext in '' $ac_executable_extensions; do
6161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6162 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6164 break 2
6166 done
6167 done
6168 IFS=$as_save_IFS
6172 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6173 if test -n "$ac_ct_OBJDUMP"; then
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6175 $as_echo "$ac_ct_OBJDUMP" >&6; }
6176 else
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6178 $as_echo "no" >&6; }
6181 if test "x$ac_ct_OBJDUMP" = x; then
6182 OBJDUMP="false"
6183 else
6184 case $cross_compiling:$ac_tool_warned in
6185 yes:)
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6187 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6188 ac_tool_warned=yes ;;
6189 esac
6190 OBJDUMP=$ac_ct_OBJDUMP
6192 else
6193 OBJDUMP="$ac_cv_prog_OBJDUMP"
6196 test -z "$OBJDUMP" && OBJDUMP=objdump
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6207 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6208 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6209 $as_echo_n "(cached) " >&6
6210 else
6211 lt_cv_file_magic_cmd='$MAGIC_CMD'
6212 lt_cv_file_magic_test_file=
6213 lt_cv_deplibs_check_method='unknown'
6214 # Need to set the preceding variable on all platforms that support
6215 # interlibrary dependencies.
6216 # 'none' -- dependencies not supported.
6217 # `unknown' -- same as none, but documents that we really don't know.
6218 # 'pass_all' -- all dependencies passed with no checks.
6219 # 'test_compile' -- check by making test program.
6220 # 'file_magic [[regex]]' -- check by looking for files in library path
6221 # which responds to the $file_magic_cmd with a given extended regex.
6222 # If you have `file' or equivalent on your system and you're not sure
6223 # whether `pass_all' will *always* work, you probably want this one.
6225 case $host_os in
6226 aix[4-9]*)
6227 lt_cv_deplibs_check_method=pass_all
6230 beos*)
6231 lt_cv_deplibs_check_method=pass_all
6234 bsdi[45]*)
6235 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6236 lt_cv_file_magic_cmd='/usr/bin/file -L'
6237 lt_cv_file_magic_test_file=/shlib/libc.so
6240 cygwin*)
6241 # func_win32_libid is a shell function defined in ltmain.sh
6242 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6243 lt_cv_file_magic_cmd='func_win32_libid'
6246 mingw* | pw32*)
6247 # Base MSYS/MinGW do not provide the 'file' command needed by
6248 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6249 # unless we find 'file', for example because we are cross-compiling.
6250 if ( file / ) >/dev/null 2>&1; then
6251 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6252 lt_cv_file_magic_cmd='func_win32_libid'
6253 else
6254 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6255 lt_cv_file_magic_cmd='$OBJDUMP -f'
6259 cegcc)
6260 # use the weaker test based on 'objdump'. See mingw*.
6261 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6262 lt_cv_file_magic_cmd='$OBJDUMP -f'
6265 darwin* | rhapsody*)
6266 lt_cv_deplibs_check_method=pass_all
6269 freebsd* | dragonfly*)
6270 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6271 case $host_cpu in
6272 i*86 )
6273 # Not sure whether the presence of OpenBSD here was a mistake.
6274 # Let's accept both of them until this is cleared up.
6275 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6276 lt_cv_file_magic_cmd=/usr/bin/file
6277 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6279 esac
6280 else
6281 lt_cv_deplibs_check_method=pass_all
6285 gnu*)
6286 lt_cv_deplibs_check_method=pass_all
6289 hpux10.20* | hpux11*)
6290 lt_cv_file_magic_cmd=/usr/bin/file
6291 case $host_cpu in
6292 ia64*)
6293 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6294 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6296 hppa*64*)
6297 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
6298 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6301 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6302 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6304 esac
6307 interix[3-9]*)
6308 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6309 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6312 irix5* | irix6* | nonstopux*)
6313 case $LD in
6314 *-32|*"-32 ") libmagic=32-bit;;
6315 *-n32|*"-n32 ") libmagic=N32;;
6316 *-64|*"-64 ") libmagic=64-bit;;
6317 *) libmagic=never-match;;
6318 esac
6319 lt_cv_deplibs_check_method=pass_all
6322 # This must be Linux ELF.
6323 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6324 lt_cv_deplibs_check_method=pass_all
6327 netbsd*)
6328 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6329 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6330 else
6331 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6335 newos6*)
6336 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6337 lt_cv_file_magic_cmd=/usr/bin/file
6338 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6341 *nto* | *qnx*)
6342 lt_cv_deplibs_check_method=pass_all
6345 openbsd*)
6346 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6347 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6348 else
6349 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6353 osf3* | osf4* | osf5*)
6354 lt_cv_deplibs_check_method=pass_all
6357 rdos*)
6358 lt_cv_deplibs_check_method=pass_all
6361 solaris*)
6362 lt_cv_deplibs_check_method=pass_all
6365 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6366 lt_cv_deplibs_check_method=pass_all
6369 sysv4 | sysv4.3*)
6370 case $host_vendor in
6371 motorola)
6372 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]'
6373 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6375 ncr)
6376 lt_cv_deplibs_check_method=pass_all
6378 sequent)
6379 lt_cv_file_magic_cmd='/bin/file'
6380 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6382 sni)
6383 lt_cv_file_magic_cmd='/bin/file'
6384 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6385 lt_cv_file_magic_test_file=/lib/libc.so
6387 siemens)
6388 lt_cv_deplibs_check_method=pass_all
6391 lt_cv_deplibs_check_method=pass_all
6393 esac
6396 tpf*)
6397 lt_cv_deplibs_check_method=pass_all
6399 esac
6402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6403 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6404 file_magic_cmd=$lt_cv_file_magic_cmd
6405 deplibs_check_method=$lt_cv_deplibs_check_method
6406 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6419 if test -n "$ac_tool_prefix"; then
6420 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6421 set dummy ${ac_tool_prefix}ar; ac_word=$2
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6423 $as_echo_n "checking for $ac_word... " >&6; }
6424 if test "${ac_cv_prog_AR+set}" = set; then :
6425 $as_echo_n "(cached) " >&6
6426 else
6427 if test -n "$AR"; then
6428 ac_cv_prog_AR="$AR" # Let the user override the test.
6429 else
6430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6431 for as_dir in $PATH
6433 IFS=$as_save_IFS
6434 test -z "$as_dir" && as_dir=.
6435 for ac_exec_ext in '' $ac_executable_extensions; do
6436 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6437 ac_cv_prog_AR="${ac_tool_prefix}ar"
6438 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6439 break 2
6441 done
6442 done
6443 IFS=$as_save_IFS
6447 AR=$ac_cv_prog_AR
6448 if test -n "$AR"; then
6449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6450 $as_echo "$AR" >&6; }
6451 else
6452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6453 $as_echo "no" >&6; }
6458 if test -z "$ac_cv_prog_AR"; then
6459 ac_ct_AR=$AR
6460 # Extract the first word of "ar", so it can be a program name with args.
6461 set dummy ar; ac_word=$2
6462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6463 $as_echo_n "checking for $ac_word... " >&6; }
6464 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6465 $as_echo_n "(cached) " >&6
6466 else
6467 if test -n "$ac_ct_AR"; then
6468 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6469 else
6470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6471 for as_dir in $PATH
6473 IFS=$as_save_IFS
6474 test -z "$as_dir" && as_dir=.
6475 for ac_exec_ext in '' $ac_executable_extensions; do
6476 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6477 ac_cv_prog_ac_ct_AR="ar"
6478 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6479 break 2
6481 done
6482 done
6483 IFS=$as_save_IFS
6487 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6488 if test -n "$ac_ct_AR"; then
6489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6490 $as_echo "$ac_ct_AR" >&6; }
6491 else
6492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6493 $as_echo "no" >&6; }
6496 if test "x$ac_ct_AR" = x; then
6497 AR="false"
6498 else
6499 case $cross_compiling:$ac_tool_warned in
6500 yes:)
6501 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6502 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6503 ac_tool_warned=yes ;;
6504 esac
6505 AR=$ac_ct_AR
6507 else
6508 AR="$ac_cv_prog_AR"
6511 test -z "$AR" && AR=ar
6512 test -z "$AR_FLAGS" && AR_FLAGS=cru
6524 if test -n "$ac_tool_prefix"; then
6525 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6526 set dummy ${ac_tool_prefix}strip; ac_word=$2
6527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6528 $as_echo_n "checking for $ac_word... " >&6; }
6529 if test "${ac_cv_prog_STRIP+set}" = set; then :
6530 $as_echo_n "(cached) " >&6
6531 else
6532 if test -n "$STRIP"; then
6533 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6534 else
6535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6536 for as_dir in $PATH
6538 IFS=$as_save_IFS
6539 test -z "$as_dir" && as_dir=.
6540 for ac_exec_ext in '' $ac_executable_extensions; do
6541 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6542 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6543 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6544 break 2
6546 done
6547 done
6548 IFS=$as_save_IFS
6552 STRIP=$ac_cv_prog_STRIP
6553 if test -n "$STRIP"; then
6554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6555 $as_echo "$STRIP" >&6; }
6556 else
6557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6558 $as_echo "no" >&6; }
6563 if test -z "$ac_cv_prog_STRIP"; then
6564 ac_ct_STRIP=$STRIP
6565 # Extract the first word of "strip", so it can be a program name with args.
6566 set dummy strip; ac_word=$2
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6568 $as_echo_n "checking for $ac_word... " >&6; }
6569 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6570 $as_echo_n "(cached) " >&6
6571 else
6572 if test -n "$ac_ct_STRIP"; then
6573 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6574 else
6575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6576 for as_dir in $PATH
6578 IFS=$as_save_IFS
6579 test -z "$as_dir" && as_dir=.
6580 for ac_exec_ext in '' $ac_executable_extensions; do
6581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6582 ac_cv_prog_ac_ct_STRIP="strip"
6583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6584 break 2
6586 done
6587 done
6588 IFS=$as_save_IFS
6592 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6593 if test -n "$ac_ct_STRIP"; then
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6595 $as_echo "$ac_ct_STRIP" >&6; }
6596 else
6597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6598 $as_echo "no" >&6; }
6601 if test "x$ac_ct_STRIP" = x; then
6602 STRIP=":"
6603 else
6604 case $cross_compiling:$ac_tool_warned in
6605 yes:)
6606 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6607 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6608 ac_tool_warned=yes ;;
6609 esac
6610 STRIP=$ac_ct_STRIP
6612 else
6613 STRIP="$ac_cv_prog_STRIP"
6616 test -z "$STRIP" && STRIP=:
6623 if test -n "$ac_tool_prefix"; then
6624 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6625 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6627 $as_echo_n "checking for $ac_word... " >&6; }
6628 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6629 $as_echo_n "(cached) " >&6
6630 else
6631 if test -n "$RANLIB"; then
6632 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6633 else
6634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6635 for as_dir in $PATH
6637 IFS=$as_save_IFS
6638 test -z "$as_dir" && as_dir=.
6639 for ac_exec_ext in '' $ac_executable_extensions; do
6640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6641 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6642 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6643 break 2
6645 done
6646 done
6647 IFS=$as_save_IFS
6651 RANLIB=$ac_cv_prog_RANLIB
6652 if test -n "$RANLIB"; then
6653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6654 $as_echo "$RANLIB" >&6; }
6655 else
6656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6657 $as_echo "no" >&6; }
6662 if test -z "$ac_cv_prog_RANLIB"; then
6663 ac_ct_RANLIB=$RANLIB
6664 # Extract the first word of "ranlib", so it can be a program name with args.
6665 set dummy ranlib; ac_word=$2
6666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6667 $as_echo_n "checking for $ac_word... " >&6; }
6668 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6669 $as_echo_n "(cached) " >&6
6670 else
6671 if test -n "$ac_ct_RANLIB"; then
6672 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6673 else
6674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6675 for as_dir in $PATH
6677 IFS=$as_save_IFS
6678 test -z "$as_dir" && as_dir=.
6679 for ac_exec_ext in '' $ac_executable_extensions; do
6680 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6681 ac_cv_prog_ac_ct_RANLIB="ranlib"
6682 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6683 break 2
6685 done
6686 done
6687 IFS=$as_save_IFS
6691 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6692 if test -n "$ac_ct_RANLIB"; then
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6694 $as_echo "$ac_ct_RANLIB" >&6; }
6695 else
6696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6697 $as_echo "no" >&6; }
6700 if test "x$ac_ct_RANLIB" = x; then
6701 RANLIB=":"
6702 else
6703 case $cross_compiling:$ac_tool_warned in
6704 yes:)
6705 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6706 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6707 ac_tool_warned=yes ;;
6708 esac
6709 RANLIB=$ac_ct_RANLIB
6711 else
6712 RANLIB="$ac_cv_prog_RANLIB"
6715 test -z "$RANLIB" && RANLIB=:
6722 # Determine commands to create old-style static archives.
6723 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6724 old_postinstall_cmds='chmod 644 $oldlib'
6725 old_postuninstall_cmds=
6727 if test -n "$RANLIB"; then
6728 case $host_os in
6729 openbsd*)
6730 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6733 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6735 esac
6736 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6772 # If no C compiler was specified, use CC.
6773 LTCC=${LTCC-"$CC"}
6775 # If no C compiler flags were specified, use CFLAGS.
6776 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6778 # Allow CC to be a program name with arguments.
6779 compiler=$CC
6782 # Check for command to grab the raw symbol name followed by C symbol from nm.
6783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6784 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6785 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6786 $as_echo_n "(cached) " >&6
6787 else
6789 # These are sane defaults that work on at least a few old systems.
6790 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6792 # Character class describing NM global symbol codes.
6793 symcode='[BCDEGRST]'
6795 # Regexp to match symbols that can be accessed directly from C.
6796 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6798 # Define system-specific variables.
6799 case $host_os in
6800 aix*)
6801 symcode='[BCDT]'
6803 cygwin* | mingw* | pw32* | cegcc*)
6804 symcode='[ABCDGISTW]'
6806 hpux*)
6807 if test "$host_cpu" = ia64; then
6808 symcode='[ABCDEGRST]'
6811 irix* | nonstopux*)
6812 symcode='[BCDEGRST]'
6814 osf*)
6815 symcode='[BCDEGQRST]'
6817 solaris*)
6818 symcode='[BDRT]'
6820 sco3.2v5*)
6821 symcode='[DT]'
6823 sysv4.2uw2*)
6824 symcode='[DT]'
6826 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6827 symcode='[ABDT]'
6829 sysv4)
6830 symcode='[DFNSTU]'
6832 esac
6834 # If we're using GNU nm, then use its standard symbol codes.
6835 case `$NM -V 2>&1` in
6836 *GNU* | *'with BFD'*)
6837 symcode='[ABCDGIRSTW]' ;;
6838 esac
6840 # Transform an extracted symbol line into a proper C declaration.
6841 # Some systems (esp. on ia64) link data and code symbols differently,
6842 # so use this general approach.
6843 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6845 # Transform an extracted symbol line into symbol name and symbol address
6846 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6847 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
6849 # Handle CRLF in mingw tool chain
6850 opt_cr=
6851 case $build_os in
6852 mingw*)
6853 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6855 esac
6857 # Try without a prefix underscore, then with it.
6858 for ac_symprfx in "" "_"; do
6860 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6861 symxfrm="\\1 $ac_symprfx\\2 \\2"
6863 # Write the raw and C identifiers.
6864 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6865 # Fake it for dumpbin and say T for any non-static function
6866 # and D for any global variable.
6867 # Also find C++ and __fastcall symbols from MSVC++,
6868 # which start with @ or ?.
6869 lt_cv_sys_global_symbol_pipe="$AWK '"\
6870 " {last_section=section; section=\$ 3};"\
6871 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6872 " \$ 0!~/External *\|/{next};"\
6873 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6874 " {if(hide[section]) next};"\
6875 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6876 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6877 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6878 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6879 " ' prfx=^$ac_symprfx"
6880 else
6881 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6884 # Check to see that the pipe works correctly.
6885 pipe_works=no
6887 rm -f conftest*
6888 cat > conftest.$ac_ext <<_LT_EOF
6889 #ifdef __cplusplus
6890 extern "C" {
6891 #endif
6892 char nm_test_var;
6893 void nm_test_func(void);
6894 void nm_test_func(void){}
6895 #ifdef __cplusplus
6897 #endif
6898 int main(){nm_test_var='a';nm_test_func();return(0);}
6899 _LT_EOF
6901 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6902 (eval $ac_compile) 2>&5
6903 ac_status=$?
6904 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6905 test $ac_status = 0; }; then
6906 # Now try to grab the symbols.
6907 nlist=conftest.nm
6908 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6909 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6910 ac_status=$?
6911 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6912 test $ac_status = 0; } && test -s "$nlist"; then
6913 # Try sorting and uniquifying the output.
6914 if sort "$nlist" | uniq > "$nlist"T; then
6915 mv -f "$nlist"T "$nlist"
6916 else
6917 rm -f "$nlist"T
6920 # Make sure that we snagged all the symbols we need.
6921 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6922 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6923 cat <<_LT_EOF > conftest.$ac_ext
6924 #ifdef __cplusplus
6925 extern "C" {
6926 #endif
6928 _LT_EOF
6929 # Now generate the symbol file.
6930 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6932 cat <<_LT_EOF >> conftest.$ac_ext
6934 /* The mapping between symbol names and symbols. */
6935 const struct {
6936 const char *name;
6937 void *address;
6939 lt__PROGRAM__LTX_preloaded_symbols[] =
6941 { "@PROGRAM@", (void *) 0 },
6942 _LT_EOF
6943 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6944 cat <<\_LT_EOF >> conftest.$ac_ext
6945 {0, (void *) 0}
6948 /* This works around a problem in FreeBSD linker */
6949 #ifdef FREEBSD_WORKAROUND
6950 static const void *lt_preloaded_setup() {
6951 return lt__PROGRAM__LTX_preloaded_symbols;
6953 #endif
6955 #ifdef __cplusplus
6957 #endif
6958 _LT_EOF
6959 # Now try linking the two files.
6960 mv conftest.$ac_objext conftstm.$ac_objext
6961 lt_save_LIBS="$LIBS"
6962 lt_save_CFLAGS="$CFLAGS"
6963 LIBS="conftstm.$ac_objext"
6964 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6965 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6966 (eval $ac_link) 2>&5
6967 ac_status=$?
6968 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6969 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6970 pipe_works=yes
6972 LIBS="$lt_save_LIBS"
6973 CFLAGS="$lt_save_CFLAGS"
6974 else
6975 echo "cannot find nm_test_func in $nlist" >&5
6977 else
6978 echo "cannot find nm_test_var in $nlist" >&5
6980 else
6981 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6983 else
6984 echo "$progname: failed program was:" >&5
6985 cat conftest.$ac_ext >&5
6987 rm -rf conftest* conftst*
6989 # Do not use the global_symbol_pipe unless it works.
6990 if test "$pipe_works" = yes; then
6991 break
6992 else
6993 lt_cv_sys_global_symbol_pipe=
6995 done
6999 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7000 lt_cv_sys_global_symbol_to_cdecl=
7002 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7004 $as_echo "failed" >&6; }
7005 else
7006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7007 $as_echo "ok" >&6; }
7031 # Check whether --enable-libtool-lock was given.
7032 if test "${enable_libtool_lock+set}" = set; then :
7033 enableval=$enable_libtool_lock;
7036 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7038 # Some flags need to be propagated to the compiler or linker for good
7039 # libtool support.
7040 case $host in
7041 ia64-*-hpux*)
7042 # Find out which ABI we are using.
7043 echo 'int i;' > conftest.$ac_ext
7044 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7045 (eval $ac_compile) 2>&5
7046 ac_status=$?
7047 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7048 test $ac_status = 0; }; then
7049 case `/usr/bin/file conftest.$ac_objext` in
7050 *ELF-32*)
7051 HPUX_IA64_MODE="32"
7053 *ELF-64*)
7054 HPUX_IA64_MODE="64"
7056 esac
7058 rm -rf conftest*
7060 *-*-irix6*)
7061 # Find out which ABI we are using.
7062 echo '#line 7062 "configure"' > conftest.$ac_ext
7063 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7064 (eval $ac_compile) 2>&5
7065 ac_status=$?
7066 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7067 test $ac_status = 0; }; then
7068 if test "$lt_cv_prog_gnu_ld" = yes; then
7069 case `/usr/bin/file conftest.$ac_objext` in
7070 *32-bit*)
7071 LD="${LD-ld} -melf32bsmip"
7073 *N32*)
7074 LD="${LD-ld} -melf32bmipn32"
7076 *64-bit*)
7077 LD="${LD-ld} -melf64bmip"
7079 esac
7080 else
7081 case `/usr/bin/file conftest.$ac_objext` in
7082 *32-bit*)
7083 LD="${LD-ld} -32"
7085 *N32*)
7086 LD="${LD-ld} -n32"
7088 *64-bit*)
7089 LD="${LD-ld} -64"
7091 esac
7094 rm -rf conftest*
7097 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7098 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7099 # Find out which ABI we are using.
7100 echo 'int i;' > conftest.$ac_ext
7101 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7102 (eval $ac_compile) 2>&5
7103 ac_status=$?
7104 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7105 test $ac_status = 0; }; then
7106 case `/usr/bin/file conftest.o` in
7107 *32-bit*)
7108 case $host in
7109 x86_64-*kfreebsd*-gnu)
7110 LD="${LD-ld} -m elf_i386_fbsd"
7112 x86_64-*linux*)
7113 LD="${LD-ld} -m elf_i386"
7115 ppc64-*linux*|powerpc64-*linux*)
7116 LD="${LD-ld} -m elf32ppclinux"
7118 s390x-*linux*)
7119 LD="${LD-ld} -m elf_s390"
7121 sparc64-*linux*)
7122 LD="${LD-ld} -m elf32_sparc"
7124 esac
7126 *64-bit*)
7127 case $host in
7128 x86_64-*kfreebsd*-gnu)
7129 LD="${LD-ld} -m elf_x86_64_fbsd"
7131 x86_64-*linux*)
7132 LD="${LD-ld} -m elf_x86_64"
7134 ppc*-*linux*|powerpc*-*linux*)
7135 LD="${LD-ld} -m elf64ppc"
7137 s390*-*linux*|s390*-*tpf*)
7138 LD="${LD-ld} -m elf64_s390"
7140 sparc*-*linux*)
7141 LD="${LD-ld} -m elf64_sparc"
7143 esac
7145 esac
7147 rm -rf conftest*
7150 *-*-sco3.2v5*)
7151 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7152 SAVE_CFLAGS="$CFLAGS"
7153 CFLAGS="$CFLAGS -belf"
7154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7155 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7156 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7157 $as_echo_n "(cached) " >&6
7158 else
7159 ac_ext=c
7160 ac_cpp='$CPP $CPPFLAGS'
7161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7165 if test x$gcc_no_link = xyes; then
7166 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7169 /* end confdefs.h. */
7172 main ()
7176 return 0;
7178 _ACEOF
7179 if ac_fn_c_try_link "$LINENO"; then :
7180 lt_cv_cc_needs_belf=yes
7181 else
7182 lt_cv_cc_needs_belf=no
7184 rm -f core conftest.err conftest.$ac_objext \
7185 conftest$ac_exeext conftest.$ac_ext
7186 ac_ext=c
7187 ac_cpp='$CPP $CPPFLAGS'
7188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7194 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7195 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7196 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7197 CFLAGS="$SAVE_CFLAGS"
7200 sparc*-*solaris*)
7201 # Find out which ABI we are using.
7202 echo 'int i;' > conftest.$ac_ext
7203 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7204 (eval $ac_compile) 2>&5
7205 ac_status=$?
7206 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7207 test $ac_status = 0; }; then
7208 case `/usr/bin/file conftest.o` in
7209 *64-bit*)
7210 case $lt_cv_prog_gnu_ld in
7211 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7213 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7214 LD="${LD-ld} -64"
7217 esac
7219 esac
7221 rm -rf conftest*
7223 esac
7225 need_locks="$enable_libtool_lock"
7228 case $host_os in
7229 rhapsody* | darwin*)
7230 if test -n "$ac_tool_prefix"; then
7231 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7232 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7234 $as_echo_n "checking for $ac_word... " >&6; }
7235 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7236 $as_echo_n "(cached) " >&6
7237 else
7238 if test -n "$DSYMUTIL"; then
7239 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7240 else
7241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7242 for as_dir in $PATH
7244 IFS=$as_save_IFS
7245 test -z "$as_dir" && as_dir=.
7246 for ac_exec_ext in '' $ac_executable_extensions; do
7247 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7248 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7250 break 2
7252 done
7253 done
7254 IFS=$as_save_IFS
7258 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7259 if test -n "$DSYMUTIL"; then
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7261 $as_echo "$DSYMUTIL" >&6; }
7262 else
7263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7264 $as_echo "no" >&6; }
7269 if test -z "$ac_cv_prog_DSYMUTIL"; then
7270 ac_ct_DSYMUTIL=$DSYMUTIL
7271 # Extract the first word of "dsymutil", so it can be a program name with args.
7272 set dummy dsymutil; ac_word=$2
7273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7274 $as_echo_n "checking for $ac_word... " >&6; }
7275 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7276 $as_echo_n "(cached) " >&6
7277 else
7278 if test -n "$ac_ct_DSYMUTIL"; then
7279 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7280 else
7281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7282 for as_dir in $PATH
7284 IFS=$as_save_IFS
7285 test -z "$as_dir" && as_dir=.
7286 for ac_exec_ext in '' $ac_executable_extensions; do
7287 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7288 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7289 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7290 break 2
7292 done
7293 done
7294 IFS=$as_save_IFS
7298 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7299 if test -n "$ac_ct_DSYMUTIL"; then
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7301 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7302 else
7303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7304 $as_echo "no" >&6; }
7307 if test "x$ac_ct_DSYMUTIL" = x; then
7308 DSYMUTIL=":"
7309 else
7310 case $cross_compiling:$ac_tool_warned in
7311 yes:)
7312 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7313 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7314 ac_tool_warned=yes ;;
7315 esac
7316 DSYMUTIL=$ac_ct_DSYMUTIL
7318 else
7319 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7322 if test -n "$ac_tool_prefix"; then
7323 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7324 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7326 $as_echo_n "checking for $ac_word... " >&6; }
7327 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7328 $as_echo_n "(cached) " >&6
7329 else
7330 if test -n "$NMEDIT"; then
7331 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7332 else
7333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7334 for as_dir in $PATH
7336 IFS=$as_save_IFS
7337 test -z "$as_dir" && as_dir=.
7338 for ac_exec_ext in '' $ac_executable_extensions; do
7339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7340 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7341 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7342 break 2
7344 done
7345 done
7346 IFS=$as_save_IFS
7350 NMEDIT=$ac_cv_prog_NMEDIT
7351 if test -n "$NMEDIT"; then
7352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7353 $as_echo "$NMEDIT" >&6; }
7354 else
7355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7356 $as_echo "no" >&6; }
7361 if test -z "$ac_cv_prog_NMEDIT"; then
7362 ac_ct_NMEDIT=$NMEDIT
7363 # Extract the first word of "nmedit", so it can be a program name with args.
7364 set dummy nmedit; ac_word=$2
7365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7366 $as_echo_n "checking for $ac_word... " >&6; }
7367 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7368 $as_echo_n "(cached) " >&6
7369 else
7370 if test -n "$ac_ct_NMEDIT"; then
7371 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7372 else
7373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7374 for as_dir in $PATH
7376 IFS=$as_save_IFS
7377 test -z "$as_dir" && as_dir=.
7378 for ac_exec_ext in '' $ac_executable_extensions; do
7379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7380 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7382 break 2
7384 done
7385 done
7386 IFS=$as_save_IFS
7390 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7391 if test -n "$ac_ct_NMEDIT"; then
7392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7393 $as_echo "$ac_ct_NMEDIT" >&6; }
7394 else
7395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7396 $as_echo "no" >&6; }
7399 if test "x$ac_ct_NMEDIT" = x; then
7400 NMEDIT=":"
7401 else
7402 case $cross_compiling:$ac_tool_warned in
7403 yes:)
7404 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7405 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7406 ac_tool_warned=yes ;;
7407 esac
7408 NMEDIT=$ac_ct_NMEDIT
7410 else
7411 NMEDIT="$ac_cv_prog_NMEDIT"
7414 if test -n "$ac_tool_prefix"; then
7415 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7416 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7418 $as_echo_n "checking for $ac_word... " >&6; }
7419 if test "${ac_cv_prog_LIPO+set}" = set; then :
7420 $as_echo_n "(cached) " >&6
7421 else
7422 if test -n "$LIPO"; then
7423 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7424 else
7425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7426 for as_dir in $PATH
7428 IFS=$as_save_IFS
7429 test -z "$as_dir" && as_dir=.
7430 for ac_exec_ext in '' $ac_executable_extensions; do
7431 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7432 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7434 break 2
7436 done
7437 done
7438 IFS=$as_save_IFS
7442 LIPO=$ac_cv_prog_LIPO
7443 if test -n "$LIPO"; then
7444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7445 $as_echo "$LIPO" >&6; }
7446 else
7447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7448 $as_echo "no" >&6; }
7453 if test -z "$ac_cv_prog_LIPO"; then
7454 ac_ct_LIPO=$LIPO
7455 # Extract the first word of "lipo", so it can be a program name with args.
7456 set dummy lipo; ac_word=$2
7457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7458 $as_echo_n "checking for $ac_word... " >&6; }
7459 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7460 $as_echo_n "(cached) " >&6
7461 else
7462 if test -n "$ac_ct_LIPO"; then
7463 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7464 else
7465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7466 for as_dir in $PATH
7468 IFS=$as_save_IFS
7469 test -z "$as_dir" && as_dir=.
7470 for ac_exec_ext in '' $ac_executable_extensions; do
7471 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7472 ac_cv_prog_ac_ct_LIPO="lipo"
7473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7474 break 2
7476 done
7477 done
7478 IFS=$as_save_IFS
7482 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7483 if test -n "$ac_ct_LIPO"; then
7484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7485 $as_echo "$ac_ct_LIPO" >&6; }
7486 else
7487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7488 $as_echo "no" >&6; }
7491 if test "x$ac_ct_LIPO" = x; then
7492 LIPO=":"
7493 else
7494 case $cross_compiling:$ac_tool_warned in
7495 yes:)
7496 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7497 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7498 ac_tool_warned=yes ;;
7499 esac
7500 LIPO=$ac_ct_LIPO
7502 else
7503 LIPO="$ac_cv_prog_LIPO"
7506 if test -n "$ac_tool_prefix"; then
7507 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7508 set dummy ${ac_tool_prefix}otool; ac_word=$2
7509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7510 $as_echo_n "checking for $ac_word... " >&6; }
7511 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7512 $as_echo_n "(cached) " >&6
7513 else
7514 if test -n "$OTOOL"; then
7515 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7516 else
7517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7518 for as_dir in $PATH
7520 IFS=$as_save_IFS
7521 test -z "$as_dir" && as_dir=.
7522 for ac_exec_ext in '' $ac_executable_extensions; do
7523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7524 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7526 break 2
7528 done
7529 done
7530 IFS=$as_save_IFS
7534 OTOOL=$ac_cv_prog_OTOOL
7535 if test -n "$OTOOL"; then
7536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7537 $as_echo "$OTOOL" >&6; }
7538 else
7539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7540 $as_echo "no" >&6; }
7545 if test -z "$ac_cv_prog_OTOOL"; then
7546 ac_ct_OTOOL=$OTOOL
7547 # Extract the first word of "otool", so it can be a program name with args.
7548 set dummy otool; ac_word=$2
7549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7550 $as_echo_n "checking for $ac_word... " >&6; }
7551 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7552 $as_echo_n "(cached) " >&6
7553 else
7554 if test -n "$ac_ct_OTOOL"; then
7555 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7556 else
7557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7558 for as_dir in $PATH
7560 IFS=$as_save_IFS
7561 test -z "$as_dir" && as_dir=.
7562 for ac_exec_ext in '' $ac_executable_extensions; do
7563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7564 ac_cv_prog_ac_ct_OTOOL="otool"
7565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7566 break 2
7568 done
7569 done
7570 IFS=$as_save_IFS
7574 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7575 if test -n "$ac_ct_OTOOL"; then
7576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7577 $as_echo "$ac_ct_OTOOL" >&6; }
7578 else
7579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7580 $as_echo "no" >&6; }
7583 if test "x$ac_ct_OTOOL" = x; then
7584 OTOOL=":"
7585 else
7586 case $cross_compiling:$ac_tool_warned in
7587 yes:)
7588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7589 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7590 ac_tool_warned=yes ;;
7591 esac
7592 OTOOL=$ac_ct_OTOOL
7594 else
7595 OTOOL="$ac_cv_prog_OTOOL"
7598 if test -n "$ac_tool_prefix"; then
7599 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7600 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7602 $as_echo_n "checking for $ac_word... " >&6; }
7603 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7604 $as_echo_n "(cached) " >&6
7605 else
7606 if test -n "$OTOOL64"; then
7607 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7608 else
7609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7610 for as_dir in $PATH
7612 IFS=$as_save_IFS
7613 test -z "$as_dir" && as_dir=.
7614 for ac_exec_ext in '' $ac_executable_extensions; do
7615 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7616 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7618 break 2
7620 done
7621 done
7622 IFS=$as_save_IFS
7626 OTOOL64=$ac_cv_prog_OTOOL64
7627 if test -n "$OTOOL64"; then
7628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7629 $as_echo "$OTOOL64" >&6; }
7630 else
7631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7632 $as_echo "no" >&6; }
7637 if test -z "$ac_cv_prog_OTOOL64"; then
7638 ac_ct_OTOOL64=$OTOOL64
7639 # Extract the first word of "otool64", so it can be a program name with args.
7640 set dummy otool64; ac_word=$2
7641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7642 $as_echo_n "checking for $ac_word... " >&6; }
7643 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7644 $as_echo_n "(cached) " >&6
7645 else
7646 if test -n "$ac_ct_OTOOL64"; then
7647 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7648 else
7649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7650 for as_dir in $PATH
7652 IFS=$as_save_IFS
7653 test -z "$as_dir" && as_dir=.
7654 for ac_exec_ext in '' $ac_executable_extensions; do
7655 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7656 ac_cv_prog_ac_ct_OTOOL64="otool64"
7657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7658 break 2
7660 done
7661 done
7662 IFS=$as_save_IFS
7666 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7667 if test -n "$ac_ct_OTOOL64"; then
7668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7669 $as_echo "$ac_ct_OTOOL64" >&6; }
7670 else
7671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7672 $as_echo "no" >&6; }
7675 if test "x$ac_ct_OTOOL64" = x; then
7676 OTOOL64=":"
7677 else
7678 case $cross_compiling:$ac_tool_warned in
7679 yes:)
7680 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7681 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7682 ac_tool_warned=yes ;;
7683 esac
7684 OTOOL64=$ac_ct_OTOOL64
7686 else
7687 OTOOL64="$ac_cv_prog_OTOOL64"
7716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7717 $as_echo_n "checking for -single_module linker flag... " >&6; }
7718 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7719 $as_echo_n "(cached) " >&6
7720 else
7721 lt_cv_apple_cc_single_mod=no
7722 if test -z "${LT_MULTI_MODULE}"; then
7723 # By default we will add the -single_module flag. You can override
7724 # by either setting the environment variable LT_MULTI_MODULE
7725 # non-empty at configure time, or by adding -multi_module to the
7726 # link flags.
7727 rm -rf libconftest.dylib*
7728 echo "int foo(void){return 1;}" > conftest.c
7729 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7730 -dynamiclib -Wl,-single_module conftest.c" >&5
7731 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7732 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7733 _lt_result=$?
7734 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7735 lt_cv_apple_cc_single_mod=yes
7736 else
7737 cat conftest.err >&5
7739 rm -rf libconftest.dylib*
7740 rm -f conftest.*
7743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7744 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7746 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7747 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7748 $as_echo_n "(cached) " >&6
7749 else
7750 lt_cv_ld_exported_symbols_list=no
7751 save_LDFLAGS=$LDFLAGS
7752 echo "_main" > conftest.sym
7753 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7754 if test x$gcc_no_link = xyes; then
7755 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7758 /* end confdefs.h. */
7761 main ()
7765 return 0;
7767 _ACEOF
7768 if ac_fn_c_try_link "$LINENO"; then :
7769 lt_cv_ld_exported_symbols_list=yes
7770 else
7771 lt_cv_ld_exported_symbols_list=no
7773 rm -f core conftest.err conftest.$ac_objext \
7774 conftest$ac_exeext conftest.$ac_ext
7775 LDFLAGS="$save_LDFLAGS"
7778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7779 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7780 case $host_os in
7781 rhapsody* | darwin1.[012])
7782 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7783 darwin1.*)
7784 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7785 darwin*) # darwin 5.x on
7786 # if running on 10.5 or later, the deployment target defaults
7787 # to the OS version, if on x86, and 10.4, the deployment
7788 # target defaults to 10.4. Don't you love it?
7789 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7790 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7791 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7792 10.[012]*)
7793 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7794 10.*)
7795 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7796 esac
7798 esac
7799 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7800 _lt_dar_single_mod='$single_module'
7802 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7803 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7804 else
7805 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7807 if test "$DSYMUTIL" != ":"; then
7808 _lt_dsymutil='~$DSYMUTIL $lib || :'
7809 else
7810 _lt_dsymutil=
7813 esac
7815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7816 $as_echo_n "checking for ANSI C header files... " >&6; }
7817 if test "${ac_cv_header_stdc+set}" = set; then :
7818 $as_echo_n "(cached) " >&6
7819 else
7820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7821 /* end confdefs.h. */
7822 #include <stdlib.h>
7823 #include <stdarg.h>
7824 #include <string.h>
7825 #include <float.h>
7828 main ()
7832 return 0;
7834 _ACEOF
7835 if ac_fn_c_try_compile "$LINENO"; then :
7836 ac_cv_header_stdc=yes
7837 else
7838 ac_cv_header_stdc=no
7840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7842 if test $ac_cv_header_stdc = yes; then
7843 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7845 /* end confdefs.h. */
7846 #include <string.h>
7848 _ACEOF
7849 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7850 $EGREP "memchr" >/dev/null 2>&1; then :
7852 else
7853 ac_cv_header_stdc=no
7855 rm -f conftest*
7859 if test $ac_cv_header_stdc = yes; then
7860 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7862 /* end confdefs.h. */
7863 #include <stdlib.h>
7865 _ACEOF
7866 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7867 $EGREP "free" >/dev/null 2>&1; then :
7869 else
7870 ac_cv_header_stdc=no
7872 rm -f conftest*
7876 if test $ac_cv_header_stdc = yes; then
7877 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7878 if test "$cross_compiling" = yes; then :
7880 else
7881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7882 /* end confdefs.h. */
7883 #include <ctype.h>
7884 #include <stdlib.h>
7885 #if ((' ' & 0x0FF) == 0x020)
7886 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7887 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7888 #else
7889 # define ISLOWER(c) \
7890 (('a' <= (c) && (c) <= 'i') \
7891 || ('j' <= (c) && (c) <= 'r') \
7892 || ('s' <= (c) && (c) <= 'z'))
7893 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7894 #endif
7896 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7898 main ()
7900 int i;
7901 for (i = 0; i < 256; i++)
7902 if (XOR (islower (i), ISLOWER (i))
7903 || toupper (i) != TOUPPER (i))
7904 return 2;
7905 return 0;
7907 _ACEOF
7908 if ac_fn_c_try_run "$LINENO"; then :
7910 else
7911 ac_cv_header_stdc=no
7913 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7914 conftest.$ac_objext conftest.beam conftest.$ac_ext
7919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7920 $as_echo "$ac_cv_header_stdc" >&6; }
7921 if test $ac_cv_header_stdc = yes; then
7923 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7927 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7928 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7929 inttypes.h stdint.h unistd.h
7930 do :
7931 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7932 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7934 eval as_val=\$$as_ac_Header
7935 if test "x$as_val" = x""yes; then :
7936 cat >>confdefs.h <<_ACEOF
7937 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7938 _ACEOF
7942 done
7945 for ac_header in dlfcn.h
7946 do :
7947 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7949 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7950 cat >>confdefs.h <<_ACEOF
7951 #define HAVE_DLFCN_H 1
7952 _ACEOF
7956 done
7960 ac_ext=cpp
7961 ac_cpp='$CXXCPP $CPPFLAGS'
7962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7965 if test -z "$CXX"; then
7966 if test -n "$CCC"; then
7967 CXX=$CCC
7968 else
7969 if test -n "$ac_tool_prefix"; then
7970 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7972 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7973 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7975 $as_echo_n "checking for $ac_word... " >&6; }
7976 if test "${glibcxx_cv_prog_CXX+set}" = set; then :
7977 $as_echo_n "(cached) " >&6
7978 else
7979 if test -n "$CXX"; then
7980 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
7981 else
7982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7983 for as_dir in $PATH
7985 IFS=$as_save_IFS
7986 test -z "$as_dir" && as_dir=.
7987 for ac_exec_ext in '' $ac_executable_extensions; do
7988 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7989 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
7990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7991 break 2
7993 done
7994 done
7995 IFS=$as_save_IFS
7999 CXX=$glibcxx_cv_prog_CXX
8000 if test -n "$CXX"; then
8001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
8002 $as_echo "$CXX" >&6; }
8003 else
8004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8005 $as_echo "no" >&6; }
8009 test -n "$CXX" && break
8010 done
8012 if test -z "$CXX"; then
8013 ac_ct_CXX=$CXX
8014 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
8016 # Extract the first word of "$ac_prog", so it can be a program name with args.
8017 set dummy $ac_prog; ac_word=$2
8018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8019 $as_echo_n "checking for $ac_word... " >&6; }
8020 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
8021 $as_echo_n "(cached) " >&6
8022 else
8023 if test -n "$ac_ct_CXX"; then
8024 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
8025 else
8026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8027 for as_dir in $PATH
8029 IFS=$as_save_IFS
8030 test -z "$as_dir" && as_dir=.
8031 for ac_exec_ext in '' $ac_executable_extensions; do
8032 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8033 ac_cv_prog_ac_ct_CXX="$ac_prog"
8034 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8035 break 2
8037 done
8038 done
8039 IFS=$as_save_IFS
8043 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
8044 if test -n "$ac_ct_CXX"; then
8045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
8046 $as_echo "$ac_ct_CXX" >&6; }
8047 else
8048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8049 $as_echo "no" >&6; }
8053 test -n "$ac_ct_CXX" && break
8054 done
8056 if test "x$ac_ct_CXX" = x; then
8057 CXX="g++"
8058 else
8059 case $cross_compiling:$ac_tool_warned in
8060 yes:)
8061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8062 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8063 ac_tool_warned=yes ;;
8064 esac
8065 CXX=$ac_ct_CXX
8071 # Provide some information about the compiler.
8072 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
8073 set X $ac_compile
8074 ac_compiler=$2
8075 for ac_option in --version -v -V -qversion; do
8076 { { ac_try="$ac_compiler $ac_option >&5"
8077 case "(($ac_try" in
8078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8079 *) ac_try_echo=$ac_try;;
8080 esac
8081 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8082 $as_echo "$ac_try_echo"; } >&5
8083 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8084 ac_status=$?
8085 if test -s conftest.err; then
8086 sed '10a\
8087 ... rest of stderr output deleted ...
8088 10q' conftest.err >conftest.er1
8089 cat conftest.er1 >&5
8090 rm -f conftest.er1 conftest.err
8092 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8093 test $ac_status = 0; }
8094 done
8096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
8097 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
8098 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
8099 $as_echo_n "(cached) " >&6
8100 else
8101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8102 /* end confdefs.h. */
8105 main ()
8107 #ifndef __GNUC__
8108 choke me
8109 #endif
8112 return 0;
8114 _ACEOF
8115 if ac_fn_cxx_try_compile "$LINENO"; then :
8116 ac_compiler_gnu=yes
8117 else
8118 ac_compiler_gnu=no
8120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8121 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
8124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
8125 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
8126 if test $ac_compiler_gnu = yes; then
8127 GXX=yes
8128 else
8129 GXX=
8131 ac_test_CXXFLAGS=${CXXFLAGS+set}
8132 ac_save_CXXFLAGS=$CXXFLAGS
8133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
8134 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
8135 if test "${ac_cv_prog_cxx_g+set}" = set; then :
8136 $as_echo_n "(cached) " >&6
8137 else
8138 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
8139 ac_cxx_werror_flag=yes
8140 ac_cv_prog_cxx_g=no
8141 CXXFLAGS="-g"
8142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8143 /* end confdefs.h. */
8146 main ()
8150 return 0;
8152 _ACEOF
8153 if ac_fn_cxx_try_compile "$LINENO"; then :
8154 ac_cv_prog_cxx_g=yes
8155 else
8156 CXXFLAGS=""
8157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8158 /* end confdefs.h. */
8161 main ()
8165 return 0;
8167 _ACEOF
8168 if ac_fn_cxx_try_compile "$LINENO"; then :
8170 else
8171 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
8172 CXXFLAGS="-g"
8173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8174 /* end confdefs.h. */
8177 main ()
8181 return 0;
8183 _ACEOF
8184 if ac_fn_cxx_try_compile "$LINENO"; then :
8185 ac_cv_prog_cxx_g=yes
8187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8192 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
8194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
8195 $as_echo "$ac_cv_prog_cxx_g" >&6; }
8196 if test "$ac_test_CXXFLAGS" = set; then
8197 CXXFLAGS=$ac_save_CXXFLAGS
8198 elif test $ac_cv_prog_cxx_g = yes; then
8199 if test "$GXX" = yes; then
8200 CXXFLAGS="-g -O2"
8201 else
8202 CXXFLAGS="-g"
8204 else
8205 if test "$GXX" = yes; then
8206 CXXFLAGS="-O2"
8207 else
8208 CXXFLAGS=
8211 ac_ext=c
8212 ac_cpp='$CPP $CPPFLAGS'
8213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8217 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
8218 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
8219 (test "X$CXX" != "Xg++"))) ; then
8220 ac_ext=cpp
8221 ac_cpp='$CXXCPP $CPPFLAGS'
8222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
8226 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
8227 if test -z "$CXXCPP"; then
8228 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
8229 $as_echo_n "(cached) " >&6
8230 else
8231 # Double quotes because CXXCPP needs to be expanded
8232 for CXXCPP in "$CXX -E" "/lib/cpp"
8234 ac_preproc_ok=false
8235 for ac_cxx_preproc_warn_flag in '' yes
8237 # Use a header file that comes with gcc, so configuring glibc
8238 # with a fresh cross-compiler works.
8239 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8240 # <limits.h> exists even on freestanding compilers.
8241 # On the NeXT, cc -E runs the code through the compiler's parser,
8242 # not just through cpp. "Syntax error" is here to catch this case.
8243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8244 /* end confdefs.h. */
8245 #ifdef __STDC__
8246 # include <limits.h>
8247 #else
8248 # include <assert.h>
8249 #endif
8250 Syntax error
8251 _ACEOF
8252 if ac_fn_cxx_try_cpp "$LINENO"; then :
8254 else
8255 # Broken: fails on valid input.
8256 continue
8258 rm -f conftest.err conftest.$ac_ext
8260 # OK, works on sane cases. Now check whether nonexistent headers
8261 # can be detected and how.
8262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8263 /* end confdefs.h. */
8264 #include <ac_nonexistent.h>
8265 _ACEOF
8266 if ac_fn_cxx_try_cpp "$LINENO"; then :
8267 # Broken: success on invalid input.
8268 continue
8269 else
8270 # Passes both tests.
8271 ac_preproc_ok=:
8272 break
8274 rm -f conftest.err conftest.$ac_ext
8276 done
8277 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8278 rm -f conftest.err conftest.$ac_ext
8279 if $ac_preproc_ok; then :
8280 break
8283 done
8284 ac_cv_prog_CXXCPP=$CXXCPP
8287 CXXCPP=$ac_cv_prog_CXXCPP
8288 else
8289 ac_cv_prog_CXXCPP=$CXXCPP
8291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
8292 $as_echo "$CXXCPP" >&6; }
8293 ac_preproc_ok=false
8294 for ac_cxx_preproc_warn_flag in '' yes
8296 # Use a header file that comes with gcc, so configuring glibc
8297 # with a fresh cross-compiler works.
8298 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8299 # <limits.h> exists even on freestanding compilers.
8300 # On the NeXT, cc -E runs the code through the compiler's parser,
8301 # not just through cpp. "Syntax error" is here to catch this case.
8302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8303 /* end confdefs.h. */
8304 #ifdef __STDC__
8305 # include <limits.h>
8306 #else
8307 # include <assert.h>
8308 #endif
8309 Syntax error
8310 _ACEOF
8311 if ac_fn_cxx_try_cpp "$LINENO"; then :
8313 else
8314 # Broken: fails on valid input.
8315 continue
8317 rm -f conftest.err conftest.$ac_ext
8319 # OK, works on sane cases. Now check whether nonexistent headers
8320 # can be detected and how.
8321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8322 /* end confdefs.h. */
8323 #include <ac_nonexistent.h>
8324 _ACEOF
8325 if ac_fn_cxx_try_cpp "$LINENO"; then :
8326 # Broken: success on invalid input.
8327 continue
8328 else
8329 # Passes both tests.
8330 ac_preproc_ok=:
8331 break
8333 rm -f conftest.err conftest.$ac_ext
8335 done
8336 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8337 rm -f conftest.err conftest.$ac_ext
8338 if $ac_preproc_ok; then :
8340 else
8341 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8342 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8343 _lt_caught_CXX_error=yes; }
8346 ac_ext=c
8347 ac_cpp='$CPP $CPPFLAGS'
8348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8352 else
8353 _lt_caught_CXX_error=yes
8360 # Set options
8365 enable_win32_dll=no
8368 # Check whether --enable-shared was given.
8369 if test "${enable_shared+set}" = set; then :
8370 enableval=$enable_shared; p=${PACKAGE-default}
8371 case $enableval in
8372 yes) enable_shared=yes ;;
8373 no) enable_shared=no ;;
8375 enable_shared=no
8376 # Look at the argument we got. We use all the common list separators.
8377 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8378 for pkg in $enableval; do
8379 IFS="$lt_save_ifs"
8380 if test "X$pkg" = "X$p"; then
8381 enable_shared=yes
8383 done
8384 IFS="$lt_save_ifs"
8386 esac
8387 else
8388 enable_shared=yes
8399 # Check whether --enable-static was given.
8400 if test "${enable_static+set}" = set; then :
8401 enableval=$enable_static; p=${PACKAGE-default}
8402 case $enableval in
8403 yes) enable_static=yes ;;
8404 no) enable_static=no ;;
8406 enable_static=no
8407 # Look at the argument we got. We use all the common list separators.
8408 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8409 for pkg in $enableval; do
8410 IFS="$lt_save_ifs"
8411 if test "X$pkg" = "X$p"; then
8412 enable_static=yes
8414 done
8415 IFS="$lt_save_ifs"
8417 esac
8418 else
8419 enable_static=yes
8431 # Check whether --with-pic was given.
8432 if test "${with_pic+set}" = set; then :
8433 withval=$with_pic; pic_mode="$withval"
8434 else
8435 pic_mode=default
8439 test -z "$pic_mode" && pic_mode=default
8447 # Check whether --enable-fast-install was given.
8448 if test "${enable_fast_install+set}" = set; then :
8449 enableval=$enable_fast_install; p=${PACKAGE-default}
8450 case $enableval in
8451 yes) enable_fast_install=yes ;;
8452 no) enable_fast_install=no ;;
8454 enable_fast_install=no
8455 # Look at the argument we got. We use all the common list separators.
8456 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8457 for pkg in $enableval; do
8458 IFS="$lt_save_ifs"
8459 if test "X$pkg" = "X$p"; then
8460 enable_fast_install=yes
8462 done
8463 IFS="$lt_save_ifs"
8465 esac
8466 else
8467 enable_fast_install=yes
8480 # This can be used to rebuild libtool when needed
8481 LIBTOOL_DEPS="$ltmain"
8483 # Always use our own libtool.
8484 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8510 test -z "$LN_S" && LN_S="ln -s"
8525 if test -n "${ZSH_VERSION+set}" ; then
8526 setopt NO_GLOB_SUBST
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8530 $as_echo_n "checking for objdir... " >&6; }
8531 if test "${lt_cv_objdir+set}" = set; then :
8532 $as_echo_n "(cached) " >&6
8533 else
8534 rm -f .libs 2>/dev/null
8535 mkdir .libs 2>/dev/null
8536 if test -d .libs; then
8537 lt_cv_objdir=.libs
8538 else
8539 # MS-DOS does not allow filenames that begin with a dot.
8540 lt_cv_objdir=_libs
8542 rmdir .libs 2>/dev/null
8544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8545 $as_echo "$lt_cv_objdir" >&6; }
8546 objdir=$lt_cv_objdir
8552 cat >>confdefs.h <<_ACEOF
8553 #define LT_OBJDIR "$lt_cv_objdir/"
8554 _ACEOF
8572 case $host_os in
8573 aix3*)
8574 # AIX sometimes has problems with the GCC collect2 program. For some
8575 # reason, if we set the COLLECT_NAMES environment variable, the problems
8576 # vanish in a puff of smoke.
8577 if test "X${COLLECT_NAMES+set}" != Xset; then
8578 COLLECT_NAMES=
8579 export COLLECT_NAMES
8582 esac
8584 # Sed substitution that helps us do robust quoting. It backslashifies
8585 # metacharacters that are still active within double-quoted strings.
8586 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8588 # Same as above, but do not quote variable references.
8589 double_quote_subst='s/\(["`\\]\)/\\\1/g'
8591 # Sed substitution to delay expansion of an escaped shell variable in a
8592 # double_quote_subst'ed string.
8593 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8595 # Sed substitution to delay expansion of an escaped single quote.
8596 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
8598 # Sed substitution to avoid accidental globbing in evaled expressions
8599 no_glob_subst='s/\*/\\\*/g'
8601 # Global variables:
8602 ofile=libtool
8603 can_build_shared=yes
8605 # All known linkers require a `.a' archive for static linking (except MSVC,
8606 # which needs '.lib').
8607 libext=a
8609 with_gnu_ld="$lt_cv_prog_gnu_ld"
8611 old_CC="$CC"
8612 old_CFLAGS="$CFLAGS"
8614 # Set sane defaults for various variables
8615 test -z "$CC" && CC=cc
8616 test -z "$LTCC" && LTCC=$CC
8617 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8618 test -z "$LD" && LD=ld
8619 test -z "$ac_objext" && ac_objext=o
8621 for cc_temp in $compiler""; do
8622 case $cc_temp in
8623 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8624 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8625 \-*) ;;
8626 *) break;;
8627 esac
8628 done
8629 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8632 # Only perform the check for file, if the check method requires it
8633 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8634 case $deplibs_check_method in
8635 file_magic*)
8636 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8638 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8639 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8640 $as_echo_n "(cached) " >&6
8641 else
8642 case $MAGIC_CMD in
8643 [\\/*] | ?:[\\/]*)
8644 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8647 lt_save_MAGIC_CMD="$MAGIC_CMD"
8648 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8649 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8650 for ac_dir in $ac_dummy; do
8651 IFS="$lt_save_ifs"
8652 test -z "$ac_dir" && ac_dir=.
8653 if test -f $ac_dir/${ac_tool_prefix}file; then
8654 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8655 if test -n "$file_magic_test_file"; then
8656 case $deplibs_check_method in
8657 "file_magic "*)
8658 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8659 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8660 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8661 $EGREP "$file_magic_regex" > /dev/null; then
8663 else
8664 cat <<_LT_EOF 1>&2
8666 *** Warning: the command libtool uses to detect shared libraries,
8667 *** $file_magic_cmd, produces output that libtool cannot recognize.
8668 *** The result is that libtool may fail to recognize shared libraries
8669 *** as such. This will affect the creation of libtool libraries that
8670 *** depend on shared libraries, but programs linked with such libtool
8671 *** libraries will work regardless of this problem. Nevertheless, you
8672 *** may want to report the problem to your system manager and/or to
8673 *** bug-libtool@gnu.org
8675 _LT_EOF
8676 fi ;;
8677 esac
8679 break
8681 done
8682 IFS="$lt_save_ifs"
8683 MAGIC_CMD="$lt_save_MAGIC_CMD"
8685 esac
8688 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8689 if test -n "$MAGIC_CMD"; then
8690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8691 $as_echo "$MAGIC_CMD" >&6; }
8692 else
8693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8694 $as_echo "no" >&6; }
8701 if test -z "$lt_cv_path_MAGIC_CMD"; then
8702 if test -n "$ac_tool_prefix"; then
8703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8704 $as_echo_n "checking for file... " >&6; }
8705 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8706 $as_echo_n "(cached) " >&6
8707 else
8708 case $MAGIC_CMD in
8709 [\\/*] | ?:[\\/]*)
8710 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8713 lt_save_MAGIC_CMD="$MAGIC_CMD"
8714 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8715 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8716 for ac_dir in $ac_dummy; do
8717 IFS="$lt_save_ifs"
8718 test -z "$ac_dir" && ac_dir=.
8719 if test -f $ac_dir/file; then
8720 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8721 if test -n "$file_magic_test_file"; then
8722 case $deplibs_check_method in
8723 "file_magic "*)
8724 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8725 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8726 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8727 $EGREP "$file_magic_regex" > /dev/null; then
8729 else
8730 cat <<_LT_EOF 1>&2
8732 *** Warning: the command libtool uses to detect shared libraries,
8733 *** $file_magic_cmd, produces output that libtool cannot recognize.
8734 *** The result is that libtool may fail to recognize shared libraries
8735 *** as such. This will affect the creation of libtool libraries that
8736 *** depend on shared libraries, but programs linked with such libtool
8737 *** libraries will work regardless of this problem. Nevertheless, you
8738 *** may want to report the problem to your system manager and/or to
8739 *** bug-libtool@gnu.org
8741 _LT_EOF
8742 fi ;;
8743 esac
8745 break
8747 done
8748 IFS="$lt_save_ifs"
8749 MAGIC_CMD="$lt_save_MAGIC_CMD"
8751 esac
8754 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8755 if test -n "$MAGIC_CMD"; then
8756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8757 $as_echo "$MAGIC_CMD" >&6; }
8758 else
8759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8760 $as_echo "no" >&6; }
8764 else
8765 MAGIC_CMD=:
8771 esac
8773 # Use C for the default configuration in the libtool script
8775 lt_save_CC="$CC"
8776 ac_ext=c
8777 ac_cpp='$CPP $CPPFLAGS'
8778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8783 # Source file extension for C test sources.
8784 ac_ext=c
8786 # Object file extension for compiled C test sources.
8787 objext=o
8788 objext=$objext
8790 # Code to be used in simple compile tests
8791 lt_simple_compile_test_code="int some_variable = 0;"
8793 # Code to be used in simple link tests
8794 lt_simple_link_test_code='int main(){return(0);}'
8802 # If no C compiler was specified, use CC.
8803 LTCC=${LTCC-"$CC"}
8805 # If no C compiler flags were specified, use CFLAGS.
8806 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8808 # Allow CC to be a program name with arguments.
8809 compiler=$CC
8811 # Save the default compiler, since it gets overwritten when the other
8812 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8813 compiler_DEFAULT=$CC
8815 # save warnings/boilerplate of simple test code
8816 ac_outfile=conftest.$ac_objext
8817 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8818 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8819 _lt_compiler_boilerplate=`cat conftest.err`
8820 $RM conftest*
8822 ac_outfile=conftest.$ac_objext
8823 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8824 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8825 _lt_linker_boilerplate=`cat conftest.err`
8826 $RM -r conftest*
8829 ## CAVEAT EMPTOR:
8830 ## There is no encapsulation within the following macros, do not change
8831 ## the running order or otherwise move them around unless you know exactly
8832 ## what you are doing...
8833 if test -n "$compiler"; then
8835 lt_prog_compiler_no_builtin_flag=
8837 if test "$GCC" = yes; then
8838 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8841 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8842 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8843 $as_echo_n "(cached) " >&6
8844 else
8845 lt_cv_prog_compiler_rtti_exceptions=no
8846 ac_outfile=conftest.$ac_objext
8847 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8848 lt_compiler_flag="-fno-rtti -fno-exceptions"
8849 # Insert the option either (1) after the last *FLAGS variable, or
8850 # (2) before a word containing "conftest.", or (3) at the end.
8851 # Note that $ac_compile itself does not contain backslashes and begins
8852 # with a dollar sign (not a hyphen), so the echo should work correctly.
8853 # The option is referenced via a variable to avoid confusing sed.
8854 lt_compile=`echo "$ac_compile" | $SED \
8855 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8856 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8857 -e 's:$: $lt_compiler_flag:'`
8858 (eval echo "\"\$as_me:8858: $lt_compile\"" >&5)
8859 (eval "$lt_compile" 2>conftest.err)
8860 ac_status=$?
8861 cat conftest.err >&5
8862 echo "$as_me:8862: \$? = $ac_status" >&5
8863 if (exit $ac_status) && test -s "$ac_outfile"; then
8864 # The compiler can only warn and ignore the option if not recognized
8865 # So say no if there are warnings other than the usual output.
8866 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8867 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8868 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8869 lt_cv_prog_compiler_rtti_exceptions=yes
8872 $RM conftest*
8875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8876 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8878 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8879 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8880 else
8891 lt_prog_compiler_wl=
8892 lt_prog_compiler_pic=
8893 lt_prog_compiler_static=
8895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8896 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8898 if test "$GCC" = yes; then
8899 lt_prog_compiler_wl='-Wl,'
8900 lt_prog_compiler_static='-static'
8902 case $host_os in
8903 aix*)
8904 # All AIX code is PIC.
8905 if test "$host_cpu" = ia64; then
8906 # AIX 5 now supports IA64 processor
8907 lt_prog_compiler_static='-Bstatic'
8911 amigaos*)
8912 case $host_cpu in
8913 powerpc)
8914 # see comment about AmigaOS4 .so support
8915 lt_prog_compiler_pic='-fPIC'
8917 m68k)
8918 # FIXME: we need at least 68020 code to build shared libraries, but
8919 # adding the `-m68020' flag to GCC prevents building anything better,
8920 # like `-m68040'.
8921 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8923 esac
8926 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8927 # PIC is the default for these OSes.
8930 mingw* | cygwin* | pw32* | os2* | cegcc*)
8931 # This hack is so that the source file can tell whether it is being
8932 # built for inclusion in a dll (and should export symbols for example).
8933 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8934 # (--disable-auto-import) libraries
8935 lt_prog_compiler_pic='-DDLL_EXPORT'
8938 darwin* | rhapsody*)
8939 # PIC is the default on this platform
8940 # Common symbols not allowed in MH_DYLIB files
8941 lt_prog_compiler_pic='-fno-common'
8944 hpux*)
8945 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8946 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8947 # sets the default TLS model and affects inlining.
8948 case $host_cpu in
8949 hppa*64*)
8950 # +Z the default
8953 lt_prog_compiler_pic='-fPIC'
8955 esac
8958 interix[3-9]*)
8959 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8960 # Instead, we relocate shared libraries at runtime.
8963 msdosdjgpp*)
8964 # Just because we use GCC doesn't mean we suddenly get shared libraries
8965 # on systems that don't support them.
8966 lt_prog_compiler_can_build_shared=no
8967 enable_shared=no
8970 *nto* | *qnx*)
8971 # QNX uses GNU C++, but need to define -shared option too, otherwise
8972 # it will coredump.
8973 lt_prog_compiler_pic='-fPIC -shared'
8976 sysv4*MP*)
8977 if test -d /usr/nec; then
8978 lt_prog_compiler_pic=-Kconform_pic
8983 lt_prog_compiler_pic='-fPIC'
8985 esac
8986 else
8987 # PORTME Check for flag to pass linker flags through the system compiler.
8988 case $host_os in
8989 aix*)
8990 lt_prog_compiler_wl='-Wl,'
8991 if test "$host_cpu" = ia64; then
8992 # AIX 5 now supports IA64 processor
8993 lt_prog_compiler_static='-Bstatic'
8994 else
8995 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8999 mingw* | cygwin* | pw32* | os2* | cegcc*)
9000 # This hack is so that the source file can tell whether it is being
9001 # built for inclusion in a dll (and should export symbols for example).
9002 lt_prog_compiler_pic='-DDLL_EXPORT'
9005 hpux9* | hpux10* | hpux11*)
9006 lt_prog_compiler_wl='-Wl,'
9007 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9008 # not for PA HP-UX.
9009 case $host_cpu in
9010 hppa*64*|ia64*)
9011 # +Z the default
9014 lt_prog_compiler_pic='+Z'
9016 esac
9017 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9018 lt_prog_compiler_static='${wl}-a ${wl}archive'
9021 irix5* | irix6* | nonstopux*)
9022 lt_prog_compiler_wl='-Wl,'
9023 # PIC (with -KPIC) is the default.
9024 lt_prog_compiler_static='-non_shared'
9027 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9028 case $cc_basename in
9029 # old Intel for x86_64 which still supported -KPIC.
9030 ecc*)
9031 lt_prog_compiler_wl='-Wl,'
9032 lt_prog_compiler_pic='-KPIC'
9033 lt_prog_compiler_static='-static'
9035 # icc used to be incompatible with GCC.
9036 # ICC 10 doesn't accept -KPIC any more.
9037 icc* | ifort*)
9038 lt_prog_compiler_wl='-Wl,'
9039 lt_prog_compiler_pic='-fPIC'
9040 lt_prog_compiler_static='-static'
9042 # Lahey Fortran 8.1.
9043 lf95*)
9044 lt_prog_compiler_wl='-Wl,'
9045 lt_prog_compiler_pic='--shared'
9046 lt_prog_compiler_static='--static'
9048 pgcc* | pgf77* | pgf90* | pgf95*)
9049 # Portland Group compilers (*not* the Pentium gcc compiler,
9050 # which looks to be a dead project)
9051 lt_prog_compiler_wl='-Wl,'
9052 lt_prog_compiler_pic='-fpic'
9053 lt_prog_compiler_static='-Bstatic'
9055 ccc*)
9056 lt_prog_compiler_wl='-Wl,'
9057 # All Alpha code is PIC.
9058 lt_prog_compiler_static='-non_shared'
9060 xl*)
9061 # IBM XL C 8.0/Fortran 10.1 on PPC
9062 lt_prog_compiler_wl='-Wl,'
9063 lt_prog_compiler_pic='-qpic'
9064 lt_prog_compiler_static='-qstaticlink'
9067 case `$CC -V 2>&1 | sed 5q` in
9068 *Sun\ C*)
9069 # Sun C 5.9
9070 lt_prog_compiler_pic='-KPIC'
9071 lt_prog_compiler_static='-Bstatic'
9072 lt_prog_compiler_wl='-Wl,'
9074 *Sun\ F*)
9075 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9076 lt_prog_compiler_pic='-KPIC'
9077 lt_prog_compiler_static='-Bstatic'
9078 lt_prog_compiler_wl=''
9080 esac
9082 esac
9085 newsos6)
9086 lt_prog_compiler_pic='-KPIC'
9087 lt_prog_compiler_static='-Bstatic'
9090 *nto* | *qnx*)
9091 # QNX uses GNU C++, but need to define -shared option too, otherwise
9092 # it will coredump.
9093 lt_prog_compiler_pic='-fPIC -shared'
9096 osf3* | osf4* | osf5*)
9097 lt_prog_compiler_wl='-Wl,'
9098 # All OSF/1 code is PIC.
9099 lt_prog_compiler_static='-non_shared'
9102 rdos*)
9103 lt_prog_compiler_static='-non_shared'
9106 solaris*)
9107 lt_prog_compiler_pic='-KPIC'
9108 lt_prog_compiler_static='-Bstatic'
9109 case $cc_basename in
9110 f77* | f90* | f95*)
9111 lt_prog_compiler_wl='-Qoption ld ';;
9113 lt_prog_compiler_wl='-Wl,';;
9114 esac
9117 sunos4*)
9118 lt_prog_compiler_wl='-Qoption ld '
9119 lt_prog_compiler_pic='-PIC'
9120 lt_prog_compiler_static='-Bstatic'
9123 sysv4 | sysv4.2uw2* | sysv4.3*)
9124 lt_prog_compiler_wl='-Wl,'
9125 lt_prog_compiler_pic='-KPIC'
9126 lt_prog_compiler_static='-Bstatic'
9129 sysv4*MP*)
9130 if test -d /usr/nec ;then
9131 lt_prog_compiler_pic='-Kconform_pic'
9132 lt_prog_compiler_static='-Bstatic'
9136 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9137 lt_prog_compiler_wl='-Wl,'
9138 lt_prog_compiler_pic='-KPIC'
9139 lt_prog_compiler_static='-Bstatic'
9142 unicos*)
9143 lt_prog_compiler_wl='-Wl,'
9144 lt_prog_compiler_can_build_shared=no
9147 uts4*)
9148 lt_prog_compiler_pic='-pic'
9149 lt_prog_compiler_static='-Bstatic'
9153 lt_prog_compiler_can_build_shared=no
9155 esac
9158 case $host_os in
9159 # For platforms which do not support PIC, -DPIC is meaningless:
9160 *djgpp*)
9161 lt_prog_compiler_pic=
9164 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9166 esac
9167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9168 $as_echo "$lt_prog_compiler_pic" >&6; }
9176 # Check to make sure the PIC flag actually works.
9178 if test -n "$lt_prog_compiler_pic"; then
9179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9180 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9181 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9182 $as_echo_n "(cached) " >&6
9183 else
9184 lt_cv_prog_compiler_pic_works=no
9185 ac_outfile=conftest.$ac_objext
9186 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9187 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9188 # Insert the option either (1) after the last *FLAGS variable, or
9189 # (2) before a word containing "conftest.", or (3) at the end.
9190 # Note that $ac_compile itself does not contain backslashes and begins
9191 # with a dollar sign (not a hyphen), so the echo should work correctly.
9192 # The option is referenced via a variable to avoid confusing sed.
9193 lt_compile=`echo "$ac_compile" | $SED \
9194 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9195 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9196 -e 's:$: $lt_compiler_flag:'`
9197 (eval echo "\"\$as_me:9197: $lt_compile\"" >&5)
9198 (eval "$lt_compile" 2>conftest.err)
9199 ac_status=$?
9200 cat conftest.err >&5
9201 echo "$as_me:9201: \$? = $ac_status" >&5
9202 if (exit $ac_status) && test -s "$ac_outfile"; then
9203 # The compiler can only warn and ignore the option if not recognized
9204 # So say no if there are warnings other than the usual output.
9205 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9206 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9207 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9208 lt_cv_prog_compiler_pic_works=yes
9211 $RM conftest*
9214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9215 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9217 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9218 case $lt_prog_compiler_pic in
9219 "" | " "*) ;;
9220 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9221 esac
9222 else
9223 lt_prog_compiler_pic=
9224 lt_prog_compiler_can_build_shared=no
9235 # Check to make sure the static flag actually works.
9237 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9239 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9240 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9241 $as_echo_n "(cached) " >&6
9242 else
9243 lt_cv_prog_compiler_static_works=no
9244 save_LDFLAGS="$LDFLAGS"
9245 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9246 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9247 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9248 # The linker can only warn and ignore the option if not recognized
9249 # So say no if there are warnings
9250 if test -s conftest.err; then
9251 # Append any errors to the config.log.
9252 cat conftest.err 1>&5
9253 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
9254 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9255 if diff conftest.exp conftest.er2 >/dev/null; then
9256 lt_cv_prog_compiler_static_works=yes
9258 else
9259 lt_cv_prog_compiler_static_works=yes
9262 $RM -r conftest*
9263 LDFLAGS="$save_LDFLAGS"
9266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9267 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9269 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9271 else
9272 lt_prog_compiler_static=
9281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9282 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9283 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9284 $as_echo_n "(cached) " >&6
9285 else
9286 lt_cv_prog_compiler_c_o=no
9287 $RM -r conftest 2>/dev/null
9288 mkdir conftest
9289 cd conftest
9290 mkdir out
9291 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9293 lt_compiler_flag="-o out/conftest2.$ac_objext"
9294 # Insert the option either (1) after the last *FLAGS variable, or
9295 # (2) before a word containing "conftest.", or (3) at the end.
9296 # Note that $ac_compile itself does not contain backslashes and begins
9297 # with a dollar sign (not a hyphen), so the echo should work correctly.
9298 lt_compile=`echo "$ac_compile" | $SED \
9299 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9300 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9301 -e 's:$: $lt_compiler_flag:'`
9302 (eval echo "\"\$as_me:9302: $lt_compile\"" >&5)
9303 (eval "$lt_compile" 2>out/conftest.err)
9304 ac_status=$?
9305 cat out/conftest.err >&5
9306 echo "$as_me:9306: \$? = $ac_status" >&5
9307 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9308 then
9309 # The compiler can only warn and ignore the option if not recognized
9310 # So say no if there are warnings
9311 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9312 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9313 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9314 lt_cv_prog_compiler_c_o=yes
9317 chmod u+w . 2>&5
9318 $RM conftest*
9319 # SGI C++ compiler will create directory out/ii_files/ for
9320 # template instantiation
9321 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9322 $RM out/* && rmdir out
9323 cd ..
9324 $RM -r conftest
9325 $RM conftest*
9328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9329 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9337 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9338 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9339 $as_echo_n "(cached) " >&6
9340 else
9341 lt_cv_prog_compiler_c_o=no
9342 $RM -r conftest 2>/dev/null
9343 mkdir conftest
9344 cd conftest
9345 mkdir out
9346 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9348 lt_compiler_flag="-o out/conftest2.$ac_objext"
9349 # Insert the option either (1) after the last *FLAGS variable, or
9350 # (2) before a word containing "conftest.", or (3) at the end.
9351 # Note that $ac_compile itself does not contain backslashes and begins
9352 # with a dollar sign (not a hyphen), so the echo should work correctly.
9353 lt_compile=`echo "$ac_compile" | $SED \
9354 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9355 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9356 -e 's:$: $lt_compiler_flag:'`
9357 (eval echo "\"\$as_me:9357: $lt_compile\"" >&5)
9358 (eval "$lt_compile" 2>out/conftest.err)
9359 ac_status=$?
9360 cat out/conftest.err >&5
9361 echo "$as_me:9361: \$? = $ac_status" >&5
9362 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9363 then
9364 # The compiler can only warn and ignore the option if not recognized
9365 # So say no if there are warnings
9366 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9367 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9368 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9369 lt_cv_prog_compiler_c_o=yes
9372 chmod u+w . 2>&5
9373 $RM conftest*
9374 # SGI C++ compiler will create directory out/ii_files/ for
9375 # template instantiation
9376 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9377 $RM out/* && rmdir out
9378 cd ..
9379 $RM -r conftest
9380 $RM conftest*
9383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9384 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9389 hard_links="nottested"
9390 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9391 # do not overwrite the value of need_locks provided by the user
9392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9393 $as_echo_n "checking if we can lock with hard links... " >&6; }
9394 hard_links=yes
9395 $RM conftest*
9396 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9397 touch conftest.a
9398 ln conftest.a conftest.b 2>&5 || hard_links=no
9399 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9401 $as_echo "$hard_links" >&6; }
9402 if test "$hard_links" = no; then
9403 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9404 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9405 need_locks=warn
9407 else
9408 need_locks=no
9416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9417 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9419 runpath_var=
9420 allow_undefined_flag=
9421 always_export_symbols=no
9422 archive_cmds=
9423 archive_expsym_cmds=
9424 compiler_needs_object=no
9425 enable_shared_with_static_runtimes=no
9426 export_dynamic_flag_spec=
9427 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9428 hardcode_automatic=no
9429 hardcode_direct=no
9430 hardcode_direct_absolute=no
9431 hardcode_libdir_flag_spec=
9432 hardcode_libdir_flag_spec_ld=
9433 hardcode_libdir_separator=
9434 hardcode_minus_L=no
9435 hardcode_shlibpath_var=unsupported
9436 inherit_rpath=no
9437 link_all_deplibs=unknown
9438 module_cmds=
9439 module_expsym_cmds=
9440 old_archive_from_new_cmds=
9441 old_archive_from_expsyms_cmds=
9442 thread_safe_flag_spec=
9443 whole_archive_flag_spec=
9444 # include_expsyms should be a list of space-separated symbols to be *always*
9445 # included in the symbol list
9446 include_expsyms=
9447 # exclude_expsyms can be an extended regexp of symbols to exclude
9448 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9449 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9450 # as well as any symbol that contains `d'.
9451 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9452 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9453 # platforms (ab)use it in PIC code, but their linkers get confused if
9454 # the symbol is explicitly referenced. Since portable code cannot
9455 # rely on this symbol name, it's probably fine to never include it in
9456 # preloaded symbol tables.
9457 # Exclude shared library initialization/finalization symbols.
9458 extract_expsyms_cmds=
9460 case $host_os in
9461 cygwin* | mingw* | pw32* | cegcc*)
9462 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9463 # When not using gcc, we currently assume that we are using
9464 # Microsoft Visual C++.
9465 if test "$GCC" != yes; then
9466 with_gnu_ld=no
9469 interix*)
9470 # we just hope/assume this is gcc and not c89 (= MSVC++)
9471 with_gnu_ld=yes
9473 openbsd*)
9474 with_gnu_ld=no
9476 esac
9478 ld_shlibs=yes
9479 if test "$with_gnu_ld" = yes; then
9480 # If archive_cmds runs LD, not CC, wlarc should be empty
9481 wlarc='${wl}'
9483 # Set some defaults for GNU ld with shared library support. These
9484 # are reset later if shared libraries are not supported. Putting them
9485 # here allows them to be overridden if necessary.
9486 runpath_var=LD_RUN_PATH
9487 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9488 export_dynamic_flag_spec='${wl}--export-dynamic'
9489 # ancient GNU ld didn't support --whole-archive et. al.
9490 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9491 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9492 else
9493 whole_archive_flag_spec=
9495 supports_anon_versioning=no
9496 case `$LD -v 2>&1` in
9497 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9498 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9499 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9500 *\ 2.11.*) ;; # other 2.11 versions
9501 *) supports_anon_versioning=yes ;;
9502 esac
9504 # See if GNU ld supports shared libraries.
9505 case $host_os in
9506 aix[3-9]*)
9507 # On AIX/PPC, the GNU linker is very broken
9508 if test "$host_cpu" != ia64; then
9509 ld_shlibs=no
9510 cat <<_LT_EOF 1>&2
9512 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9513 *** to be unable to reliably create shared libraries on AIX.
9514 *** Therefore, libtool is disabling shared libraries support. If you
9515 *** really care for shared libraries, you may want to modify your PATH
9516 *** so that a non-GNU linker is found, and then restart.
9518 _LT_EOF
9522 amigaos*)
9523 case $host_cpu in
9524 powerpc)
9525 # see comment about AmigaOS4 .so support
9526 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9527 archive_expsym_cmds=''
9529 m68k)
9530 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)'
9531 hardcode_libdir_flag_spec='-L$libdir'
9532 hardcode_minus_L=yes
9534 esac
9537 beos*)
9538 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9539 allow_undefined_flag=unsupported
9540 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9541 # support --undefined. This deserves some investigation. FIXME
9542 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9543 else
9544 ld_shlibs=no
9548 cygwin* | mingw* | pw32* | cegcc*)
9549 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9550 # as there is no search path for DLLs.
9551 hardcode_libdir_flag_spec='-L$libdir'
9552 allow_undefined_flag=unsupported
9553 always_export_symbols=no
9554 enable_shared_with_static_runtimes=yes
9555 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9557 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9558 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9559 # If the export-symbols file already is a .def file (1st line
9560 # is EXPORTS), use it as is; otherwise, prepend...
9561 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9562 cp $export_symbols $output_objdir/$soname.def;
9563 else
9564 echo EXPORTS > $output_objdir/$soname.def;
9565 cat $export_symbols >> $output_objdir/$soname.def;
9567 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9568 else
9569 ld_shlibs=no
9573 interix[3-9]*)
9574 hardcode_direct=no
9575 hardcode_shlibpath_var=no
9576 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9577 export_dynamic_flag_spec='${wl}-E'
9578 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9579 # Instead, shared libraries are loaded at an image base (0x10000000 by
9580 # default) and relocated if they conflict, which is a slow very memory
9581 # consuming and fragmenting process. To avoid this, we pick a random,
9582 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9583 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9584 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9585 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'
9588 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9589 tmp_diet=no
9590 if test "$host_os" = linux-dietlibc; then
9591 case $cc_basename in
9592 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9593 esac
9595 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9596 && test "$tmp_diet" = no
9597 then
9598 tmp_addflag=
9599 tmp_sharedflag='-shared'
9600 case $cc_basename,$host_cpu in
9601 pgcc*) # Portland Group C compiler
9602 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9603 tmp_addflag=' $pic_flag'
9605 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
9606 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9607 tmp_addflag=' $pic_flag -Mnomain' ;;
9608 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9609 tmp_addflag=' -i_dynamic' ;;
9610 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9611 tmp_addflag=' -i_dynamic -nofor_main' ;;
9612 ifc* | ifort*) # Intel Fortran compiler
9613 tmp_addflag=' -nofor_main' ;;
9614 lf95*) # Lahey Fortran 8.1
9615 whole_archive_flag_spec=
9616 tmp_sharedflag='--shared' ;;
9617 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9618 tmp_sharedflag='-qmkshrobj'
9619 tmp_addflag= ;;
9620 esac
9621 case `$CC -V 2>&1 | sed 5q` in
9622 *Sun\ C*) # Sun C 5.9
9623 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9624 compiler_needs_object=yes
9625 tmp_sharedflag='-G' ;;
9626 *Sun\ F*) # Sun Fortran 8.3
9627 tmp_sharedflag='-G' ;;
9628 esac
9629 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9631 if test "x$supports_anon_versioning" = xyes; then
9632 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9633 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9634 echo "local: *; };" >> $output_objdir/$libname.ver~
9635 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9638 case $cc_basename in
9639 xlf*)
9640 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9641 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9642 hardcode_libdir_flag_spec=
9643 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9644 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9645 if test "x$supports_anon_versioning" = xyes; then
9646 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9647 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9648 echo "local: *; };" >> $output_objdir/$libname.ver~
9649 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9652 esac
9653 else
9654 ld_shlibs=no
9658 netbsd*)
9659 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9660 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9661 wlarc=
9662 else
9663 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9664 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9668 solaris*)
9669 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9670 ld_shlibs=no
9671 cat <<_LT_EOF 1>&2
9673 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9674 *** create shared libraries on Solaris systems. Therefore, libtool
9675 *** is disabling shared libraries support. We urge you to upgrade GNU
9676 *** binutils to release 2.9.1 or newer. Another option is to modify
9677 *** your PATH or compiler configuration so that the native linker is
9678 *** used, and then restart.
9680 _LT_EOF
9681 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9682 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9683 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9684 else
9685 ld_shlibs=no
9689 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9690 case `$LD -v 2>&1` in
9691 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9692 ld_shlibs=no
9693 cat <<_LT_EOF 1>&2
9695 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9696 *** reliably create shared libraries on SCO systems. Therefore, libtool
9697 *** is disabling shared libraries support. We urge you to upgrade GNU
9698 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9699 *** your PATH or compiler configuration so that the native linker is
9700 *** used, and then restart.
9702 _LT_EOF
9705 # For security reasons, it is highly recommended that you always
9706 # use absolute paths for naming shared libraries, and exclude the
9707 # DT_RUNPATH tag from executables and libraries. But doing so
9708 # requires that you compile everything twice, which is a pain.
9709 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9710 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9711 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9712 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9713 else
9714 ld_shlibs=no
9717 esac
9720 sunos4*)
9721 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9722 wlarc=
9723 hardcode_direct=yes
9724 hardcode_shlibpath_var=no
9728 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9729 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9730 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9731 else
9732 ld_shlibs=no
9735 esac
9737 if test "$ld_shlibs" = no; then
9738 runpath_var=
9739 hardcode_libdir_flag_spec=
9740 export_dynamic_flag_spec=
9741 whole_archive_flag_spec=
9743 else
9744 # PORTME fill in a description of your system's linker (not GNU ld)
9745 case $host_os in
9746 aix3*)
9747 allow_undefined_flag=unsupported
9748 always_export_symbols=yes
9749 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'
9750 # Note: this linker hardcodes the directories in LIBPATH if there
9751 # are no directories specified by -L.
9752 hardcode_minus_L=yes
9753 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9754 # Neither direct hardcoding nor static linking is supported with a
9755 # broken collect2.
9756 hardcode_direct=unsupported
9760 aix[4-9]*)
9761 if test "$host_cpu" = ia64; then
9762 # On IA64, the linker does run time linking by default, so we don't
9763 # have to do anything special.
9764 aix_use_runtimelinking=no
9765 exp_sym_flag='-Bexport'
9766 no_entry_flag=""
9767 else
9768 # If we're using GNU nm, then we don't want the "-C" option.
9769 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9770 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9771 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9772 else
9773 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'
9775 aix_use_runtimelinking=no
9777 # Test if we are trying to use run time linking or normal
9778 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9779 # need to do runtime linking.
9780 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9781 for ld_flag in $LDFLAGS; do
9782 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9783 aix_use_runtimelinking=yes
9784 break
9786 done
9788 esac
9790 exp_sym_flag='-bexport'
9791 no_entry_flag='-bnoentry'
9794 # When large executables or shared objects are built, AIX ld can
9795 # have problems creating the table of contents. If linking a library
9796 # or program results in "error TOC overflow" add -mminimal-toc to
9797 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9798 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9800 archive_cmds=''
9801 hardcode_direct=yes
9802 hardcode_direct_absolute=yes
9803 hardcode_libdir_separator=':'
9804 link_all_deplibs=yes
9805 file_list_spec='${wl}-f,'
9807 if test "$GCC" = yes; then
9808 case $host_os in aix4.[012]|aix4.[012].*)
9809 # We only want to do this on AIX 4.2 and lower, the check
9810 # below for broken collect2 doesn't work under 4.3+
9811 collect2name=`${CC} -print-prog-name=collect2`
9812 if test -f "$collect2name" &&
9813 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9814 then
9815 # We have reworked collect2
9817 else
9818 # We have old collect2
9819 hardcode_direct=unsupported
9820 # It fails to find uninstalled libraries when the uninstalled
9821 # path is not listed in the libpath. Setting hardcode_minus_L
9822 # to unsupported forces relinking
9823 hardcode_minus_L=yes
9824 hardcode_libdir_flag_spec='-L$libdir'
9825 hardcode_libdir_separator=
9828 esac
9829 shared_flag='-shared'
9830 if test "$aix_use_runtimelinking" = yes; then
9831 shared_flag="$shared_flag "'${wl}-G'
9833 else
9834 # not using gcc
9835 if test "$host_cpu" = ia64; then
9836 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9837 # chokes on -Wl,-G. The following line is correct:
9838 shared_flag='-G'
9839 else
9840 if test "$aix_use_runtimelinking" = yes; then
9841 shared_flag='${wl}-G'
9842 else
9843 shared_flag='${wl}-bM:SRE'
9848 export_dynamic_flag_spec='${wl}-bexpall'
9849 # It seems that -bexpall does not export symbols beginning with
9850 # underscore (_), so it is better to generate a list of symbols to export.
9851 always_export_symbols=yes
9852 if test "$aix_use_runtimelinking" = yes; then
9853 # Warning - without using the other runtime loading flags (-brtl),
9854 # -berok will link without error, but may produce a broken library.
9855 allow_undefined_flag='-berok'
9856 # Determine the default libpath from the value encoded in an
9857 # empty executable.
9858 if test x$gcc_no_link = xyes; then
9859 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9862 /* end confdefs.h. */
9865 main ()
9869 return 0;
9871 _ACEOF
9872 if ac_fn_c_try_link "$LINENO"; then :
9874 lt_aix_libpath_sed='
9875 /Import File Strings/,/^$/ {
9876 /^0/ {
9877 s/^0 *\(.*\)$/\1/
9881 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9882 # Check for a 64-bit object if we didn't find anything.
9883 if test -z "$aix_libpath"; then
9884 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9887 rm -f core conftest.err conftest.$ac_objext \
9888 conftest$ac_exeext conftest.$ac_ext
9889 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9891 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9892 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9893 else
9894 if test "$host_cpu" = ia64; then
9895 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9896 allow_undefined_flag="-z nodefs"
9897 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"
9898 else
9899 # Determine the default libpath from the value encoded in an
9900 # empty executable.
9901 if test x$gcc_no_link = xyes; then
9902 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9905 /* end confdefs.h. */
9908 main ()
9912 return 0;
9914 _ACEOF
9915 if ac_fn_c_try_link "$LINENO"; then :
9917 lt_aix_libpath_sed='
9918 /Import File Strings/,/^$/ {
9919 /^0/ {
9920 s/^0 *\(.*\)$/\1/
9924 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9925 # Check for a 64-bit object if we didn't find anything.
9926 if test -z "$aix_libpath"; then
9927 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9930 rm -f core conftest.err conftest.$ac_objext \
9931 conftest$ac_exeext conftest.$ac_ext
9932 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9934 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9935 # Warning - without using the other run time loading flags,
9936 # -berok will link without error, but may produce a broken library.
9937 no_undefined_flag=' ${wl}-bernotok'
9938 allow_undefined_flag=' ${wl}-berok'
9939 # Exported symbols can be pulled into shared objects from archives
9940 whole_archive_flag_spec='$convenience'
9941 archive_cmds_need_lc=yes
9942 # This is similar to how AIX traditionally builds its shared libraries.
9943 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'
9948 amigaos*)
9949 case $host_cpu in
9950 powerpc)
9951 # see comment about AmigaOS4 .so support
9952 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9953 archive_expsym_cmds=''
9955 m68k)
9956 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)'
9957 hardcode_libdir_flag_spec='-L$libdir'
9958 hardcode_minus_L=yes
9960 esac
9963 bsdi[45]*)
9964 export_dynamic_flag_spec=-rdynamic
9967 cygwin* | mingw* | pw32* | cegcc*)
9968 # When not using gcc, we currently assume that we are using
9969 # Microsoft Visual C++.
9970 # hardcode_libdir_flag_spec is actually meaningless, as there is
9971 # no search path for DLLs.
9972 hardcode_libdir_flag_spec=' '
9973 allow_undefined_flag=unsupported
9974 # Tell ltmain to make .lib files, not .a files.
9975 libext=lib
9976 # Tell ltmain to make .dll files, not .so files.
9977 shrext_cmds=".dll"
9978 # FIXME: Setting linknames here is a bad hack.
9979 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9980 # The linker will automatically build a .lib file if we build a DLL.
9981 old_archive_from_new_cmds='true'
9982 # FIXME: Should let the user specify the lib program.
9983 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9984 fix_srcfile_path='`cygpath -w "$srcfile"`'
9985 enable_shared_with_static_runtimes=yes
9988 darwin* | rhapsody*)
9991 archive_cmds_need_lc=no
9992 hardcode_direct=no
9993 hardcode_automatic=yes
9994 hardcode_shlibpath_var=unsupported
9995 whole_archive_flag_spec=''
9996 link_all_deplibs=yes
9997 allow_undefined_flag="$_lt_dar_allow_undefined"
9998 case $cc_basename in
9999 ifort*) _lt_dar_can_shared=yes ;;
10000 *) _lt_dar_can_shared=$GCC ;;
10001 esac
10002 if test "$_lt_dar_can_shared" = "yes"; then
10003 output_verbose_link_cmd=echo
10004 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10005 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10006 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}"
10007 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}"
10009 else
10010 ld_shlibs=no
10015 dgux*)
10016 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10017 hardcode_libdir_flag_spec='-L$libdir'
10018 hardcode_shlibpath_var=no
10021 freebsd1*)
10022 ld_shlibs=no
10025 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10026 # support. Future versions do this automatically, but an explicit c++rt0.o
10027 # does not break anything, and helps significantly (at the cost of a little
10028 # extra space).
10029 freebsd2.2*)
10030 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10031 hardcode_libdir_flag_spec='-R$libdir'
10032 hardcode_direct=yes
10033 hardcode_shlibpath_var=no
10036 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10037 freebsd2*)
10038 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10039 hardcode_direct=yes
10040 hardcode_minus_L=yes
10041 hardcode_shlibpath_var=no
10044 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10045 freebsd* | dragonfly*)
10046 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10047 hardcode_libdir_flag_spec='-R$libdir'
10048 hardcode_direct=yes
10049 hardcode_shlibpath_var=no
10052 hpux9*)
10053 if test "$GCC" = yes; then
10054 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'
10055 else
10056 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'
10058 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10059 hardcode_libdir_separator=:
10060 hardcode_direct=yes
10062 # hardcode_minus_L: Not really in the search PATH,
10063 # but as the default location of the library.
10064 hardcode_minus_L=yes
10065 export_dynamic_flag_spec='${wl}-E'
10068 hpux10*)
10069 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10070 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10071 else
10072 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10074 if test "$with_gnu_ld" = no; then
10075 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10076 hardcode_libdir_flag_spec_ld='+b $libdir'
10077 hardcode_libdir_separator=:
10078 hardcode_direct=yes
10079 hardcode_direct_absolute=yes
10080 export_dynamic_flag_spec='${wl}-E'
10081 # hardcode_minus_L: Not really in the search PATH,
10082 # but as the default location of the library.
10083 hardcode_minus_L=yes
10087 hpux11*)
10088 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10089 case $host_cpu in
10090 hppa*64*)
10091 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10093 ia64*)
10094 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10097 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10099 esac
10100 else
10101 case $host_cpu in
10102 hppa*64*)
10103 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10105 ia64*)
10106 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10109 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10111 esac
10113 if test "$with_gnu_ld" = no; then
10114 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10115 hardcode_libdir_separator=:
10117 case $host_cpu in
10118 hppa*64*|ia64*)
10119 hardcode_direct=no
10120 hardcode_shlibpath_var=no
10123 hardcode_direct=yes
10124 hardcode_direct_absolute=yes
10125 export_dynamic_flag_spec='${wl}-E'
10127 # hardcode_minus_L: Not really in the search PATH,
10128 # but as the default location of the library.
10129 hardcode_minus_L=yes
10131 esac
10135 irix5* | irix6* | nonstopux*)
10136 if test "$GCC" = yes; then
10137 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10138 # Try to use the -exported_symbol ld option, if it does not
10139 # work, assume that -exports_file does not work either and
10140 # implicitly export all symbols.
10141 save_LDFLAGS="$LDFLAGS"
10142 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10143 if test x$gcc_no_link = xyes; then
10144 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10147 /* end confdefs.h. */
10148 int foo(void) {}
10149 _ACEOF
10150 if ac_fn_c_try_link "$LINENO"; then :
10151 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10154 rm -f core conftest.err conftest.$ac_objext \
10155 conftest$ac_exeext conftest.$ac_ext
10156 LDFLAGS="$save_LDFLAGS"
10157 else
10158 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10159 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10161 archive_cmds_need_lc='no'
10162 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10163 hardcode_libdir_separator=:
10164 inherit_rpath=yes
10165 link_all_deplibs=yes
10168 netbsd*)
10169 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10170 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10171 else
10172 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10174 hardcode_libdir_flag_spec='-R$libdir'
10175 hardcode_direct=yes
10176 hardcode_shlibpath_var=no
10179 newsos6)
10180 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10181 hardcode_direct=yes
10182 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10183 hardcode_libdir_separator=:
10184 hardcode_shlibpath_var=no
10187 *nto* | *qnx*)
10190 openbsd*)
10191 if test -f /usr/libexec/ld.so; then
10192 hardcode_direct=yes
10193 hardcode_shlibpath_var=no
10194 hardcode_direct_absolute=yes
10195 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10196 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10197 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10198 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10199 export_dynamic_flag_spec='${wl}-E'
10200 else
10201 case $host_os in
10202 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10203 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10204 hardcode_libdir_flag_spec='-R$libdir'
10207 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10208 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10210 esac
10212 else
10213 ld_shlibs=no
10217 os2*)
10218 hardcode_libdir_flag_spec='-L$libdir'
10219 hardcode_minus_L=yes
10220 allow_undefined_flag=unsupported
10221 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'
10222 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10225 osf3*)
10226 if test "$GCC" = yes; then
10227 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10228 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10229 else
10230 allow_undefined_flag=' -expect_unresolved \*'
10231 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10233 archive_cmds_need_lc='no'
10234 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10235 hardcode_libdir_separator=:
10238 osf4* | osf5*) # as osf3* with the addition of -msym flag
10239 if test "$GCC" = yes; then
10240 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10241 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10242 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10243 else
10244 allow_undefined_flag=' -expect_unresolved \*'
10245 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10246 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~
10247 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10249 # Both c and cxx compiler support -rpath directly
10250 hardcode_libdir_flag_spec='-rpath $libdir'
10252 archive_cmds_need_lc='no'
10253 hardcode_libdir_separator=:
10256 solaris*)
10257 no_undefined_flag=' -z defs'
10258 if test "$GCC" = yes; then
10259 wlarc='${wl}'
10260 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10261 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10262 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10263 else
10264 case `$CC -V 2>&1` in
10265 *"Compilers 5.0"*)
10266 wlarc=''
10267 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10268 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10269 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10272 wlarc='${wl}'
10273 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10274 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10275 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10277 esac
10279 hardcode_libdir_flag_spec='-R$libdir'
10280 hardcode_shlibpath_var=no
10281 case $host_os in
10282 solaris2.[0-5] | solaris2.[0-5].*) ;;
10284 # The compiler driver will combine and reorder linker options,
10285 # but understands `-z linker_flag'. GCC discards it without `$wl',
10286 # but is careful enough not to reorder.
10287 # Supported since Solaris 2.6 (maybe 2.5.1?)
10288 if test "$GCC" = yes; then
10289 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10290 else
10291 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10294 esac
10295 link_all_deplibs=yes
10298 sunos4*)
10299 if test "x$host_vendor" = xsequent; then
10300 # Use $CC to link under sequent, because it throws in some extra .o
10301 # files that make .init and .fini sections work.
10302 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10303 else
10304 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10306 hardcode_libdir_flag_spec='-L$libdir'
10307 hardcode_direct=yes
10308 hardcode_minus_L=yes
10309 hardcode_shlibpath_var=no
10312 sysv4)
10313 case $host_vendor in
10314 sni)
10315 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10316 hardcode_direct=yes # is this really true???
10318 siemens)
10319 ## LD is ld it makes a PLAMLIB
10320 ## CC just makes a GrossModule.
10321 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10322 reload_cmds='$CC -r -o $output$reload_objs'
10323 hardcode_direct=no
10325 motorola)
10326 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10327 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10329 esac
10330 runpath_var='LD_RUN_PATH'
10331 hardcode_shlibpath_var=no
10334 sysv4.3*)
10335 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10336 hardcode_shlibpath_var=no
10337 export_dynamic_flag_spec='-Bexport'
10340 sysv4*MP*)
10341 if test -d /usr/nec; then
10342 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10343 hardcode_shlibpath_var=no
10344 runpath_var=LD_RUN_PATH
10345 hardcode_runpath_var=yes
10346 ld_shlibs=yes
10350 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10351 no_undefined_flag='${wl}-z,text'
10352 archive_cmds_need_lc=no
10353 hardcode_shlibpath_var=no
10354 runpath_var='LD_RUN_PATH'
10356 if test "$GCC" = yes; then
10357 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10358 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10359 else
10360 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10361 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10365 sysv5* | sco3.2v5* | sco5v6*)
10366 # Note: We can NOT use -z defs as we might desire, because we do not
10367 # link with -lc, and that would cause any symbols used from libc to
10368 # always be unresolved, which means just about no library would
10369 # ever link correctly. If we're not using GNU ld we use -z text
10370 # though, which does catch some bad symbols but isn't as heavy-handed
10371 # as -z defs.
10372 no_undefined_flag='${wl}-z,text'
10373 allow_undefined_flag='${wl}-z,nodefs'
10374 archive_cmds_need_lc=no
10375 hardcode_shlibpath_var=no
10376 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10377 hardcode_libdir_separator=':'
10378 link_all_deplibs=yes
10379 export_dynamic_flag_spec='${wl}-Bexport'
10380 runpath_var='LD_RUN_PATH'
10382 if test "$GCC" = yes; then
10383 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10384 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10385 else
10386 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10387 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10391 uts4*)
10392 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10393 hardcode_libdir_flag_spec='-L$libdir'
10394 hardcode_shlibpath_var=no
10398 ld_shlibs=no
10400 esac
10402 if test x$host_vendor = xsni; then
10403 case $host in
10404 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10405 export_dynamic_flag_spec='${wl}-Blargedynsym'
10407 esac
10411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10412 $as_echo "$ld_shlibs" >&6; }
10413 test "$ld_shlibs" = no && can_build_shared=no
10415 with_gnu_ld=$with_gnu_ld
10432 # Do we need to explicitly link libc?
10434 case "x$archive_cmds_need_lc" in
10435 x|xyes)
10436 # Assume -lc should be added
10437 archive_cmds_need_lc=yes
10439 if test "$enable_shared" = yes && test "$GCC" = yes; then
10440 case $archive_cmds in
10441 *'~'*)
10442 # FIXME: we may have to deal with multi-command sequences.
10444 '$CC '*)
10445 # Test whether the compiler implicitly links with -lc since on some
10446 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10447 # to ld, don't add -lc before -lgcc.
10448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10449 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10450 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10451 $as_echo_n "(cached) " >&6
10452 else
10453 $RM conftest*
10454 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10456 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10457 (eval $ac_compile) 2>&5
10458 ac_status=$?
10459 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10460 test $ac_status = 0; } 2>conftest.err; then
10461 soname=conftest
10462 lib=conftest
10463 libobjs=conftest.$ac_objext
10464 deplibs=
10465 wl=$lt_prog_compiler_wl
10466 pic_flag=$lt_prog_compiler_pic
10467 compiler_flags=-v
10468 linker_flags=-v
10469 verstring=
10470 output_objdir=.
10471 libname=conftest
10472 lt_save_allow_undefined_flag=$allow_undefined_flag
10473 allow_undefined_flag=
10474 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10475 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10476 ac_status=$?
10477 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10478 test $ac_status = 0; }
10479 then
10480 lt_cv_archive_cmds_need_lc=no
10481 else
10482 lt_cv_archive_cmds_need_lc=yes
10484 allow_undefined_flag=$lt_save_allow_undefined_flag
10485 else
10486 cat conftest.err 1>&5
10488 $RM conftest*
10491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10492 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10493 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10495 esac
10498 esac
10656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10657 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10659 if test "$GCC" = yes; then
10660 case $host_os in
10661 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10662 *) lt_awk_arg="/^libraries:/" ;;
10663 esac
10664 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10665 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10666 # if the path contains ";" then we assume it to be the separator
10667 # otherwise default to the standard path separator (i.e. ":") - it is
10668 # assumed that no part of a normal pathname contains ";" but that should
10669 # okay in the real world where ";" in dirpaths is itself problematic.
10670 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10671 else
10672 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10674 # Ok, now we have the path, separated by spaces, we can step through it
10675 # and add multilib dir if necessary.
10676 lt_tmp_lt_search_path_spec=
10677 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10678 for lt_sys_path in $lt_search_path_spec; do
10679 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10680 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10681 else
10682 test -d "$lt_sys_path" && \
10683 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10685 done
10686 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10687 BEGIN {RS=" "; FS="/|\n";} {
10688 lt_foo="";
10689 lt_count=0;
10690 for (lt_i = NF; lt_i > 0; lt_i--) {
10691 if ($lt_i != "" && $lt_i != ".") {
10692 if ($lt_i == "..") {
10693 lt_count++;
10694 } else {
10695 if (lt_count == 0) {
10696 lt_foo="/" $lt_i lt_foo;
10697 } else {
10698 lt_count--;
10703 if (lt_foo != "") { lt_freq[lt_foo]++; }
10704 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10706 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10707 else
10708 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10710 library_names_spec=
10711 libname_spec='lib$name'
10712 soname_spec=
10713 shrext_cmds=".so"
10714 postinstall_cmds=
10715 postuninstall_cmds=
10716 finish_cmds=
10717 finish_eval=
10718 shlibpath_var=
10719 shlibpath_overrides_runpath=unknown
10720 version_type=none
10721 dynamic_linker="$host_os ld.so"
10722 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10723 need_lib_prefix=unknown
10724 hardcode_into_libs=no
10726 # when you set need_version to no, make sure it does not cause -set_version
10727 # flags to be left without arguments
10728 need_version=unknown
10730 case $host_os in
10731 aix3*)
10732 version_type=linux
10733 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10734 shlibpath_var=LIBPATH
10736 # AIX 3 has no versioning support, so we append a major version to the name.
10737 soname_spec='${libname}${release}${shared_ext}$major'
10740 aix[4-9]*)
10741 version_type=linux
10742 need_lib_prefix=no
10743 need_version=no
10744 hardcode_into_libs=yes
10745 if test "$host_cpu" = ia64; then
10746 # AIX 5 supports IA64
10747 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10748 shlibpath_var=LD_LIBRARY_PATH
10749 else
10750 # With GCC up to 2.95.x, collect2 would create an import file
10751 # for dependence libraries. The import file would start with
10752 # the line `#! .'. This would cause the generated library to
10753 # depend on `.', always an invalid library. This was fixed in
10754 # development snapshots of GCC prior to 3.0.
10755 case $host_os in
10756 aix4 | aix4.[01] | aix4.[01].*)
10757 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10758 echo ' yes '
10759 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10761 else
10762 can_build_shared=no
10765 esac
10766 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10767 # soname into executable. Probably we can add versioning support to
10768 # collect2, so additional links can be useful in future.
10769 if test "$aix_use_runtimelinking" = yes; then
10770 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10771 # instead of lib<name>.a to let people know that these are not
10772 # typical AIX shared libraries.
10773 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10774 else
10775 # We preserve .a as extension for shared libraries through AIX4.2
10776 # and later when we are not doing run time linking.
10777 library_names_spec='${libname}${release}.a $libname.a'
10778 soname_spec='${libname}${release}${shared_ext}$major'
10780 shlibpath_var=LIBPATH
10784 amigaos*)
10785 case $host_cpu in
10786 powerpc)
10787 # Since July 2007 AmigaOS4 officially supports .so libraries.
10788 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10789 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10791 m68k)
10792 library_names_spec='$libname.ixlibrary $libname.a'
10793 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10794 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''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'
10796 esac
10799 beos*)
10800 library_names_spec='${libname}${shared_ext}'
10801 dynamic_linker="$host_os ld.so"
10802 shlibpath_var=LIBRARY_PATH
10805 bsdi[45]*)
10806 version_type=linux
10807 need_version=no
10808 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10809 soname_spec='${libname}${release}${shared_ext}$major'
10810 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10811 shlibpath_var=LD_LIBRARY_PATH
10812 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10813 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10814 # the default ld.so.conf also contains /usr/contrib/lib and
10815 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10816 # libtool to hard-code these into programs
10819 cygwin* | mingw* | pw32* | cegcc*)
10820 version_type=windows
10821 shrext_cmds=".dll"
10822 need_version=no
10823 need_lib_prefix=no
10825 case $GCC,$host_os in
10826 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10827 library_names_spec='$libname.dll.a'
10828 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10829 postinstall_cmds='base_file=`basename \${file}`~
10830 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10831 dldir=$destdir/`dirname \$dlpath`~
10832 test -d \$dldir || mkdir -p \$dldir~
10833 $install_prog $dir/$dlname \$dldir/$dlname~
10834 chmod a+x \$dldir/$dlname~
10835 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10836 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10838 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10839 dlpath=$dir/\$dldll~
10840 $RM \$dlpath'
10841 shlibpath_overrides_runpath=yes
10843 case $host_os in
10844 cygwin*)
10845 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10846 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10847 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10849 mingw* | cegcc*)
10850 # MinGW DLLs use traditional 'lib' prefix
10851 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10852 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10853 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10854 # It is most probably a Windows format PATH printed by
10855 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10856 # path with ; separators, and with drive letters. We can handle the
10857 # drive letters (cygwin fileutils understands them), so leave them,
10858 # especially as we might pass files found there to a mingw objdump,
10859 # which wouldn't understand a cygwinified path. Ahh.
10860 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10861 else
10862 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10865 pw32*)
10866 # pw32 DLLs use 'pw' prefix rather than 'lib'
10867 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10869 esac
10873 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10875 esac
10876 dynamic_linker='Win32 ld.exe'
10877 # FIXME: first we should search . and the directory the executable is in
10878 shlibpath_var=PATH
10881 darwin* | rhapsody*)
10882 dynamic_linker="$host_os dyld"
10883 version_type=darwin
10884 need_lib_prefix=no
10885 need_version=no
10886 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10887 soname_spec='${libname}${release}${major}$shared_ext'
10888 shlibpath_overrides_runpath=yes
10889 shlibpath_var=DYLD_LIBRARY_PATH
10890 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10892 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10893 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10896 dgux*)
10897 version_type=linux
10898 need_lib_prefix=no
10899 need_version=no
10900 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10901 soname_spec='${libname}${release}${shared_ext}$major'
10902 shlibpath_var=LD_LIBRARY_PATH
10905 freebsd1*)
10906 dynamic_linker=no
10909 freebsd* | dragonfly*)
10910 # DragonFly does not have aout. When/if they implement a new
10911 # versioning mechanism, adjust this.
10912 if test -x /usr/bin/objformat; then
10913 objformat=`/usr/bin/objformat`
10914 else
10915 case $host_os in
10916 freebsd[123]*) objformat=aout ;;
10917 *) objformat=elf ;;
10918 esac
10920 version_type=freebsd-$objformat
10921 case $version_type in
10922 freebsd-elf*)
10923 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10924 need_version=no
10925 need_lib_prefix=no
10927 freebsd-*)
10928 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10929 need_version=yes
10931 esac
10932 shlibpath_var=LD_LIBRARY_PATH
10933 case $host_os in
10934 freebsd2*)
10935 shlibpath_overrides_runpath=yes
10937 freebsd3.[01]* | freebsdelf3.[01]*)
10938 shlibpath_overrides_runpath=yes
10939 hardcode_into_libs=yes
10941 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10942 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10943 shlibpath_overrides_runpath=no
10944 hardcode_into_libs=yes
10946 *) # from 4.6 on, and DragonFly
10947 shlibpath_overrides_runpath=yes
10948 hardcode_into_libs=yes
10950 esac
10953 gnu*)
10954 version_type=linux
10955 need_lib_prefix=no
10956 need_version=no
10957 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10958 soname_spec='${libname}${release}${shared_ext}$major'
10959 shlibpath_var=LD_LIBRARY_PATH
10960 hardcode_into_libs=yes
10963 hpux9* | hpux10* | hpux11*)
10964 # Give a soname corresponding to the major version so that dld.sl refuses to
10965 # link against other versions.
10966 version_type=sunos
10967 need_lib_prefix=no
10968 need_version=no
10969 case $host_cpu in
10970 ia64*)
10971 shrext_cmds='.so'
10972 hardcode_into_libs=yes
10973 dynamic_linker="$host_os dld.so"
10974 shlibpath_var=LD_LIBRARY_PATH
10975 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10976 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10977 soname_spec='${libname}${release}${shared_ext}$major'
10978 if test "X$HPUX_IA64_MODE" = X32; then
10979 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10980 else
10981 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10983 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10985 hppa*64*)
10986 shrext_cmds='.sl'
10987 hardcode_into_libs=yes
10988 dynamic_linker="$host_os dld.sl"
10989 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10990 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10991 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10992 soname_spec='${libname}${release}${shared_ext}$major'
10993 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10994 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10997 shrext_cmds='.sl'
10998 dynamic_linker="$host_os dld.sl"
10999 shlibpath_var=SHLIB_PATH
11000 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11001 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11002 soname_spec='${libname}${release}${shared_ext}$major'
11004 esac
11005 # HP-UX runs *really* slowly unless shared libraries are mode 555.
11006 postinstall_cmds='chmod 555 $lib'
11009 interix[3-9]*)
11010 version_type=linux
11011 need_lib_prefix=no
11012 need_version=no
11013 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11014 soname_spec='${libname}${release}${shared_ext}$major'
11015 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11016 shlibpath_var=LD_LIBRARY_PATH
11017 shlibpath_overrides_runpath=no
11018 hardcode_into_libs=yes
11021 irix5* | irix6* | nonstopux*)
11022 case $host_os in
11023 nonstopux*) version_type=nonstopux ;;
11025 if test "$lt_cv_prog_gnu_ld" = yes; then
11026 version_type=linux
11027 else
11028 version_type=irix
11029 fi ;;
11030 esac
11031 need_lib_prefix=no
11032 need_version=no
11033 soname_spec='${libname}${release}${shared_ext}$major'
11034 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11035 case $host_os in
11036 irix5* | nonstopux*)
11037 libsuff= shlibsuff=
11040 case $LD in # libtool.m4 will add one of these switches to LD
11041 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11042 libsuff= shlibsuff= libmagic=32-bit;;
11043 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11044 libsuff=32 shlibsuff=N32 libmagic=N32;;
11045 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11046 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11047 *) libsuff= shlibsuff= libmagic=never-match;;
11048 esac
11050 esac
11051 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11052 shlibpath_overrides_runpath=no
11053 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11054 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11055 hardcode_into_libs=yes
11058 # No shared lib support for Linux oldld, aout, or coff.
11059 linux*oldld* | linux*aout* | linux*coff*)
11060 dynamic_linker=no
11063 # This must be Linux ELF.
11064 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11065 version_type=linux
11066 need_lib_prefix=no
11067 need_version=no
11068 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11069 soname_spec='${libname}${release}${shared_ext}$major'
11070 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11071 shlibpath_var=LD_LIBRARY_PATH
11072 shlibpath_overrides_runpath=no
11074 # Some binutils ld are patched to set DT_RUNPATH
11075 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
11076 $as_echo_n "(cached) " >&6
11077 else
11078 lt_cv_shlibpath_overrides_runpath=no
11079 save_LDFLAGS=$LDFLAGS
11080 save_libdir=$libdir
11081 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11082 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11083 if test x$gcc_no_link = xyes; then
11084 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11087 /* end confdefs.h. */
11090 main ()
11094 return 0;
11096 _ACEOF
11097 if ac_fn_c_try_link "$LINENO"; then :
11098 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11099 lt_cv_shlibpath_overrides_runpath=yes
11102 rm -f core conftest.err conftest.$ac_objext \
11103 conftest$ac_exeext conftest.$ac_ext
11104 LDFLAGS=$save_LDFLAGS
11105 libdir=$save_libdir
11109 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11111 # This implies no fast_install, which is unacceptable.
11112 # Some rework will be needed to allow for fast_install
11113 # before this can be enabled.
11114 hardcode_into_libs=yes
11116 # Append ld.so.conf contents to the search path
11117 if test -f /etc/ld.so.conf; then
11118 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;/^$/d' | tr '\n' ' '`
11119 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11122 # We used to test for /lib/ld.so.1 and disable shared libraries on
11123 # powerpc, because MkLinux only supported shared libraries with the
11124 # GNU dynamic linker. Since this was broken with cross compilers,
11125 # most powerpc-linux boxes support dynamic linking these days and
11126 # people can always --disable-shared, the test was removed, and we
11127 # assume the GNU/Linux dynamic linker is in use.
11128 dynamic_linker='GNU/Linux ld.so'
11131 netbsd*)
11132 version_type=sunos
11133 need_lib_prefix=no
11134 need_version=no
11135 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11136 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11137 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11138 dynamic_linker='NetBSD (a.out) ld.so'
11139 else
11140 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11141 soname_spec='${libname}${release}${shared_ext}$major'
11142 dynamic_linker='NetBSD ld.elf_so'
11144 shlibpath_var=LD_LIBRARY_PATH
11145 shlibpath_overrides_runpath=yes
11146 hardcode_into_libs=yes
11149 newsos6)
11150 version_type=linux
11151 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11152 shlibpath_var=LD_LIBRARY_PATH
11153 shlibpath_overrides_runpath=yes
11156 *nto* | *qnx*)
11157 version_type=qnx
11158 need_lib_prefix=no
11159 need_version=no
11160 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11161 soname_spec='${libname}${release}${shared_ext}$major'
11162 shlibpath_var=LD_LIBRARY_PATH
11163 shlibpath_overrides_runpath=no
11164 hardcode_into_libs=yes
11165 dynamic_linker='ldqnx.so'
11168 openbsd*)
11169 version_type=sunos
11170 sys_lib_dlsearch_path_spec="/usr/lib"
11171 need_lib_prefix=no
11172 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11173 case $host_os in
11174 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11175 *) need_version=no ;;
11176 esac
11177 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11178 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11179 shlibpath_var=LD_LIBRARY_PATH
11180 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11181 case $host_os in
11182 openbsd2.[89] | openbsd2.[89].*)
11183 shlibpath_overrides_runpath=no
11186 shlibpath_overrides_runpath=yes
11188 esac
11189 else
11190 shlibpath_overrides_runpath=yes
11194 os2*)
11195 libname_spec='$name'
11196 shrext_cmds=".dll"
11197 need_lib_prefix=no
11198 library_names_spec='$libname${shared_ext} $libname.a'
11199 dynamic_linker='OS/2 ld.exe'
11200 shlibpath_var=LIBPATH
11203 osf3* | osf4* | osf5*)
11204 version_type=osf
11205 need_lib_prefix=no
11206 need_version=no
11207 soname_spec='${libname}${release}${shared_ext}$major'
11208 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11209 shlibpath_var=LD_LIBRARY_PATH
11210 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11211 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11214 rdos*)
11215 dynamic_linker=no
11218 solaris*)
11219 version_type=linux
11220 need_lib_prefix=no
11221 need_version=no
11222 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11223 soname_spec='${libname}${release}${shared_ext}$major'
11224 shlibpath_var=LD_LIBRARY_PATH
11225 shlibpath_overrides_runpath=yes
11226 hardcode_into_libs=yes
11227 # ldd complains unless libraries are executable
11228 postinstall_cmds='chmod +x $lib'
11231 sunos4*)
11232 version_type=sunos
11233 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11234 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11235 shlibpath_var=LD_LIBRARY_PATH
11236 shlibpath_overrides_runpath=yes
11237 if test "$with_gnu_ld" = yes; then
11238 need_lib_prefix=no
11240 need_version=yes
11243 sysv4 | sysv4.3*)
11244 version_type=linux
11245 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11246 soname_spec='${libname}${release}${shared_ext}$major'
11247 shlibpath_var=LD_LIBRARY_PATH
11248 case $host_vendor in
11249 sni)
11250 shlibpath_overrides_runpath=no
11251 need_lib_prefix=no
11252 runpath_var=LD_RUN_PATH
11254 siemens)
11255 need_lib_prefix=no
11257 motorola)
11258 need_lib_prefix=no
11259 need_version=no
11260 shlibpath_overrides_runpath=no
11261 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11263 esac
11266 sysv4*MP*)
11267 if test -d /usr/nec ;then
11268 version_type=linux
11269 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11270 soname_spec='$libname${shared_ext}.$major'
11271 shlibpath_var=LD_LIBRARY_PATH
11275 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11276 version_type=freebsd-elf
11277 need_lib_prefix=no
11278 need_version=no
11279 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11280 soname_spec='${libname}${release}${shared_ext}$major'
11281 shlibpath_var=LD_LIBRARY_PATH
11282 shlibpath_overrides_runpath=yes
11283 hardcode_into_libs=yes
11284 if test "$with_gnu_ld" = yes; then
11285 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11286 else
11287 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11288 case $host_os in
11289 sco3.2v5*)
11290 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11292 esac
11294 sys_lib_dlsearch_path_spec='/usr/lib'
11297 tpf*)
11298 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11299 version_type=linux
11300 need_lib_prefix=no
11301 need_version=no
11302 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11303 shlibpath_var=LD_LIBRARY_PATH
11304 shlibpath_overrides_runpath=no
11305 hardcode_into_libs=yes
11308 uts4*)
11309 version_type=linux
11310 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11311 soname_spec='${libname}${release}${shared_ext}$major'
11312 shlibpath_var=LD_LIBRARY_PATH
11316 dynamic_linker=no
11318 esac
11319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11320 $as_echo "$dynamic_linker" >&6; }
11321 test "$dynamic_linker" = no && can_build_shared=no
11323 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11324 if test "$GCC" = yes; then
11325 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11328 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11329 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11331 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11332 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11422 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11423 hardcode_action=
11424 if test -n "$hardcode_libdir_flag_spec" ||
11425 test -n "$runpath_var" ||
11426 test "X$hardcode_automatic" = "Xyes" ; then
11428 # We can hardcode non-existent directories.
11429 if test "$hardcode_direct" != no &&
11430 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11431 # have to relink, otherwise we might link with an installed library
11432 # when we should be linking with a yet-to-be-installed one
11433 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11434 test "$hardcode_minus_L" != no; then
11435 # Linking always hardcodes the temporary library directory.
11436 hardcode_action=relink
11437 else
11438 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11439 hardcode_action=immediate
11441 else
11442 # We cannot hardcode anything, or else we can only hardcode existing
11443 # directories.
11444 hardcode_action=unsupported
11446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11447 $as_echo "$hardcode_action" >&6; }
11449 if test "$hardcode_action" = relink ||
11450 test "$inherit_rpath" = yes; then
11451 # Fast installation is not supported
11452 enable_fast_install=no
11453 elif test "$shlibpath_overrides_runpath" = yes ||
11454 test "$enable_shared" = no; then
11455 # Fast installation is not necessary
11456 enable_fast_install=needless
11464 if test "x$enable_dlopen" != xyes; then
11465 enable_dlopen=unknown
11466 enable_dlopen_self=unknown
11467 enable_dlopen_self_static=unknown
11468 else
11469 lt_cv_dlopen=no
11470 lt_cv_dlopen_libs=
11472 case $host_os in
11473 beos*)
11474 lt_cv_dlopen="load_add_on"
11475 lt_cv_dlopen_libs=
11476 lt_cv_dlopen_self=yes
11479 mingw* | pw32* | cegcc*)
11480 lt_cv_dlopen="LoadLibrary"
11481 lt_cv_dlopen_libs=
11484 cygwin*)
11485 lt_cv_dlopen="dlopen"
11486 lt_cv_dlopen_libs=
11489 darwin*)
11490 # if libdl is installed we need to link against it
11491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11492 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11493 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11494 $as_echo_n "(cached) " >&6
11495 else
11496 ac_check_lib_save_LIBS=$LIBS
11497 LIBS="-ldl $LIBS"
11498 if test x$gcc_no_link = xyes; then
11499 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11502 /* end confdefs.h. */
11504 /* Override any GCC internal prototype to avoid an error.
11505 Use char because int might match the return type of a GCC
11506 builtin and then its argument prototype would still apply. */
11507 #ifdef __cplusplus
11508 extern "C"
11509 #endif
11510 char dlopen ();
11512 main ()
11514 return dlopen ();
11516 return 0;
11518 _ACEOF
11519 if ac_fn_c_try_link "$LINENO"; then :
11520 ac_cv_lib_dl_dlopen=yes
11521 else
11522 ac_cv_lib_dl_dlopen=no
11524 rm -f core conftest.err conftest.$ac_objext \
11525 conftest$ac_exeext conftest.$ac_ext
11526 LIBS=$ac_check_lib_save_LIBS
11528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11529 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11530 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11531 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11532 else
11534 lt_cv_dlopen="dyld"
11535 lt_cv_dlopen_libs=
11536 lt_cv_dlopen_self=yes
11543 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11544 if test "x$ac_cv_func_shl_load" = x""yes; then :
11545 lt_cv_dlopen="shl_load"
11546 else
11547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11548 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11549 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11550 $as_echo_n "(cached) " >&6
11551 else
11552 ac_check_lib_save_LIBS=$LIBS
11553 LIBS="-ldld $LIBS"
11554 if test x$gcc_no_link = xyes; then
11555 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11558 /* end confdefs.h. */
11560 /* Override any GCC internal prototype to avoid an error.
11561 Use char because int might match the return type of a GCC
11562 builtin and then its argument prototype would still apply. */
11563 #ifdef __cplusplus
11564 extern "C"
11565 #endif
11566 char shl_load ();
11568 main ()
11570 return shl_load ();
11572 return 0;
11574 _ACEOF
11575 if ac_fn_c_try_link "$LINENO"; then :
11576 ac_cv_lib_dld_shl_load=yes
11577 else
11578 ac_cv_lib_dld_shl_load=no
11580 rm -f core conftest.err conftest.$ac_objext \
11581 conftest$ac_exeext conftest.$ac_ext
11582 LIBS=$ac_check_lib_save_LIBS
11584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11585 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11586 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11587 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11588 else
11589 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11590 if test "x$ac_cv_func_dlopen" = x""yes; then :
11591 lt_cv_dlopen="dlopen"
11592 else
11593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11594 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11595 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11596 $as_echo_n "(cached) " >&6
11597 else
11598 ac_check_lib_save_LIBS=$LIBS
11599 LIBS="-ldl $LIBS"
11600 if test x$gcc_no_link = xyes; then
11601 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11604 /* end confdefs.h. */
11606 /* Override any GCC internal prototype to avoid an error.
11607 Use char because int might match the return type of a GCC
11608 builtin and then its argument prototype would still apply. */
11609 #ifdef __cplusplus
11610 extern "C"
11611 #endif
11612 char dlopen ();
11614 main ()
11616 return dlopen ();
11618 return 0;
11620 _ACEOF
11621 if ac_fn_c_try_link "$LINENO"; then :
11622 ac_cv_lib_dl_dlopen=yes
11623 else
11624 ac_cv_lib_dl_dlopen=no
11626 rm -f core conftest.err conftest.$ac_objext \
11627 conftest$ac_exeext conftest.$ac_ext
11628 LIBS=$ac_check_lib_save_LIBS
11630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11631 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11632 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11633 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11634 else
11635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11636 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11637 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11638 $as_echo_n "(cached) " >&6
11639 else
11640 ac_check_lib_save_LIBS=$LIBS
11641 LIBS="-lsvld $LIBS"
11642 if test x$gcc_no_link = xyes; then
11643 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11646 /* end confdefs.h. */
11648 /* Override any GCC internal prototype to avoid an error.
11649 Use char because int might match the return type of a GCC
11650 builtin and then its argument prototype would still apply. */
11651 #ifdef __cplusplus
11652 extern "C"
11653 #endif
11654 char dlopen ();
11656 main ()
11658 return dlopen ();
11660 return 0;
11662 _ACEOF
11663 if ac_fn_c_try_link "$LINENO"; then :
11664 ac_cv_lib_svld_dlopen=yes
11665 else
11666 ac_cv_lib_svld_dlopen=no
11668 rm -f core conftest.err conftest.$ac_objext \
11669 conftest$ac_exeext conftest.$ac_ext
11670 LIBS=$ac_check_lib_save_LIBS
11672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11673 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11674 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11675 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11676 else
11677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11678 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11679 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11680 $as_echo_n "(cached) " >&6
11681 else
11682 ac_check_lib_save_LIBS=$LIBS
11683 LIBS="-ldld $LIBS"
11684 if test x$gcc_no_link = xyes; then
11685 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11688 /* end confdefs.h. */
11690 /* Override any GCC internal prototype to avoid an error.
11691 Use char because int might match the return type of a GCC
11692 builtin and then its argument prototype would still apply. */
11693 #ifdef __cplusplus
11694 extern "C"
11695 #endif
11696 char dld_link ();
11698 main ()
11700 return dld_link ();
11702 return 0;
11704 _ACEOF
11705 if ac_fn_c_try_link "$LINENO"; then :
11706 ac_cv_lib_dld_dld_link=yes
11707 else
11708 ac_cv_lib_dld_dld_link=no
11710 rm -f core conftest.err conftest.$ac_objext \
11711 conftest$ac_exeext conftest.$ac_ext
11712 LIBS=$ac_check_lib_save_LIBS
11714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11715 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11716 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11717 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11736 esac
11738 if test "x$lt_cv_dlopen" != xno; then
11739 enable_dlopen=yes
11740 else
11741 enable_dlopen=no
11744 case $lt_cv_dlopen in
11745 dlopen)
11746 save_CPPFLAGS="$CPPFLAGS"
11747 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11749 save_LDFLAGS="$LDFLAGS"
11750 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11752 save_LIBS="$LIBS"
11753 LIBS="$lt_cv_dlopen_libs $LIBS"
11755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11756 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11757 if test "${lt_cv_dlopen_self+set}" = set; then :
11758 $as_echo_n "(cached) " >&6
11759 else
11760 if test "$cross_compiling" = yes; then :
11761 lt_cv_dlopen_self=cross
11762 else
11763 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11764 lt_status=$lt_dlunknown
11765 cat > conftest.$ac_ext <<_LT_EOF
11766 #line 11766 "configure"
11767 #include "confdefs.h"
11769 #if HAVE_DLFCN_H
11770 #include <dlfcn.h>
11771 #endif
11773 #include <stdio.h>
11775 #ifdef RTLD_GLOBAL
11776 # define LT_DLGLOBAL RTLD_GLOBAL
11777 #else
11778 # ifdef DL_GLOBAL
11779 # define LT_DLGLOBAL DL_GLOBAL
11780 # else
11781 # define LT_DLGLOBAL 0
11782 # endif
11783 #endif
11785 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11786 find out it does not work in some platform. */
11787 #ifndef LT_DLLAZY_OR_NOW
11788 # ifdef RTLD_LAZY
11789 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11790 # else
11791 # ifdef DL_LAZY
11792 # define LT_DLLAZY_OR_NOW DL_LAZY
11793 # else
11794 # ifdef RTLD_NOW
11795 # define LT_DLLAZY_OR_NOW RTLD_NOW
11796 # else
11797 # ifdef DL_NOW
11798 # define LT_DLLAZY_OR_NOW DL_NOW
11799 # else
11800 # define LT_DLLAZY_OR_NOW 0
11801 # endif
11802 # endif
11803 # endif
11804 # endif
11805 #endif
11807 void fnord() { int i=42;}
11808 int main ()
11810 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11811 int status = $lt_dlunknown;
11813 if (self)
11815 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11816 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11817 /* dlclose (self); */
11819 else
11820 puts (dlerror ());
11822 return status;
11824 _LT_EOF
11825 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11826 (eval $ac_link) 2>&5
11827 ac_status=$?
11828 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11829 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11830 (./conftest; exit; ) >&5 2>/dev/null
11831 lt_status=$?
11832 case x$lt_status in
11833 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11834 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11835 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11836 esac
11837 else :
11838 # compilation failed
11839 lt_cv_dlopen_self=no
11842 rm -fr conftest*
11846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11847 $as_echo "$lt_cv_dlopen_self" >&6; }
11849 if test "x$lt_cv_dlopen_self" = xyes; then
11850 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11852 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11853 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11854 $as_echo_n "(cached) " >&6
11855 else
11856 if test "$cross_compiling" = yes; then :
11857 lt_cv_dlopen_self_static=cross
11858 else
11859 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11860 lt_status=$lt_dlunknown
11861 cat > conftest.$ac_ext <<_LT_EOF
11862 #line 11862 "configure"
11863 #include "confdefs.h"
11865 #if HAVE_DLFCN_H
11866 #include <dlfcn.h>
11867 #endif
11869 #include <stdio.h>
11871 #ifdef RTLD_GLOBAL
11872 # define LT_DLGLOBAL RTLD_GLOBAL
11873 #else
11874 # ifdef DL_GLOBAL
11875 # define LT_DLGLOBAL DL_GLOBAL
11876 # else
11877 # define LT_DLGLOBAL 0
11878 # endif
11879 #endif
11881 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11882 find out it does not work in some platform. */
11883 #ifndef LT_DLLAZY_OR_NOW
11884 # ifdef RTLD_LAZY
11885 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11886 # else
11887 # ifdef DL_LAZY
11888 # define LT_DLLAZY_OR_NOW DL_LAZY
11889 # else
11890 # ifdef RTLD_NOW
11891 # define LT_DLLAZY_OR_NOW RTLD_NOW
11892 # else
11893 # ifdef DL_NOW
11894 # define LT_DLLAZY_OR_NOW DL_NOW
11895 # else
11896 # define LT_DLLAZY_OR_NOW 0
11897 # endif
11898 # endif
11899 # endif
11900 # endif
11901 #endif
11903 void fnord() { int i=42;}
11904 int main ()
11906 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11907 int status = $lt_dlunknown;
11909 if (self)
11911 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11912 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11913 /* dlclose (self); */
11915 else
11916 puts (dlerror ());
11918 return status;
11920 _LT_EOF
11921 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11922 (eval $ac_link) 2>&5
11923 ac_status=$?
11924 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11925 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11926 (./conftest; exit; ) >&5 2>/dev/null
11927 lt_status=$?
11928 case x$lt_status in
11929 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11930 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11931 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11932 esac
11933 else :
11934 # compilation failed
11935 lt_cv_dlopen_self_static=no
11938 rm -fr conftest*
11942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11943 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11946 CPPFLAGS="$save_CPPFLAGS"
11947 LDFLAGS="$save_LDFLAGS"
11948 LIBS="$save_LIBS"
11950 esac
11952 case $lt_cv_dlopen_self in
11953 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11954 *) enable_dlopen_self=unknown ;;
11955 esac
11957 case $lt_cv_dlopen_self_static in
11958 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11959 *) enable_dlopen_self_static=unknown ;;
11960 esac
11979 striplib=
11980 old_striplib=
11981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11982 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11983 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11984 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11985 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11987 $as_echo "yes" >&6; }
11988 else
11989 # FIXME - insert some real tests, host_os isn't really good enough
11990 case $host_os in
11991 darwin*)
11992 if test -n "$STRIP" ; then
11993 striplib="$STRIP -x"
11994 old_striplib="$STRIP -S"
11995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11996 $as_echo "yes" >&6; }
11997 else
11998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11999 $as_echo "no" >&6; }
12003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12004 $as_echo "no" >&6; }
12006 esac
12020 # Report which library types will actually be built
12021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12022 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12024 $as_echo "$can_build_shared" >&6; }
12026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12027 $as_echo_n "checking whether to build shared libraries... " >&6; }
12028 test "$can_build_shared" = "no" && enable_shared=no
12030 # On AIX, shared libraries and static libraries use the same namespace, and
12031 # are all built from PIC.
12032 case $host_os in
12033 aix3*)
12034 test "$enable_shared" = yes && enable_static=no
12035 if test -n "$RANLIB"; then
12036 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12037 postinstall_cmds='$RANLIB $lib'
12041 aix[4-9]*)
12042 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12043 test "$enable_shared" = yes && enable_static=no
12046 esac
12047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12048 $as_echo "$enable_shared" >&6; }
12050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12051 $as_echo_n "checking whether to build static libraries... " >&6; }
12052 # Make sure either enable_shared or enable_static is yes.
12053 test "$enable_shared" = yes || enable_static=yes
12054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12055 $as_echo "$enable_static" >&6; }
12061 ac_ext=c
12062 ac_cpp='$CPP $CPPFLAGS'
12063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12067 CC="$lt_save_CC"
12070 ac_ext=cpp
12071 ac_cpp='$CXXCPP $CPPFLAGS'
12072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12076 archive_cmds_need_lc_CXX=no
12077 allow_undefined_flag_CXX=
12078 always_export_symbols_CXX=no
12079 archive_expsym_cmds_CXX=
12080 compiler_needs_object_CXX=no
12081 export_dynamic_flag_spec_CXX=
12082 hardcode_direct_CXX=no
12083 hardcode_direct_absolute_CXX=no
12084 hardcode_libdir_flag_spec_CXX=
12085 hardcode_libdir_flag_spec_ld_CXX=
12086 hardcode_libdir_separator_CXX=
12087 hardcode_minus_L_CXX=no
12088 hardcode_shlibpath_var_CXX=unsupported
12089 hardcode_automatic_CXX=no
12090 inherit_rpath_CXX=no
12091 module_cmds_CXX=
12092 module_expsym_cmds_CXX=
12093 link_all_deplibs_CXX=unknown
12094 old_archive_cmds_CXX=$old_archive_cmds
12095 no_undefined_flag_CXX=
12096 whole_archive_flag_spec_CXX=
12097 enable_shared_with_static_runtimes_CXX=no
12099 # Source file extension for C++ test sources.
12100 ac_ext=cpp
12102 # Object file extension for compiled C++ test sources.
12103 objext=o
12104 objext_CXX=$objext
12106 # No sense in running all these tests if we already determined that
12107 # the CXX compiler isn't working. Some variables (like enable_shared)
12108 # are currently assumed to apply to all compilers on this platform,
12109 # and will be corrupted by setting them based on a non-working compiler.
12110 if test "$_lt_caught_CXX_error" != yes; then
12111 # Code to be used in simple compile tests
12112 lt_simple_compile_test_code="int some_variable = 0;"
12114 # Code to be used in simple link tests
12115 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12117 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12124 # If no C compiler was specified, use CC.
12125 LTCC=${LTCC-"$CC"}
12127 # If no C compiler flags were specified, use CFLAGS.
12128 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12130 # Allow CC to be a program name with arguments.
12131 compiler=$CC
12134 # save warnings/boilerplate of simple test code
12135 ac_outfile=conftest.$ac_objext
12136 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12137 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12138 _lt_compiler_boilerplate=`cat conftest.err`
12139 $RM conftest*
12141 ac_outfile=conftest.$ac_objext
12142 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12143 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12144 _lt_linker_boilerplate=`cat conftest.err`
12145 $RM -r conftest*
12148 # Allow CC to be a program name with arguments.
12149 lt_save_CC=$CC
12150 lt_save_LD=$LD
12151 lt_save_GCC=$GCC
12152 GCC=$GXX
12153 lt_save_with_gnu_ld=$with_gnu_ld
12154 lt_save_path_LD=$lt_cv_path_LD
12155 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12156 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12157 else
12158 $as_unset lt_cv_prog_gnu_ld
12160 if test -n "${lt_cv_path_LDCXX+set}"; then
12161 lt_cv_path_LD=$lt_cv_path_LDCXX
12162 else
12163 $as_unset lt_cv_path_LD
12165 test -z "${LDCXX+set}" || LD=$LDCXX
12166 CC=${CXX-"c++"}
12167 compiler=$CC
12168 compiler_CXX=$CC
12169 for cc_temp in $compiler""; do
12170 case $cc_temp in
12171 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12172 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12173 \-*) ;;
12174 *) break;;
12175 esac
12176 done
12177 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12180 if test -n "$compiler"; then
12181 # We don't want -fno-exception when compiling C++ code, so set the
12182 # no_builtin_flag separately
12183 if test "$GXX" = yes; then
12184 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12185 else
12186 lt_prog_compiler_no_builtin_flag_CXX=
12189 if test "$GXX" = yes; then
12190 # Set up default GNU C++ configuration
12194 # Check whether --with-gnu-ld was given.
12195 if test "${with_gnu_ld+set}" = set; then :
12196 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12197 else
12198 with_gnu_ld=no
12201 ac_prog=ld
12202 if test "$GCC" = yes; then
12203 # Check if gcc -print-prog-name=ld gives a path.
12204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12205 $as_echo_n "checking for ld used by $CC... " >&6; }
12206 case $host in
12207 *-*-mingw*)
12208 # gcc leaves a trailing carriage return which upsets mingw
12209 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12211 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12212 esac
12213 case $ac_prog in
12214 # Accept absolute paths.
12215 [\\/]* | ?:[\\/]*)
12216 re_direlt='/[^/][^/]*/\.\./'
12217 # Canonicalize the pathname of ld
12218 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12219 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12220 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12221 done
12222 test -z "$LD" && LD="$ac_prog"
12225 # If it fails, then pretend we aren't using GCC.
12226 ac_prog=ld
12229 # If it is relative, then search for the first ld in PATH.
12230 with_gnu_ld=unknown
12232 esac
12233 elif test "$with_gnu_ld" = yes; then
12234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12235 $as_echo_n "checking for GNU ld... " >&6; }
12236 else
12237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12238 $as_echo_n "checking for non-GNU ld... " >&6; }
12240 if test "${lt_cv_path_LD+set}" = set; then :
12241 $as_echo_n "(cached) " >&6
12242 else
12243 if test -z "$LD"; then
12244 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12245 for ac_dir in $PATH; do
12246 IFS="$lt_save_ifs"
12247 test -z "$ac_dir" && ac_dir=.
12248 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12249 lt_cv_path_LD="$ac_dir/$ac_prog"
12250 # Check to see if the program is GNU ld. I'd rather use --version,
12251 # but apparently some variants of GNU ld only accept -v.
12252 # Break only if it was the GNU/non-GNU ld that we prefer.
12253 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12254 *GNU* | *'with BFD'*)
12255 test "$with_gnu_ld" != no && break
12258 test "$with_gnu_ld" != yes && break
12260 esac
12262 done
12263 IFS="$lt_save_ifs"
12264 else
12265 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12269 LD="$lt_cv_path_LD"
12270 if test -n "$LD"; then
12271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12272 $as_echo "$LD" >&6; }
12273 else
12274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12275 $as_echo "no" >&6; }
12277 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12279 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12280 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12281 $as_echo_n "(cached) " >&6
12282 else
12283 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12284 case `$LD -v 2>&1 </dev/null` in
12285 *GNU* | *'with BFD'*)
12286 lt_cv_prog_gnu_ld=yes
12289 lt_cv_prog_gnu_ld=no
12291 esac
12293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12294 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12295 with_gnu_ld=$lt_cv_prog_gnu_ld
12303 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12304 # archiving commands below assume that GNU ld is being used.
12305 if test "$with_gnu_ld" = yes; then
12306 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12307 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'
12309 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12310 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12312 # If archive_cmds runs LD, not CC, wlarc should be empty
12313 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12314 # investigate it a little bit more. (MM)
12315 wlarc='${wl}'
12317 # ancient GNU ld didn't support --whole-archive et. al.
12318 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12319 $GREP 'no-whole-archive' > /dev/null; then
12320 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12321 else
12322 whole_archive_flag_spec_CXX=
12324 else
12325 with_gnu_ld=no
12326 wlarc=
12328 # A generic and very simple default shared library creation
12329 # command for GNU C++ for the case where it uses the native
12330 # linker, instead of GNU ld. If possible, this setting should
12331 # overridden to take advantage of the native linker features on
12332 # the platform it is being used on.
12333 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12336 # Commands to make compiler produce verbose output that lists
12337 # what "hidden" libraries, object files and flags are used when
12338 # linking a shared library.
12339 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "^ .* -L"'
12341 else
12342 GXX=no
12343 with_gnu_ld=no
12344 wlarc=
12347 # PORTME: fill in a description of your system's C++ link characteristics
12348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12349 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12350 ld_shlibs_CXX=yes
12351 case $host_os in
12352 aix3*)
12353 # FIXME: insert proper C++ library support
12354 ld_shlibs_CXX=no
12356 aix[4-9]*)
12357 if test "$host_cpu" = ia64; then
12358 # On IA64, the linker does run time linking by default, so we don't
12359 # have to do anything special.
12360 aix_use_runtimelinking=no
12361 exp_sym_flag='-Bexport'
12362 no_entry_flag=""
12363 else
12364 aix_use_runtimelinking=no
12366 # Test if we are trying to use run time linking or normal
12367 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12368 # need to do runtime linking.
12369 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12370 for ld_flag in $LDFLAGS; do
12371 case $ld_flag in
12372 *-brtl*)
12373 aix_use_runtimelinking=yes
12374 break
12376 esac
12377 done
12379 esac
12381 exp_sym_flag='-bexport'
12382 no_entry_flag='-bnoentry'
12385 # When large executables or shared objects are built, AIX ld can
12386 # have problems creating the table of contents. If linking a library
12387 # or program results in "error TOC overflow" add -mminimal-toc to
12388 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12389 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12391 archive_cmds_CXX=''
12392 hardcode_direct_CXX=yes
12393 hardcode_direct_absolute_CXX=yes
12394 hardcode_libdir_separator_CXX=':'
12395 link_all_deplibs_CXX=yes
12396 file_list_spec_CXX='${wl}-f,'
12398 if test "$GXX" = yes; then
12399 case $host_os in aix4.[012]|aix4.[012].*)
12400 # We only want to do this on AIX 4.2 and lower, the check
12401 # below for broken collect2 doesn't work under 4.3+
12402 collect2name=`${CC} -print-prog-name=collect2`
12403 if test -f "$collect2name" &&
12404 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12405 then
12406 # We have reworked collect2
12408 else
12409 # We have old collect2
12410 hardcode_direct_CXX=unsupported
12411 # It fails to find uninstalled libraries when the uninstalled
12412 # path is not listed in the libpath. Setting hardcode_minus_L
12413 # to unsupported forces relinking
12414 hardcode_minus_L_CXX=yes
12415 hardcode_libdir_flag_spec_CXX='-L$libdir'
12416 hardcode_libdir_separator_CXX=
12418 esac
12419 shared_flag='-shared'
12420 if test "$aix_use_runtimelinking" = yes; then
12421 shared_flag="$shared_flag "'${wl}-G'
12423 else
12424 # not using gcc
12425 if test "$host_cpu" = ia64; then
12426 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12427 # chokes on -Wl,-G. The following line is correct:
12428 shared_flag='-G'
12429 else
12430 if test "$aix_use_runtimelinking" = yes; then
12431 shared_flag='${wl}-G'
12432 else
12433 shared_flag='${wl}-bM:SRE'
12438 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12439 # It seems that -bexpall does not export symbols beginning with
12440 # underscore (_), so it is better to generate a list of symbols to
12441 # export.
12442 always_export_symbols_CXX=yes
12443 if test "$aix_use_runtimelinking" = yes; then
12444 # Warning - without using the other runtime loading flags (-brtl),
12445 # -berok will link without error, but may produce a broken library.
12446 allow_undefined_flag_CXX='-berok'
12447 # Determine the default libpath from the value encoded in an empty
12448 # executable.
12449 if test x$gcc_no_link = xyes; then
12450 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12453 /* end confdefs.h. */
12456 main ()
12460 return 0;
12462 _ACEOF
12463 if ac_fn_cxx_try_link "$LINENO"; then :
12465 lt_aix_libpath_sed='
12466 /Import File Strings/,/^$/ {
12467 /^0/ {
12468 s/^0 *\(.*\)$/\1/
12472 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12473 # Check for a 64-bit object if we didn't find anything.
12474 if test -z "$aix_libpath"; then
12475 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12478 rm -f core conftest.err conftest.$ac_objext \
12479 conftest$ac_exeext conftest.$ac_ext
12480 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12482 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12484 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 $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12485 else
12486 if test "$host_cpu" = ia64; then
12487 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12488 allow_undefined_flag_CXX="-z nodefs"
12489 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"
12490 else
12491 # Determine the default libpath from the value encoded in an
12492 # empty executable.
12493 if test x$gcc_no_link = xyes; then
12494 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12497 /* end confdefs.h. */
12500 main ()
12504 return 0;
12506 _ACEOF
12507 if ac_fn_cxx_try_link "$LINENO"; then :
12509 lt_aix_libpath_sed='
12510 /Import File Strings/,/^$/ {
12511 /^0/ {
12512 s/^0 *\(.*\)$/\1/
12516 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12517 # Check for a 64-bit object if we didn't find anything.
12518 if test -z "$aix_libpath"; then
12519 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12522 rm -f core conftest.err conftest.$ac_objext \
12523 conftest$ac_exeext conftest.$ac_ext
12524 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12526 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12527 # Warning - without using the other run time loading flags,
12528 # -berok will link without error, but may produce a broken library.
12529 no_undefined_flag_CXX=' ${wl}-bernotok'
12530 allow_undefined_flag_CXX=' ${wl}-berok'
12531 # Exported symbols can be pulled into shared objects from archives
12532 whole_archive_flag_spec_CXX='$convenience'
12533 archive_cmds_need_lc_CXX=yes
12534 # This is similar to how AIX traditionally builds its shared
12535 # libraries.
12536 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'
12541 beos*)
12542 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12543 allow_undefined_flag_CXX=unsupported
12544 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12545 # support --undefined. This deserves some investigation. FIXME
12546 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12547 else
12548 ld_shlibs_CXX=no
12552 chorus*)
12553 case $cc_basename in
12555 # FIXME: insert proper C++ library support
12556 ld_shlibs_CXX=no
12558 esac
12561 cygwin* | mingw* | pw32* | cegcc*)
12562 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12563 # as there is no search path for DLLs.
12564 hardcode_libdir_flag_spec_CXX='-L$libdir'
12565 allow_undefined_flag_CXX=unsupported
12566 always_export_symbols_CXX=no
12567 enable_shared_with_static_runtimes_CXX=yes
12569 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12570 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'
12571 # If the export-symbols file already is a .def file (1st line
12572 # is EXPORTS), use it as is; otherwise, prepend...
12573 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12574 cp $export_symbols $output_objdir/$soname.def;
12575 else
12576 echo EXPORTS > $output_objdir/$soname.def;
12577 cat $export_symbols >> $output_objdir/$soname.def;
12579 $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'
12580 else
12581 ld_shlibs_CXX=no
12584 darwin* | rhapsody*)
12587 archive_cmds_need_lc_CXX=no
12588 hardcode_direct_CXX=no
12589 hardcode_automatic_CXX=yes
12590 hardcode_shlibpath_var_CXX=unsupported
12591 whole_archive_flag_spec_CXX=''
12592 link_all_deplibs_CXX=yes
12593 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12594 case $cc_basename in
12595 ifort*) _lt_dar_can_shared=yes ;;
12596 *) _lt_dar_can_shared=$GCC ;;
12597 esac
12598 if test "$_lt_dar_can_shared" = "yes"; then
12599 output_verbose_link_cmd=echo
12600 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}"
12601 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12602 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}"
12603 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}"
12604 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12605 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}"
12606 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}"
12609 else
12610 ld_shlibs_CXX=no
12615 dgux*)
12616 case $cc_basename in
12617 ec++*)
12618 # FIXME: insert proper C++ library support
12619 ld_shlibs_CXX=no
12621 ghcx*)
12622 # Green Hills C++ Compiler
12623 # FIXME: insert proper C++ library support
12624 ld_shlibs_CXX=no
12627 # FIXME: insert proper C++ library support
12628 ld_shlibs_CXX=no
12630 esac
12633 freebsd[12]*)
12634 # C++ shared libraries reported to be fairly broken before
12635 # switch to ELF
12636 ld_shlibs_CXX=no
12639 freebsd-elf*)
12640 archive_cmds_need_lc_CXX=no
12643 freebsd* | dragonfly*)
12644 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12645 # conventions
12646 ld_shlibs_CXX=yes
12649 gnu*)
12652 hpux9*)
12653 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12654 hardcode_libdir_separator_CXX=:
12655 export_dynamic_flag_spec_CXX='${wl}-E'
12656 hardcode_direct_CXX=yes
12657 hardcode_minus_L_CXX=yes # Not in the search PATH,
12658 # but as the default
12659 # location of the library.
12661 case $cc_basename in
12662 CC*)
12663 # FIXME: insert proper C++ library support
12664 ld_shlibs_CXX=no
12666 aCC*)
12667 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'
12668 # Commands to make compiler produce verbose output that lists
12669 # what "hidden" libraries, object files and flags are used when
12670 # linking a shared library.
12672 # There doesn't appear to be a way to prevent this compiler from
12673 # explicitly linking system object files so we need to strip them
12674 # from the output so that they don't get included in the library
12675 # dependencies.
12676 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; $ECHO "X$list" | $Xsed'
12679 if test "$GXX" = yes; then
12680 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'
12681 else
12682 # FIXME: insert proper C++ library support
12683 ld_shlibs_CXX=no
12686 esac
12689 hpux10*|hpux11*)
12690 if test $with_gnu_ld = no; then
12691 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12692 hardcode_libdir_separator_CXX=:
12694 case $host_cpu in
12695 hppa*64*|ia64*)
12698 export_dynamic_flag_spec_CXX='${wl}-E'
12700 esac
12702 case $host_cpu in
12703 hppa*64*|ia64*)
12704 hardcode_direct_CXX=no
12705 hardcode_shlibpath_var_CXX=no
12708 hardcode_direct_CXX=yes
12709 hardcode_direct_absolute_CXX=yes
12710 hardcode_minus_L_CXX=yes # Not in the search PATH,
12711 # but as the default
12712 # location of the library.
12714 esac
12716 case $cc_basename in
12717 CC*)
12718 # FIXME: insert proper C++ library support
12719 ld_shlibs_CXX=no
12721 aCC*)
12722 case $host_cpu in
12723 hppa*64*)
12724 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12726 ia64*)
12727 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12730 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12732 esac
12733 # Commands to make compiler produce verbose output that lists
12734 # what "hidden" libraries, object files and flags are used when
12735 # linking a shared library.
12737 # There doesn't appear to be a way to prevent this compiler from
12738 # explicitly linking system object files so we need to strip them
12739 # from the output so that they don't get included in the library
12740 # dependencies.
12741 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; $ECHO "X$list" | $Xsed'
12744 if test "$GXX" = yes; then
12745 if test $with_gnu_ld = no; then
12746 case $host_cpu in
12747 hppa*64*)
12748 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12750 ia64*)
12751 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12754 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'
12756 esac
12758 else
12759 # FIXME: insert proper C++ library support
12760 ld_shlibs_CXX=no
12763 esac
12766 interix[3-9]*)
12767 hardcode_direct_CXX=no
12768 hardcode_shlibpath_var_CXX=no
12769 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12770 export_dynamic_flag_spec_CXX='${wl}-E'
12771 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12772 # Instead, shared libraries are loaded at an image base (0x10000000 by
12773 # default) and relocated if they conflict, which is a slow very memory
12774 # consuming and fragmenting process. To avoid this, we pick a random,
12775 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12776 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12777 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'
12778 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'
12780 irix5* | irix6*)
12781 case $cc_basename in
12782 CC*)
12783 # SGI C++
12784 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
12786 # Archives containing C++ object files must be created using
12787 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12788 # necessary to make sure instantiated templates are included
12789 # in the archive.
12790 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12793 if test "$GXX" = yes; then
12794 if test "$with_gnu_ld" = no; then
12795 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12796 else
12797 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
12800 link_all_deplibs_CXX=yes
12802 esac
12803 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12804 hardcode_libdir_separator_CXX=:
12805 inherit_rpath_CXX=yes
12808 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12809 case $cc_basename in
12810 KCC*)
12811 # Kuck and Associates, Inc. (KAI) C++ Compiler
12813 # KCC will only create a shared library if the output file
12814 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12815 # to its proper name (with version) after linking.
12816 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'
12817 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'
12818 # Commands to make compiler produce verbose output that lists
12819 # what "hidden" libraries, object files and flags are used when
12820 # linking a shared library.
12822 # There doesn't appear to be a way to prevent this compiler from
12823 # explicitly linking system object files so we need to strip them
12824 # from the output so that they don't get included in the library
12825 # dependencies.
12826 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; $ECHO "X$list" | $Xsed'
12828 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12829 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12831 # Archives containing C++ object files must be created using
12832 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12833 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12835 icpc* | ecpc* )
12836 # Intel C++
12837 with_gnu_ld=yes
12838 # version 8.0 and above of icpc choke on multiply defined symbols
12839 # if we add $predep_objects and $postdep_objects, however 7.1 and
12840 # earlier do not add the objects themselves.
12841 case `$CC -V 2>&1` in
12842 *"Version 7."*)
12843 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12844 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'
12846 *) # Version 8.0 or newer
12847 tmp_idyn=
12848 case $host_cpu in
12849 ia64*) tmp_idyn=' -i_dynamic';;
12850 esac
12851 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12852 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'
12854 esac
12855 archive_cmds_need_lc_CXX=no
12856 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12857 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12858 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12860 pgCC* | pgcpp*)
12861 # Portland Group C++ compiler
12862 case `$CC -V` in
12863 *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
12864 prelink_cmds_CXX='tpldir=Template.dir~
12865 rm -rf $tpldir~
12866 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12867 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12868 old_archive_cmds_CXX='tpldir=Template.dir~
12869 rm -rf $tpldir~
12870 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12871 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12872 $RANLIB $oldlib'
12873 archive_cmds_CXX='tpldir=Template.dir~
12874 rm -rf $tpldir~
12875 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12876 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12877 archive_expsym_cmds_CXX='tpldir=Template.dir~
12878 rm -rf $tpldir~
12879 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12880 $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'
12882 *) # Version 6 will use weak symbols
12883 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12884 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'
12886 esac
12888 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12889 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12890 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
12892 cxx*)
12893 # Compaq C++
12894 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12895 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'
12897 runpath_var=LD_RUN_PATH
12898 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12899 hardcode_libdir_separator_CXX=:
12901 # Commands to make compiler produce verbose output that lists
12902 # what "hidden" libraries, object files and flags are used when
12903 # linking a shared library.
12905 # There doesn't appear to be a way to prevent this compiler from
12906 # explicitly linking system object files so we need to strip them
12907 # from the output so that they don't get included in the library
12908 # dependencies.
12909 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
12911 xl*)
12912 # IBM XL 8.0 on PPC, with GNU ld
12913 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12914 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12915 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12916 if test "x$supports_anon_versioning" = xyes; then
12917 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12918 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12919 echo "local: *; };" >> $output_objdir/$libname.ver~
12920 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12924 case `$CC -V 2>&1 | sed 5q` in
12925 *Sun\ C*)
12926 # Sun C++ 5.9
12927 no_undefined_flag_CXX=' -zdefs'
12928 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12929 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'
12930 hardcode_libdir_flag_spec_CXX='-R$libdir'
12931 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
12932 compiler_needs_object_CXX=yes
12934 # Not sure whether something based on
12935 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12936 # would be better.
12937 output_verbose_link_cmd='echo'
12939 # Archives containing C++ object files must be created using
12940 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12941 # necessary to make sure instantiated templates are included
12942 # in the archive.
12943 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12945 esac
12947 esac
12950 lynxos*)
12951 # FIXME: insert proper C++ library support
12952 ld_shlibs_CXX=no
12955 m88k*)
12956 # FIXME: insert proper C++ library support
12957 ld_shlibs_CXX=no
12960 mvs*)
12961 case $cc_basename in
12962 cxx*)
12963 # FIXME: insert proper C++ library support
12964 ld_shlibs_CXX=no
12967 # FIXME: insert proper C++ library support
12968 ld_shlibs_CXX=no
12970 esac
12973 netbsd*)
12974 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12975 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12976 wlarc=
12977 hardcode_libdir_flag_spec_CXX='-R$libdir'
12978 hardcode_direct_CXX=yes
12979 hardcode_shlibpath_var_CXX=no
12981 # Workaround some broken pre-1.5 toolchains
12982 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12985 *nto* | *qnx*)
12986 ld_shlibs_CXX=yes
12989 openbsd2*)
12990 # C++ shared libraries are fairly broken
12991 ld_shlibs_CXX=no
12994 openbsd*)
12995 if test -f /usr/libexec/ld.so; then
12996 hardcode_direct_CXX=yes
12997 hardcode_shlibpath_var_CXX=no
12998 hardcode_direct_absolute_CXX=yes
12999 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13000 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13001 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13002 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13003 export_dynamic_flag_spec_CXX='${wl}-E'
13004 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13006 output_verbose_link_cmd=echo
13007 else
13008 ld_shlibs_CXX=no
13012 osf3* | osf4* | osf5*)
13013 case $cc_basename in
13014 KCC*)
13015 # Kuck and Associates, Inc. (KAI) C++ Compiler
13017 # KCC will only create a shared library if the output file
13018 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13019 # to its proper name (with version) after linking.
13020 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'
13022 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13023 hardcode_libdir_separator_CXX=:
13025 # Archives containing C++ object files must be created using
13026 # the KAI C++ compiler.
13027 case $host in
13028 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13029 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13030 esac
13032 RCC*)
13033 # Rational C++ 2.4.1
13034 # FIXME: insert proper C++ library support
13035 ld_shlibs_CXX=no
13037 cxx*)
13038 case $host in
13039 osf3*)
13040 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13041 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
13042 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13045 allow_undefined_flag_CXX=' -expect_unresolved \*'
13046 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
13047 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13048 echo "-hidden">> $lib.exp~
13049 $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 "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
13050 $RM $lib.exp'
13051 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13053 esac
13055 hardcode_libdir_separator_CXX=:
13057 # Commands to make compiler produce verbose output that lists
13058 # what "hidden" libraries, object files and flags are used when
13059 # linking a shared library.
13061 # There doesn't appear to be a way to prevent this compiler from
13062 # explicitly linking system object files so we need to strip them
13063 # from the output so that they don't get included in the library
13064 # dependencies.
13065 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
13068 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13069 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13070 case $host in
13071 osf3*)
13072 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13075 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" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13077 esac
13079 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13080 hardcode_libdir_separator_CXX=:
13082 # Commands to make compiler produce verbose output that lists
13083 # what "hidden" libraries, object files and flags are used when
13084 # linking a shared library.
13085 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "^ .* -L"'
13087 else
13088 # FIXME: insert proper C++ library support
13089 ld_shlibs_CXX=no
13092 esac
13095 psos*)
13096 # FIXME: insert proper C++ library support
13097 ld_shlibs_CXX=no
13100 sunos4*)
13101 case $cc_basename in
13102 CC*)
13103 # Sun C++ 4.x
13104 # FIXME: insert proper C++ library support
13105 ld_shlibs_CXX=no
13107 lcc*)
13108 # Lucid
13109 # FIXME: insert proper C++ library support
13110 ld_shlibs_CXX=no
13113 # FIXME: insert proper C++ library support
13114 ld_shlibs_CXX=no
13116 esac
13119 solaris*)
13120 case $cc_basename in
13121 CC*)
13122 # Sun C++ 4.2, 5.x and Centerline C++
13123 archive_cmds_need_lc_CXX=yes
13124 no_undefined_flag_CXX=' -zdefs'
13125 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13126 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13127 $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'
13129 hardcode_libdir_flag_spec_CXX='-R$libdir'
13130 hardcode_shlibpath_var_CXX=no
13131 case $host_os in
13132 solaris2.[0-5] | solaris2.[0-5].*) ;;
13134 # The compiler driver will combine and reorder linker options,
13135 # but understands `-z linker_flag'.
13136 # Supported since Solaris 2.6 (maybe 2.5.1?)
13137 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13139 esac
13140 link_all_deplibs_CXX=yes
13142 output_verbose_link_cmd='echo'
13144 # Archives containing C++ object files must be created using
13145 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13146 # necessary to make sure instantiated templates are included
13147 # in the archive.
13148 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13150 gcx*)
13151 # Green Hills C++ Compiler
13152 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13154 # The C++ compiler must be used to create the archive.
13155 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13158 # GNU C++ compiler with Solaris linker
13159 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13160 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13161 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13162 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13163 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13164 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13166 # Commands to make compiler produce verbose output that lists
13167 # what "hidden" libraries, object files and flags are used when
13168 # linking a shared library.
13169 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "^ .* -L"'
13170 else
13171 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13172 # platform.
13173 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13174 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13175 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13177 # Commands to make compiler produce verbose output that lists
13178 # what "hidden" libraries, object files and flags are used when
13179 # linking a shared library.
13180 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "^ .* -L"'
13183 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13184 case $host_os in
13185 solaris2.[0-5] | solaris2.[0-5].*) ;;
13187 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13189 esac
13192 esac
13195 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13196 no_undefined_flag_CXX='${wl}-z,text'
13197 archive_cmds_need_lc_CXX=no
13198 hardcode_shlibpath_var_CXX=no
13199 runpath_var='LD_RUN_PATH'
13201 case $cc_basename in
13202 CC*)
13203 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13204 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13207 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13208 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13210 esac
13213 sysv5* | sco3.2v5* | sco5v6*)
13214 # Note: We can NOT use -z defs as we might desire, because we do not
13215 # link with -lc, and that would cause any symbols used from libc to
13216 # always be unresolved, which means just about no library would
13217 # ever link correctly. If we're not using GNU ld we use -z text
13218 # though, which does catch some bad symbols but isn't as heavy-handed
13219 # as -z defs.
13220 no_undefined_flag_CXX='${wl}-z,text'
13221 allow_undefined_flag_CXX='${wl}-z,nodefs'
13222 archive_cmds_need_lc_CXX=no
13223 hardcode_shlibpath_var_CXX=no
13224 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13225 hardcode_libdir_separator_CXX=':'
13226 link_all_deplibs_CXX=yes
13227 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13228 runpath_var='LD_RUN_PATH'
13230 case $cc_basename in
13231 CC*)
13232 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13233 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13236 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13237 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13239 esac
13242 tandem*)
13243 case $cc_basename in
13244 NCC*)
13245 # NonStop-UX NCC 3.20
13246 # FIXME: insert proper C++ library support
13247 ld_shlibs_CXX=no
13250 # FIXME: insert proper C++ library support
13251 ld_shlibs_CXX=no
13253 esac
13256 vxworks*)
13257 # FIXME: insert proper C++ library support
13258 ld_shlibs_CXX=no
13262 # FIXME: insert proper C++ library support
13263 ld_shlibs_CXX=no
13265 esac
13267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13268 $as_echo "$ld_shlibs_CXX" >&6; }
13269 test "$ld_shlibs_CXX" = no && can_build_shared=no
13271 GCC_CXX="$GXX"
13272 LD_CXX="$LD"
13274 ## CAVEAT EMPTOR:
13275 ## There is no encapsulation within the following macros, do not change
13276 ## the running order or otherwise move them around unless you know exactly
13277 ## what you are doing...
13278 # Dependencies to place before and after the object being linked:
13279 predep_objects_CXX=
13280 postdep_objects_CXX=
13281 predeps_CXX=
13282 postdeps_CXX=
13283 compiler_lib_search_path_CXX=
13285 cat > conftest.$ac_ext <<_LT_EOF
13286 class Foo
13288 public:
13289 Foo (void) { a = 0; }
13290 private:
13291 int a;
13293 _LT_EOF
13295 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13296 (eval $ac_compile) 2>&5
13297 ac_status=$?
13298 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13299 test $ac_status = 0; }; then
13300 # Parse the compiler output and extract the necessary
13301 # objects, libraries and library flags.
13303 # Sentinel used to keep track of whether or not we are before
13304 # the conftest object file.
13305 pre_test_object_deps_done=no
13307 for p in `eval "$output_verbose_link_cmd"`; do
13308 case $p in
13310 -L* | -R* | -l*)
13311 # Some compilers place space between "-{L,R}" and the path.
13312 # Remove the space.
13313 if test $p = "-L" ||
13314 test $p = "-R"; then
13315 prev=$p
13316 continue
13317 else
13318 prev=
13321 if test "$pre_test_object_deps_done" = no; then
13322 case $p in
13323 -L* | -R*)
13324 # Internal compiler library paths should come after those
13325 # provided the user. The postdeps already come after the
13326 # user supplied libs so there is no need to process them.
13327 if test -z "$compiler_lib_search_path_CXX"; then
13328 compiler_lib_search_path_CXX="${prev}${p}"
13329 else
13330 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13333 # The "-l" case would never come before the object being
13334 # linked, so don't bother handling this case.
13335 esac
13336 else
13337 if test -z "$postdeps_CXX"; then
13338 postdeps_CXX="${prev}${p}"
13339 else
13340 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13345 *.$objext)
13346 # This assumes that the test object file only shows up
13347 # once in the compiler output.
13348 if test "$p" = "conftest.$objext"; then
13349 pre_test_object_deps_done=yes
13350 continue
13353 if test "$pre_test_object_deps_done" = no; then
13354 if test -z "$predep_objects_CXX"; then
13355 predep_objects_CXX="$p"
13356 else
13357 predep_objects_CXX="$predep_objects_CXX $p"
13359 else
13360 if test -z "$postdep_objects_CXX"; then
13361 postdep_objects_CXX="$p"
13362 else
13363 postdep_objects_CXX="$postdep_objects_CXX $p"
13368 *) ;; # Ignore the rest.
13370 esac
13371 done
13373 # Clean up.
13374 rm -f a.out a.exe
13375 else
13376 echo "libtool.m4: error: problem compiling CXX test program"
13379 $RM -f confest.$objext
13381 # PORTME: override above test on systems where it is broken
13382 case $host_os in
13383 interix[3-9]*)
13384 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13385 # hack all around it, let's just trust "g++" to DTRT.
13386 predep_objects_CXX=
13387 postdep_objects_CXX=
13388 postdeps_CXX=
13391 linux*)
13392 case `$CC -V 2>&1 | sed 5q` in
13393 *Sun\ C*)
13394 # Sun C++ 5.9
13396 # The more standards-conforming stlport4 library is
13397 # incompatible with the Cstd library. Avoid specifying
13398 # it if it's in CXXFLAGS. Ignore libCrun as
13399 # -library=stlport4 depends on it.
13400 case " $CXX $CXXFLAGS " in
13401 *" -library=stlport4 "*)
13402 solaris_use_stlport4=yes
13404 esac
13406 if test "$solaris_use_stlport4" != yes; then
13407 postdeps_CXX='-library=Cstd -library=Crun'
13410 esac
13413 solaris*)
13414 case $cc_basename in
13415 CC*)
13416 # The more standards-conforming stlport4 library is
13417 # incompatible with the Cstd library. Avoid specifying
13418 # it if it's in CXXFLAGS. Ignore libCrun as
13419 # -library=stlport4 depends on it.
13420 case " $CXX $CXXFLAGS " in
13421 *" -library=stlport4 "*)
13422 solaris_use_stlport4=yes
13424 esac
13426 # Adding this requires a known-good setup of shared libraries for
13427 # Sun compiler versions before 5.6, else PIC objects from an old
13428 # archive will be linked into the output, leading to subtle bugs.
13429 if test "$solaris_use_stlport4" != yes; then
13430 postdeps_CXX='-library=Cstd -library=Crun'
13433 esac
13435 esac
13438 case " $postdeps_CXX " in
13439 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13440 esac
13441 compiler_lib_search_dirs_CXX=
13442 if test -n "${compiler_lib_search_path_CXX}"; then
13443 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13476 lt_prog_compiler_wl_CXX=
13477 lt_prog_compiler_pic_CXX=
13478 lt_prog_compiler_static_CXX=
13480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13481 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13483 # C++ specific cases for pic, static, wl, etc.
13484 if test "$GXX" = yes; then
13485 lt_prog_compiler_wl_CXX='-Wl,'
13486 lt_prog_compiler_static_CXX='-static'
13488 case $host_os in
13489 aix*)
13490 # All AIX code is PIC.
13491 if test "$host_cpu" = ia64; then
13492 # AIX 5 now supports IA64 processor
13493 lt_prog_compiler_static_CXX='-Bstatic'
13497 amigaos*)
13498 case $host_cpu in
13499 powerpc)
13500 # see comment about AmigaOS4 .so support
13501 lt_prog_compiler_pic_CXX='-fPIC'
13503 m68k)
13504 # FIXME: we need at least 68020 code to build shared libraries, but
13505 # adding the `-m68020' flag to GCC prevents building anything better,
13506 # like `-m68040'.
13507 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13509 esac
13512 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13513 # PIC is the default for these OSes.
13515 mingw* | cygwin* | os2* | pw32* | cegcc*)
13516 # This hack is so that the source file can tell whether it is being
13517 # built for inclusion in a dll (and should export symbols for example).
13518 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13519 # (--disable-auto-import) libraries
13520 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13522 darwin* | rhapsody*)
13523 # PIC is the default on this platform
13524 # Common symbols not allowed in MH_DYLIB files
13525 lt_prog_compiler_pic_CXX='-fno-common'
13527 *djgpp*)
13528 # DJGPP does not support shared libraries at all
13529 lt_prog_compiler_pic_CXX=
13531 interix[3-9]*)
13532 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13533 # Instead, we relocate shared libraries at runtime.
13535 sysv4*MP*)
13536 if test -d /usr/nec; then
13537 lt_prog_compiler_pic_CXX=-Kconform_pic
13540 hpux*)
13541 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13542 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13543 # sets the default TLS model and affects inlining.
13544 case $host_cpu in
13545 hppa*64*)
13548 lt_prog_compiler_pic_CXX='-fPIC'
13550 esac
13552 *qnx* | *nto*)
13553 # QNX uses GNU C++, but need to define -shared option too, otherwise
13554 # it will coredump.
13555 lt_prog_compiler_pic_CXX='-fPIC -shared'
13558 lt_prog_compiler_pic_CXX='-fPIC'
13560 esac
13561 else
13562 case $host_os in
13563 aix[4-9]*)
13564 # All AIX code is PIC.
13565 if test "$host_cpu" = ia64; then
13566 # AIX 5 now supports IA64 processor
13567 lt_prog_compiler_static_CXX='-Bstatic'
13568 else
13569 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13572 chorus*)
13573 case $cc_basename in
13574 cxch68*)
13575 # Green Hills C++ Compiler
13576 # _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"
13578 esac
13580 dgux*)
13581 case $cc_basename in
13582 ec++*)
13583 lt_prog_compiler_pic_CXX='-KPIC'
13585 ghcx*)
13586 # Green Hills C++ Compiler
13587 lt_prog_compiler_pic_CXX='-pic'
13591 esac
13593 freebsd* | dragonfly*)
13594 # FreeBSD uses GNU C++
13596 hpux9* | hpux10* | hpux11*)
13597 case $cc_basename in
13598 CC*)
13599 lt_prog_compiler_wl_CXX='-Wl,'
13600 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13601 if test "$host_cpu" != ia64; then
13602 lt_prog_compiler_pic_CXX='+Z'
13605 aCC*)
13606 lt_prog_compiler_wl_CXX='-Wl,'
13607 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13608 case $host_cpu in
13609 hppa*64*|ia64*)
13610 # +Z the default
13613 lt_prog_compiler_pic_CXX='+Z'
13615 esac
13619 esac
13621 interix*)
13622 # This is c89, which is MS Visual C++ (no shared libs)
13623 # Anyone wants to do a port?
13625 irix5* | irix6* | nonstopux*)
13626 case $cc_basename in
13627 CC*)
13628 lt_prog_compiler_wl_CXX='-Wl,'
13629 lt_prog_compiler_static_CXX='-non_shared'
13630 # CC pic flag -KPIC is the default.
13634 esac
13636 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13637 case $cc_basename in
13638 KCC*)
13639 # KAI C++ Compiler
13640 lt_prog_compiler_wl_CXX='--backend -Wl,'
13641 lt_prog_compiler_pic_CXX='-fPIC'
13643 ecpc* )
13644 # old Intel C++ for x86_64 which still supported -KPIC.
13645 lt_prog_compiler_wl_CXX='-Wl,'
13646 lt_prog_compiler_pic_CXX='-KPIC'
13647 lt_prog_compiler_static_CXX='-static'
13649 icpc* )
13650 # Intel C++, used to be incompatible with GCC.
13651 # ICC 10 doesn't accept -KPIC any more.
13652 lt_prog_compiler_wl_CXX='-Wl,'
13653 lt_prog_compiler_pic_CXX='-fPIC'
13654 lt_prog_compiler_static_CXX='-static'
13656 pgCC* | pgcpp*)
13657 # Portland Group C++ compiler
13658 lt_prog_compiler_wl_CXX='-Wl,'
13659 lt_prog_compiler_pic_CXX='-fpic'
13660 lt_prog_compiler_static_CXX='-Bstatic'
13662 cxx*)
13663 # Compaq C++
13664 # Make sure the PIC flag is empty. It appears that all Alpha
13665 # Linux and Compaq Tru64 Unix objects are PIC.
13666 lt_prog_compiler_pic_CXX=
13667 lt_prog_compiler_static_CXX='-non_shared'
13669 xlc* | xlC*)
13670 # IBM XL 8.0 on PPC
13671 lt_prog_compiler_wl_CXX='-Wl,'
13672 lt_prog_compiler_pic_CXX='-qpic'
13673 lt_prog_compiler_static_CXX='-qstaticlink'
13676 case `$CC -V 2>&1 | sed 5q` in
13677 *Sun\ C*)
13678 # Sun C++ 5.9
13679 lt_prog_compiler_pic_CXX='-KPIC'
13680 lt_prog_compiler_static_CXX='-Bstatic'
13681 lt_prog_compiler_wl_CXX='-Qoption ld '
13683 esac
13685 esac
13687 lynxos*)
13689 m88k*)
13691 mvs*)
13692 case $cc_basename in
13693 cxx*)
13694 lt_prog_compiler_pic_CXX='-W c,exportall'
13698 esac
13700 netbsd*)
13702 *qnx* | *nto*)
13703 # QNX uses GNU C++, but need to define -shared option too, otherwise
13704 # it will coredump.
13705 lt_prog_compiler_pic_CXX='-fPIC -shared'
13707 osf3* | osf4* | osf5*)
13708 case $cc_basename in
13709 KCC*)
13710 lt_prog_compiler_wl_CXX='--backend -Wl,'
13712 RCC*)
13713 # Rational C++ 2.4.1
13714 lt_prog_compiler_pic_CXX='-pic'
13716 cxx*)
13717 # Digital/Compaq C++
13718 lt_prog_compiler_wl_CXX='-Wl,'
13719 # Make sure the PIC flag is empty. It appears that all Alpha
13720 # Linux and Compaq Tru64 Unix objects are PIC.
13721 lt_prog_compiler_pic_CXX=
13722 lt_prog_compiler_static_CXX='-non_shared'
13726 esac
13728 psos*)
13730 solaris*)
13731 case $cc_basename in
13732 CC*)
13733 # Sun C++ 4.2, 5.x and Centerline C++
13734 lt_prog_compiler_pic_CXX='-KPIC'
13735 lt_prog_compiler_static_CXX='-Bstatic'
13736 lt_prog_compiler_wl_CXX='-Qoption ld '
13738 gcx*)
13739 # Green Hills C++ Compiler
13740 lt_prog_compiler_pic_CXX='-PIC'
13744 esac
13746 sunos4*)
13747 case $cc_basename in
13748 CC*)
13749 # Sun C++ 4.x
13750 lt_prog_compiler_pic_CXX='-pic'
13751 lt_prog_compiler_static_CXX='-Bstatic'
13753 lcc*)
13754 # Lucid
13755 lt_prog_compiler_pic_CXX='-pic'
13759 esac
13761 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13762 case $cc_basename in
13763 CC*)
13764 lt_prog_compiler_wl_CXX='-Wl,'
13765 lt_prog_compiler_pic_CXX='-KPIC'
13766 lt_prog_compiler_static_CXX='-Bstatic'
13768 esac
13770 tandem*)
13771 case $cc_basename in
13772 NCC*)
13773 # NonStop-UX NCC 3.20
13774 lt_prog_compiler_pic_CXX='-KPIC'
13778 esac
13780 vxworks*)
13783 lt_prog_compiler_can_build_shared_CXX=no
13785 esac
13788 case $host_os in
13789 # For platforms which do not support PIC, -DPIC is meaningless:
13790 *djgpp*)
13791 lt_prog_compiler_pic_CXX=
13794 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13796 esac
13797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13798 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13803 # Check to make sure the PIC flag actually works.
13805 if test -n "$lt_prog_compiler_pic_CXX"; then
13806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13807 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13808 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13809 $as_echo_n "(cached) " >&6
13810 else
13811 lt_cv_prog_compiler_pic_works_CXX=no
13812 ac_outfile=conftest.$ac_objext
13813 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13814 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13815 # Insert the option either (1) after the last *FLAGS variable, or
13816 # (2) before a word containing "conftest.", or (3) at the end.
13817 # Note that $ac_compile itself does not contain backslashes and begins
13818 # with a dollar sign (not a hyphen), so the echo should work correctly.
13819 # The option is referenced via a variable to avoid confusing sed.
13820 lt_compile=`echo "$ac_compile" | $SED \
13821 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13822 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13823 -e 's:$: $lt_compiler_flag:'`
13824 (eval echo "\"\$as_me:13824: $lt_compile\"" >&5)
13825 (eval "$lt_compile" 2>conftest.err)
13826 ac_status=$?
13827 cat conftest.err >&5
13828 echo "$as_me:13828: \$? = $ac_status" >&5
13829 if (exit $ac_status) && test -s "$ac_outfile"; then
13830 # The compiler can only warn and ignore the option if not recognized
13831 # So say no if there are warnings other than the usual output.
13832 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13833 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13834 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13835 lt_cv_prog_compiler_pic_works_CXX=yes
13838 $RM conftest*
13841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13842 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13844 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13845 case $lt_prog_compiler_pic_CXX in
13846 "" | " "*) ;;
13847 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13848 esac
13849 else
13850 lt_prog_compiler_pic_CXX=
13851 lt_prog_compiler_can_build_shared_CXX=no
13859 # Check to make sure the static flag actually works.
13861 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13863 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13864 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13865 $as_echo_n "(cached) " >&6
13866 else
13867 lt_cv_prog_compiler_static_works_CXX=no
13868 save_LDFLAGS="$LDFLAGS"
13869 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13870 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13871 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13872 # The linker can only warn and ignore the option if not recognized
13873 # So say no if there are warnings
13874 if test -s conftest.err; then
13875 # Append any errors to the config.log.
13876 cat conftest.err 1>&5
13877 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13878 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13879 if diff conftest.exp conftest.er2 >/dev/null; then
13880 lt_cv_prog_compiler_static_works_CXX=yes
13882 else
13883 lt_cv_prog_compiler_static_works_CXX=yes
13886 $RM -r conftest*
13887 LDFLAGS="$save_LDFLAGS"
13890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13891 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13893 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13895 else
13896 lt_prog_compiler_static_CXX=
13902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13903 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13904 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13905 $as_echo_n "(cached) " >&6
13906 else
13907 lt_cv_prog_compiler_c_o_CXX=no
13908 $RM -r conftest 2>/dev/null
13909 mkdir conftest
13910 cd conftest
13911 mkdir out
13912 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13914 lt_compiler_flag="-o out/conftest2.$ac_objext"
13915 # Insert the option either (1) after the last *FLAGS variable, or
13916 # (2) before a word containing "conftest.", or (3) at the end.
13917 # Note that $ac_compile itself does not contain backslashes and begins
13918 # with a dollar sign (not a hyphen), so the echo should work correctly.
13919 lt_compile=`echo "$ac_compile" | $SED \
13920 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13921 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13922 -e 's:$: $lt_compiler_flag:'`
13923 (eval echo "\"\$as_me:13923: $lt_compile\"" >&5)
13924 (eval "$lt_compile" 2>out/conftest.err)
13925 ac_status=$?
13926 cat out/conftest.err >&5
13927 echo "$as_me:13927: \$? = $ac_status" >&5
13928 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13929 then
13930 # The compiler can only warn and ignore the option if not recognized
13931 # So say no if there are warnings
13932 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13933 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13934 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13935 lt_cv_prog_compiler_c_o_CXX=yes
13938 chmod u+w . 2>&5
13939 $RM conftest*
13940 # SGI C++ compiler will create directory out/ii_files/ for
13941 # template instantiation
13942 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13943 $RM out/* && rmdir out
13944 cd ..
13945 $RM -r conftest
13946 $RM conftest*
13949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13950 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13955 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13956 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13957 $as_echo_n "(cached) " >&6
13958 else
13959 lt_cv_prog_compiler_c_o_CXX=no
13960 $RM -r conftest 2>/dev/null
13961 mkdir conftest
13962 cd conftest
13963 mkdir out
13964 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13966 lt_compiler_flag="-o out/conftest2.$ac_objext"
13967 # Insert the option either (1) after the last *FLAGS variable, or
13968 # (2) before a word containing "conftest.", or (3) at the end.
13969 # Note that $ac_compile itself does not contain backslashes and begins
13970 # with a dollar sign (not a hyphen), so the echo should work correctly.
13971 lt_compile=`echo "$ac_compile" | $SED \
13972 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13973 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13974 -e 's:$: $lt_compiler_flag:'`
13975 (eval echo "\"\$as_me:13975: $lt_compile\"" >&5)
13976 (eval "$lt_compile" 2>out/conftest.err)
13977 ac_status=$?
13978 cat out/conftest.err >&5
13979 echo "$as_me:13979: \$? = $ac_status" >&5
13980 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13981 then
13982 # The compiler can only warn and ignore the option if not recognized
13983 # So say no if there are warnings
13984 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13985 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13986 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13987 lt_cv_prog_compiler_c_o_CXX=yes
13990 chmod u+w . 2>&5
13991 $RM conftest*
13992 # SGI C++ compiler will create directory out/ii_files/ for
13993 # template instantiation
13994 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13995 $RM out/* && rmdir out
13996 cd ..
13997 $RM -r conftest
13998 $RM conftest*
14001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14002 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14007 hard_links="nottested"
14008 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14009 # do not overwrite the value of need_locks provided by the user
14010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14011 $as_echo_n "checking if we can lock with hard links... " >&6; }
14012 hard_links=yes
14013 $RM conftest*
14014 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14015 touch conftest.a
14016 ln conftest.a conftest.b 2>&5 || hard_links=no
14017 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14019 $as_echo "$hard_links" >&6; }
14020 if test "$hard_links" = no; then
14021 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14022 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14023 need_locks=warn
14025 else
14026 need_locks=no
14031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14032 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14034 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14035 case $host_os in
14036 aix[4-9]*)
14037 # If we're using GNU nm, then we don't want the "-C" option.
14038 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14039 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14040 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14041 else
14042 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'
14045 pw32*)
14046 export_symbols_cmds_CXX="$ltdll_cmds"
14048 cygwin* | mingw* | cegcc*)
14049 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'
14052 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14054 esac
14055 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14058 $as_echo "$ld_shlibs_CXX" >&6; }
14059 test "$ld_shlibs_CXX" = no && can_build_shared=no
14061 with_gnu_ld_CXX=$with_gnu_ld
14069 # Do we need to explicitly link libc?
14071 case "x$archive_cmds_need_lc_CXX" in
14072 x|xyes)
14073 # Assume -lc should be added
14074 archive_cmds_need_lc_CXX=yes
14076 if test "$enable_shared" = yes && test "$GCC" = yes; then
14077 case $archive_cmds_CXX in
14078 *'~'*)
14079 # FIXME: we may have to deal with multi-command sequences.
14081 '$CC '*)
14082 # Test whether the compiler implicitly links with -lc since on some
14083 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14084 # to ld, don't add -lc before -lgcc.
14085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14086 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14087 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14088 $as_echo_n "(cached) " >&6
14089 else
14090 $RM conftest*
14091 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14093 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14094 (eval $ac_compile) 2>&5
14095 ac_status=$?
14096 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14097 test $ac_status = 0; } 2>conftest.err; then
14098 soname=conftest
14099 lib=conftest
14100 libobjs=conftest.$ac_objext
14101 deplibs=
14102 wl=$lt_prog_compiler_wl_CXX
14103 pic_flag=$lt_prog_compiler_pic_CXX
14104 compiler_flags=-v
14105 linker_flags=-v
14106 verstring=
14107 output_objdir=.
14108 libname=conftest
14109 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14110 allow_undefined_flag_CXX=
14111 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14112 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14113 ac_status=$?
14114 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14115 test $ac_status = 0; }
14116 then
14117 lt_cv_archive_cmds_need_lc_CXX=no
14118 else
14119 lt_cv_archive_cmds_need_lc_CXX=yes
14121 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14122 else
14123 cat conftest.err 1>&5
14125 $RM conftest*
14128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14129 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14130 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14132 esac
14135 esac
14200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14201 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14203 library_names_spec=
14204 libname_spec='lib$name'
14205 soname_spec=
14206 shrext_cmds=".so"
14207 postinstall_cmds=
14208 postuninstall_cmds=
14209 finish_cmds=
14210 finish_eval=
14211 shlibpath_var=
14212 shlibpath_overrides_runpath=unknown
14213 version_type=none
14214 dynamic_linker="$host_os ld.so"
14215 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14216 need_lib_prefix=unknown
14217 hardcode_into_libs=no
14219 # when you set need_version to no, make sure it does not cause -set_version
14220 # flags to be left without arguments
14221 need_version=unknown
14223 case $host_os in
14224 aix3*)
14225 version_type=linux
14226 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14227 shlibpath_var=LIBPATH
14229 # AIX 3 has no versioning support, so we append a major version to the name.
14230 soname_spec='${libname}${release}${shared_ext}$major'
14233 aix[4-9]*)
14234 version_type=linux
14235 need_lib_prefix=no
14236 need_version=no
14237 hardcode_into_libs=yes
14238 if test "$host_cpu" = ia64; then
14239 # AIX 5 supports IA64
14240 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14241 shlibpath_var=LD_LIBRARY_PATH
14242 else
14243 # With GCC up to 2.95.x, collect2 would create an import file
14244 # for dependence libraries. The import file would start with
14245 # the line `#! .'. This would cause the generated library to
14246 # depend on `.', always an invalid library. This was fixed in
14247 # development snapshots of GCC prior to 3.0.
14248 case $host_os in
14249 aix4 | aix4.[01] | aix4.[01].*)
14250 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14251 echo ' yes '
14252 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14254 else
14255 can_build_shared=no
14258 esac
14259 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14260 # soname into executable. Probably we can add versioning support to
14261 # collect2, so additional links can be useful in future.
14262 if test "$aix_use_runtimelinking" = yes; then
14263 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14264 # instead of lib<name>.a to let people know that these are not
14265 # typical AIX shared libraries.
14266 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14267 else
14268 # We preserve .a as extension for shared libraries through AIX4.2
14269 # and later when we are not doing run time linking.
14270 library_names_spec='${libname}${release}.a $libname.a'
14271 soname_spec='${libname}${release}${shared_ext}$major'
14273 shlibpath_var=LIBPATH
14277 amigaos*)
14278 case $host_cpu in
14279 powerpc)
14280 # Since July 2007 AmigaOS4 officially supports .so libraries.
14281 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14282 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14284 m68k)
14285 library_names_spec='$libname.ixlibrary $libname.a'
14286 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14287 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''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'
14289 esac
14292 beos*)
14293 library_names_spec='${libname}${shared_ext}'
14294 dynamic_linker="$host_os ld.so"
14295 shlibpath_var=LIBRARY_PATH
14298 bsdi[45]*)
14299 version_type=linux
14300 need_version=no
14301 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14302 soname_spec='${libname}${release}${shared_ext}$major'
14303 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14304 shlibpath_var=LD_LIBRARY_PATH
14305 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14306 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14307 # the default ld.so.conf also contains /usr/contrib/lib and
14308 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14309 # libtool to hard-code these into programs
14312 cygwin* | mingw* | pw32* | cegcc*)
14313 version_type=windows
14314 shrext_cmds=".dll"
14315 need_version=no
14316 need_lib_prefix=no
14318 case $GCC,$host_os in
14319 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14320 library_names_spec='$libname.dll.a'
14321 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14322 postinstall_cmds='base_file=`basename \${file}`~
14323 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14324 dldir=$destdir/`dirname \$dlpath`~
14325 test -d \$dldir || mkdir -p \$dldir~
14326 $install_prog $dir/$dlname \$dldir/$dlname~
14327 chmod a+x \$dldir/$dlname~
14328 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14329 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14331 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14332 dlpath=$dir/\$dldll~
14333 $RM \$dlpath'
14334 shlibpath_overrides_runpath=yes
14336 case $host_os in
14337 cygwin*)
14338 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14339 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14340 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
14342 mingw* | cegcc*)
14343 # MinGW DLLs use traditional 'lib' prefix
14344 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14345 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14346 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
14347 # It is most probably a Windows format PATH printed by
14348 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14349 # path with ; separators, and with drive letters. We can handle the
14350 # drive letters (cygwin fileutils understands them), so leave them,
14351 # especially as we might pass files found there to a mingw objdump,
14352 # which wouldn't understand a cygwinified path. Ahh.
14353 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14354 else
14355 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14358 pw32*)
14359 # pw32 DLLs use 'pw' prefix rather than 'lib'
14360 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14362 esac
14366 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14368 esac
14369 dynamic_linker='Win32 ld.exe'
14370 # FIXME: first we should search . and the directory the executable is in
14371 shlibpath_var=PATH
14374 darwin* | rhapsody*)
14375 dynamic_linker="$host_os dyld"
14376 version_type=darwin
14377 need_lib_prefix=no
14378 need_version=no
14379 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14380 soname_spec='${libname}${release}${major}$shared_ext'
14381 shlibpath_overrides_runpath=yes
14382 shlibpath_var=DYLD_LIBRARY_PATH
14383 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14385 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14388 dgux*)
14389 version_type=linux
14390 need_lib_prefix=no
14391 need_version=no
14392 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14393 soname_spec='${libname}${release}${shared_ext}$major'
14394 shlibpath_var=LD_LIBRARY_PATH
14397 freebsd1*)
14398 dynamic_linker=no
14401 freebsd* | dragonfly*)
14402 # DragonFly does not have aout. When/if they implement a new
14403 # versioning mechanism, adjust this.
14404 if test -x /usr/bin/objformat; then
14405 objformat=`/usr/bin/objformat`
14406 else
14407 case $host_os in
14408 freebsd[123]*) objformat=aout ;;
14409 *) objformat=elf ;;
14410 esac
14412 version_type=freebsd-$objformat
14413 case $version_type in
14414 freebsd-elf*)
14415 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14416 need_version=no
14417 need_lib_prefix=no
14419 freebsd-*)
14420 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14421 need_version=yes
14423 esac
14424 shlibpath_var=LD_LIBRARY_PATH
14425 case $host_os in
14426 freebsd2*)
14427 shlibpath_overrides_runpath=yes
14429 freebsd3.[01]* | freebsdelf3.[01]*)
14430 shlibpath_overrides_runpath=yes
14431 hardcode_into_libs=yes
14433 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14434 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14435 shlibpath_overrides_runpath=no
14436 hardcode_into_libs=yes
14438 *) # from 4.6 on, and DragonFly
14439 shlibpath_overrides_runpath=yes
14440 hardcode_into_libs=yes
14442 esac
14445 gnu*)
14446 version_type=linux
14447 need_lib_prefix=no
14448 need_version=no
14449 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14450 soname_spec='${libname}${release}${shared_ext}$major'
14451 shlibpath_var=LD_LIBRARY_PATH
14452 hardcode_into_libs=yes
14455 hpux9* | hpux10* | hpux11*)
14456 # Give a soname corresponding to the major version so that dld.sl refuses to
14457 # link against other versions.
14458 version_type=sunos
14459 need_lib_prefix=no
14460 need_version=no
14461 case $host_cpu in
14462 ia64*)
14463 shrext_cmds='.so'
14464 hardcode_into_libs=yes
14465 dynamic_linker="$host_os dld.so"
14466 shlibpath_var=LD_LIBRARY_PATH
14467 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14468 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14469 soname_spec='${libname}${release}${shared_ext}$major'
14470 if test "X$HPUX_IA64_MODE" = X32; then
14471 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14472 else
14473 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14475 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14477 hppa*64*)
14478 shrext_cmds='.sl'
14479 hardcode_into_libs=yes
14480 dynamic_linker="$host_os dld.sl"
14481 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14482 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14483 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14484 soname_spec='${libname}${release}${shared_ext}$major'
14485 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14486 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14489 shrext_cmds='.sl'
14490 dynamic_linker="$host_os dld.sl"
14491 shlibpath_var=SHLIB_PATH
14492 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14493 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14494 soname_spec='${libname}${release}${shared_ext}$major'
14496 esac
14497 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14498 postinstall_cmds='chmod 555 $lib'
14501 interix[3-9]*)
14502 version_type=linux
14503 need_lib_prefix=no
14504 need_version=no
14505 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14506 soname_spec='${libname}${release}${shared_ext}$major'
14507 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14508 shlibpath_var=LD_LIBRARY_PATH
14509 shlibpath_overrides_runpath=no
14510 hardcode_into_libs=yes
14513 irix5* | irix6* | nonstopux*)
14514 case $host_os in
14515 nonstopux*) version_type=nonstopux ;;
14517 if test "$lt_cv_prog_gnu_ld" = yes; then
14518 version_type=linux
14519 else
14520 version_type=irix
14521 fi ;;
14522 esac
14523 need_lib_prefix=no
14524 need_version=no
14525 soname_spec='${libname}${release}${shared_ext}$major'
14526 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14527 case $host_os in
14528 irix5* | nonstopux*)
14529 libsuff= shlibsuff=
14532 case $LD in # libtool.m4 will add one of these switches to LD
14533 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14534 libsuff= shlibsuff= libmagic=32-bit;;
14535 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14536 libsuff=32 shlibsuff=N32 libmagic=N32;;
14537 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14538 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14539 *) libsuff= shlibsuff= libmagic=never-match;;
14540 esac
14542 esac
14543 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14544 shlibpath_overrides_runpath=no
14545 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14546 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14547 hardcode_into_libs=yes
14550 # No shared lib support for Linux oldld, aout, or coff.
14551 linux*oldld* | linux*aout* | linux*coff*)
14552 dynamic_linker=no
14555 # This must be Linux ELF.
14556 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14557 version_type=linux
14558 need_lib_prefix=no
14559 need_version=no
14560 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14561 soname_spec='${libname}${release}${shared_ext}$major'
14562 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14563 shlibpath_var=LD_LIBRARY_PATH
14564 shlibpath_overrides_runpath=no
14566 # Some binutils ld are patched to set DT_RUNPATH
14567 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14568 $as_echo_n "(cached) " >&6
14569 else
14570 lt_cv_shlibpath_overrides_runpath=no
14571 save_LDFLAGS=$LDFLAGS
14572 save_libdir=$libdir
14573 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14574 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14575 if test x$gcc_no_link = xyes; then
14576 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14579 /* end confdefs.h. */
14582 main ()
14586 return 0;
14588 _ACEOF
14589 if ac_fn_cxx_try_link "$LINENO"; then :
14590 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14591 lt_cv_shlibpath_overrides_runpath=yes
14594 rm -f core conftest.err conftest.$ac_objext \
14595 conftest$ac_exeext conftest.$ac_ext
14596 LDFLAGS=$save_LDFLAGS
14597 libdir=$save_libdir
14601 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14603 # This implies no fast_install, which is unacceptable.
14604 # Some rework will be needed to allow for fast_install
14605 # before this can be enabled.
14606 hardcode_into_libs=yes
14608 # Append ld.so.conf contents to the search path
14609 if test -f /etc/ld.so.conf; then
14610 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;/^$/d' | tr '\n' ' '`
14611 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14614 # We used to test for /lib/ld.so.1 and disable shared libraries on
14615 # powerpc, because MkLinux only supported shared libraries with the
14616 # GNU dynamic linker. Since this was broken with cross compilers,
14617 # most powerpc-linux boxes support dynamic linking these days and
14618 # people can always --disable-shared, the test was removed, and we
14619 # assume the GNU/Linux dynamic linker is in use.
14620 dynamic_linker='GNU/Linux ld.so'
14623 netbsd*)
14624 version_type=sunos
14625 need_lib_prefix=no
14626 need_version=no
14627 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14628 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14629 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14630 dynamic_linker='NetBSD (a.out) ld.so'
14631 else
14632 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14633 soname_spec='${libname}${release}${shared_ext}$major'
14634 dynamic_linker='NetBSD ld.elf_so'
14636 shlibpath_var=LD_LIBRARY_PATH
14637 shlibpath_overrides_runpath=yes
14638 hardcode_into_libs=yes
14641 newsos6)
14642 version_type=linux
14643 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14644 shlibpath_var=LD_LIBRARY_PATH
14645 shlibpath_overrides_runpath=yes
14648 *nto* | *qnx*)
14649 version_type=qnx
14650 need_lib_prefix=no
14651 need_version=no
14652 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14653 soname_spec='${libname}${release}${shared_ext}$major'
14654 shlibpath_var=LD_LIBRARY_PATH
14655 shlibpath_overrides_runpath=no
14656 hardcode_into_libs=yes
14657 dynamic_linker='ldqnx.so'
14660 openbsd*)
14661 version_type=sunos
14662 sys_lib_dlsearch_path_spec="/usr/lib"
14663 need_lib_prefix=no
14664 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14665 case $host_os in
14666 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14667 *) need_version=no ;;
14668 esac
14669 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14670 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14671 shlibpath_var=LD_LIBRARY_PATH
14672 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14673 case $host_os in
14674 openbsd2.[89] | openbsd2.[89].*)
14675 shlibpath_overrides_runpath=no
14678 shlibpath_overrides_runpath=yes
14680 esac
14681 else
14682 shlibpath_overrides_runpath=yes
14686 os2*)
14687 libname_spec='$name'
14688 shrext_cmds=".dll"
14689 need_lib_prefix=no
14690 library_names_spec='$libname${shared_ext} $libname.a'
14691 dynamic_linker='OS/2 ld.exe'
14692 shlibpath_var=LIBPATH
14695 osf3* | osf4* | osf5*)
14696 version_type=osf
14697 need_lib_prefix=no
14698 need_version=no
14699 soname_spec='${libname}${release}${shared_ext}$major'
14700 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14701 shlibpath_var=LD_LIBRARY_PATH
14702 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14703 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14706 rdos*)
14707 dynamic_linker=no
14710 solaris*)
14711 version_type=linux
14712 need_lib_prefix=no
14713 need_version=no
14714 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14715 soname_spec='${libname}${release}${shared_ext}$major'
14716 shlibpath_var=LD_LIBRARY_PATH
14717 shlibpath_overrides_runpath=yes
14718 hardcode_into_libs=yes
14719 # ldd complains unless libraries are executable
14720 postinstall_cmds='chmod +x $lib'
14723 sunos4*)
14724 version_type=sunos
14725 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14726 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14727 shlibpath_var=LD_LIBRARY_PATH
14728 shlibpath_overrides_runpath=yes
14729 if test "$with_gnu_ld" = yes; then
14730 need_lib_prefix=no
14732 need_version=yes
14735 sysv4 | sysv4.3*)
14736 version_type=linux
14737 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14738 soname_spec='${libname}${release}${shared_ext}$major'
14739 shlibpath_var=LD_LIBRARY_PATH
14740 case $host_vendor in
14741 sni)
14742 shlibpath_overrides_runpath=no
14743 need_lib_prefix=no
14744 runpath_var=LD_RUN_PATH
14746 siemens)
14747 need_lib_prefix=no
14749 motorola)
14750 need_lib_prefix=no
14751 need_version=no
14752 shlibpath_overrides_runpath=no
14753 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14755 esac
14758 sysv4*MP*)
14759 if test -d /usr/nec ;then
14760 version_type=linux
14761 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14762 soname_spec='$libname${shared_ext}.$major'
14763 shlibpath_var=LD_LIBRARY_PATH
14767 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14768 version_type=freebsd-elf
14769 need_lib_prefix=no
14770 need_version=no
14771 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14772 soname_spec='${libname}${release}${shared_ext}$major'
14773 shlibpath_var=LD_LIBRARY_PATH
14774 shlibpath_overrides_runpath=yes
14775 hardcode_into_libs=yes
14776 if test "$with_gnu_ld" = yes; then
14777 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14778 else
14779 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14780 case $host_os in
14781 sco3.2v5*)
14782 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14784 esac
14786 sys_lib_dlsearch_path_spec='/usr/lib'
14789 tpf*)
14790 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14791 version_type=linux
14792 need_lib_prefix=no
14793 need_version=no
14794 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14795 shlibpath_var=LD_LIBRARY_PATH
14796 shlibpath_overrides_runpath=no
14797 hardcode_into_libs=yes
14800 uts4*)
14801 version_type=linux
14802 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14803 soname_spec='${libname}${release}${shared_ext}$major'
14804 shlibpath_var=LD_LIBRARY_PATH
14808 dynamic_linker=no
14810 esac
14811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14812 $as_echo "$dynamic_linker" >&6; }
14813 test "$dynamic_linker" = no && can_build_shared=no
14815 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14816 if test "$GCC" = yes; then
14817 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14820 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14821 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14823 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14824 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14863 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14864 hardcode_action_CXX=
14865 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14866 test -n "$runpath_var_CXX" ||
14867 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14869 # We can hardcode non-existent directories.
14870 if test "$hardcode_direct_CXX" != no &&
14871 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14872 # have to relink, otherwise we might link with an installed library
14873 # when we should be linking with a yet-to-be-installed one
14874 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14875 test "$hardcode_minus_L_CXX" != no; then
14876 # Linking always hardcodes the temporary library directory.
14877 hardcode_action_CXX=relink
14878 else
14879 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14880 hardcode_action_CXX=immediate
14882 else
14883 # We cannot hardcode anything, or else we can only hardcode existing
14884 # directories.
14885 hardcode_action_CXX=unsupported
14887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14888 $as_echo "$hardcode_action_CXX" >&6; }
14890 if test "$hardcode_action_CXX" = relink ||
14891 test "$inherit_rpath_CXX" = yes; then
14892 # Fast installation is not supported
14893 enable_fast_install=no
14894 elif test "$shlibpath_overrides_runpath" = yes ||
14895 test "$enable_shared" = no; then
14896 # Fast installation is not necessary
14897 enable_fast_install=needless
14906 fi # test -n "$compiler"
14908 CC=$lt_save_CC
14909 LDCXX=$LD
14910 LD=$lt_save_LD
14911 GCC=$lt_save_GCC
14912 with_gnu_ld=$lt_save_with_gnu_ld
14913 lt_cv_path_LDCXX=$lt_cv_path_LD
14914 lt_cv_path_LD=$lt_save_path_LD
14915 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14916 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14917 fi # test "$_lt_caught_CXX_error" != yes
14919 ac_ext=c
14920 ac_cpp='$CPP $CPPFLAGS'
14921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14937 ac_config_commands="$ac_config_commands libtool"
14942 # Only expand once:
14948 # Possibly disable most of the library.
14949 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14950 ## than just ignoring the results. Faster /and/ more correct, win win.
14952 # Check whether --enable-hosted-libstdcxx was given.
14953 if test "${enable_hosted_libstdcxx+set}" = set; then :
14954 enableval=$enable_hosted_libstdcxx;
14955 else
14956 case "$host" in
14957 arm*-*-symbianelf*)
14958 enable_hosted_libstdcxx=no
14961 enable_hosted_libstdcxx=yes
14963 esac
14966 if test "$enable_hosted_libstdcxx" = no; then
14967 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14968 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14969 is_hosted=no
14970 hosted_define=0
14971 enable_abi_check=no
14972 enable_libstdcxx_pch=no
14973 else
14974 is_hosted=yes
14975 hosted_define=1
14979 cat >>confdefs.h <<_ACEOF
14980 #define _GLIBCXX_HOSTED $hosted_define
14981 _ACEOF
14985 # Enable compiler support that doesn't require linking.
14987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
14988 $as_echo_n "checking for exception model to use... " >&6; }
14990 ac_ext=cpp
14991 ac_cpp='$CXXCPP $CPPFLAGS'
14992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14996 # Check whether --enable-sjlj-exceptions was given.
14997 if test "${enable_sjlj_exceptions+set}" = set; then :
14998 enableval=$enable_sjlj_exceptions;
14999 case "$enableval" in
15000 yes|no|auto) ;;
15001 *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
15002 esac
15004 else
15005 enable_sjlj_exceptions=auto
15010 if test $enable_sjlj_exceptions = auto; then
15011 # Botheration. Now we've got to detect the exception model. Link tests
15012 # against libgcc.a are problematic since we've not been given proper -L
15013 # bits for single-tree newlib and libgloss.
15015 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
15016 cat > conftest.$ac_ext << EOF
15017 #line 15017 "configure"
15018 struct S { ~S(); };
15019 void bar();
15020 void foo()
15022 S s;
15023 bar();
15026 old_CXXFLAGS="$CXXFLAGS"
15027 CXXFLAGS=-S
15028 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15029 (eval $ac_compile) 2>&5
15030 ac_status=$?
15031 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15032 test $ac_status = 0; }; then
15033 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
15034 enable_sjlj_exceptions=yes
15035 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
15036 enable_sjlj_exceptions=no
15037 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
15038 enable_sjlj_exceptions=no
15041 CXXFLAGS="$old_CXXFLAGS"
15042 rm -f conftest*
15045 # This is a tad weird, for hysterical raisins. We have to map
15046 # enable/disable to two different models.
15047 case $enable_sjlj_exceptions in
15048 yes)
15050 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
15052 ac_exception_model_name=sjlj
15055 ac_exception_model_name="call frame"
15058 as_fn_error "unable to detect exception model" "$LINENO" 5
15060 esac
15061 ac_ext=c
15062 ac_cpp='$CPP $CPPFLAGS'
15063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15068 $as_echo "$ac_exception_model_name" >&6; }
15071 # Check whether --enable-libstdcxx-pch was given.
15072 if test "${enable_libstdcxx_pch+set}" = set; then :
15073 enableval=$enable_libstdcxx_pch;
15074 case "$enableval" in
15075 yes|no) ;;
15076 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15077 esac
15079 else
15080 enable_libstdcxx_pch=$is_hosted
15084 if test $enable_libstdcxx_pch = yes; then
15085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15086 $as_echo_n "checking for compiler with PCH support... " >&6; }
15087 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15088 $as_echo_n "(cached) " >&6
15089 else
15090 ac_save_CXXFLAGS="$CXXFLAGS"
15091 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15093 ac_ext=cpp
15094 ac_cpp='$CXXCPP $CPPFLAGS'
15095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15099 echo '#include <math.h>' > conftest.h
15100 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15101 -o conftest.h.gch 1>&5 2>&1 &&
15102 echo '#error "pch failed"' > conftest.h &&
15103 echo '#include "conftest.h"' > conftest.cc &&
15104 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15105 then
15106 glibcxx_cv_prog_CXX_pch=yes
15107 else
15108 glibcxx_cv_prog_CXX_pch=no
15110 rm -f conftest*
15111 CXXFLAGS=$ac_save_CXXFLAGS
15112 ac_ext=c
15113 ac_cpp='$CPP $CPPFLAGS'
15114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15121 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15122 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15126 $as_echo_n "checking for enabled PCH... " >&6; }
15127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15128 $as_echo "$enable_libstdcxx_pch" >&6; }
15131 if test $enable_libstdcxx_pch = yes; then
15132 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15133 else
15134 glibcxx_PCHFLAGS=""
15139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15140 $as_echo_n "checking for thread model used by GCC... " >&6; }
15141 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15143 $as_echo "$target_thread_file" >&6; }
15145 if test $target_thread_file != single; then
15147 $as_echo "#define HAVE_GTHR_DEFAULT 1" >>confdefs.h
15151 glibcxx_thread_h=gthr-$target_thread_file.h
15153 gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
15154 if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
15155 enable_thread=yes
15156 else
15157 enable_thread=no
15164 ac_ext=cpp
15165 ac_cpp='$CXXCPP $CPPFLAGS'
15166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15170 old_CXXFLAGS="$CXXFLAGS"
15172 # Compile unoptimized.
15173 CXXFLAGS='-O0 -S'
15175 # Fake what AC_TRY_COMPILE does, without linking as this is
15176 # unnecessary for a builtins test.
15178 cat > conftest.$ac_ext << EOF
15179 #line 15179 "configure"
15180 int main()
15182 typedef bool atomic_type;
15183 atomic_type c1;
15184 atomic_type c2;
15185 const atomic_type c3(0);
15186 __sync_fetch_and_add(&c1, c2);
15187 __sync_val_compare_and_swap(&c1, c3, c2);
15188 __sync_lock_test_and_set(&c1, c3);
15189 __sync_lock_release(&c1);
15190 __sync_synchronize();
15191 return 0;
15195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15196 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15197 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15198 (eval $ac_compile) 2>&5
15199 ac_status=$?
15200 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15201 test $ac_status = 0; }; then
15202 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15203 enable_atomic_builtinsb=no
15204 else
15206 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_1 1" >>confdefs.h
15208 enable_atomic_builtinsb=yes
15211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_atomic_builtinsb" >&5
15212 $as_echo "$enable_atomic_builtinsb" >&6; }
15213 rm -f conftest*
15215 cat > conftest.$ac_ext << EOF
15216 #line 15216 "configure"
15217 int main()
15219 typedef short atomic_type;
15220 atomic_type c1;
15221 atomic_type c2;
15222 const atomic_type c3(0);
15223 __sync_fetch_and_add(&c1, c2);
15224 __sync_val_compare_and_swap(&c1, c3, c2);
15225 __sync_lock_test_and_set(&c1, c3);
15226 __sync_lock_release(&c1);
15227 __sync_synchronize();
15228 return 0;
15232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15233 $as_echo_n "checking for atomic builtins for short... " >&6; }
15234 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15235 (eval $ac_compile) 2>&5
15236 ac_status=$?
15237 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15238 test $ac_status = 0; }; then
15239 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15240 enable_atomic_builtinss=no
15241 else
15243 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_2 1" >>confdefs.h
15245 enable_atomic_builtinss=yes
15248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_atomic_builtinss" >&5
15249 $as_echo "$enable_atomic_builtinss" >&6; }
15250 rm -f conftest*
15252 cat > conftest.$ac_ext << EOF
15253 #line 15253 "configure"
15254 int main()
15256 // NB: _Atomic_word not necessarily int.
15257 typedef int atomic_type;
15258 atomic_type c1;
15259 atomic_type c2;
15260 const atomic_type c3(0);
15261 __sync_fetch_and_add(&c1, c2);
15262 __sync_val_compare_and_swap(&c1, c3, c2);
15263 __sync_lock_test_and_set(&c1, c3);
15264 __sync_lock_release(&c1);
15265 __sync_synchronize();
15266 return 0;
15270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15271 $as_echo_n "checking for atomic builtins for int... " >&6; }
15272 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15273 (eval $ac_compile) 2>&5
15274 ac_status=$?
15275 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15276 test $ac_status = 0; }; then
15277 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15278 enable_atomic_builtinsi=no
15279 else
15281 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_4 1" >>confdefs.h
15283 enable_atomic_builtinsi=yes
15286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_atomic_builtinsi" >&5
15287 $as_echo "$enable_atomic_builtinsi" >&6; }
15288 rm -f conftest*
15290 cat > conftest.$ac_ext << EOF
15291 #line 15291 "configure"
15292 int main()
15294 typedef long long atomic_type;
15295 atomic_type c1;
15296 atomic_type c2;
15297 const atomic_type c3(0);
15298 __sync_fetch_and_add(&c1, c2);
15299 __sync_val_compare_and_swap(&c1, c3, c2);
15300 __sync_lock_test_and_set(&c1, c3);
15301 __sync_lock_release(&c1);
15302 __sync_synchronize();
15303 return 0;
15307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15308 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15309 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15310 (eval $ac_compile) 2>&5
15311 ac_status=$?
15312 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15313 test $ac_status = 0; }; then
15314 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15315 enable_atomic_builtinsll=no
15316 else
15318 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_8 1" >>confdefs.h
15320 enable_atomic_builtinsll=yes
15323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_atomic_builtinsll" >&5
15324 $as_echo "$enable_atomic_builtinsll" >&6; }
15325 rm -f conftest*
15328 CXXFLAGS="$old_CXXFLAGS"
15329 ac_ext=c
15330 ac_cpp='$CPP $CPPFLAGS'
15331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15336 # Set atomicity_dir to builtins if either of above tests pass.
15337 if test $enable_atomic_builtinsi = yes || test $enable_atomic_builtinsb = yes ; then
15338 atomicity_dir=cpu/generic/atomicity_builtins
15341 # If still generic, set to mutex.
15342 if test $atomicity_dir = "cpu/generic" ; then
15343 atomicity_dir=cpu/generic/atomicity_mutex
15344 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15345 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15346 if test "x$target_thread_file" = xsingle; then
15347 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15348 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15350 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15351 else
15352 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15353 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15354 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15355 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15361 # Checks for compiler support that doesn't require linking.
15363 # All these tests are for C++; save the language and the compiler flags.
15364 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15365 # found in GLIBCXX_CONFIGURE.
15367 ac_ext=cpp
15368 ac_cpp='$CXXCPP $CPPFLAGS'
15369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15373 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15374 ac_save_CXXFLAGS="$CXXFLAGS"
15376 # Check for maintainer-mode bits.
15377 if test x"$USE_MAINTAINER_MODE" = xno; then
15378 WERROR=''
15379 else
15380 WERROR='-Werror'
15383 # Check for -ffunction-sections -fdata-sections
15384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15385 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15386 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15388 /* end confdefs.h. */
15389 int foo; void bar() { };
15391 main ()
15395 return 0;
15397 _ACEOF
15398 if ac_fn_cxx_try_compile "$LINENO"; then :
15399 ac_fdsections=yes
15400 else
15401 ac_fdsections=no
15403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15404 if test "$ac_test_CXXFLAGS" = set; then
15405 CXXFLAGS="$ac_save_CXXFLAGS"
15406 else
15407 # this is the suspicious part
15408 CXXFLAGS=''
15410 if test x"$ac_fdsections" = x"yes"; then
15411 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15414 $as_echo "$ac_fdsections" >&6; }
15416 ac_ext=c
15417 ac_cpp='$CPP $CPPFLAGS'
15418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15426 # Enable all the variable C++ runtime options that don't require linking.
15428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15429 $as_echo_n "checking for underlying I/O to use... " >&6; }
15430 # Check whether --enable-cstdio was given.
15431 if test "${enable_cstdio+set}" = set; then :
15432 enableval=$enable_cstdio;
15433 case "$enableval" in
15434 stdio) ;;
15435 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15436 esac
15438 else
15439 enable_cstdio=stdio
15444 # Now that libio has been removed, you can have any color you want as long
15445 # as it's black. This is one big no-op until other packages are added, but
15446 # showing the framework never hurts.
15447 case ${enable_cstdio} in
15448 stdio)
15449 CSTDIO_H=config/io/c_io_stdio.h
15450 BASIC_FILE_H=config/io/basic_file_stdio.h
15451 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15453 $as_echo "stdio" >&6; }
15455 esac
15462 # Check whether --enable-clocale was given.
15463 if test "${enable_clocale+set}" = set; then :
15464 enableval=$enable_clocale;
15465 case "$enableval" in
15466 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
15467 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15468 esac
15470 else
15471 enable_clocale=auto
15476 # Deal with gettext issues. Default to not using it (=no) until we detect
15477 # support for it later. Let the user turn it off via --e/d, but let that
15478 # default to on for easier handling.
15479 USE_NLS=no
15480 # Check whether --enable-nls was given.
15481 if test "${enable_nls+set}" = set; then :
15482 enableval=$enable_nls;
15483 else
15484 enable_nls=yes
15488 # Either a known packaage, or "auto"
15489 if test $enable_clocale = no || test $enable_clocale = yes; then
15490 enable_clocale=auto
15492 enable_clocale_flag=$enable_clocale
15494 # Probe for locale model to use if none specified.
15495 # Default to "generic".
15496 if test $enable_clocale_flag = auto; then
15497 case ${target_os} in
15498 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15499 enable_clocale_flag=gnu
15501 darwin* | freebsd*)
15502 enable_clocale_flag=darwin
15505 enable_clocale_flag=generic
15507 esac
15510 # Sanity check model, and test for special functionality.
15511 if test $enable_clocale_flag = gnu; then
15512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15513 /* end confdefs.h. */
15515 #include <features.h>
15516 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
15517 _GLIBCXX_ok
15518 #endif
15520 _ACEOF
15521 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15522 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15523 enable_clocale_flag=gnu
15524 else
15525 enable_clocale_flag=generic
15527 rm -f conftest*
15530 if test $enable_clocale = auto; then
15531 # Test for bugs early in glibc-2.2.x series
15532 if test "$cross_compiling" = yes; then :
15533 enable_clocale_flag=generic
15534 else
15535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15536 /* end confdefs.h. */
15538 #define _GNU_SOURCE 1
15539 #include <locale.h>
15540 #include <string.h>
15541 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
15542 extern __typeof(newlocale) __newlocale;
15543 extern __typeof(duplocale) __duplocale;
15544 extern __typeof(strcoll_l) __strcoll_l;
15545 #endif
15546 int main()
15548 const char __one[] = "Äuglein Augmen";
15549 const char __two[] = "Äuglein";
15550 int i;
15551 int j;
15552 __locale_t loc;
15553 __locale_t loc_dup;
15554 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
15555 loc_dup = __duplocale(loc);
15556 i = __strcoll_l(__one, __two, loc);
15557 j = __strcoll_l(__one, __two, loc_dup);
15558 return 0;
15561 _ACEOF
15562 if ac_fn_c_try_run "$LINENO"; then :
15563 enable_clocale_flag=gnu
15564 else
15565 enable_clocale_flag=generic
15567 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15568 conftest.$ac_objext conftest.beam conftest.$ac_ext
15573 # Set it to scream when it hurts.
15574 ac_save_CFLAGS="$CFLAGS"
15575 CFLAGS="-Wimplicit-function-declaration -Werror"
15577 # Use strxfrm_l if available.
15578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15579 /* end confdefs.h. */
15580 #define _GNU_SOURCE 1
15581 #include <string.h>
15582 #include <locale.h>
15584 main ()
15586 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15588 return 0;
15590 _ACEOF
15591 if ac_fn_c_try_compile "$LINENO"; then :
15593 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15598 # Use strerror_l if available.
15599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15600 /* end confdefs.h. */
15601 #define _GNU_SOURCE 1
15602 #include <string.h>
15603 #include <locale.h>
15605 main ()
15607 __locale_t loc; strerror_l(5, loc);
15609 return 0;
15611 _ACEOF
15612 if ac_fn_c_try_compile "$LINENO"; then :
15614 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15619 CFLAGS="$ac_save_CFLAGS"
15622 # Perhaps use strerror_r if available, and strerror_l isn't.
15623 ac_save_CFLAGS="$CFLAGS"
15624 CFLAGS="-Wimplicit-function-declaration -Werror"
15625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15626 /* end confdefs.h. */
15627 #define _GNU_SOURCE 1
15628 #include <string.h>
15629 #include <locale.h>
15631 main ()
15633 char s[128]; strerror_r(5, s, 128);
15635 return 0;
15637 _ACEOF
15638 if ac_fn_c_try_compile "$LINENO"; then :
15640 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15644 CFLAGS="$ac_save_CFLAGS"
15646 # Set configure bits for specified locale package
15647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15648 $as_echo_n "checking for C locale to use... " >&6; }
15649 case ${enable_clocale_flag} in
15650 generic)
15651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15652 $as_echo "generic" >&6; }
15654 CLOCALE_H=config/locale/generic/c_locale.h
15655 CLOCALE_CC=config/locale/generic/c_locale.cc
15656 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15657 CCOLLATE_CC=config/locale/generic/collate_members.cc
15658 CCTYPE_CC=config/locale/generic/ctype_members.cc
15659 CMESSAGES_H=config/locale/generic/messages_members.h
15660 CMESSAGES_CC=config/locale/generic/messages_members.cc
15661 CMONEY_CC=config/locale/generic/monetary_members.cc
15662 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15663 CTIME_H=config/locale/generic/time_members.h
15664 CTIME_CC=config/locale/generic/time_members.cc
15665 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15667 darwin)
15668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15669 $as_echo "darwin or freebsd" >&6; }
15671 CLOCALE_H=config/locale/generic/c_locale.h
15672 CLOCALE_CC=config/locale/generic/c_locale.cc
15673 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15674 CCOLLATE_CC=config/locale/generic/collate_members.cc
15675 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15676 CMESSAGES_H=config/locale/generic/messages_members.h
15677 CMESSAGES_CC=config/locale/generic/messages_members.cc
15678 CMONEY_CC=config/locale/generic/monetary_members.cc
15679 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15680 CTIME_H=config/locale/generic/time_members.h
15681 CTIME_CC=config/locale/generic/time_members.cc
15682 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15685 gnu)
15686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15687 $as_echo "gnu" >&6; }
15689 # Declare intention to use gettext, and add support for specific
15690 # languages.
15691 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15692 ALL_LINGUAS="de fr"
15694 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15695 # Extract the first word of "msgfmt", so it can be a program name with args.
15696 set dummy msgfmt; ac_word=$2
15697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15698 $as_echo_n "checking for $ac_word... " >&6; }
15699 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
15700 $as_echo_n "(cached) " >&6
15701 else
15702 if test -n "$check_msgfmt"; then
15703 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15704 else
15705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15706 for as_dir in $PATH
15708 IFS=$as_save_IFS
15709 test -z "$as_dir" && as_dir=.
15710 for ac_exec_ext in '' $ac_executable_extensions; do
15711 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15712 ac_cv_prog_check_msgfmt="yes"
15713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15714 break 2
15716 done
15717 done
15718 IFS=$as_save_IFS
15720 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
15723 check_msgfmt=$ac_cv_prog_check_msgfmt
15724 if test -n "$check_msgfmt"; then
15725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
15726 $as_echo "$check_msgfmt" >&6; }
15727 else
15728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15729 $as_echo "no" >&6; }
15733 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
15734 USE_NLS=yes
15736 # Export the build objects.
15737 for ling in $ALL_LINGUAS; do \
15738 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
15739 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
15740 done
15744 CLOCALE_H=config/locale/gnu/c_locale.h
15745 CLOCALE_CC=config/locale/gnu/c_locale.cc
15746 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
15747 CCOLLATE_CC=config/locale/gnu/collate_members.cc
15748 CCTYPE_CC=config/locale/gnu/ctype_members.cc
15749 CMESSAGES_H=config/locale/gnu/messages_members.h
15750 CMESSAGES_CC=config/locale/gnu/messages_members.cc
15751 CMONEY_CC=config/locale/gnu/monetary_members.cc
15752 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
15753 CTIME_H=config/locale/gnu/time_members.h
15754 CTIME_CC=config/locale/gnu/time_members.cc
15755 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
15757 ieee_1003.1-2001)
15758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
15759 $as_echo "IEEE 1003.1" >&6; }
15761 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
15762 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
15763 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15764 CCOLLATE_CC=config/locale/generic/collate_members.cc
15765 CCTYPE_CC=config/locale/generic/ctype_members.cc
15766 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
15767 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
15768 CMONEY_CC=config/locale/generic/monetary_members.cc
15769 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15770 CTIME_H=config/locale/generic/time_members.h
15771 CTIME_CC=config/locale/generic/time_members.cc
15772 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15774 esac
15776 # This is where the testsuite looks for locale catalogs, using the
15777 # -DLOCALEDIR define during testsuite compilation.
15778 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
15781 # A standalone libintl (e.g., GNU libintl) may be in use.
15782 if test $USE_NLS = yes; then
15783 for ac_header in libintl.h
15784 do :
15785 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
15786 if test "x$ac_cv_header_libintl_h" = x""yes; then :
15787 cat >>confdefs.h <<_ACEOF
15788 #define HAVE_LIBINTL_H 1
15789 _ACEOF
15791 else
15792 USE_NLS=no
15795 done
15797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
15798 $as_echo_n "checking for library containing gettext... " >&6; }
15799 if test "${ac_cv_search_gettext+set}" = set; then :
15800 $as_echo_n "(cached) " >&6
15801 else
15802 ac_func_search_save_LIBS=$LIBS
15803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15804 /* end confdefs.h. */
15806 /* Override any GCC internal prototype to avoid an error.
15807 Use char because int might match the return type of a GCC
15808 builtin and then its argument prototype would still apply. */
15809 #ifdef __cplusplus
15810 extern "C"
15811 #endif
15812 char gettext ();
15814 main ()
15816 return gettext ();
15818 return 0;
15820 _ACEOF
15821 for ac_lib in '' intl; do
15822 if test -z "$ac_lib"; then
15823 ac_res="none required"
15824 else
15825 ac_res=-l$ac_lib
15826 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15828 if test x$gcc_no_link = xyes; then
15829 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15831 if ac_fn_c_try_link "$LINENO"; then :
15832 ac_cv_search_gettext=$ac_res
15834 rm -f core conftest.err conftest.$ac_objext \
15835 conftest$ac_exeext
15836 if test "${ac_cv_search_gettext+set}" = set; then :
15837 break
15839 done
15840 if test "${ac_cv_search_gettext+set}" = set; then :
15842 else
15843 ac_cv_search_gettext=no
15845 rm conftest.$ac_ext
15846 LIBS=$ac_func_search_save_LIBS
15848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
15849 $as_echo "$ac_cv_search_gettext" >&6; }
15850 ac_res=$ac_cv_search_gettext
15851 if test "$ac_res" != no; then :
15852 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15854 else
15855 USE_NLS=no
15859 if test $USE_NLS = yes; then
15861 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
15880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
15881 $as_echo_n "checking for std::allocator base class... " >&6; }
15882 # Check whether --enable-libstdcxx-allocator was given.
15883 if test "${enable_libstdcxx_allocator+set}" = set; then :
15884 enableval=$enable_libstdcxx_allocator;
15885 case "$enableval" in
15886 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
15887 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
15888 esac
15890 else
15891 enable_libstdcxx_allocator=auto
15896 # If they didn't use this option switch, or if they specified --enable
15897 # with no specific model, we'll have to look for one. If they
15898 # specified --disable (???), do likewise.
15899 if test $enable_libstdcxx_allocator = no ||
15900 test $enable_libstdcxx_allocator = yes;
15901 then
15902 enable_libstdcxx_allocator=auto
15905 # Either a known package, or "auto". Auto implies the default choice
15906 # for a particular platform.
15907 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
15909 # Probe for host-specific support if no specific model is specified.
15910 # Default to "new".
15911 if test $enable_libstdcxx_allocator_flag = auto; then
15912 case ${target_os} in
15913 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15914 enable_libstdcxx_allocator_flag=new
15917 enable_libstdcxx_allocator_flag=new
15919 esac
15921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
15922 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
15925 # Set configure bits for specified locale package
15926 case ${enable_libstdcxx_allocator_flag} in
15927 bitmap)
15928 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
15929 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
15931 malloc)
15932 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
15933 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
15936 ALLOCATOR_H=config/allocator/mt_allocator_base.h
15937 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
15939 new)
15940 ALLOCATOR_H=config/allocator/new_allocator_base.h
15941 ALLOCATOR_NAME=__gnu_cxx::new_allocator
15943 pool)
15944 ALLOCATOR_H=config/allocator/pool_allocator_base.h
15945 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
15947 esac
15953 # Check whether --enable-cheaders was given.
15954 if test "${enable_cheaders+set}" = set; then :
15955 enableval=$enable_cheaders;
15956 case "$enableval" in
15957 c|c_std|c_global) ;;
15958 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
15959 esac
15961 else
15962 enable_cheaders=$c_model
15966 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
15967 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
15969 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
15971 # Allow overrides to configure.host here.
15972 if test $enable_cheaders = c_global; then
15973 c_compatibility=yes
15976 if test $enable_cheaders = c_global || test $enable_cheaders = c_std; then
15977 c_extra=yes
15987 # Check whether --enable-long-long was given.
15988 if test "${enable_long_long+set}" = set; then :
15989 enableval=$enable_long_long;
15990 case "$enableval" in
15991 yes|no) ;;
15992 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
15993 esac
15995 else
15996 enable_long_long=yes
16000 if test $enable_long_long = yes; then
16002 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16006 $as_echo_n "checking for enabled long long specializations... " >&6; }
16007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16008 $as_echo "$enable_long_long" >&6; }
16011 # Check whether --enable-wchar_t was given.
16012 if test "${enable_wchar_t+set}" = set; then :
16013 enableval=$enable_wchar_t;
16014 case "$enableval" in
16015 yes|no) ;;
16016 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16017 esac
16019 else
16020 enable_wchar_t=yes
16025 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16026 for ac_header in wchar.h
16027 do :
16028 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16029 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16030 cat >>confdefs.h <<_ACEOF
16031 #define HAVE_WCHAR_H 1
16032 _ACEOF
16033 ac_has_wchar_h=yes
16034 else
16035 ac_has_wchar_h=no
16038 done
16040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16041 $as_echo_n "checking for mbstate_t... " >&6; }
16042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16043 /* end confdefs.h. */
16044 #include <wchar.h>
16046 main ()
16048 mbstate_t teststate;
16050 return 0;
16052 _ACEOF
16053 if ac_fn_c_try_compile "$LINENO"; then :
16054 have_mbstate_t=yes
16055 else
16056 have_mbstate_t=no
16058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16060 $as_echo "$have_mbstate_t" >&6; }
16061 if test x"$have_mbstate_t" = xyes; then
16063 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16067 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16068 # ac_has_wchar_h.
16069 for ac_header in wctype.h
16070 do :
16071 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16072 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16073 cat >>confdefs.h <<_ACEOF
16074 #define HAVE_WCTYPE_H 1
16075 _ACEOF
16076 ac_has_wctype_h=yes
16077 else
16078 ac_has_wctype_h=no
16081 done
16084 if test x"$enable_wchar_t" = x"yes"; then
16087 ac_ext=cpp
16088 ac_cpp='$CXXCPP $CPPFLAGS'
16089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16094 if test x"$ac_has_wchar_h" = xyes &&
16095 test x"$ac_has_wctype_h" = xyes; then
16096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16097 /* end confdefs.h. */
16098 #include <wchar.h>
16099 #include <stddef.h>
16100 wint_t i;
16101 long l = WEOF;
16102 long j = WCHAR_MIN;
16103 long k = WCHAR_MAX;
16104 namespace test
16106 using ::btowc;
16107 using ::fgetwc;
16108 using ::fgetws;
16109 using ::fputwc;
16110 using ::fputws;
16111 using ::fwide;
16112 using ::fwprintf;
16113 using ::fwscanf;
16114 using ::getwc;
16115 using ::getwchar;
16116 using ::mbrlen;
16117 using ::mbrtowc;
16118 using ::mbsinit;
16119 using ::mbsrtowcs;
16120 using ::putwc;
16121 using ::putwchar;
16122 using ::swprintf;
16123 using ::swscanf;
16124 using ::ungetwc;
16125 using ::vfwprintf;
16126 using ::vswprintf;
16127 using ::vwprintf;
16128 using ::wcrtomb;
16129 using ::wcscat;
16130 using ::wcschr;
16131 using ::wcscmp;
16132 using ::wcscoll;
16133 using ::wcscpy;
16134 using ::wcscspn;
16135 using ::wcsftime;
16136 using ::wcslen;
16137 using ::wcsncat;
16138 using ::wcsncmp;
16139 using ::wcsncpy;
16140 using ::wcspbrk;
16141 using ::wcsrchr;
16142 using ::wcsrtombs;
16143 using ::wcsspn;
16144 using ::wcsstr;
16145 using ::wcstod;
16146 using ::wcstok;
16147 using ::wcstol;
16148 using ::wcstoul;
16149 using ::wcsxfrm;
16150 using ::wctob;
16151 using ::wmemchr;
16152 using ::wmemcmp;
16153 using ::wmemcpy;
16154 using ::wmemmove;
16155 using ::wmemset;
16156 using ::wprintf;
16157 using ::wscanf;
16161 main ()
16165 return 0;
16167 _ACEOF
16168 if ac_fn_cxx_try_compile "$LINENO"; then :
16170 else
16171 enable_wchar_t=no
16173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16174 else
16175 enable_wchar_t=no
16178 ac_ext=c
16179 ac_cpp='$CPP $CPPFLAGS'
16180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16186 if test x"$enable_wchar_t" = x"yes"; then
16188 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16193 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16195 $as_echo "$enable_wchar_t" >&6; }
16199 # Check whether --enable-c99 was given.
16200 if test "${enable_c99+set}" = set; then :
16201 enableval=$enable_c99;
16202 case "$enableval" in
16203 yes|no) ;;
16204 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16205 esac
16207 else
16208 enable_c99=yes
16213 if test x"$enable_c99" = x"yes"; then
16216 ac_ext=cpp
16217 ac_cpp='$CXXCPP $CPPFLAGS'
16218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16223 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16224 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16225 # spuriously enabled.
16226 # Long term, -std=c++0x could be even better, could manage to explicitely
16227 # request C99 facilities to the underlying C headers.
16228 ac_save_CXXFLAGS="$CXXFLAGS"
16229 CXXFLAGS="$CXXFLAGS -std=c++98"
16230 ac_save_LIBS="$LIBS"
16231 ac_save_gcc_no_link="$gcc_no_link"
16233 if test x$gcc_no_link != xyes; then
16234 # Use -fno-exceptions to that the C driver can link these tests without
16235 # hitting undefined references to personality routines.
16236 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16238 $as_echo_n "checking for sin in -lm... " >&6; }
16239 if test "${ac_cv_lib_m_sin+set}" = set; then :
16240 $as_echo_n "(cached) " >&6
16241 else
16242 ac_check_lib_save_LIBS=$LIBS
16243 LIBS="-lm $LIBS"
16244 if test x$gcc_no_link = xyes; then
16245 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16248 /* end confdefs.h. */
16250 /* Override any GCC internal prototype to avoid an error.
16251 Use char because int might match the return type of a GCC
16252 builtin and then its argument prototype would still apply. */
16253 #ifdef __cplusplus
16254 extern "C"
16255 #endif
16256 char sin ();
16258 main ()
16260 return sin ();
16262 return 0;
16264 _ACEOF
16265 if ac_fn_cxx_try_link "$LINENO"; then :
16266 ac_cv_lib_m_sin=yes
16267 else
16268 ac_cv_lib_m_sin=no
16270 rm -f core conftest.err conftest.$ac_objext \
16271 conftest$ac_exeext conftest.$ac_ext
16272 LIBS=$ac_check_lib_save_LIBS
16274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16275 $as_echo "$ac_cv_lib_m_sin" >&6; }
16276 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16278 LIBS="$LIBS -lm"
16280 else
16282 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16283 gcc_no_link=yes
16289 # Check for the existence of <math.h> functions used if C99 is enabled.
16290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16291 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16292 if test "${glibcxx_cv_c99_math+set}" = set; then :
16293 $as_echo_n "(cached) " >&6
16294 else
16296 if test x$gcc_no_link = xyes; then
16297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16298 /* end confdefs.h. */
16299 #include <math.h>
16300 volatile double d1, d2;
16301 volatile int i;
16303 main ()
16305 i = fpclassify(d1);
16306 i = isfinite(d1);
16307 i = isinf(d1);
16308 i = isnan(d1);
16309 i = isnormal(d1);
16310 i = signbit(d1);
16311 i = isgreater(d1, d2);
16312 i = isgreaterequal(d1, d2);
16313 i = isless(d1, d2);
16314 i = islessequal(d1, d2);
16315 i = islessgreater(d1, d2);
16316 i = islessgreater(d1, d2);
16317 i = isunordered(d1, d2);
16320 return 0;
16322 _ACEOF
16323 if ac_fn_cxx_try_compile "$LINENO"; then :
16324 glibcxx_cv_c99_math=yes
16325 else
16326 glibcxx_cv_c99_math=no
16328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16329 else
16330 if test x$gcc_no_link = xyes; then
16331 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16334 /* end confdefs.h. */
16335 #include <math.h>
16336 volatile double d1, d2;
16337 volatile int i;
16339 main ()
16341 i = fpclassify(d1);
16342 i = isfinite(d1);
16343 i = isinf(d1);
16344 i = isnan(d1);
16345 i = isnormal(d1);
16346 i = signbit(d1);
16347 i = isgreater(d1, d2);
16348 i = isgreaterequal(d1, d2);
16349 i = isless(d1, d2);
16350 i = islessequal(d1, d2);
16351 i = islessgreater(d1, d2);
16352 i = islessgreater(d1, d2);
16353 i = isunordered(d1, d2);
16356 return 0;
16358 _ACEOF
16359 if ac_fn_cxx_try_link "$LINENO"; then :
16360 glibcxx_cv_c99_math=yes
16361 else
16362 glibcxx_cv_c99_math=no
16364 rm -f core conftest.err conftest.$ac_objext \
16365 conftest$ac_exeext conftest.$ac_ext
16370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16371 $as_echo "$glibcxx_cv_c99_math" >&6; }
16372 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16374 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16378 # Check for the existence of <complex.h> complex math functions.
16379 # This is necessary even though libstdc++ uses the builtin versions
16380 # of these functions, because if the builtin cannot be used, a reference
16381 # to the library function is emitted.
16382 for ac_header in tgmath.h
16383 do :
16384 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16385 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16386 cat >>confdefs.h <<_ACEOF
16387 #define HAVE_TGMATH_H 1
16388 _ACEOF
16389 ac_has_tgmath_h=yes
16390 else
16391 ac_has_tgmath_h=no
16394 done
16396 for ac_header in complex.h
16397 do :
16398 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16399 if test "x$ac_cv_header_complex_h" = x""yes; then :
16400 cat >>confdefs.h <<_ACEOF
16401 #define HAVE_COMPLEX_H 1
16402 _ACEOF
16403 ac_has_complex_h=yes
16404 else
16405 ac_has_complex_h=no
16408 done
16410 glibcxx_cv_c99_complex=no;
16411 if test x"$ac_has_complex_h" = x"yes"; then
16412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16413 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16414 if test x$gcc_no_link = xyes; then
16415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16416 /* end confdefs.h. */
16417 #include <complex.h>
16418 typedef __complex__ float float_type;
16419 typedef __complex__ double double_type;
16420 typedef __complex__ long double ld_type;
16421 volatile float_type tmpf;
16422 volatile double_type tmpd;
16423 volatile ld_type tmpld;
16424 volatile float f;
16425 volatile double d;
16426 volatile long double ld;
16428 main ()
16430 f = cabsf(tmpf);
16431 f = cargf(tmpf);
16432 tmpf = ccosf(tmpf);
16433 tmpf = ccoshf(tmpf);
16434 tmpf = cexpf(tmpf);
16435 tmpf = clogf(tmpf);
16436 tmpf = csinf(tmpf);
16437 tmpf = csinhf(tmpf);
16438 tmpf = csqrtf(tmpf);
16439 tmpf = ctanf(tmpf);
16440 tmpf = ctanhf(tmpf);
16441 tmpf = cpowf(tmpf, tmpf);
16442 tmpf = cprojf(tmpf);
16443 d = cabs(tmpd);
16444 d = carg(tmpd);
16445 tmpd = ccos(tmpd);
16446 tmpd = ccosh(tmpd);
16447 tmpd = cexp(tmpd);
16448 tmpd = clog(tmpd);
16449 tmpd = csin(tmpd);
16450 tmpd = csinh(tmpd);
16451 tmpd = csqrt(tmpd);
16452 tmpd = ctan(tmpd);
16453 tmpd = ctanh(tmpd);
16454 tmpd = cpow(tmpd, tmpd);
16455 tmpd = cproj(tmpd);
16456 ld = cabsl(tmpld);
16457 ld = cargl(tmpld);
16458 tmpld = ccosl(tmpld);
16459 tmpld = ccoshl(tmpld);
16460 tmpld = cexpl(tmpld);
16461 tmpld = clogl(tmpld);
16462 tmpld = csinl(tmpld);
16463 tmpld = csinhl(tmpld);
16464 tmpld = csqrtl(tmpld);
16465 tmpld = ctanl(tmpld);
16466 tmpld = ctanhl(tmpld);
16467 tmpld = cpowl(tmpld, tmpld);
16468 tmpld = cprojl(tmpld);
16471 return 0;
16473 _ACEOF
16474 if ac_fn_cxx_try_compile "$LINENO"; then :
16475 glibcxx_cv_c99_complex=yes
16476 else
16477 glibcxx_cv_c99_complex=no
16479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16480 else
16481 if test x$gcc_no_link = xyes; then
16482 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16485 /* end confdefs.h. */
16486 #include <complex.h>
16487 typedef __complex__ float float_type;
16488 typedef __complex__ double double_type;
16489 typedef __complex__ long double ld_type;
16490 volatile float_type tmpf;
16491 volatile double_type tmpd;
16492 volatile ld_type tmpld;
16493 volatile float f;
16494 volatile double d;
16495 volatile long double ld;
16497 main ()
16499 f = cabsf(tmpf);
16500 f = cargf(tmpf);
16501 tmpf = ccosf(tmpf);
16502 tmpf = ccoshf(tmpf);
16503 tmpf = cexpf(tmpf);
16504 tmpf = clogf(tmpf);
16505 tmpf = csinf(tmpf);
16506 tmpf = csinhf(tmpf);
16507 tmpf = csqrtf(tmpf);
16508 tmpf = ctanf(tmpf);
16509 tmpf = ctanhf(tmpf);
16510 tmpf = cpowf(tmpf, tmpf);
16511 tmpf = cprojf(tmpf);
16512 d = cabs(tmpd);
16513 d = carg(tmpd);
16514 tmpd = ccos(tmpd);
16515 tmpd = ccosh(tmpd);
16516 tmpd = cexp(tmpd);
16517 tmpd = clog(tmpd);
16518 tmpd = csin(tmpd);
16519 tmpd = csinh(tmpd);
16520 tmpd = csqrt(tmpd);
16521 tmpd = ctan(tmpd);
16522 tmpd = ctanh(tmpd);
16523 tmpd = cpow(tmpd, tmpd);
16524 tmpd = cproj(tmpd);
16525 ld = cabsl(tmpld);
16526 ld = cargl(tmpld);
16527 tmpld = ccosl(tmpld);
16528 tmpld = ccoshl(tmpld);
16529 tmpld = cexpl(tmpld);
16530 tmpld = clogl(tmpld);
16531 tmpld = csinl(tmpld);
16532 tmpld = csinhl(tmpld);
16533 tmpld = csqrtl(tmpld);
16534 tmpld = ctanl(tmpld);
16535 tmpld = ctanhl(tmpld);
16536 tmpld = cpowl(tmpld, tmpld);
16537 tmpld = cprojl(tmpld);
16540 return 0;
16542 _ACEOF
16543 if ac_fn_cxx_try_link "$LINENO"; then :
16544 glibcxx_cv_c99_complex=yes
16545 else
16546 glibcxx_cv_c99_complex=no
16548 rm -f core conftest.err conftest.$ac_objext \
16549 conftest$ac_exeext conftest.$ac_ext
16552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16553 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16554 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16556 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16560 # Check for the existence in <stdio.h> of vscanf, et. al.
16561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16562 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16563 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16564 $as_echo_n "(cached) " >&6
16565 else
16567 if test x$gcc_no_link = xyes; then
16568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16569 /* end confdefs.h. */
16570 #include <stdio.h>
16571 #include <stdarg.h>
16572 void foo(char* fmt, ...)
16574 va_list args; va_start(args, fmt);
16575 vfscanf(stderr, "%i", args);
16576 vscanf("%i", args);
16577 vsnprintf(fmt, 0, "%i", args);
16578 vsscanf(fmt, "%i", args);
16581 main ()
16583 snprintf("12", 0, "%i");
16585 return 0;
16587 _ACEOF
16588 if ac_fn_cxx_try_compile "$LINENO"; then :
16589 glibcxx_cv_c99_stdio=yes
16590 else
16591 glibcxx_cv_c99_stdio=no
16593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16594 else
16595 if test x$gcc_no_link = xyes; then
16596 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16599 /* end confdefs.h. */
16600 #include <stdio.h>
16601 #include <stdarg.h>
16602 void foo(char* fmt, ...)
16604 va_list args; va_start(args, fmt);
16605 vfscanf(stderr, "%i", args);
16606 vscanf("%i", args);
16607 vsnprintf(fmt, 0, "%i", args);
16608 vsscanf(fmt, "%i", args);
16611 main ()
16613 snprintf("12", 0, "%i");
16615 return 0;
16617 _ACEOF
16618 if ac_fn_cxx_try_link "$LINENO"; then :
16619 glibcxx_cv_c99_stdio=yes
16620 else
16621 glibcxx_cv_c99_stdio=no
16623 rm -f core conftest.err conftest.$ac_objext \
16624 conftest$ac_exeext conftest.$ac_ext
16629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16630 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16632 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16634 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16635 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16636 $as_echo_n "(cached) " >&6
16637 else
16639 if test x$gcc_no_link = xyes; then
16640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16641 /* end confdefs.h. */
16642 #include <stdlib.h>
16643 volatile float f;
16644 volatile long double ld;
16645 volatile unsigned long long ll;
16646 lldiv_t mydivt;
16648 main ()
16650 char* tmp;
16651 f = strtof("gnu", &tmp);
16652 ld = strtold("gnu", &tmp);
16653 ll = strtoll("gnu", &tmp, 10);
16654 ll = strtoull("gnu", &tmp, 10);
16655 ll = llabs(10);
16656 mydivt = lldiv(10,1);
16657 ll = mydivt.quot;
16658 ll = mydivt.rem;
16659 ll = atoll("10");
16660 _Exit(0);
16663 return 0;
16665 _ACEOF
16666 if ac_fn_cxx_try_compile "$LINENO"; then :
16667 glibcxx_cv_c99_stdlib=yes
16668 else
16669 glibcxx_cv_c99_stdlib=no
16671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16672 else
16673 if test x$gcc_no_link = xyes; then
16674 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16677 /* end confdefs.h. */
16678 #include <stdlib.h>
16679 volatile float f;
16680 volatile long double ld;
16681 volatile unsigned long long ll;
16682 lldiv_t mydivt;
16684 main ()
16686 char* tmp;
16687 f = strtof("gnu", &tmp);
16688 ld = strtold("gnu", &tmp);
16689 ll = strtoll("gnu", &tmp, 10);
16690 ll = strtoull("gnu", &tmp, 10);
16691 ll = llabs(10);
16692 mydivt = lldiv(10,1);
16693 ll = mydivt.quot;
16694 ll = mydivt.rem;
16695 ll = atoll("10");
16696 _Exit(0);
16699 return 0;
16701 _ACEOF
16702 if ac_fn_cxx_try_link "$LINENO"; then :
16703 glibcxx_cv_c99_stdlib=yes
16704 else
16705 glibcxx_cv_c99_stdlib=no
16707 rm -f core conftest.err conftest.$ac_objext \
16708 conftest$ac_exeext conftest.$ac_ext
16713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
16714 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
16716 # Check for the existence in <wchar.h> of wcstold, etc.
16717 glibcxx_cv_c99_wchar=no;
16718 if test x"$ac_has_wchar_h" = xyes &&
16719 test x"$ac_has_wctype_h" = xyes; then
16720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
16721 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
16722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16723 /* end confdefs.h. */
16724 #include <wchar.h>
16725 namespace test
16727 using ::wcstold;
16728 using ::wcstoll;
16729 using ::wcstoull;
16733 main ()
16737 return 0;
16739 _ACEOF
16740 if ac_fn_cxx_try_compile "$LINENO"; then :
16741 glibcxx_cv_c99_wchar=yes
16742 else
16743 glibcxx_cv_c99_wchar=no
16745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16747 # Checks for wide character functions that may not be present.
16748 # Injection of these is wrapped with guard macros.
16749 # NB: only put functions here, instead of immediately above, if
16750 # absolutely necessary.
16751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16752 /* end confdefs.h. */
16753 #include <wchar.h>
16754 namespace test { using ::vfwscanf; }
16756 main ()
16760 return 0;
16762 _ACEOF
16763 if ac_fn_cxx_try_compile "$LINENO"; then :
16765 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
16768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16771 /* end confdefs.h. */
16772 #include <wchar.h>
16773 namespace test { using ::vswscanf; }
16775 main ()
16779 return 0;
16781 _ACEOF
16782 if ac_fn_cxx_try_compile "$LINENO"; then :
16784 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
16787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16790 /* end confdefs.h. */
16791 #include <wchar.h>
16792 namespace test { using ::vwscanf; }
16794 main ()
16798 return 0;
16800 _ACEOF
16801 if ac_fn_cxx_try_compile "$LINENO"; then :
16803 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
16806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16809 /* end confdefs.h. */
16810 #include <wchar.h>
16811 namespace test { using ::wcstof; }
16813 main ()
16817 return 0;
16819 _ACEOF
16820 if ac_fn_cxx_try_compile "$LINENO"; then :
16822 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
16825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16828 /* end confdefs.h. */
16829 #include <wctype.h>
16831 main ()
16833 wint_t t; int i = iswblank(t);
16835 return 0;
16837 _ACEOF
16838 if ac_fn_cxx_try_compile "$LINENO"; then :
16840 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
16843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
16846 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
16849 # Option parsed, now set things appropriately.
16850 if test x"$glibcxx_cv_c99_math" = x"no" ||
16851 test x"$glibcxx_cv_c99_complex" = x"no" ||
16852 test x"$glibcxx_cv_c99_stdio" = x"no" ||
16853 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
16854 test x"$glibcxx_cv_c99_wchar" = x"no"; then
16855 enable_c99=no;
16856 else
16858 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
16862 gcc_no_link="$ac_save_gcc_no_link"
16863 LIBS="$ac_save_LIBS"
16864 CXXFLAGS="$ac_save_CXXFLAGS"
16865 ac_ext=c
16866 ac_cpp='$CPP $CPPFLAGS'
16867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
16874 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
16875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
16876 $as_echo "$enable_c99" >&6; }
16879 # Check whether --enable-concept-checks was given.
16880 if test "${enable_concept_checks+set}" = set; then :
16881 enableval=$enable_concept_checks;
16882 case "$enableval" in
16883 yes|no) ;;
16884 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
16885 esac
16887 else
16888 enable_concept_checks=no
16892 if test $enable_concept_checks = yes; then
16894 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
16899 # Check whether --enable-libstdcxx-debug-flags was given.
16900 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
16901 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
16902 xno | x) enable_libstdcxx_debug_flags= ;;
16903 x-*) ;;
16904 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
16905 esac
16906 else
16907 enable_libstdcxx_debug_flags="-g3 -O0"
16912 # Option parsed, now set things appropriately
16913 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
16916 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
16917 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
16920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
16921 $as_echo_n "checking for additional debug build... " >&6; }
16922 # Check whether --enable-libstdcxx-debug was given.
16923 if test "${enable_libstdcxx_debug+set}" = set; then :
16924 enableval=$enable_libstdcxx_debug;
16925 case "$enableval" in
16926 yes|no) ;;
16927 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
16928 esac
16930 else
16931 enable_libstdcxx_debug=no
16935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
16936 $as_echo "$enable_libstdcxx_debug" >&6; }
16941 enable_parallel=no;
16943 # See if configured libgomp/omp.h exists. (libgomp may be in
16944 # noconfigdirs but not explicitly disabled.)
16945 if test -f $glibcxx_builddir/../libgomp/omp.h; then
16946 enable_parallel=yes;
16947 else
16948 { $as_echo "$as_me:${as_lineno-$LINENO}: $glibcxx_builddir/../libgomp/omp.h not found" >&5
16949 $as_echo "$as_me: $glibcxx_builddir/../libgomp/omp.h not found" >&6;}
16952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
16953 $as_echo_n "checking for parallel mode support... " >&6; }
16954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
16955 $as_echo "$enable_parallel" >&6; }
16958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
16959 $as_echo_n "checking for extra compiler flags for building... " >&6; }
16960 # Check whether --enable-cxx-flags was given.
16961 if test "${enable_cxx_flags+set}" = set; then :
16962 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
16963 xno | x) enable_cxx_flags= ;;
16964 x-*) ;;
16965 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
16966 esac
16967 else
16968 enable_cxx_flags=
16973 # Run through flags (either default or command-line) and set anything
16974 # extra (e.g., #defines) that must accompany particular g++ options.
16975 if test -n "$enable_cxx_flags"; then
16976 for f in $enable_cxx_flags; do
16977 case "$f" in
16978 -fhonor-std) ;;
16979 -*) ;;
16980 *) # and we're trying to pass /what/ exactly?
16981 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
16982 esac
16983 done
16986 EXTRA_CXX_FLAGS="$enable_cxx_flags"
16987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
16988 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
16992 # Check whether --enable-fully-dynamic-string was given.
16993 if test "${enable_fully_dynamic_string+set}" = set; then :
16994 enableval=$enable_fully_dynamic_string;
16995 case "$enableval" in
16996 yes|no) ;;
16997 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
16998 esac
17000 else
17001 enable_fully_dynamic_string=no
17005 if test $enable_fully_dynamic_string = yes; then
17007 $as_echo "#define _GLIBCXX_FULLY_DYNAMIC_STRING 1" >>confdefs.h
17012 # Checks for operating systems support that doesn't require linking.
17015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17016 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17017 if test "${glibcxx_cv_system_error1+set}" = set; then :
17018 $as_echo_n "(cached) " >&6
17019 else
17021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17022 /* end confdefs.h. */
17023 #include <errno.h>
17025 main ()
17027 int i = EOWNERDEAD;
17029 return 0;
17031 _ACEOF
17032 if ac_fn_c_try_compile "$LINENO"; then :
17033 glibcxx_cv_system_error1=yes
17034 else
17035 glibcxx_cv_system_error1=no
17037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17042 $as_echo "$glibcxx_cv_system_error1" >&6; }
17043 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17045 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17049 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17050 if test "${glibcxx_cv_system_error2+set}" = set; then :
17051 $as_echo_n "(cached) " >&6
17052 else
17054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17055 /* end confdefs.h. */
17056 #include <errno.h>
17058 main ()
17060 int i = ENOTRECOVERABLE;
17062 return 0;
17064 _ACEOF
17065 if ac_fn_c_try_compile "$LINENO"; then :
17066 glibcxx_cv_system_error2=yes
17067 else
17068 glibcxx_cv_system_error2=no
17070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17075 $as_echo "$glibcxx_cv_system_error2" >&6; }
17076 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17078 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17082 $as_echo_n "checking for ENOLINK... " >&6; }
17083 if test "${glibcxx_cv_system_error3+set}" = set; then :
17084 $as_echo_n "(cached) " >&6
17085 else
17087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17088 /* end confdefs.h. */
17089 #include <errno.h>
17091 main ()
17093 int i = ENOLINK;
17095 return 0;
17097 _ACEOF
17098 if ac_fn_c_try_compile "$LINENO"; then :
17099 glibcxx_cv_system_error3=yes
17100 else
17101 glibcxx_cv_system_error3=no
17103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17108 $as_echo "$glibcxx_cv_system_error3" >&6; }
17109 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17111 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17115 $as_echo_n "checking for EPROTO... " >&6; }
17116 if test "${glibcxx_cv_system_error4+set}" = set; then :
17117 $as_echo_n "(cached) " >&6
17118 else
17120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17121 /* end confdefs.h. */
17122 #include <errno.h>
17124 main ()
17126 int i = EPROTO;
17128 return 0;
17130 _ACEOF
17131 if ac_fn_c_try_compile "$LINENO"; then :
17132 glibcxx_cv_system_error4=yes
17133 else
17134 glibcxx_cv_system_error4=no
17136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17141 $as_echo "$glibcxx_cv_system_error4" >&6; }
17142 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17144 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17148 $as_echo_n "checking for ENODATA... " >&6; }
17149 if test "${glibcxx_cv_system_error5+set}" = set; then :
17150 $as_echo_n "(cached) " >&6
17151 else
17153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17154 /* end confdefs.h. */
17155 #include <errno.h>
17157 main ()
17159 int i = ENODATA;
17161 return 0;
17163 _ACEOF
17164 if ac_fn_c_try_compile "$LINENO"; then :
17165 glibcxx_cv_system_error5=yes
17166 else
17167 glibcxx_cv_system_error5=no
17169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17174 $as_echo "$glibcxx_cv_system_error5" >&6; }
17175 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17177 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17181 $as_echo_n "checking for ENOSR... " >&6; }
17182 if test "${glibcxx_cv_system_error6+set}" = set; then :
17183 $as_echo_n "(cached) " >&6
17184 else
17186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17187 /* end confdefs.h. */
17188 #include <errno.h>
17190 main ()
17192 int i = ENOSR;
17194 return 0;
17196 _ACEOF
17197 if ac_fn_c_try_compile "$LINENO"; then :
17198 glibcxx_cv_system_error6=yes
17199 else
17200 glibcxx_cv_system_error6=no
17202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17207 $as_echo "$glibcxx_cv_system_error6" >&6; }
17208 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17210 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17214 $as_echo_n "checking for ENOSTR... " >&6; }
17215 if test "${glibcxx_cv_system_error7+set}" = set; then :
17216 $as_echo_n "(cached) " >&6
17217 else
17219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17220 /* end confdefs.h. */
17221 #include <errno.h>
17223 main ()
17225 int i = ENOSTR;
17227 return 0;
17229 _ACEOF
17230 if ac_fn_c_try_compile "$LINENO"; then :
17231 glibcxx_cv_system_error7=yes
17232 else
17233 glibcxx_cv_system_error7=no
17235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17240 $as_echo "$glibcxx_cv_system_error7" >&6; }
17241 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17243 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17247 $as_echo_n "checking for ETIME... " >&6; }
17248 if test "${glibcxx_cv_system_error8+set}" = set; then :
17249 $as_echo_n "(cached) " >&6
17250 else
17252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17253 /* end confdefs.h. */
17254 #include <errno.h>
17256 main ()
17258 int i = ETIME;
17260 return 0;
17262 _ACEOF
17263 if ac_fn_c_try_compile "$LINENO"; then :
17264 glibcxx_cv_system_error8=yes
17265 else
17266 glibcxx_cv_system_error8=no
17268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17273 $as_echo "$glibcxx_cv_system_error8" >&6; }
17274 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17276 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17280 $as_echo_n "checking for EBADMSG... " >&6; }
17281 if test "${glibcxx_cv_system_error9+set}" = set; then :
17282 $as_echo_n "(cached) " >&6
17283 else
17285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17286 /* end confdefs.h. */
17287 #include <errno.h>
17289 main ()
17291 int i = EBADMSG;
17293 return 0;
17295 _ACEOF
17296 if ac_fn_c_try_compile "$LINENO"; then :
17297 glibcxx_cv_system_error9=yes
17298 else
17299 glibcxx_cv_system_error9=no
17301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17306 $as_echo "$glibcxx_cv_system_error9" >&6; }
17307 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17309 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17313 $as_echo_n "checking for ECANCELED... " >&6; }
17314 if test "${glibcxx_cv_system_error10+set}" = set; then :
17315 $as_echo_n "(cached) " >&6
17316 else
17318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17319 /* end confdefs.h. */
17320 #include <errno.h>
17322 main ()
17324 int i = ECANCELED;
17326 return 0;
17328 _ACEOF
17329 if ac_fn_c_try_compile "$LINENO"; then :
17330 glibcxx_cv_system_error10=yes
17331 else
17332 glibcxx_cv_system_error10=no
17334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17339 $as_echo "$glibcxx_cv_system_error10" >&6; }
17340 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17342 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17346 $as_echo_n "checking for EOVERFLOW... " >&6; }
17347 if test "${glibcxx_cv_system_error11+set}" = set; then :
17348 $as_echo_n "(cached) " >&6
17349 else
17351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17352 /* end confdefs.h. */
17353 #include <errno.h>
17355 main ()
17357 int i = EOVERFLOW;
17359 return 0;
17361 _ACEOF
17362 if ac_fn_c_try_compile "$LINENO"; then :
17363 glibcxx_cv_system_error11=yes
17364 else
17365 glibcxx_cv_system_error11=no
17367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17372 $as_echo "$glibcxx_cv_system_error11" >&6; }
17373 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17375 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17379 $as_echo_n "checking for ENOTSUP... " >&6; }
17380 if test "${glibcxx_cv_system_error12+set}" = set; then :
17381 $as_echo_n "(cached) " >&6
17382 else
17384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17385 /* end confdefs.h. */
17386 #include <errno.h>
17388 main ()
17390 int i = ENOTSUP;
17392 return 0;
17394 _ACEOF
17395 if ac_fn_c_try_compile "$LINENO"; then :
17396 glibcxx_cv_system_error12=yes
17397 else
17398 glibcxx_cv_system_error12=no
17400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17405 $as_echo "$glibcxx_cv_system_error12" >&6; }
17406 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17408 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17412 $as_echo_n "checking for EIDRM... " >&6; }
17413 if test "${glibcxx_cv_system_error13+set}" = set; then :
17414 $as_echo_n "(cached) " >&6
17415 else
17417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17418 /* end confdefs.h. */
17419 #include <errno.h>
17421 main ()
17423 int i = EIDRM;
17425 return 0;
17427 _ACEOF
17428 if ac_fn_c_try_compile "$LINENO"; then :
17429 glibcxx_cv_system_error13=yes
17430 else
17431 glibcxx_cv_system_error13=no
17433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17438 $as_echo "$glibcxx_cv_system_error13" >&6; }
17439 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17441 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17445 $as_echo_n "checking for ETXTBSY... " >&6; }
17446 if test "${glibcxx_cv_system_error14+set}" = set; then :
17447 $as_echo_n "(cached) " >&6
17448 else
17450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17451 /* end confdefs.h. */
17452 #include <errno.h>
17454 main ()
17456 int i = ETXTBSY;
17458 return 0;
17460 _ACEOF
17461 if ac_fn_c_try_compile "$LINENO"; then :
17462 glibcxx_cv_system_error14=yes
17463 else
17464 glibcxx_cv_system_error14=no
17466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17471 $as_echo "$glibcxx_cv_system_error14" >&6; }
17472 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17474 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17480 # For the streamoff typedef.
17484 ac_ext=cpp
17485 ac_cpp='$CXXCPP $CPPFLAGS'
17486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
17492 $as_echo_n "checking for int64_t... " >&6; }
17493 if test "${glibcxx_cv_INT64_T+set}" = set; then :
17494 $as_echo_n "(cached) " >&6
17495 else
17497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17498 /* end confdefs.h. */
17499 #include <stdint.h>
17501 main ()
17503 int64_t var;
17505 return 0;
17507 _ACEOF
17508 if ac_fn_cxx_try_compile "$LINENO"; then :
17509 glibcxx_cv_INT64_T=yes
17510 else
17511 glibcxx_cv_INT64_T=no
17513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17518 if test $glibcxx_cv_INT64_T = yes; then
17520 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
17522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
17523 $as_echo "$glibcxx_cv_INT64_T" >&6; }
17525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
17526 $as_echo_n "checking for int64_t as long... " >&6; }
17527 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
17528 $as_echo_n "(cached) " >&6
17529 else
17531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17532 /* end confdefs.h. */
17533 #include <stdint.h>
17534 template<typename, typename> struct same { enum { value = -1 }; };
17535 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
17536 int array[same<int64_t, long>::value];
17538 main ()
17542 return 0;
17544 _ACEOF
17545 if ac_fn_cxx_try_compile "$LINENO"; then :
17546 glibcxx_cv_int64_t_long=yes
17547 else
17548 glibcxx_cv_int64_t_long=no
17550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17555 if test $glibcxx_cv_int64_t_long = yes; then
17557 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
17559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
17560 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
17563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
17564 $as_echo_n "checking for int64_t as long long... " >&6; }
17565 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
17566 $as_echo_n "(cached) " >&6
17567 else
17569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17570 /* end confdefs.h. */
17571 #include <stdint.h>
17572 template<typename, typename> struct same { enum { value = -1 }; };
17573 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
17574 int array[same<int64_t, long long>::value];
17576 main ()
17580 return 0;
17582 _ACEOF
17583 if ac_fn_cxx_try_compile "$LINENO"; then :
17584 glibcxx_cv_int64_t_long_long=yes
17585 else
17586 glibcxx_cv_int64_t_long_long=no
17588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17593 if test $glibcxx_cv_int64_t_long_long = yes; then
17595 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
17597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
17598 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
17602 ac_ext=c
17603 ac_cpp='$CPP $CPPFLAGS'
17604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17610 # For LFS support.
17613 ac_ext=cpp
17614 ac_cpp='$CXXCPP $CPPFLAGS'
17615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17619 ac_save_CXXFLAGS="$CXXFLAGS"
17620 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
17622 $as_echo_n "checking for LFS support... " >&6; }
17623 if test "${glibcxx_cv_LFS+set}" = set; then :
17624 $as_echo_n "(cached) " >&6
17625 else
17627 if test x$gcc_no_link = xyes; then
17628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17629 /* end confdefs.h. */
17630 #include <unistd.h>
17631 #include <stdio.h>
17632 #include <sys/stat.h>
17635 main ()
17637 FILE* fp;
17638 fopen64("t", "w");
17639 fseeko64(fp, 0, SEEK_CUR);
17640 ftello64(fp);
17641 lseek64(1, 0, SEEK_CUR);
17642 struct stat64 buf;
17643 fstat64(1, &buf);
17645 return 0;
17647 _ACEOF
17648 if ac_fn_cxx_try_compile "$LINENO"; then :
17649 glibcxx_cv_LFS=yes
17650 else
17651 glibcxx_cv_LFS=no
17653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17654 else
17655 if test x$gcc_no_link = xyes; then
17656 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17659 /* end confdefs.h. */
17660 #include <unistd.h>
17661 #include <stdio.h>
17662 #include <sys/stat.h>
17665 main ()
17667 FILE* fp;
17668 fopen64("t", "w");
17669 fseeko64(fp, 0, SEEK_CUR);
17670 ftello64(fp);
17671 lseek64(1, 0, SEEK_CUR);
17672 struct stat64 buf;
17673 fstat64(1, &buf);
17675 return 0;
17677 _ACEOF
17678 if ac_fn_cxx_try_link "$LINENO"; then :
17679 glibcxx_cv_LFS=yes
17680 else
17681 glibcxx_cv_LFS=no
17683 rm -f core conftest.err conftest.$ac_objext \
17684 conftest$ac_exeext conftest.$ac_ext
17689 if test $glibcxx_cv_LFS = yes; then
17691 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
17694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
17695 $as_echo "$glibcxx_cv_LFS" >&6; }
17696 CXXFLAGS="$ac_save_CXXFLAGS"
17697 ac_ext=c
17698 ac_cpp='$CPP $CPPFLAGS'
17699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17705 # For showmanyc_helper().
17706 for ac_header in sys/ioctl.h sys/filio.h
17707 do :
17708 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17709 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17710 eval as_val=\$$as_ac_Header
17711 if test "x$as_val" = x""yes; then :
17712 cat >>confdefs.h <<_ACEOF
17713 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17714 _ACEOF
17718 done
17723 ac_ext=cpp
17724 ac_cpp='$CXXCPP $CPPFLAGS'
17725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17729 ac_save_CXXFLAGS="$CXXFLAGS"
17730 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
17733 $as_echo_n "checking for poll... " >&6; }
17734 if test "${glibcxx_cv_POLL+set}" = set; then :
17735 $as_echo_n "(cached) " >&6
17736 else
17738 if test x$gcc_no_link = xyes; then
17739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17740 /* end confdefs.h. */
17741 #include <poll.h>
17743 main ()
17745 struct pollfd pfd[1];
17746 pfd[0].events = POLLIN;
17747 poll(pfd, 1, 0);
17749 return 0;
17751 _ACEOF
17752 if ac_fn_cxx_try_compile "$LINENO"; then :
17753 glibcxx_cv_POLL=yes
17754 else
17755 glibcxx_cv_POLL=no
17757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17758 else
17759 if test x$gcc_no_link = xyes; then
17760 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17763 /* end confdefs.h. */
17764 #include <poll.h>
17766 main ()
17768 struct pollfd pfd[1];
17769 pfd[0].events = POLLIN;
17770 poll(pfd, 1, 0);
17772 return 0;
17774 _ACEOF
17775 if ac_fn_cxx_try_link "$LINENO"; then :
17776 glibcxx_cv_POLL=yes
17777 else
17778 glibcxx_cv_POLL=no
17780 rm -f core conftest.err conftest.$ac_objext \
17781 conftest$ac_exeext conftest.$ac_ext
17786 if test $glibcxx_cv_POLL = yes; then
17788 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
17792 $as_echo "$glibcxx_cv_POLL" >&6; }
17794 CXXFLAGS="$ac_save_CXXFLAGS"
17795 ac_ext=c
17796 ac_cpp='$CPP $CPPFLAGS'
17797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17805 ac_ext=cpp
17806 ac_cpp='$CXXCPP $CPPFLAGS'
17807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17811 ac_save_CXXFLAGS="$CXXFLAGS"
17812 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
17815 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
17816 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
17817 $as_echo_n "(cached) " >&6
17818 else
17820 if test x$gcc_no_link = xyes; then
17821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17822 /* end confdefs.h. */
17823 #include <sys/stat.h>
17825 main ()
17827 struct stat buffer;
17828 fstat(0, &buffer);
17829 S_ISREG(buffer.st_mode);
17831 return 0;
17833 _ACEOF
17834 if ac_fn_cxx_try_compile "$LINENO"; then :
17835 glibcxx_cv_S_ISREG=yes
17836 else
17837 glibcxx_cv_S_ISREG=no
17839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17840 else
17841 if test x$gcc_no_link = xyes; then
17842 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17845 /* end confdefs.h. */
17846 #include <sys/stat.h>
17848 main ()
17850 struct stat buffer;
17851 fstat(0, &buffer);
17852 S_ISREG(buffer.st_mode);
17854 return 0;
17856 _ACEOF
17857 if ac_fn_cxx_try_link "$LINENO"; then :
17858 glibcxx_cv_S_ISREG=yes
17859 else
17860 glibcxx_cv_S_ISREG=no
17862 rm -f core conftest.err conftest.$ac_objext \
17863 conftest$ac_exeext conftest.$ac_ext
17868 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
17869 $as_echo_n "(cached) " >&6
17870 else
17872 if test x$gcc_no_link = xyes; then
17873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17874 /* end confdefs.h. */
17875 #include <sys/stat.h>
17877 main ()
17879 struct stat buffer;
17880 fstat(0, &buffer);
17881 S_IFREG & buffer.st_mode;
17883 return 0;
17885 _ACEOF
17886 if ac_fn_cxx_try_compile "$LINENO"; then :
17887 glibcxx_cv_S_IFREG=yes
17888 else
17889 glibcxx_cv_S_IFREG=no
17891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17892 else
17893 if test x$gcc_no_link = xyes; then
17894 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17897 /* end confdefs.h. */
17898 #include <sys/stat.h>
17900 main ()
17902 struct stat buffer;
17903 fstat(0, &buffer);
17904 S_IFREG & buffer.st_mode;
17906 return 0;
17908 _ACEOF
17909 if ac_fn_cxx_try_link "$LINENO"; then :
17910 glibcxx_cv_S_IFREG=yes
17911 else
17912 glibcxx_cv_S_IFREG=no
17914 rm -f core conftest.err conftest.$ac_objext \
17915 conftest$ac_exeext conftest.$ac_ext
17920 res=no
17921 if test $glibcxx_cv_S_ISREG = yes; then
17923 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
17925 res=S_ISREG
17926 elif test $glibcxx_cv_S_IFREG = yes; then
17928 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
17930 res=S_IFREG
17932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
17933 $as_echo "$res" >&6; }
17935 CXXFLAGS="$ac_save_CXXFLAGS"
17936 ac_ext=c
17937 ac_cpp='$CPP $CPPFLAGS'
17938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17944 # For xsputn_2().
17945 for ac_header in sys/uio.h
17946 do :
17947 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
17948 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
17949 cat >>confdefs.h <<_ACEOF
17950 #define HAVE_SYS_UIO_H 1
17951 _ACEOF
17955 done
17960 ac_ext=cpp
17961 ac_cpp='$CXXCPP $CPPFLAGS'
17962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17966 ac_save_CXXFLAGS="$CXXFLAGS"
17967 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
17970 $as_echo_n "checking for writev... " >&6; }
17971 if test "${glibcxx_cv_WRITEV+set}" = set; then :
17972 $as_echo_n "(cached) " >&6
17973 else
17975 if test x$gcc_no_link = xyes; then
17976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17977 /* end confdefs.h. */
17978 #include <sys/uio.h>
17980 main ()
17982 struct iovec iov[2];
17983 writev(0, iov, 0);
17985 return 0;
17987 _ACEOF
17988 if ac_fn_cxx_try_compile "$LINENO"; then :
17989 glibcxx_cv_WRITEV=yes
17990 else
17991 glibcxx_cv_WRITEV=no
17993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17994 else
17995 if test x$gcc_no_link = xyes; then
17996 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17999 /* end confdefs.h. */
18000 #include <sys/uio.h>
18002 main ()
18004 struct iovec iov[2];
18005 writev(0, iov, 0);
18007 return 0;
18009 _ACEOF
18010 if ac_fn_cxx_try_link "$LINENO"; then :
18011 glibcxx_cv_WRITEV=yes
18012 else
18013 glibcxx_cv_WRITEV=no
18015 rm -f core conftest.err conftest.$ac_objext \
18016 conftest$ac_exeext conftest.$ac_ext
18021 if test $glibcxx_cv_WRITEV = yes; then
18023 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18027 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18029 CXXFLAGS="$ac_save_CXXFLAGS"
18030 ac_ext=c
18031 ac_cpp='$CPP $CPPFLAGS'
18032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18038 # For C99 support to TR1.
18042 ac_ext=cpp
18043 ac_cpp='$CXXCPP $CPPFLAGS'
18044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18049 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18050 # undefined and fake C99 facilities may be spuriously enabled.
18051 ac_save_CXXFLAGS="$CXXFLAGS"
18052 CXXFLAGS="$CXXFLAGS -std=c++98"
18054 # Check for the existence of <complex.h> complex math functions used
18055 # by tr1/complex.
18056 for ac_header in complex.h
18057 do :
18058 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18059 if test "x$ac_cv_header_complex_h" = x""yes; then :
18060 cat >>confdefs.h <<_ACEOF
18061 #define HAVE_COMPLEX_H 1
18062 _ACEOF
18063 ac_has_complex_h=yes
18064 else
18065 ac_has_complex_h=no
18068 done
18070 ac_c99_complex_tr1=no;
18071 if test x"$ac_has_complex_h" = x"yes"; then
18072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18073 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18075 /* end confdefs.h. */
18076 #include <complex.h>
18078 main ()
18080 typedef __complex__ float float_type; float_type tmpf;
18081 cacosf(tmpf);
18082 casinf(tmpf);
18083 catanf(tmpf);
18084 cacoshf(tmpf);
18085 casinhf(tmpf);
18086 catanhf(tmpf);
18087 typedef __complex__ double double_type; double_type tmpd;
18088 cacos(tmpd);
18089 casin(tmpd);
18090 catan(tmpd);
18091 cacosh(tmpd);
18092 casinh(tmpd);
18093 catanh(tmpd);
18094 typedef __complex__ long double ld_type; ld_type tmpld;
18095 cacosl(tmpld);
18096 casinl(tmpld);
18097 catanl(tmpld);
18098 cacoshl(tmpld);
18099 casinhl(tmpld);
18100 catanhl(tmpld);
18103 return 0;
18105 _ACEOF
18106 if ac_fn_cxx_try_compile "$LINENO"; then :
18107 ac_c99_complex_tr1=yes
18108 else
18109 ac_c99_complex_tr1=no
18111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18114 $as_echo "$ac_c99_complex_tr1" >&6; }
18115 if test x"$ac_c99_complex_tr1" = x"yes"; then
18117 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18121 # Check for the existence of <ctype.h> functions.
18122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18123 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18124 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18125 $as_echo_n "(cached) " >&6
18126 else
18128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18129 /* end confdefs.h. */
18130 #include <ctype.h>
18132 main ()
18134 int ch;
18135 int ret;
18136 ret = isblank(ch);
18139 return 0;
18141 _ACEOF
18142 if ac_fn_cxx_try_compile "$LINENO"; then :
18143 glibcxx_cv_c99_ctype_tr1=yes
18144 else
18145 glibcxx_cv_c99_ctype_tr1=no
18147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18152 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18153 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18155 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18159 # Check for the existence of <fenv.h> functions.
18160 for ac_header in fenv.h
18161 do :
18162 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18163 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18164 cat >>confdefs.h <<_ACEOF
18165 #define HAVE_FENV_H 1
18166 _ACEOF
18167 ac_has_fenv_h=yes
18168 else
18169 ac_has_fenv_h=no
18172 done
18174 ac_c99_fenv_tr1=no;
18175 if test x"$ac_has_fenv_h" = x"yes"; then
18176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18177 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18179 /* end confdefs.h. */
18180 #include <fenv.h>
18182 main ()
18184 int except, mode;
18185 fexcept_t* pflag;
18186 fenv_t* penv;
18187 int ret;
18188 ret = feclearexcept(except);
18189 ret = fegetexceptflag(pflag, except);
18190 ret = feraiseexcept(except);
18191 ret = fesetexceptflag(pflag, except);
18192 ret = fetestexcept(except);
18193 ret = fegetround();
18194 ret = fesetround(mode);
18195 ret = fegetenv(penv);
18196 ret = feholdexcept(penv);
18197 ret = fesetenv(penv);
18198 ret = feupdateenv(penv);
18201 return 0;
18203 _ACEOF
18204 if ac_fn_cxx_try_compile "$LINENO"; then :
18205 ac_c99_fenv_tr1=yes
18206 else
18207 ac_c99_fenv_tr1=no
18209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18212 $as_echo "$ac_c99_fenv_tr1" >&6; }
18213 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18215 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18219 # Check for the existence of <stdint.h> types.
18220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18221 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18222 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18223 $as_echo_n "(cached) " >&6
18224 else
18226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18227 /* end confdefs.h. */
18228 #define __STDC_LIMIT_MACROS
18229 #define __STDC_CONSTANT_MACROS
18230 #include <stdint.h>
18232 main ()
18234 typedef int8_t my_int8_t;
18235 my_int8_t i8 = INT8_MIN;
18236 i8 = INT8_MAX;
18237 typedef int16_t my_int16_t;
18238 my_int16_t i16 = INT16_MIN;
18239 i16 = INT16_MAX;
18240 typedef int32_t my_int32_t;
18241 my_int32_t i32 = INT32_MIN;
18242 i32 = INT32_MAX;
18243 typedef int64_t my_int64_t;
18244 my_int64_t i64 = INT64_MIN;
18245 i64 = INT64_MAX;
18246 typedef int_fast8_t my_int_fast8_t;
18247 my_int_fast8_t if8 = INT_FAST8_MIN;
18248 if8 = INT_FAST8_MAX;
18249 typedef int_fast16_t my_int_fast16_t;
18250 my_int_fast16_t if16 = INT_FAST16_MIN;
18251 if16 = INT_FAST16_MAX;
18252 typedef int_fast32_t my_int_fast32_t;
18253 my_int_fast32_t if32 = INT_FAST32_MIN;
18254 if32 = INT_FAST32_MAX;
18255 typedef int_fast64_t my_int_fast64_t;
18256 my_int_fast64_t if64 = INT_FAST64_MIN;
18257 if64 = INT_FAST64_MAX;
18258 typedef int_least8_t my_int_least8_t;
18259 my_int_least8_t il8 = INT_LEAST8_MIN;
18260 il8 = INT_LEAST8_MAX;
18261 typedef int_least16_t my_int_least16_t;
18262 my_int_least16_t il16 = INT_LEAST16_MIN;
18263 il16 = INT_LEAST16_MAX;
18264 typedef int_least32_t my_int_least32_t;
18265 my_int_least32_t il32 = INT_LEAST32_MIN;
18266 il32 = INT_LEAST32_MAX;
18267 typedef int_least64_t my_int_least64_t;
18268 my_int_least64_t il64 = INT_LEAST64_MIN;
18269 il64 = INT_LEAST64_MAX;
18270 typedef intmax_t my_intmax_t;
18271 my_intmax_t im = INTMAX_MAX;
18272 im = INTMAX_MIN;
18273 typedef intptr_t my_intptr_t;
18274 my_intptr_t ip = INTPTR_MAX;
18275 ip = INTPTR_MIN;
18276 typedef uint8_t my_uint8_t;
18277 my_uint8_t ui8 = UINT8_MAX;
18278 ui8 = UINT8_MAX;
18279 typedef uint16_t my_uint16_t;
18280 my_uint16_t ui16 = UINT16_MAX;
18281 ui16 = UINT16_MAX;
18282 typedef uint32_t my_uint32_t;
18283 my_uint32_t ui32 = UINT32_MAX;
18284 ui32 = UINT32_MAX;
18285 typedef uint64_t my_uint64_t;
18286 my_uint64_t ui64 = UINT64_MAX;
18287 ui64 = UINT64_MAX;
18288 typedef uint_fast8_t my_uint_fast8_t;
18289 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18290 uif8 = UINT_FAST8_MAX;
18291 typedef uint_fast16_t my_uint_fast16_t;
18292 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18293 uif16 = UINT_FAST16_MAX;
18294 typedef uint_fast32_t my_uint_fast32_t;
18295 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18296 uif32 = UINT_FAST32_MAX;
18297 typedef uint_fast64_t my_uint_fast64_t;
18298 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18299 uif64 = UINT_FAST64_MAX;
18300 typedef uint_least8_t my_uint_least8_t;
18301 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18302 uil8 = UINT_LEAST8_MAX;
18303 typedef uint_least16_t my_uint_least16_t;
18304 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18305 uil16 = UINT_LEAST16_MAX;
18306 typedef uint_least32_t my_uint_least32_t;
18307 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18308 uil32 = UINT_LEAST32_MAX;
18309 typedef uint_least64_t my_uint_least64_t;
18310 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
18311 uil64 = UINT_LEAST64_MAX;
18312 typedef uintmax_t my_uintmax_t;
18313 my_uintmax_t uim = UINTMAX_MAX;
18314 uim = UINTMAX_MAX;
18315 typedef uintptr_t my_uintptr_t;
18316 my_uintptr_t uip = UINTPTR_MAX;
18317 uip = UINTPTR_MAX;
18320 return 0;
18322 _ACEOF
18323 if ac_fn_cxx_try_compile "$LINENO"; then :
18324 glibcxx_cv_c99_stdint_tr1=yes
18325 else
18326 glibcxx_cv_c99_stdint_tr1=no
18328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18333 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18334 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18336 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18340 # Check for the existence of <math.h> functions.
18341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
18342 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
18343 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
18344 $as_echo_n "(cached) " >&6
18345 else
18347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18348 /* end confdefs.h. */
18349 #include <math.h>
18351 main ()
18353 typedef double_t my_double_t;
18354 typedef float_t my_float_t;
18355 acosh(0.0);
18356 acoshf(0.0f);
18357 acoshl(0.0l);
18358 asinh(0.0);
18359 asinhf(0.0f);
18360 asinhl(0.0l);
18361 atanh(0.0);
18362 atanhf(0.0f);
18363 atanhl(0.0l);
18364 cbrt(0.0);
18365 cbrtf(0.0f);
18366 cbrtl(0.0l);
18367 copysign(0.0, 0.0);
18368 copysignf(0.0f, 0.0f);
18369 copysignl(0.0l, 0.0l);
18370 erf(0.0);
18371 erff(0.0f);
18372 erfl(0.0l);
18373 erfc(0.0);
18374 erfcf(0.0f);
18375 erfcl(0.0l);
18376 exp2(0.0);
18377 exp2f(0.0f);
18378 exp2l(0.0l);
18379 expm1(0.0);
18380 expm1f(0.0f);
18381 expm1l(0.0l);
18382 fdim(0.0, 0.0);
18383 fdimf(0.0f, 0.0f);
18384 fdiml(0.0l, 0.0l);
18385 fma(0.0, 0.0, 0.0);
18386 fmaf(0.0f, 0.0f, 0.0f);
18387 fmal(0.0l, 0.0l, 0.0l);
18388 fmax(0.0, 0.0);
18389 fmaxf(0.0f, 0.0f);
18390 fmaxl(0.0l, 0.0l);
18391 fmin(0.0, 0.0);
18392 fminf(0.0f, 0.0f);
18393 fminl(0.0l, 0.0l);
18394 hypot(0.0, 0.0);
18395 hypotf(0.0f, 0.0f);
18396 hypotl(0.0l, 0.0l);
18397 ilogb(0.0);
18398 ilogbf(0.0f);
18399 ilogbl(0.0l);
18400 lgamma(0.0);
18401 lgammaf(0.0f);
18402 lgammal(0.0l);
18403 llrint(0.0);
18404 llrintf(0.0f);
18405 llrintl(0.0l);
18406 llround(0.0);
18407 llroundf(0.0f);
18408 llroundl(0.0l);
18409 log1p(0.0);
18410 log1pf(0.0f);
18411 log1pl(0.0l);
18412 log2(0.0);
18413 log2f(0.0f);
18414 log2l(0.0l);
18415 logb(0.0);
18416 logbf(0.0f);
18417 logbl(0.0l);
18418 lrint(0.0);
18419 lrintf(0.0f);
18420 lrintl(0.0l);
18421 lround(0.0);
18422 lroundf(0.0f);
18423 lroundl(0.0l);
18424 nan(0);
18425 nanf(0);
18426 nanl(0);
18427 nearbyint(0.0);
18428 nearbyintf(0.0f);
18429 nearbyintl(0.0l);
18430 nextafter(0.0, 0.0);
18431 nextafterf(0.0f, 0.0f);
18432 nextafterl(0.0l, 0.0l);
18433 nexttoward(0.0, 0.0);
18434 nexttowardf(0.0f, 0.0f);
18435 nexttowardl(0.0l, 0.0l);
18436 remainder(0.0, 0.0);
18437 remainderf(0.0f, 0.0f);
18438 remainderl(0.0l, 0.0l);
18439 remquo(0.0, 0.0, 0);
18440 remquof(0.0f, 0.0f, 0);
18441 remquol(0.0l, 0.0l, 0);
18442 rint(0.0);
18443 rintf(0.0f);
18444 rintl(0.0l);
18445 round(0.0);
18446 roundf(0.0f);
18447 roundl(0.0l);
18448 scalbln(0.0, 0l);
18449 scalblnf(0.0f, 0l);
18450 scalblnl(0.0l, 0l);
18451 scalbn(0.0, 0);
18452 scalbnf(0.0f, 0);
18453 scalbnl(0.0l, 0);
18454 tgamma(0.0);
18455 tgammaf(0.0f);
18456 tgammal(0.0l);
18457 trunc(0.0);
18458 truncf(0.0f);
18459 truncl(0.0l);
18462 return 0;
18464 _ACEOF
18465 if ac_fn_cxx_try_compile "$LINENO"; then :
18466 glibcxx_cv_c99_math_tr1=yes
18467 else
18468 glibcxx_cv_c99_math_tr1=no
18470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
18475 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
18476 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
18478 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
18482 # Check for the existence of <inttypes.h> functions (NB: doesn't make
18483 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
18484 ac_c99_inttypes_tr1=no;
18485 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
18487 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
18488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18489 /* end confdefs.h. */
18490 #include <inttypes.h>
18492 main ()
18494 intmax_t i, numer, denom, base;
18495 const char* s;
18496 char** endptr;
18497 intmax_t ret = imaxabs(i);
18498 imaxdiv_t dret = imaxdiv(numer, denom);
18499 ret = strtoimax(s, endptr, base);
18500 uintmax_t uret = strtoumax(s, endptr, base);
18503 return 0;
18505 _ACEOF
18506 if ac_fn_cxx_try_compile "$LINENO"; then :
18507 ac_c99_inttypes_tr1=yes
18508 else
18509 ac_c99_inttypes_tr1=no
18511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
18514 $as_echo "$ac_c99_inttypes_tr1" >&6; }
18515 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
18517 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
18521 # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
18522 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
18523 ac_c99_inttypes_wchar_t_tr1=no;
18524 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
18526 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
18527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18528 /* end confdefs.h. */
18529 #include <inttypes.h>
18531 main ()
18533 intmax_t base;
18534 const wchar_t* s;
18535 wchar_t** endptr;
18536 intmax_t ret = wcstoimax(s, endptr, base);
18537 uintmax_t uret = wcstoumax(s, endptr, base);
18540 return 0;
18542 _ACEOF
18543 if ac_fn_cxx_try_compile "$LINENO"; then :
18544 ac_c99_inttypes_wchar_t_tr1=yes
18545 else
18546 ac_c99_inttypes_wchar_t_tr1=no
18548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
18551 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
18552 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
18554 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
18558 # Check for the existence of the <stdbool.h> header.
18559 for ac_header in stdbool.h
18560 do :
18561 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
18562 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
18563 cat >>confdefs.h <<_ACEOF
18564 #define HAVE_STDBOOL_H 1
18565 _ACEOF
18569 done
18572 CXXFLAGS="$ac_save_CXXFLAGS"
18573 ac_ext=c
18574 ac_cpp='$CPP $CPPFLAGS'
18575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18581 # For common values of EOF, SEEK_CUR, SEEK_END.
18584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOF == -1, SEEK_CUR == 1, SEEK_END == 2" >&5
18585 $as_echo_n "checking for EOF == -1, SEEK_CUR == 1, SEEK_END == 2... " >&6; }
18586 if test "${glibcxx_cv_stdio_macros+set}" = set; then :
18587 $as_echo_n "(cached) " >&6
18588 else
18590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18591 /* end confdefs.h. */
18592 #include <stdio.h>
18594 main ()
18596 #if ((EOF != -1) || (SEEK_CUR != 1) || (SEEK_END != 2))
18597 unusual values...
18598 #endif
18601 return 0;
18603 _ACEOF
18604 if ac_fn_c_try_compile "$LINENO"; then :
18605 glibcxx_cv_stdio_macros=yes
18606 else
18607 glibcxx_cv_stdio_macros=no
18609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_macros" >&5
18614 $as_echo "$glibcxx_cv_stdio_macros" >&6; }
18615 if test x"$glibcxx_cv_stdio_macros" = x"yes"; then
18617 $as_echo "#define _GLIBCXX_STDIO_MACROS 1" >>confdefs.h
18623 # For gettimeofday support.
18626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
18627 $as_echo_n "checking for gettimeofday... " >&6; }
18630 ac_ext=cpp
18631 ac_cpp='$CXXCPP $CPPFLAGS'
18632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18636 ac_save_CXXFLAGS="$CXXFLAGS"
18637 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18639 ac_has_gettimeofday=no;
18640 for ac_header in sys/time.h
18641 do :
18642 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
18643 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
18644 cat >>confdefs.h <<_ACEOF
18645 #define HAVE_SYS_TIME_H 1
18646 _ACEOF
18647 ac_has_sys_time_h=yes
18648 else
18649 ac_has_sys_time_h=no
18652 done
18654 if test x"$ac_has_sys_time_h" = x"yes"; then
18655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
18656 $as_echo_n "checking for gettimeofday... " >&6; }
18657 if test x$gcc_no_link = xyes; then
18658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18659 /* end confdefs.h. */
18660 #include <sys/time.h>
18662 main ()
18664 timeval tv; gettimeofday(&tv, 0);
18666 return 0;
18668 _ACEOF
18669 if ac_fn_cxx_try_compile "$LINENO"; then :
18670 ac_has_gettimeofday=yes
18671 else
18672 ac_has_gettimeofday=no
18674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18675 else
18676 if test x$gcc_no_link = xyes; then
18677 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18680 /* end confdefs.h. */
18681 #include <sys/time.h>
18683 main ()
18685 timeval tv; gettimeofday(&tv, 0);
18687 return 0;
18689 _ACEOF
18690 if ac_fn_cxx_try_link "$LINENO"; then :
18691 ac_has_gettimeofday=yes
18692 else
18693 ac_has_gettimeofday=no
18695 rm -f core conftest.err conftest.$ac_objext \
18696 conftest$ac_exeext conftest.$ac_ext
18699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
18700 $as_echo "$ac_has_gettimeofday" >&6; }
18703 if test x"$ac_has_gettimeofday" = x"yes"; then
18705 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
18709 CXXFLAGS="$ac_save_CXXFLAGS"
18710 ac_ext=c
18711 ac_cpp='$CPP $CPPFLAGS'
18712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18718 # For clock_gettime, nanosleep and sched_yield support.
18719 # NB: The default is [no], because otherwise it requires linking.
18722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime, nanosleep and sched_yield" >&5
18723 $as_echo_n "checking for clock_gettime, nanosleep and sched_yield... " >&6; }
18724 # Check whether --enable-libstdcxx-time was given.
18725 if test "${enable_libstdcxx_time+set}" = set; then :
18726 enableval=$enable_libstdcxx_time;
18727 case "$enableval" in
18728 yes|no|rt) ;;
18729 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
18730 esac
18732 else
18733 enable_libstdcxx_time=no
18739 ac_ext=cpp
18740 ac_cpp='$CXXCPP $CPPFLAGS'
18741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18745 ac_save_CXXFLAGS="$CXXFLAGS"
18746 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18747 ac_save_LIBS="$LIBS"
18749 ac_has_clock_monotonic=no;
18750 ac_has_clock_realtime=no;
18752 if test x"$enable_libstdcxx_time" != x"no"; then
18754 if test x"$enable_libstdcxx_time" = x"rt"; then
18755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18756 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18757 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18758 $as_echo_n "(cached) " >&6
18759 else
18760 ac_func_search_save_LIBS=$LIBS
18761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18762 /* end confdefs.h. */
18764 /* Override any GCC internal prototype to avoid an error.
18765 Use char because int might match the return type of a GCC
18766 builtin and then its argument prototype would still apply. */
18767 #ifdef __cplusplus
18768 extern "C"
18769 #endif
18770 char clock_gettime ();
18772 main ()
18774 return clock_gettime ();
18776 return 0;
18778 _ACEOF
18779 for ac_lib in '' rt posix4; do
18780 if test -z "$ac_lib"; then
18781 ac_res="none required"
18782 else
18783 ac_res=-l$ac_lib
18784 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18786 if test x$gcc_no_link = xyes; then
18787 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18789 if ac_fn_cxx_try_link "$LINENO"; then :
18790 ac_cv_search_clock_gettime=$ac_res
18792 rm -f core conftest.err conftest.$ac_objext \
18793 conftest$ac_exeext
18794 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18795 break
18797 done
18798 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18800 else
18801 ac_cv_search_clock_gettime=no
18803 rm conftest.$ac_ext
18804 LIBS=$ac_func_search_save_LIBS
18806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18807 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18808 ac_res=$ac_cv_search_clock_gettime
18809 if test "$ac_res" != no; then :
18810 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
18815 $as_echo_n "checking for library containing nanosleep... " >&6; }
18816 if test "${ac_cv_search_nanosleep+set}" = set; then :
18817 $as_echo_n "(cached) " >&6
18818 else
18819 ac_func_search_save_LIBS=$LIBS
18820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18821 /* end confdefs.h. */
18823 /* Override any GCC internal prototype to avoid an error.
18824 Use char because int might match the return type of a GCC
18825 builtin and then its argument prototype would still apply. */
18826 #ifdef __cplusplus
18827 extern "C"
18828 #endif
18829 char nanosleep ();
18831 main ()
18833 return nanosleep ();
18835 return 0;
18837 _ACEOF
18838 for ac_lib in '' rt posix4; do
18839 if test -z "$ac_lib"; then
18840 ac_res="none required"
18841 else
18842 ac_res=-l$ac_lib
18843 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18845 if test x$gcc_no_link = xyes; then
18846 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18848 if ac_fn_cxx_try_link "$LINENO"; then :
18849 ac_cv_search_nanosleep=$ac_res
18851 rm -f core conftest.err conftest.$ac_objext \
18852 conftest$ac_exeext
18853 if test "${ac_cv_search_nanosleep+set}" = set; then :
18854 break
18856 done
18857 if test "${ac_cv_search_nanosleep+set}" = set; then :
18859 else
18860 ac_cv_search_nanosleep=no
18862 rm conftest.$ac_ext
18863 LIBS=$ac_func_search_save_LIBS
18865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
18866 $as_echo "$ac_cv_search_nanosleep" >&6; }
18867 ac_res=$ac_cv_search_nanosleep
18868 if test "$ac_res" != no; then :
18869 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18873 else
18874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18875 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18876 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18877 $as_echo_n "(cached) " >&6
18878 else
18879 ac_func_search_save_LIBS=$LIBS
18880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18881 /* end confdefs.h. */
18883 /* Override any GCC internal prototype to avoid an error.
18884 Use char because int might match the return type of a GCC
18885 builtin and then its argument prototype would still apply. */
18886 #ifdef __cplusplus
18887 extern "C"
18888 #endif
18889 char clock_gettime ();
18891 main ()
18893 return clock_gettime ();
18895 return 0;
18897 _ACEOF
18898 for ac_lib in '' posix4; do
18899 if test -z "$ac_lib"; then
18900 ac_res="none required"
18901 else
18902 ac_res=-l$ac_lib
18903 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18905 if test x$gcc_no_link = xyes; then
18906 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18908 if ac_fn_cxx_try_link "$LINENO"; then :
18909 ac_cv_search_clock_gettime=$ac_res
18911 rm -f core conftest.err conftest.$ac_objext \
18912 conftest$ac_exeext
18913 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18914 break
18916 done
18917 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18919 else
18920 ac_cv_search_clock_gettime=no
18922 rm conftest.$ac_ext
18923 LIBS=$ac_func_search_save_LIBS
18925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18926 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18927 ac_res=$ac_cv_search_clock_gettime
18928 if test "$ac_res" != no; then :
18929 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
18934 $as_echo_n "checking for library containing nanosleep... " >&6; }
18935 if test "${ac_cv_search_nanosleep+set}" = set; then :
18936 $as_echo_n "(cached) " >&6
18937 else
18938 ac_func_search_save_LIBS=$LIBS
18939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18940 /* end confdefs.h. */
18942 /* Override any GCC internal prototype to avoid an error.
18943 Use char because int might match the return type of a GCC
18944 builtin and then its argument prototype would still apply. */
18945 #ifdef __cplusplus
18946 extern "C"
18947 #endif
18948 char nanosleep ();
18950 main ()
18952 return nanosleep ();
18954 return 0;
18956 _ACEOF
18957 for ac_lib in '' posix4; do
18958 if test -z "$ac_lib"; then
18959 ac_res="none required"
18960 else
18961 ac_res=-l$ac_lib
18962 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18964 if test x$gcc_no_link = xyes; then
18965 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18967 if ac_fn_cxx_try_link "$LINENO"; then :
18968 ac_cv_search_nanosleep=$ac_res
18970 rm -f core conftest.err conftest.$ac_objext \
18971 conftest$ac_exeext
18972 if test "${ac_cv_search_nanosleep+set}" = set; then :
18973 break
18975 done
18976 if test "${ac_cv_search_nanosleep+set}" = set; then :
18978 else
18979 ac_cv_search_nanosleep=no
18981 rm conftest.$ac_ext
18982 LIBS=$ac_func_search_save_LIBS
18984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
18985 $as_echo "$ac_cv_search_nanosleep" >&6; }
18986 ac_res=$ac_cv_search_nanosleep
18987 if test "$ac_res" != no; then :
18988 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18994 case "$ac_cv_search_clock_gettime" in
18995 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
18997 esac
18998 case "$ac_cv_search_nanosleep" in
18999 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19001 esac
19003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19004 $as_echo_n "checking for library containing sched_yield... " >&6; }
19005 if test "${ac_cv_search_sched_yield+set}" = set; then :
19006 $as_echo_n "(cached) " >&6
19007 else
19008 ac_func_search_save_LIBS=$LIBS
19009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19010 /* end confdefs.h. */
19012 /* Override any GCC internal prototype to avoid an error.
19013 Use char because int might match the return type of a GCC
19014 builtin and then its argument prototype would still apply. */
19015 #ifdef __cplusplus
19016 extern "C"
19017 #endif
19018 char sched_yield ();
19020 main ()
19022 return sched_yield ();
19024 return 0;
19026 _ACEOF
19027 for ac_lib in '' rt posix4; do
19028 if test -z "$ac_lib"; then
19029 ac_res="none required"
19030 else
19031 ac_res=-l$ac_lib
19032 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19034 if test x$gcc_no_link = xyes; then
19035 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19037 if ac_fn_cxx_try_link "$LINENO"; then :
19038 ac_cv_search_sched_yield=$ac_res
19040 rm -f core conftest.err conftest.$ac_objext \
19041 conftest$ac_exeext
19042 if test "${ac_cv_search_sched_yield+set}" = set; then :
19043 break
19045 done
19046 if test "${ac_cv_search_sched_yield+set}" = set; then :
19048 else
19049 ac_cv_search_sched_yield=no
19051 rm conftest.$ac_ext
19052 LIBS=$ac_func_search_save_LIBS
19054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19055 $as_echo "$ac_cv_search_sched_yield" >&6; }
19056 ac_res=$ac_cv_search_sched_yield
19057 if test "$ac_res" != no; then :
19058 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19063 case "$ac_cv_search_sched_yield" in
19064 -lposix4*)
19065 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19067 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19070 -lrt*)
19071 if test x"$enable_libstdcxx_time" = x"rt"; then
19072 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19074 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19080 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19083 esac
19085 for ac_header in unistd.h
19086 do :
19087 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19088 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19089 cat >>confdefs.h <<_ACEOF
19090 #define HAVE_UNISTD_H 1
19091 _ACEOF
19092 ac_has_unistd_h=yes
19093 else
19094 ac_has_unistd_h=no
19097 done
19100 if test x"$ac_has_unistd_h" = x"yes"; then
19101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19102 $as_echo_n "checking for monotonic clock... " >&6; }
19103 if test x$gcc_no_link = xyes; then
19104 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19107 /* end confdefs.h. */
19108 #include <unistd.h>
19109 #include <time.h>
19112 main ()
19114 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19115 timespec tp;
19116 #endif
19117 clock_gettime(CLOCK_MONOTONIC, &tp);
19120 return 0;
19122 _ACEOF
19123 if ac_fn_cxx_try_link "$LINENO"; then :
19124 ac_has_clock_monotonic=yes
19125 else
19126 ac_has_clock_monotonic=no
19128 rm -f core conftest.err conftest.$ac_objext \
19129 conftest$ac_exeext conftest.$ac_ext
19131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19132 $as_echo "$ac_has_clock_monotonic" >&6; }
19134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19135 $as_echo_n "checking for realtime clock... " >&6; }
19136 if test x$gcc_no_link = xyes; then
19137 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19140 /* end confdefs.h. */
19141 #include <unistd.h>
19142 #include <time.h>
19145 main ()
19147 #if _POSIX_TIMERS > 0
19148 timespec tp;
19149 #endif
19150 clock_gettime(CLOCK_REALTIME, &tp);
19153 return 0;
19155 _ACEOF
19156 if ac_fn_cxx_try_link "$LINENO"; then :
19157 ac_has_clock_realtime=yes
19158 else
19159 ac_has_clock_realtime=no
19161 rm -f core conftest.err conftest.$ac_objext \
19162 conftest$ac_exeext conftest.$ac_ext
19164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19165 $as_echo "$ac_has_clock_realtime" >&6; }
19167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19168 $as_echo_n "checking for nanosleep... " >&6; }
19169 if test x$gcc_no_link = xyes; then
19170 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19173 /* end confdefs.h. */
19174 #include <unistd.h>
19175 #include <time.h>
19178 main ()
19180 #if _POSIX_TIMERS > 0
19181 timespec tp;
19182 #endif
19183 nanosleep(&tp, 0);
19186 return 0;
19188 _ACEOF
19189 if ac_fn_cxx_try_link "$LINENO"; then :
19190 ac_has_nanosleep=yes
19191 else
19192 ac_has_nanosleep=no
19194 rm -f core conftest.err conftest.$ac_objext \
19195 conftest$ac_exeext conftest.$ac_ext
19197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19198 $as_echo "$ac_has_nanosleep" >&6; }
19202 if test x"$ac_has_clock_monotonic" = x"yes"; then
19204 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19208 if test x"$ac_has_clock_realtime" = x"yes"; then
19210 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19214 if test x"$ac_has_nanosleep" = x"yes"; then
19216 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19222 CXXFLAGS="$ac_save_CXXFLAGS"
19223 LIBS="$ac_save_LIBS"
19224 ac_ext=c
19225 ac_cpp='$CPP $CPPFLAGS'
19226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19232 # For gthread support
19235 ac_ext=cpp
19236 ac_cpp='$CXXCPP $CPPFLAGS'
19237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19242 ac_save_CXXFLAGS="$CXXFLAGS"
19243 CXXFLAGS="$CXXFLAGS -fno-exceptions -I${toplevel_srcdir}/gcc"
19245 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
19246 case $target_thread_file in
19247 posix)
19248 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
19249 esac
19251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
19252 $as_echo_n "checking for gthreads library... " >&6; }
19254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19255 /* end confdefs.h. */
19256 #include "gthr.h"
19258 main ()
19261 #ifndef __GTHREADS_CXX0X
19262 #error
19263 #endif
19265 // In case of POSIX threads check _POSIX_TIMEOUTS too.
19266 #if (defined(_PTHREADS) \
19267 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
19268 #error
19269 #endif
19272 return 0;
19274 _ACEOF
19275 if ac_fn_cxx_try_compile "$LINENO"; then :
19276 ac_has_gthreads=yes
19277 else
19278 ac_has_gthreads=no
19280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
19283 $as_echo "$ac_has_gthreads" >&6; }
19285 if test x"$ac_has_gthreads" = x"yes"; then
19287 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
19291 CXXFLAGS="$ac_save_CXXFLAGS"
19292 ac_ext=c
19293 ac_cpp='$CPP $CPPFLAGS'
19294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19301 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19302 if test "x$ac_cv_header_locale_h" = x""yes; then :
19304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19305 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19306 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
19307 $as_echo_n "(cached) " >&6
19308 else
19309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19310 /* end confdefs.h. */
19311 #include <locale.h>
19313 main ()
19315 return LC_MESSAGES
19317 return 0;
19319 _ACEOF
19320 if ac_fn_c_try_compile "$LINENO"; then :
19321 ac_cv_val_LC_MESSAGES=yes
19322 else
19323 ac_cv_val_LC_MESSAGES=no
19325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
19328 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
19329 if test $ac_cv_val_LC_MESSAGES = yes; then
19331 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19340 # Check for available headers.
19341 for ac_header in endian.h float.h fp.h ieeefp.h inttypes.h locale.h \
19342 machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
19343 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
19344 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
19345 wchar.h wctype.h
19346 do :
19347 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19348 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19349 eval as_val=\$$as_ac_Header
19350 if test "x$as_val" = x""yes; then :
19351 cat >>confdefs.h <<_ACEOF
19352 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19353 _ACEOF
19357 done
19360 # Only do link tests if native. Else, hardcode.
19361 if $GLIBCXX_IS_NATIVE; then
19363 # We can do more elaborate tests that assume a working linker.
19364 CANADIAN=no
19368 # Check whether --with-gnu-ld was given.
19369 if test "${with_gnu_ld+set}" = set; then :
19370 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
19371 else
19372 with_gnu_ld=no
19375 ac_prog=ld
19376 if test "$GCC" = yes; then
19377 # Check if gcc -print-prog-name=ld gives a path.
19378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
19379 $as_echo_n "checking for ld used by $CC... " >&6; }
19380 case $host in
19381 *-*-mingw*)
19382 # gcc leaves a trailing carriage return which upsets mingw
19383 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
19385 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
19386 esac
19387 case $ac_prog in
19388 # Accept absolute paths.
19389 [\\/]* | ?:[\\/]*)
19390 re_direlt='/[^/][^/]*/\.\./'
19391 # Canonicalize the pathname of ld
19392 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
19393 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
19394 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
19395 done
19396 test -z "$LD" && LD="$ac_prog"
19399 # If it fails, then pretend we aren't using GCC.
19400 ac_prog=ld
19403 # If it is relative, then search for the first ld in PATH.
19404 with_gnu_ld=unknown
19406 esac
19407 elif test "$with_gnu_ld" = yes; then
19408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
19409 $as_echo_n "checking for GNU ld... " >&6; }
19410 else
19411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
19412 $as_echo_n "checking for non-GNU ld... " >&6; }
19414 if test "${lt_cv_path_LD+set}" = set; then :
19415 $as_echo_n "(cached) " >&6
19416 else
19417 if test -z "$LD"; then
19418 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
19419 for ac_dir in $PATH; do
19420 IFS="$lt_save_ifs"
19421 test -z "$ac_dir" && ac_dir=.
19422 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
19423 lt_cv_path_LD="$ac_dir/$ac_prog"
19424 # Check to see if the program is GNU ld. I'd rather use --version,
19425 # but apparently some variants of GNU ld only accept -v.
19426 # Break only if it was the GNU/non-GNU ld that we prefer.
19427 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
19428 *GNU* | *'with BFD'*)
19429 test "$with_gnu_ld" != no && break
19432 test "$with_gnu_ld" != yes && break
19434 esac
19436 done
19437 IFS="$lt_save_ifs"
19438 else
19439 lt_cv_path_LD="$LD" # Let the user override the test with a path.
19443 LD="$lt_cv_path_LD"
19444 if test -n "$LD"; then
19445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
19446 $as_echo "$LD" >&6; }
19447 else
19448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19449 $as_echo "no" >&6; }
19451 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
19452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
19453 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
19454 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
19455 $as_echo_n "(cached) " >&6
19456 else
19457 # I'd rather use --version here, but apparently some GNU lds only accept -v.
19458 case `$LD -v 2>&1 </dev/null` in
19459 *GNU* | *'with BFD'*)
19460 lt_cv_prog_gnu_ld=yes
19463 lt_cv_prog_gnu_ld=no
19465 esac
19467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
19468 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
19469 with_gnu_ld=$lt_cv_prog_gnu_ld
19477 # If we're not using GNU ld, then there's no point in even trying these
19478 # tests. Check for that first. We should have already tested for gld
19479 # by now (in libtool), but require it now just to be safe...
19480 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
19481 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
19485 # The name set by libtool depends on the version of libtool. Shame on us
19486 # for depending on an impl detail, but c'est la vie. Older versions used
19487 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
19488 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
19489 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
19490 # set (hence we're using an older libtool), then set it.
19491 if test x${with_gnu_ld+set} != xset; then
19492 if test x${ac_cv_prog_gnu_ld+set} != xset; then
19493 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
19494 with_gnu_ld=no
19495 else
19496 with_gnu_ld=$ac_cv_prog_gnu_ld
19500 # Start by getting the version number. I think the libtool test already
19501 # does some of this, but throws away the result.
19502 glibcxx_ld_is_gold=no
19503 if test x"$with_gnu_ld" = x"yes"; then
19504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
19505 $as_echo_n "checking for ld version... " >&6; }
19507 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
19508 glibcxx_ld_is_gold=yes
19510 ldver=`$LD --version 2>/dev/null | head -1 | \
19511 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
19513 glibcxx_gnu_ld_version=`echo $ldver | \
19514 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
19515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
19516 $as_echo "$glibcxx_gnu_ld_version" >&6; }
19519 # Set --gc-sections.
19520 glibcxx_have_gc_sections=no
19521 if test "$glibcxx_ld_is_gold" = "yes"; then
19522 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
19523 glibcxx_have_gc_sections=yes
19525 else
19526 glibcxx_gcsections_min_ld=21602
19527 if test x"$with_gnu_ld" = x"yes" &&
19528 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
19529 glibcxx_have_gc_sections=yes
19532 if test "$glibcxx_have_gc_sections" = "yes"; then
19533 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
19534 # NB: This flag only works reliably after 2.16.1. Configure tests
19535 # for this are difficult, so hard wire a value that should work.
19537 ac_test_CFLAGS="${CFLAGS+set}"
19538 ac_save_CFLAGS="$CFLAGS"
19539 CFLAGS='-Wl,--gc-sections'
19541 # Check for -Wl,--gc-sections
19542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
19543 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
19544 if test x$gcc_no_link = xyes; then
19545 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19548 /* end confdefs.h. */
19549 int one(void) { return 1; }
19550 int two(void) { return 2; }
19553 main ()
19555 two();
19557 return 0;
19559 _ACEOF
19560 if ac_fn_c_try_link "$LINENO"; then :
19561 ac_gcsections=yes
19562 else
19563 ac_gcsections=no
19565 rm -f core conftest.err conftest.$ac_objext \
19566 conftest$ac_exeext conftest.$ac_ext
19567 if test "$ac_gcsections" = "yes"; then
19568 rm -f conftest.c
19569 touch conftest.c
19570 if $CC -c conftest.c; then
19571 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
19572 grep "Warning: gc-sections option ignored" > /dev/null; then
19573 ac_gcsections=no
19576 rm -f conftest.c conftest.o conftest
19578 if test "$ac_gcsections" = "yes"; then
19579 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
19581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
19582 $as_echo "$ac_gcsections" >&6; }
19584 if test "$ac_test_CFLAGS" = set; then
19585 CFLAGS="$ac_save_CFLAGS"
19586 else
19587 # this is the suspicious part
19588 CFLAGS=''
19592 # Set -z,relro.
19593 # Note this is only for shared objects.
19594 ac_ld_relro=no
19595 if test x"$with_gnu_ld" = x"yes"; then
19596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
19597 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
19598 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
19599 if test -n "$cxx_z_relo"; then
19600 OPT_LDFLAGS="-Wl,-z,relro"
19601 ac_ld_relro=yes
19603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
19604 $as_echo "$ac_ld_relro" >&6; }
19607 # Set linker optimization flags.
19608 if test x"$with_gnu_ld" = x"yes"; then
19609 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
19616 ac_test_CXXFLAGS="${CXXFLAGS+set}"
19617 ac_save_CXXFLAGS="$CXXFLAGS"
19618 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
19620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
19621 $as_echo_n "checking for sin in -lm... " >&6; }
19622 if test "${ac_cv_lib_m_sin+set}" = set; then :
19623 $as_echo_n "(cached) " >&6
19624 else
19625 ac_check_lib_save_LIBS=$LIBS
19626 LIBS="-lm $LIBS"
19627 if test x$gcc_no_link = xyes; then
19628 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19631 /* end confdefs.h. */
19633 /* Override any GCC internal prototype to avoid an error.
19634 Use char because int might match the return type of a GCC
19635 builtin and then its argument prototype would still apply. */
19636 #ifdef __cplusplus
19637 extern "C"
19638 #endif
19639 char sin ();
19641 main ()
19643 return sin ();
19645 return 0;
19647 _ACEOF
19648 if ac_fn_c_try_link "$LINENO"; then :
19649 ac_cv_lib_m_sin=yes
19650 else
19651 ac_cv_lib_m_sin=no
19653 rm -f core conftest.err conftest.$ac_objext \
19654 conftest$ac_exeext conftest.$ac_ext
19655 LIBS=$ac_check_lib_save_LIBS
19657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
19658 $as_echo "$ac_cv_lib_m_sin" >&6; }
19659 if test "x$ac_cv_lib_m_sin" = x""yes; then :
19660 libm="-lm"
19663 ac_save_LIBS="$LIBS"
19664 LIBS="$LIBS $libm"
19668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
19669 $as_echo_n "checking for isinf declaration... " >&6; }
19670 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
19671 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
19672 $as_echo_n "(cached) " >&6
19673 else
19676 ac_ext=cpp
19677 ac_cpp='$CXXCPP $CPPFLAGS'
19678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19683 /* end confdefs.h. */
19684 #include <math.h>
19685 #ifdef HAVE_IEEEFP_H
19686 #include <ieeefp.h>
19687 #endif
19690 main ()
19692 isinf(0);
19694 return 0;
19696 _ACEOF
19697 if ac_fn_cxx_try_compile "$LINENO"; then :
19698 glibcxx_cv_func_isinf_use=yes
19699 else
19700 glibcxx_cv_func_isinf_use=no
19702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19703 ac_ext=c
19704 ac_cpp='$CPP $CPPFLAGS'
19705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
19714 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
19716 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
19717 for ac_func in isinf
19718 do :
19719 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
19720 if test "x$ac_cv_func_isinf" = x""yes; then :
19721 cat >>confdefs.h <<_ACEOF
19722 #define HAVE_ISINF 1
19723 _ACEOF
19726 done
19728 else
19730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
19731 $as_echo_n "checking for _isinf declaration... " >&6; }
19732 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
19733 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
19734 $as_echo_n "(cached) " >&6
19735 else
19738 ac_ext=cpp
19739 ac_cpp='$CXXCPP $CPPFLAGS'
19740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19745 /* end confdefs.h. */
19746 #include <math.h>
19747 #ifdef HAVE_IEEEFP_H
19748 #include <ieeefp.h>
19749 #endif
19752 main ()
19754 _isinf(0);
19756 return 0;
19758 _ACEOF
19759 if ac_fn_cxx_try_compile "$LINENO"; then :
19760 glibcxx_cv_func__isinf_use=yes
19761 else
19762 glibcxx_cv_func__isinf_use=no
19764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19765 ac_ext=c
19766 ac_cpp='$CPP $CPPFLAGS'
19767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
19776 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
19778 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
19779 for ac_func in _isinf
19780 do :
19781 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
19782 if test "x$ac_cv_func__isinf" = x""yes; then :
19783 cat >>confdefs.h <<_ACEOF
19784 #define HAVE__ISINF 1
19785 _ACEOF
19788 done
19797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
19798 $as_echo_n "checking for isnan declaration... " >&6; }
19799 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
19800 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
19801 $as_echo_n "(cached) " >&6
19802 else
19805 ac_ext=cpp
19806 ac_cpp='$CXXCPP $CPPFLAGS'
19807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19812 /* end confdefs.h. */
19813 #include <math.h>
19814 #ifdef HAVE_IEEEFP_H
19815 #include <ieeefp.h>
19816 #endif
19819 main ()
19821 isnan(0);
19823 return 0;
19825 _ACEOF
19826 if ac_fn_cxx_try_compile "$LINENO"; then :
19827 glibcxx_cv_func_isnan_use=yes
19828 else
19829 glibcxx_cv_func_isnan_use=no
19831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19832 ac_ext=c
19833 ac_cpp='$CPP $CPPFLAGS'
19834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
19843 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
19845 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
19846 for ac_func in isnan
19847 do :
19848 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
19849 if test "x$ac_cv_func_isnan" = x""yes; then :
19850 cat >>confdefs.h <<_ACEOF
19851 #define HAVE_ISNAN 1
19852 _ACEOF
19855 done
19857 else
19859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
19860 $as_echo_n "checking for _isnan declaration... " >&6; }
19861 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
19862 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
19863 $as_echo_n "(cached) " >&6
19864 else
19867 ac_ext=cpp
19868 ac_cpp='$CXXCPP $CPPFLAGS'
19869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19874 /* end confdefs.h. */
19875 #include <math.h>
19876 #ifdef HAVE_IEEEFP_H
19877 #include <ieeefp.h>
19878 #endif
19881 main ()
19883 _isnan(0);
19885 return 0;
19887 _ACEOF
19888 if ac_fn_cxx_try_compile "$LINENO"; then :
19889 glibcxx_cv_func__isnan_use=yes
19890 else
19891 glibcxx_cv_func__isnan_use=no
19893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19894 ac_ext=c
19895 ac_cpp='$CPP $CPPFLAGS'
19896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
19905 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
19907 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
19908 for ac_func in _isnan
19909 do :
19910 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
19911 if test "x$ac_cv_func__isnan" = x""yes; then :
19912 cat >>confdefs.h <<_ACEOF
19913 #define HAVE__ISNAN 1
19914 _ACEOF
19917 done
19926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
19927 $as_echo_n "checking for finite declaration... " >&6; }
19928 if test x${glibcxx_cv_func_finite_use+set} != xset; then
19929 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
19930 $as_echo_n "(cached) " >&6
19931 else
19934 ac_ext=cpp
19935 ac_cpp='$CXXCPP $CPPFLAGS'
19936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19941 /* end confdefs.h. */
19942 #include <math.h>
19943 #ifdef HAVE_IEEEFP_H
19944 #include <ieeefp.h>
19945 #endif
19948 main ()
19950 finite(0);
19952 return 0;
19954 _ACEOF
19955 if ac_fn_cxx_try_compile "$LINENO"; then :
19956 glibcxx_cv_func_finite_use=yes
19957 else
19958 glibcxx_cv_func_finite_use=no
19960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19961 ac_ext=c
19962 ac_cpp='$CPP $CPPFLAGS'
19963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
19972 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
19974 if test x$glibcxx_cv_func_finite_use = x"yes"; then
19975 for ac_func in finite
19976 do :
19977 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
19978 if test "x$ac_cv_func_finite" = x""yes; then :
19979 cat >>confdefs.h <<_ACEOF
19980 #define HAVE_FINITE 1
19981 _ACEOF
19984 done
19986 else
19988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
19989 $as_echo_n "checking for _finite declaration... " >&6; }
19990 if test x${glibcxx_cv_func__finite_use+set} != xset; then
19991 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
19992 $as_echo_n "(cached) " >&6
19993 else
19996 ac_ext=cpp
19997 ac_cpp='$CXXCPP $CPPFLAGS'
19998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20003 /* end confdefs.h. */
20004 #include <math.h>
20005 #ifdef HAVE_IEEEFP_H
20006 #include <ieeefp.h>
20007 #endif
20010 main ()
20012 _finite(0);
20014 return 0;
20016 _ACEOF
20017 if ac_fn_cxx_try_compile "$LINENO"; then :
20018 glibcxx_cv_func__finite_use=yes
20019 else
20020 glibcxx_cv_func__finite_use=no
20022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20023 ac_ext=c
20024 ac_cpp='$CPP $CPPFLAGS'
20025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
20034 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
20036 if test x$glibcxx_cv_func__finite_use = x"yes"; then
20037 for ac_func in _finite
20038 do :
20039 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
20040 if test "x$ac_cv_func__finite" = x""yes; then :
20041 cat >>confdefs.h <<_ACEOF
20042 #define HAVE__FINITE 1
20043 _ACEOF
20046 done
20055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
20056 $as_echo_n "checking for sincos declaration... " >&6; }
20057 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
20058 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
20059 $as_echo_n "(cached) " >&6
20060 else
20063 ac_ext=cpp
20064 ac_cpp='$CXXCPP $CPPFLAGS'
20065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20070 /* end confdefs.h. */
20071 #include <math.h>
20073 main ()
20075 sincos(0, 0, 0);
20077 return 0;
20079 _ACEOF
20080 if ac_fn_cxx_try_compile "$LINENO"; then :
20081 glibcxx_cv_func_sincos_use=yes
20082 else
20083 glibcxx_cv_func_sincos_use=no
20085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20086 ac_ext=c
20087 ac_cpp='$CPP $CPPFLAGS'
20088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
20097 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
20099 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
20100 for ac_func in sincos
20101 do :
20102 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
20103 if test "x$ac_cv_func_sincos" = x""yes; then :
20104 cat >>confdefs.h <<_ACEOF
20105 #define HAVE_SINCOS 1
20106 _ACEOF
20109 done
20111 else
20113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
20114 $as_echo_n "checking for _sincos declaration... " >&6; }
20115 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
20116 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
20117 $as_echo_n "(cached) " >&6
20118 else
20121 ac_ext=cpp
20122 ac_cpp='$CXXCPP $CPPFLAGS'
20123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20128 /* end confdefs.h. */
20129 #include <math.h>
20131 main ()
20133 _sincos(0, 0, 0);
20135 return 0;
20137 _ACEOF
20138 if ac_fn_cxx_try_compile "$LINENO"; then :
20139 glibcxx_cv_func__sincos_use=yes
20140 else
20141 glibcxx_cv_func__sincos_use=no
20143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20144 ac_ext=c
20145 ac_cpp='$CPP $CPPFLAGS'
20146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
20155 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
20157 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
20158 for ac_func in _sincos
20159 do :
20160 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
20161 if test "x$ac_cv_func__sincos" = x""yes; then :
20162 cat >>confdefs.h <<_ACEOF
20163 #define HAVE__SINCOS 1
20164 _ACEOF
20167 done
20176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
20177 $as_echo_n "checking for fpclass declaration... " >&6; }
20178 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
20179 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
20180 $as_echo_n "(cached) " >&6
20181 else
20184 ac_ext=cpp
20185 ac_cpp='$CXXCPP $CPPFLAGS'
20186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20191 /* end confdefs.h. */
20192 #include <math.h>
20193 #ifdef HAVE_IEEEFP_H
20194 #include <ieeefp.h>
20195 #endif
20198 main ()
20200 fpclass(0);
20202 return 0;
20204 _ACEOF
20205 if ac_fn_cxx_try_compile "$LINENO"; then :
20206 glibcxx_cv_func_fpclass_use=yes
20207 else
20208 glibcxx_cv_func_fpclass_use=no
20210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20211 ac_ext=c
20212 ac_cpp='$CPP $CPPFLAGS'
20213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
20222 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
20224 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
20225 for ac_func in fpclass
20226 do :
20227 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
20228 if test "x$ac_cv_func_fpclass" = x""yes; then :
20229 cat >>confdefs.h <<_ACEOF
20230 #define HAVE_FPCLASS 1
20231 _ACEOF
20234 done
20236 else
20238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
20239 $as_echo_n "checking for _fpclass declaration... " >&6; }
20240 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
20241 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
20242 $as_echo_n "(cached) " >&6
20243 else
20246 ac_ext=cpp
20247 ac_cpp='$CXXCPP $CPPFLAGS'
20248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20253 /* end confdefs.h. */
20254 #include <math.h>
20255 #ifdef HAVE_IEEEFP_H
20256 #include <ieeefp.h>
20257 #endif
20260 main ()
20262 _fpclass(0);
20264 return 0;
20266 _ACEOF
20267 if ac_fn_cxx_try_compile "$LINENO"; then :
20268 glibcxx_cv_func__fpclass_use=yes
20269 else
20270 glibcxx_cv_func__fpclass_use=no
20272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20273 ac_ext=c
20274 ac_cpp='$CPP $CPPFLAGS'
20275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
20284 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
20286 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
20287 for ac_func in _fpclass
20288 do :
20289 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
20290 if test "x$ac_cv_func__fpclass" = x""yes; then :
20291 cat >>confdefs.h <<_ACEOF
20292 #define HAVE__FPCLASS 1
20293 _ACEOF
20296 done
20305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
20306 $as_echo_n "checking for qfpclass declaration... " >&6; }
20307 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
20308 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
20309 $as_echo_n "(cached) " >&6
20310 else
20313 ac_ext=cpp
20314 ac_cpp='$CXXCPP $CPPFLAGS'
20315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20320 /* end confdefs.h. */
20321 #include <math.h>
20322 #ifdef HAVE_IEEEFP_H
20323 #include <ieeefp.h>
20324 #endif
20327 main ()
20329 qfpclass(0);
20331 return 0;
20333 _ACEOF
20334 if ac_fn_cxx_try_compile "$LINENO"; then :
20335 glibcxx_cv_func_qfpclass_use=yes
20336 else
20337 glibcxx_cv_func_qfpclass_use=no
20339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20340 ac_ext=c
20341 ac_cpp='$CPP $CPPFLAGS'
20342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
20351 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
20353 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
20354 for ac_func in qfpclass
20355 do :
20356 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
20357 if test "x$ac_cv_func_qfpclass" = x""yes; then :
20358 cat >>confdefs.h <<_ACEOF
20359 #define HAVE_QFPCLASS 1
20360 _ACEOF
20363 done
20365 else
20367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
20368 $as_echo_n "checking for _qfpclass declaration... " >&6; }
20369 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
20370 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
20371 $as_echo_n "(cached) " >&6
20372 else
20375 ac_ext=cpp
20376 ac_cpp='$CXXCPP $CPPFLAGS'
20377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20382 /* end confdefs.h. */
20383 #include <math.h>
20384 #ifdef HAVE_IEEEFP_H
20385 #include <ieeefp.h>
20386 #endif
20389 main ()
20391 _qfpclass(0);
20393 return 0;
20395 _ACEOF
20396 if ac_fn_cxx_try_compile "$LINENO"; then :
20397 glibcxx_cv_func__qfpclass_use=yes
20398 else
20399 glibcxx_cv_func__qfpclass_use=no
20401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20402 ac_ext=c
20403 ac_cpp='$CPP $CPPFLAGS'
20404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
20413 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
20415 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
20416 for ac_func in _qfpclass
20417 do :
20418 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
20419 if test "x$ac_cv_func__qfpclass" = x""yes; then :
20420 cat >>confdefs.h <<_ACEOF
20421 #define HAVE__QFPCLASS 1
20422 _ACEOF
20425 done
20434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
20435 $as_echo_n "checking for hypot declaration... " >&6; }
20436 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
20437 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
20438 $as_echo_n "(cached) " >&6
20439 else
20442 ac_ext=cpp
20443 ac_cpp='$CXXCPP $CPPFLAGS'
20444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20449 /* end confdefs.h. */
20450 #include <math.h>
20452 main ()
20454 hypot(0, 0);
20456 return 0;
20458 _ACEOF
20459 if ac_fn_cxx_try_compile "$LINENO"; then :
20460 glibcxx_cv_func_hypot_use=yes
20461 else
20462 glibcxx_cv_func_hypot_use=no
20464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20465 ac_ext=c
20466 ac_cpp='$CPP $CPPFLAGS'
20467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
20476 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
20478 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
20479 for ac_func in hypot
20480 do :
20481 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
20482 if test "x$ac_cv_func_hypot" = x""yes; then :
20483 cat >>confdefs.h <<_ACEOF
20484 #define HAVE_HYPOT 1
20485 _ACEOF
20488 done
20490 else
20492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
20493 $as_echo_n "checking for _hypot declaration... " >&6; }
20494 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
20495 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
20496 $as_echo_n "(cached) " >&6
20497 else
20500 ac_ext=cpp
20501 ac_cpp='$CXXCPP $CPPFLAGS'
20502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20507 /* end confdefs.h. */
20508 #include <math.h>
20510 main ()
20512 _hypot(0, 0);
20514 return 0;
20516 _ACEOF
20517 if ac_fn_cxx_try_compile "$LINENO"; then :
20518 glibcxx_cv_func__hypot_use=yes
20519 else
20520 glibcxx_cv_func__hypot_use=no
20522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20523 ac_ext=c
20524 ac_cpp='$CPP $CPPFLAGS'
20525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
20534 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
20536 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
20537 for ac_func in _hypot
20538 do :
20539 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
20540 if test "x$ac_cv_func__hypot" = x""yes; then :
20541 cat >>confdefs.h <<_ACEOF
20542 #define HAVE__HYPOT 1
20543 _ACEOF
20546 done
20555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
20556 $as_echo_n "checking for float trig functions... " >&6; }
20557 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
20558 $as_echo_n "(cached) " >&6
20559 else
20562 ac_ext=cpp
20563 ac_cpp='$CXXCPP $CPPFLAGS'
20564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20569 /* end confdefs.h. */
20570 #include <math.h>
20572 main ()
20574 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
20576 return 0;
20578 _ACEOF
20579 if ac_fn_cxx_try_compile "$LINENO"; then :
20580 glibcxx_cv_func_float_trig_use=yes
20581 else
20582 glibcxx_cv_func_float_trig_use=no
20584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20585 ac_ext=c
20586 ac_cpp='$CPP $CPPFLAGS'
20587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
20594 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
20595 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
20596 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
20597 do :
20598 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20599 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20600 eval as_val=\$$as_ac_var
20601 if test "x$as_val" = x""yes; then :
20602 cat >>confdefs.h <<_ACEOF
20603 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20604 _ACEOF
20607 done
20609 else
20610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
20611 $as_echo_n "checking for _float trig functions... " >&6; }
20612 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
20613 $as_echo_n "(cached) " >&6
20614 else
20617 ac_ext=cpp
20618 ac_cpp='$CXXCPP $CPPFLAGS'
20619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20624 /* end confdefs.h. */
20625 #include <math.h>
20627 main ()
20629 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
20631 return 0;
20633 _ACEOF
20634 if ac_fn_cxx_try_compile "$LINENO"; then :
20635 glibcxx_cv_func__float_trig_use=yes
20636 else
20637 glibcxx_cv_func__float_trig_use=no
20639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20640 ac_ext=c
20641 ac_cpp='$CPP $CPPFLAGS'
20642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
20649 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
20650 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
20651 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
20652 do :
20653 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20654 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20655 eval as_val=\$$as_ac_var
20656 if test "x$as_val" = x""yes; then :
20657 cat >>confdefs.h <<_ACEOF
20658 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20659 _ACEOF
20662 done
20671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
20672 $as_echo_n "checking for float round functions... " >&6; }
20673 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
20674 $as_echo_n "(cached) " >&6
20675 else
20678 ac_ext=cpp
20679 ac_cpp='$CXXCPP $CPPFLAGS'
20680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20685 /* end confdefs.h. */
20686 #include <math.h>
20688 main ()
20690 ceilf (0); floorf (0);
20692 return 0;
20694 _ACEOF
20695 if ac_fn_cxx_try_compile "$LINENO"; then :
20696 glibcxx_cv_func_float_round_use=yes
20697 else
20698 glibcxx_cv_func_float_round_use=no
20700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20701 ac_ext=c
20702 ac_cpp='$CPP $CPPFLAGS'
20703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
20710 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
20711 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
20712 for ac_func in ceilf floorf
20713 do :
20714 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20715 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20716 eval as_val=\$$as_ac_var
20717 if test "x$as_val" = x""yes; then :
20718 cat >>confdefs.h <<_ACEOF
20719 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20720 _ACEOF
20723 done
20725 else
20726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
20727 $as_echo_n "checking for _float round functions... " >&6; }
20728 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
20729 $as_echo_n "(cached) " >&6
20730 else
20733 ac_ext=cpp
20734 ac_cpp='$CXXCPP $CPPFLAGS'
20735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20740 /* end confdefs.h. */
20741 #include <math.h>
20743 main ()
20745 _ceilf (0); _floorf (0);
20747 return 0;
20749 _ACEOF
20750 if ac_fn_cxx_try_compile "$LINENO"; then :
20751 glibcxx_cv_func__float_round_use=yes
20752 else
20753 glibcxx_cv_func__float_round_use=no
20755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20756 ac_ext=c
20757 ac_cpp='$CPP $CPPFLAGS'
20758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
20765 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
20766 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
20767 for ac_func in _ceilf _floorf
20768 do :
20769 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20770 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20771 eval as_val=\$$as_ac_var
20772 if test "x$as_val" = x""yes; then :
20773 cat >>confdefs.h <<_ACEOF
20774 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20775 _ACEOF
20778 done
20788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
20789 $as_echo_n "checking for expf declaration... " >&6; }
20790 if test x${glibcxx_cv_func_expf_use+set} != xset; then
20791 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
20792 $as_echo_n "(cached) " >&6
20793 else
20796 ac_ext=cpp
20797 ac_cpp='$CXXCPP $CPPFLAGS'
20798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20803 /* end confdefs.h. */
20804 #include <math.h>
20805 #ifdef HAVE_IEEEFP_H
20806 #include <ieeefp.h>
20807 #endif
20810 main ()
20812 expf(0);
20814 return 0;
20816 _ACEOF
20817 if ac_fn_cxx_try_compile "$LINENO"; then :
20818 glibcxx_cv_func_expf_use=yes
20819 else
20820 glibcxx_cv_func_expf_use=no
20822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20823 ac_ext=c
20824 ac_cpp='$CPP $CPPFLAGS'
20825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
20834 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
20836 if test x$glibcxx_cv_func_expf_use = x"yes"; then
20837 for ac_func in expf
20838 do :
20839 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
20840 if test "x$ac_cv_func_expf" = x""yes; then :
20841 cat >>confdefs.h <<_ACEOF
20842 #define HAVE_EXPF 1
20843 _ACEOF
20846 done
20848 else
20850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
20851 $as_echo_n "checking for _expf declaration... " >&6; }
20852 if test x${glibcxx_cv_func__expf_use+set} != xset; then
20853 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
20854 $as_echo_n "(cached) " >&6
20855 else
20858 ac_ext=cpp
20859 ac_cpp='$CXXCPP $CPPFLAGS'
20860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20865 /* end confdefs.h. */
20866 #include <math.h>
20867 #ifdef HAVE_IEEEFP_H
20868 #include <ieeefp.h>
20869 #endif
20872 main ()
20874 _expf(0);
20876 return 0;
20878 _ACEOF
20879 if ac_fn_cxx_try_compile "$LINENO"; then :
20880 glibcxx_cv_func__expf_use=yes
20881 else
20882 glibcxx_cv_func__expf_use=no
20884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20885 ac_ext=c
20886 ac_cpp='$CPP $CPPFLAGS'
20887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
20896 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
20898 if test x$glibcxx_cv_func__expf_use = x"yes"; then
20899 for ac_func in _expf
20900 do :
20901 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
20902 if test "x$ac_cv_func__expf" = x""yes; then :
20903 cat >>confdefs.h <<_ACEOF
20904 #define HAVE__EXPF 1
20905 _ACEOF
20908 done
20917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
20918 $as_echo_n "checking for isnanf declaration... " >&6; }
20919 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
20920 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
20921 $as_echo_n "(cached) " >&6
20922 else
20925 ac_ext=cpp
20926 ac_cpp='$CXXCPP $CPPFLAGS'
20927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20932 /* end confdefs.h. */
20933 #include <math.h>
20934 #ifdef HAVE_IEEEFP_H
20935 #include <ieeefp.h>
20936 #endif
20939 main ()
20941 isnanf(0);
20943 return 0;
20945 _ACEOF
20946 if ac_fn_cxx_try_compile "$LINENO"; then :
20947 glibcxx_cv_func_isnanf_use=yes
20948 else
20949 glibcxx_cv_func_isnanf_use=no
20951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20952 ac_ext=c
20953 ac_cpp='$CPP $CPPFLAGS'
20954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
20963 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
20965 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
20966 for ac_func in isnanf
20967 do :
20968 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
20969 if test "x$ac_cv_func_isnanf" = x""yes; then :
20970 cat >>confdefs.h <<_ACEOF
20971 #define HAVE_ISNANF 1
20972 _ACEOF
20975 done
20977 else
20979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
20980 $as_echo_n "checking for _isnanf declaration... " >&6; }
20981 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
20982 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
20983 $as_echo_n "(cached) " >&6
20984 else
20987 ac_ext=cpp
20988 ac_cpp='$CXXCPP $CPPFLAGS'
20989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20994 /* end confdefs.h. */
20995 #include <math.h>
20996 #ifdef HAVE_IEEEFP_H
20997 #include <ieeefp.h>
20998 #endif
21001 main ()
21003 _isnanf(0);
21005 return 0;
21007 _ACEOF
21008 if ac_fn_cxx_try_compile "$LINENO"; then :
21009 glibcxx_cv_func__isnanf_use=yes
21010 else
21011 glibcxx_cv_func__isnanf_use=no
21013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21014 ac_ext=c
21015 ac_cpp='$CPP $CPPFLAGS'
21016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
21025 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
21027 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
21028 for ac_func in _isnanf
21029 do :
21030 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
21031 if test "x$ac_cv_func__isnanf" = x""yes; then :
21032 cat >>confdefs.h <<_ACEOF
21033 #define HAVE__ISNANF 1
21034 _ACEOF
21037 done
21046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
21047 $as_echo_n "checking for isinff declaration... " >&6; }
21048 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
21049 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
21050 $as_echo_n "(cached) " >&6
21051 else
21054 ac_ext=cpp
21055 ac_cpp='$CXXCPP $CPPFLAGS'
21056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21061 /* end confdefs.h. */
21062 #include <math.h>
21063 #ifdef HAVE_IEEEFP_H
21064 #include <ieeefp.h>
21065 #endif
21068 main ()
21070 isinff(0);
21072 return 0;
21074 _ACEOF
21075 if ac_fn_cxx_try_compile "$LINENO"; then :
21076 glibcxx_cv_func_isinff_use=yes
21077 else
21078 glibcxx_cv_func_isinff_use=no
21080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21081 ac_ext=c
21082 ac_cpp='$CPP $CPPFLAGS'
21083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
21092 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
21094 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
21095 for ac_func in isinff
21096 do :
21097 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
21098 if test "x$ac_cv_func_isinff" = x""yes; then :
21099 cat >>confdefs.h <<_ACEOF
21100 #define HAVE_ISINFF 1
21101 _ACEOF
21104 done
21106 else
21108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
21109 $as_echo_n "checking for _isinff declaration... " >&6; }
21110 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
21111 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
21112 $as_echo_n "(cached) " >&6
21113 else
21116 ac_ext=cpp
21117 ac_cpp='$CXXCPP $CPPFLAGS'
21118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21123 /* end confdefs.h. */
21124 #include <math.h>
21125 #ifdef HAVE_IEEEFP_H
21126 #include <ieeefp.h>
21127 #endif
21130 main ()
21132 _isinff(0);
21134 return 0;
21136 _ACEOF
21137 if ac_fn_cxx_try_compile "$LINENO"; then :
21138 glibcxx_cv_func__isinff_use=yes
21139 else
21140 glibcxx_cv_func__isinff_use=no
21142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21143 ac_ext=c
21144 ac_cpp='$CPP $CPPFLAGS'
21145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
21154 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
21156 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
21157 for ac_func in _isinff
21158 do :
21159 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
21160 if test "x$ac_cv_func__isinff" = x""yes; then :
21161 cat >>confdefs.h <<_ACEOF
21162 #define HAVE__ISINFF 1
21163 _ACEOF
21166 done
21175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
21176 $as_echo_n "checking for atan2f declaration... " >&6; }
21177 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
21178 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
21179 $as_echo_n "(cached) " >&6
21180 else
21183 ac_ext=cpp
21184 ac_cpp='$CXXCPP $CPPFLAGS'
21185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21190 /* end confdefs.h. */
21191 #include <math.h>
21193 main ()
21195 atan2f(0, 0);
21197 return 0;
21199 _ACEOF
21200 if ac_fn_cxx_try_compile "$LINENO"; then :
21201 glibcxx_cv_func_atan2f_use=yes
21202 else
21203 glibcxx_cv_func_atan2f_use=no
21205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21206 ac_ext=c
21207 ac_cpp='$CPP $CPPFLAGS'
21208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
21217 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
21219 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
21220 for ac_func in atan2f
21221 do :
21222 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
21223 if test "x$ac_cv_func_atan2f" = x""yes; then :
21224 cat >>confdefs.h <<_ACEOF
21225 #define HAVE_ATAN2F 1
21226 _ACEOF
21229 done
21231 else
21233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
21234 $as_echo_n "checking for _atan2f declaration... " >&6; }
21235 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
21236 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
21237 $as_echo_n "(cached) " >&6
21238 else
21241 ac_ext=cpp
21242 ac_cpp='$CXXCPP $CPPFLAGS'
21243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21248 /* end confdefs.h. */
21249 #include <math.h>
21251 main ()
21253 _atan2f(0, 0);
21255 return 0;
21257 _ACEOF
21258 if ac_fn_cxx_try_compile "$LINENO"; then :
21259 glibcxx_cv_func__atan2f_use=yes
21260 else
21261 glibcxx_cv_func__atan2f_use=no
21263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21264 ac_ext=c
21265 ac_cpp='$CPP $CPPFLAGS'
21266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
21275 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
21277 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
21278 for ac_func in _atan2f
21279 do :
21280 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
21281 if test "x$ac_cv_func__atan2f" = x""yes; then :
21282 cat >>confdefs.h <<_ACEOF
21283 #define HAVE__ATAN2F 1
21284 _ACEOF
21287 done
21296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
21297 $as_echo_n "checking for fabsf declaration... " >&6; }
21298 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
21299 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
21300 $as_echo_n "(cached) " >&6
21301 else
21304 ac_ext=cpp
21305 ac_cpp='$CXXCPP $CPPFLAGS'
21306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21311 /* end confdefs.h. */
21312 #include <math.h>
21313 #ifdef HAVE_IEEEFP_H
21314 #include <ieeefp.h>
21315 #endif
21318 main ()
21320 fabsf(0);
21322 return 0;
21324 _ACEOF
21325 if ac_fn_cxx_try_compile "$LINENO"; then :
21326 glibcxx_cv_func_fabsf_use=yes
21327 else
21328 glibcxx_cv_func_fabsf_use=no
21330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21331 ac_ext=c
21332 ac_cpp='$CPP $CPPFLAGS'
21333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
21342 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
21344 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
21345 for ac_func in fabsf
21346 do :
21347 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
21348 if test "x$ac_cv_func_fabsf" = x""yes; then :
21349 cat >>confdefs.h <<_ACEOF
21350 #define HAVE_FABSF 1
21351 _ACEOF
21354 done
21356 else
21358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
21359 $as_echo_n "checking for _fabsf declaration... " >&6; }
21360 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
21361 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
21362 $as_echo_n "(cached) " >&6
21363 else
21366 ac_ext=cpp
21367 ac_cpp='$CXXCPP $CPPFLAGS'
21368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21373 /* end confdefs.h. */
21374 #include <math.h>
21375 #ifdef HAVE_IEEEFP_H
21376 #include <ieeefp.h>
21377 #endif
21380 main ()
21382 _fabsf(0);
21384 return 0;
21386 _ACEOF
21387 if ac_fn_cxx_try_compile "$LINENO"; then :
21388 glibcxx_cv_func__fabsf_use=yes
21389 else
21390 glibcxx_cv_func__fabsf_use=no
21392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21393 ac_ext=c
21394 ac_cpp='$CPP $CPPFLAGS'
21395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
21404 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
21406 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
21407 for ac_func in _fabsf
21408 do :
21409 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
21410 if test "x$ac_cv_func__fabsf" = x""yes; then :
21411 cat >>confdefs.h <<_ACEOF
21412 #define HAVE__FABSF 1
21413 _ACEOF
21416 done
21425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
21426 $as_echo_n "checking for fmodf declaration... " >&6; }
21427 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
21428 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
21429 $as_echo_n "(cached) " >&6
21430 else
21433 ac_ext=cpp
21434 ac_cpp='$CXXCPP $CPPFLAGS'
21435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21440 /* end confdefs.h. */
21441 #include <math.h>
21443 main ()
21445 fmodf(0, 0);
21447 return 0;
21449 _ACEOF
21450 if ac_fn_cxx_try_compile "$LINENO"; then :
21451 glibcxx_cv_func_fmodf_use=yes
21452 else
21453 glibcxx_cv_func_fmodf_use=no
21455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21456 ac_ext=c
21457 ac_cpp='$CPP $CPPFLAGS'
21458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
21467 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
21469 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
21470 for ac_func in fmodf
21471 do :
21472 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
21473 if test "x$ac_cv_func_fmodf" = x""yes; then :
21474 cat >>confdefs.h <<_ACEOF
21475 #define HAVE_FMODF 1
21476 _ACEOF
21479 done
21481 else
21483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
21484 $as_echo_n "checking for _fmodf declaration... " >&6; }
21485 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
21486 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
21487 $as_echo_n "(cached) " >&6
21488 else
21491 ac_ext=cpp
21492 ac_cpp='$CXXCPP $CPPFLAGS'
21493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21498 /* end confdefs.h. */
21499 #include <math.h>
21501 main ()
21503 _fmodf(0, 0);
21505 return 0;
21507 _ACEOF
21508 if ac_fn_cxx_try_compile "$LINENO"; then :
21509 glibcxx_cv_func__fmodf_use=yes
21510 else
21511 glibcxx_cv_func__fmodf_use=no
21513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21514 ac_ext=c
21515 ac_cpp='$CPP $CPPFLAGS'
21516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
21525 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
21527 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
21528 for ac_func in _fmodf
21529 do :
21530 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
21531 if test "x$ac_cv_func__fmodf" = x""yes; then :
21532 cat >>confdefs.h <<_ACEOF
21533 #define HAVE__FMODF 1
21534 _ACEOF
21537 done
21546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
21547 $as_echo_n "checking for frexpf declaration... " >&6; }
21548 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
21549 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
21550 $as_echo_n "(cached) " >&6
21551 else
21554 ac_ext=cpp
21555 ac_cpp='$CXXCPP $CPPFLAGS'
21556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21561 /* end confdefs.h. */
21562 #include <math.h>
21564 main ()
21566 frexpf(0, 0);
21568 return 0;
21570 _ACEOF
21571 if ac_fn_cxx_try_compile "$LINENO"; then :
21572 glibcxx_cv_func_frexpf_use=yes
21573 else
21574 glibcxx_cv_func_frexpf_use=no
21576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21577 ac_ext=c
21578 ac_cpp='$CPP $CPPFLAGS'
21579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
21588 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
21590 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
21591 for ac_func in frexpf
21592 do :
21593 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
21594 if test "x$ac_cv_func_frexpf" = x""yes; then :
21595 cat >>confdefs.h <<_ACEOF
21596 #define HAVE_FREXPF 1
21597 _ACEOF
21600 done
21602 else
21604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
21605 $as_echo_n "checking for _frexpf declaration... " >&6; }
21606 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
21607 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
21608 $as_echo_n "(cached) " >&6
21609 else
21612 ac_ext=cpp
21613 ac_cpp='$CXXCPP $CPPFLAGS'
21614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21619 /* end confdefs.h. */
21620 #include <math.h>
21622 main ()
21624 _frexpf(0, 0);
21626 return 0;
21628 _ACEOF
21629 if ac_fn_cxx_try_compile "$LINENO"; then :
21630 glibcxx_cv_func__frexpf_use=yes
21631 else
21632 glibcxx_cv_func__frexpf_use=no
21634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21635 ac_ext=c
21636 ac_cpp='$CPP $CPPFLAGS'
21637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
21646 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
21648 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
21649 for ac_func in _frexpf
21650 do :
21651 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
21652 if test "x$ac_cv_func__frexpf" = x""yes; then :
21653 cat >>confdefs.h <<_ACEOF
21654 #define HAVE__FREXPF 1
21655 _ACEOF
21658 done
21667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
21668 $as_echo_n "checking for hypotf declaration... " >&6; }
21669 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
21670 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
21671 $as_echo_n "(cached) " >&6
21672 else
21675 ac_ext=cpp
21676 ac_cpp='$CXXCPP $CPPFLAGS'
21677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21682 /* end confdefs.h. */
21683 #include <math.h>
21685 main ()
21687 hypotf(0, 0);
21689 return 0;
21691 _ACEOF
21692 if ac_fn_cxx_try_compile "$LINENO"; then :
21693 glibcxx_cv_func_hypotf_use=yes
21694 else
21695 glibcxx_cv_func_hypotf_use=no
21697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21698 ac_ext=c
21699 ac_cpp='$CPP $CPPFLAGS'
21700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
21709 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
21711 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
21712 for ac_func in hypotf
21713 do :
21714 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
21715 if test "x$ac_cv_func_hypotf" = x""yes; then :
21716 cat >>confdefs.h <<_ACEOF
21717 #define HAVE_HYPOTF 1
21718 _ACEOF
21721 done
21723 else
21725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
21726 $as_echo_n "checking for _hypotf declaration... " >&6; }
21727 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
21728 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
21729 $as_echo_n "(cached) " >&6
21730 else
21733 ac_ext=cpp
21734 ac_cpp='$CXXCPP $CPPFLAGS'
21735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21740 /* end confdefs.h. */
21741 #include <math.h>
21743 main ()
21745 _hypotf(0, 0);
21747 return 0;
21749 _ACEOF
21750 if ac_fn_cxx_try_compile "$LINENO"; then :
21751 glibcxx_cv_func__hypotf_use=yes
21752 else
21753 glibcxx_cv_func__hypotf_use=no
21755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21756 ac_ext=c
21757 ac_cpp='$CPP $CPPFLAGS'
21758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
21767 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
21769 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
21770 for ac_func in _hypotf
21771 do :
21772 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
21773 if test "x$ac_cv_func__hypotf" = x""yes; then :
21774 cat >>confdefs.h <<_ACEOF
21775 #define HAVE__HYPOTF 1
21776 _ACEOF
21779 done
21788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
21789 $as_echo_n "checking for ldexpf declaration... " >&6; }
21790 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
21791 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
21792 $as_echo_n "(cached) " >&6
21793 else
21796 ac_ext=cpp
21797 ac_cpp='$CXXCPP $CPPFLAGS'
21798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21803 /* end confdefs.h. */
21804 #include <math.h>
21806 main ()
21808 ldexpf(0, 0);
21810 return 0;
21812 _ACEOF
21813 if ac_fn_cxx_try_compile "$LINENO"; then :
21814 glibcxx_cv_func_ldexpf_use=yes
21815 else
21816 glibcxx_cv_func_ldexpf_use=no
21818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21819 ac_ext=c
21820 ac_cpp='$CPP $CPPFLAGS'
21821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
21830 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
21832 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
21833 for ac_func in ldexpf
21834 do :
21835 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
21836 if test "x$ac_cv_func_ldexpf" = x""yes; then :
21837 cat >>confdefs.h <<_ACEOF
21838 #define HAVE_LDEXPF 1
21839 _ACEOF
21842 done
21844 else
21846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
21847 $as_echo_n "checking for _ldexpf declaration... " >&6; }
21848 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
21849 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
21850 $as_echo_n "(cached) " >&6
21851 else
21854 ac_ext=cpp
21855 ac_cpp='$CXXCPP $CPPFLAGS'
21856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21861 /* end confdefs.h. */
21862 #include <math.h>
21864 main ()
21866 _ldexpf(0, 0);
21868 return 0;
21870 _ACEOF
21871 if ac_fn_cxx_try_compile "$LINENO"; then :
21872 glibcxx_cv_func__ldexpf_use=yes
21873 else
21874 glibcxx_cv_func__ldexpf_use=no
21876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21877 ac_ext=c
21878 ac_cpp='$CPP $CPPFLAGS'
21879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
21888 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
21890 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
21891 for ac_func in _ldexpf
21892 do :
21893 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
21894 if test "x$ac_cv_func__ldexpf" = x""yes; then :
21895 cat >>confdefs.h <<_ACEOF
21896 #define HAVE__LDEXPF 1
21897 _ACEOF
21900 done
21909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
21910 $as_echo_n "checking for logf declaration... " >&6; }
21911 if test x${glibcxx_cv_func_logf_use+set} != xset; then
21912 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
21913 $as_echo_n "(cached) " >&6
21914 else
21917 ac_ext=cpp
21918 ac_cpp='$CXXCPP $CPPFLAGS'
21919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21924 /* end confdefs.h. */
21925 #include <math.h>
21926 #ifdef HAVE_IEEEFP_H
21927 #include <ieeefp.h>
21928 #endif
21931 main ()
21933 logf(0);
21935 return 0;
21937 _ACEOF
21938 if ac_fn_cxx_try_compile "$LINENO"; then :
21939 glibcxx_cv_func_logf_use=yes
21940 else
21941 glibcxx_cv_func_logf_use=no
21943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21944 ac_ext=c
21945 ac_cpp='$CPP $CPPFLAGS'
21946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
21955 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
21957 if test x$glibcxx_cv_func_logf_use = x"yes"; then
21958 for ac_func in logf
21959 do :
21960 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
21961 if test "x$ac_cv_func_logf" = x""yes; then :
21962 cat >>confdefs.h <<_ACEOF
21963 #define HAVE_LOGF 1
21964 _ACEOF
21967 done
21969 else
21971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
21972 $as_echo_n "checking for _logf declaration... " >&6; }
21973 if test x${glibcxx_cv_func__logf_use+set} != xset; then
21974 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
21975 $as_echo_n "(cached) " >&6
21976 else
21979 ac_ext=cpp
21980 ac_cpp='$CXXCPP $CPPFLAGS'
21981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21986 /* end confdefs.h. */
21987 #include <math.h>
21988 #ifdef HAVE_IEEEFP_H
21989 #include <ieeefp.h>
21990 #endif
21993 main ()
21995 _logf(0);
21997 return 0;
21999 _ACEOF
22000 if ac_fn_cxx_try_compile "$LINENO"; then :
22001 glibcxx_cv_func__logf_use=yes
22002 else
22003 glibcxx_cv_func__logf_use=no
22005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22006 ac_ext=c
22007 ac_cpp='$CPP $CPPFLAGS'
22008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
22017 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
22019 if test x$glibcxx_cv_func__logf_use = x"yes"; then
22020 for ac_func in _logf
22021 do :
22022 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
22023 if test "x$ac_cv_func__logf" = x""yes; then :
22024 cat >>confdefs.h <<_ACEOF
22025 #define HAVE__LOGF 1
22026 _ACEOF
22029 done
22038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
22039 $as_echo_n "checking for log10f declaration... " >&6; }
22040 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
22041 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
22042 $as_echo_n "(cached) " >&6
22043 else
22046 ac_ext=cpp
22047 ac_cpp='$CXXCPP $CPPFLAGS'
22048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22053 /* end confdefs.h. */
22054 #include <math.h>
22055 #ifdef HAVE_IEEEFP_H
22056 #include <ieeefp.h>
22057 #endif
22060 main ()
22062 log10f(0);
22064 return 0;
22066 _ACEOF
22067 if ac_fn_cxx_try_compile "$LINENO"; then :
22068 glibcxx_cv_func_log10f_use=yes
22069 else
22070 glibcxx_cv_func_log10f_use=no
22072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22073 ac_ext=c
22074 ac_cpp='$CPP $CPPFLAGS'
22075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
22084 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
22086 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
22087 for ac_func in log10f
22088 do :
22089 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
22090 if test "x$ac_cv_func_log10f" = x""yes; then :
22091 cat >>confdefs.h <<_ACEOF
22092 #define HAVE_LOG10F 1
22093 _ACEOF
22096 done
22098 else
22100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
22101 $as_echo_n "checking for _log10f declaration... " >&6; }
22102 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
22103 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
22104 $as_echo_n "(cached) " >&6
22105 else
22108 ac_ext=cpp
22109 ac_cpp='$CXXCPP $CPPFLAGS'
22110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22115 /* end confdefs.h. */
22116 #include <math.h>
22117 #ifdef HAVE_IEEEFP_H
22118 #include <ieeefp.h>
22119 #endif
22122 main ()
22124 _log10f(0);
22126 return 0;
22128 _ACEOF
22129 if ac_fn_cxx_try_compile "$LINENO"; then :
22130 glibcxx_cv_func__log10f_use=yes
22131 else
22132 glibcxx_cv_func__log10f_use=no
22134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22135 ac_ext=c
22136 ac_cpp='$CPP $CPPFLAGS'
22137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
22146 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
22148 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
22149 for ac_func in _log10f
22150 do :
22151 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
22152 if test "x$ac_cv_func__log10f" = x""yes; then :
22153 cat >>confdefs.h <<_ACEOF
22154 #define HAVE__LOG10F 1
22155 _ACEOF
22158 done
22167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
22168 $as_echo_n "checking for modff declaration... " >&6; }
22169 if test x${glibcxx_cv_func_modff_use+set} != xset; then
22170 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
22171 $as_echo_n "(cached) " >&6
22172 else
22175 ac_ext=cpp
22176 ac_cpp='$CXXCPP $CPPFLAGS'
22177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22182 /* end confdefs.h. */
22183 #include <math.h>
22185 main ()
22187 modff(0, 0);
22189 return 0;
22191 _ACEOF
22192 if ac_fn_cxx_try_compile "$LINENO"; then :
22193 glibcxx_cv_func_modff_use=yes
22194 else
22195 glibcxx_cv_func_modff_use=no
22197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22198 ac_ext=c
22199 ac_cpp='$CPP $CPPFLAGS'
22200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
22209 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
22211 if test x$glibcxx_cv_func_modff_use = x"yes"; then
22212 for ac_func in modff
22213 do :
22214 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
22215 if test "x$ac_cv_func_modff" = x""yes; then :
22216 cat >>confdefs.h <<_ACEOF
22217 #define HAVE_MODFF 1
22218 _ACEOF
22221 done
22223 else
22225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
22226 $as_echo_n "checking for _modff declaration... " >&6; }
22227 if test x${glibcxx_cv_func__modff_use+set} != xset; then
22228 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
22229 $as_echo_n "(cached) " >&6
22230 else
22233 ac_ext=cpp
22234 ac_cpp='$CXXCPP $CPPFLAGS'
22235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22240 /* end confdefs.h. */
22241 #include <math.h>
22243 main ()
22245 _modff(0, 0);
22247 return 0;
22249 _ACEOF
22250 if ac_fn_cxx_try_compile "$LINENO"; then :
22251 glibcxx_cv_func__modff_use=yes
22252 else
22253 glibcxx_cv_func__modff_use=no
22255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22256 ac_ext=c
22257 ac_cpp='$CPP $CPPFLAGS'
22258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
22267 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
22269 if test x$glibcxx_cv_func__modff_use = x"yes"; then
22270 for ac_func in _modff
22271 do :
22272 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
22273 if test "x$ac_cv_func__modff" = x""yes; then :
22274 cat >>confdefs.h <<_ACEOF
22275 #define HAVE__MODFF 1
22276 _ACEOF
22279 done
22288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
22289 $as_echo_n "checking for modf declaration... " >&6; }
22290 if test x${glibcxx_cv_func_modf_use+set} != xset; then
22291 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
22292 $as_echo_n "(cached) " >&6
22293 else
22296 ac_ext=cpp
22297 ac_cpp='$CXXCPP $CPPFLAGS'
22298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22303 /* end confdefs.h. */
22304 #include <math.h>
22306 main ()
22308 modf(0, 0);
22310 return 0;
22312 _ACEOF
22313 if ac_fn_cxx_try_compile "$LINENO"; then :
22314 glibcxx_cv_func_modf_use=yes
22315 else
22316 glibcxx_cv_func_modf_use=no
22318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22319 ac_ext=c
22320 ac_cpp='$CPP $CPPFLAGS'
22321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
22330 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
22332 if test x$glibcxx_cv_func_modf_use = x"yes"; then
22333 for ac_func in modf
22334 do :
22335 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
22336 if test "x$ac_cv_func_modf" = x""yes; then :
22337 cat >>confdefs.h <<_ACEOF
22338 #define HAVE_MODF 1
22339 _ACEOF
22342 done
22344 else
22346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
22347 $as_echo_n "checking for _modf declaration... " >&6; }
22348 if test x${glibcxx_cv_func__modf_use+set} != xset; then
22349 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
22350 $as_echo_n "(cached) " >&6
22351 else
22354 ac_ext=cpp
22355 ac_cpp='$CXXCPP $CPPFLAGS'
22356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22361 /* end confdefs.h. */
22362 #include <math.h>
22364 main ()
22366 _modf(0, 0);
22368 return 0;
22370 _ACEOF
22371 if ac_fn_cxx_try_compile "$LINENO"; then :
22372 glibcxx_cv_func__modf_use=yes
22373 else
22374 glibcxx_cv_func__modf_use=no
22376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22377 ac_ext=c
22378 ac_cpp='$CPP $CPPFLAGS'
22379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
22388 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
22390 if test x$glibcxx_cv_func__modf_use = x"yes"; then
22391 for ac_func in _modf
22392 do :
22393 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
22394 if test "x$ac_cv_func__modf" = x""yes; then :
22395 cat >>confdefs.h <<_ACEOF
22396 #define HAVE__MODF 1
22397 _ACEOF
22400 done
22409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
22410 $as_echo_n "checking for powf declaration... " >&6; }
22411 if test x${glibcxx_cv_func_powf_use+set} != xset; then
22412 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
22413 $as_echo_n "(cached) " >&6
22414 else
22417 ac_ext=cpp
22418 ac_cpp='$CXXCPP $CPPFLAGS'
22419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22424 /* end confdefs.h. */
22425 #include <math.h>
22427 main ()
22429 powf(0, 0);
22431 return 0;
22433 _ACEOF
22434 if ac_fn_cxx_try_compile "$LINENO"; then :
22435 glibcxx_cv_func_powf_use=yes
22436 else
22437 glibcxx_cv_func_powf_use=no
22439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22440 ac_ext=c
22441 ac_cpp='$CPP $CPPFLAGS'
22442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
22451 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
22453 if test x$glibcxx_cv_func_powf_use = x"yes"; then
22454 for ac_func in powf
22455 do :
22456 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
22457 if test "x$ac_cv_func_powf" = x""yes; then :
22458 cat >>confdefs.h <<_ACEOF
22459 #define HAVE_POWF 1
22460 _ACEOF
22463 done
22465 else
22467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
22468 $as_echo_n "checking for _powf declaration... " >&6; }
22469 if test x${glibcxx_cv_func__powf_use+set} != xset; then
22470 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
22471 $as_echo_n "(cached) " >&6
22472 else
22475 ac_ext=cpp
22476 ac_cpp='$CXXCPP $CPPFLAGS'
22477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22482 /* end confdefs.h. */
22483 #include <math.h>
22485 main ()
22487 _powf(0, 0);
22489 return 0;
22491 _ACEOF
22492 if ac_fn_cxx_try_compile "$LINENO"; then :
22493 glibcxx_cv_func__powf_use=yes
22494 else
22495 glibcxx_cv_func__powf_use=no
22497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22498 ac_ext=c
22499 ac_cpp='$CPP $CPPFLAGS'
22500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
22509 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
22511 if test x$glibcxx_cv_func__powf_use = x"yes"; then
22512 for ac_func in _powf
22513 do :
22514 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
22515 if test "x$ac_cv_func__powf" = x""yes; then :
22516 cat >>confdefs.h <<_ACEOF
22517 #define HAVE__POWF 1
22518 _ACEOF
22521 done
22530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
22531 $as_echo_n "checking for sqrtf declaration... " >&6; }
22532 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
22533 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
22534 $as_echo_n "(cached) " >&6
22535 else
22538 ac_ext=cpp
22539 ac_cpp='$CXXCPP $CPPFLAGS'
22540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22545 /* end confdefs.h. */
22546 #include <math.h>
22547 #ifdef HAVE_IEEEFP_H
22548 #include <ieeefp.h>
22549 #endif
22552 main ()
22554 sqrtf(0);
22556 return 0;
22558 _ACEOF
22559 if ac_fn_cxx_try_compile "$LINENO"; then :
22560 glibcxx_cv_func_sqrtf_use=yes
22561 else
22562 glibcxx_cv_func_sqrtf_use=no
22564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22565 ac_ext=c
22566 ac_cpp='$CPP $CPPFLAGS'
22567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
22576 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
22578 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
22579 for ac_func in sqrtf
22580 do :
22581 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
22582 if test "x$ac_cv_func_sqrtf" = x""yes; then :
22583 cat >>confdefs.h <<_ACEOF
22584 #define HAVE_SQRTF 1
22585 _ACEOF
22588 done
22590 else
22592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
22593 $as_echo_n "checking for _sqrtf declaration... " >&6; }
22594 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
22595 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
22596 $as_echo_n "(cached) " >&6
22597 else
22600 ac_ext=cpp
22601 ac_cpp='$CXXCPP $CPPFLAGS'
22602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22607 /* end confdefs.h. */
22608 #include <math.h>
22609 #ifdef HAVE_IEEEFP_H
22610 #include <ieeefp.h>
22611 #endif
22614 main ()
22616 _sqrtf(0);
22618 return 0;
22620 _ACEOF
22621 if ac_fn_cxx_try_compile "$LINENO"; then :
22622 glibcxx_cv_func__sqrtf_use=yes
22623 else
22624 glibcxx_cv_func__sqrtf_use=no
22626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22627 ac_ext=c
22628 ac_cpp='$CPP $CPPFLAGS'
22629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
22638 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
22640 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
22641 for ac_func in _sqrtf
22642 do :
22643 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
22644 if test "x$ac_cv_func__sqrtf" = x""yes; then :
22645 cat >>confdefs.h <<_ACEOF
22646 #define HAVE__SQRTF 1
22647 _ACEOF
22650 done
22659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
22660 $as_echo_n "checking for sincosf declaration... " >&6; }
22661 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
22662 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
22663 $as_echo_n "(cached) " >&6
22664 else
22667 ac_ext=cpp
22668 ac_cpp='$CXXCPP $CPPFLAGS'
22669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22674 /* end confdefs.h. */
22675 #include <math.h>
22677 main ()
22679 sincosf(0, 0, 0);
22681 return 0;
22683 _ACEOF
22684 if ac_fn_cxx_try_compile "$LINENO"; then :
22685 glibcxx_cv_func_sincosf_use=yes
22686 else
22687 glibcxx_cv_func_sincosf_use=no
22689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22690 ac_ext=c
22691 ac_cpp='$CPP $CPPFLAGS'
22692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
22701 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
22703 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
22704 for ac_func in sincosf
22705 do :
22706 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
22707 if test "x$ac_cv_func_sincosf" = x""yes; then :
22708 cat >>confdefs.h <<_ACEOF
22709 #define HAVE_SINCOSF 1
22710 _ACEOF
22713 done
22715 else
22717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
22718 $as_echo_n "checking for _sincosf declaration... " >&6; }
22719 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
22720 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
22721 $as_echo_n "(cached) " >&6
22722 else
22725 ac_ext=cpp
22726 ac_cpp='$CXXCPP $CPPFLAGS'
22727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22732 /* end confdefs.h. */
22733 #include <math.h>
22735 main ()
22737 _sincosf(0, 0, 0);
22739 return 0;
22741 _ACEOF
22742 if ac_fn_cxx_try_compile "$LINENO"; then :
22743 glibcxx_cv_func__sincosf_use=yes
22744 else
22745 glibcxx_cv_func__sincosf_use=no
22747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22748 ac_ext=c
22749 ac_cpp='$CPP $CPPFLAGS'
22750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
22759 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
22761 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
22762 for ac_func in _sincosf
22763 do :
22764 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
22765 if test "x$ac_cv_func__sincosf" = x""yes; then :
22766 cat >>confdefs.h <<_ACEOF
22767 #define HAVE__SINCOSF 1
22768 _ACEOF
22771 done
22780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
22781 $as_echo_n "checking for finitef declaration... " >&6; }
22782 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
22783 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
22784 $as_echo_n "(cached) " >&6
22785 else
22788 ac_ext=cpp
22789 ac_cpp='$CXXCPP $CPPFLAGS'
22790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22795 /* end confdefs.h. */
22796 #include <math.h>
22797 #ifdef HAVE_IEEEFP_H
22798 #include <ieeefp.h>
22799 #endif
22802 main ()
22804 finitef(0);
22806 return 0;
22808 _ACEOF
22809 if ac_fn_cxx_try_compile "$LINENO"; then :
22810 glibcxx_cv_func_finitef_use=yes
22811 else
22812 glibcxx_cv_func_finitef_use=no
22814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22815 ac_ext=c
22816 ac_cpp='$CPP $CPPFLAGS'
22817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
22826 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
22828 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
22829 for ac_func in finitef
22830 do :
22831 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
22832 if test "x$ac_cv_func_finitef" = x""yes; then :
22833 cat >>confdefs.h <<_ACEOF
22834 #define HAVE_FINITEF 1
22835 _ACEOF
22838 done
22840 else
22842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
22843 $as_echo_n "checking for _finitef declaration... " >&6; }
22844 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
22845 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
22846 $as_echo_n "(cached) " >&6
22847 else
22850 ac_ext=cpp
22851 ac_cpp='$CXXCPP $CPPFLAGS'
22852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22857 /* end confdefs.h. */
22858 #include <math.h>
22859 #ifdef HAVE_IEEEFP_H
22860 #include <ieeefp.h>
22861 #endif
22864 main ()
22866 _finitef(0);
22868 return 0;
22870 _ACEOF
22871 if ac_fn_cxx_try_compile "$LINENO"; then :
22872 glibcxx_cv_func__finitef_use=yes
22873 else
22874 glibcxx_cv_func__finitef_use=no
22876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22877 ac_ext=c
22878 ac_cpp='$CPP $CPPFLAGS'
22879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
22888 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
22890 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
22891 for ac_func in _finitef
22892 do :
22893 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
22894 if test "x$ac_cv_func__finitef" = x""yes; then :
22895 cat >>confdefs.h <<_ACEOF
22896 #define HAVE__FINITEF 1
22897 _ACEOF
22900 done
22909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
22910 $as_echo_n "checking for long double trig functions... " >&6; }
22911 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
22912 $as_echo_n "(cached) " >&6
22913 else
22916 ac_ext=cpp
22917 ac_cpp='$CXXCPP $CPPFLAGS'
22918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22923 /* end confdefs.h. */
22924 #include <math.h>
22926 main ()
22928 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
22930 return 0;
22932 _ACEOF
22933 if ac_fn_cxx_try_compile "$LINENO"; then :
22934 glibcxx_cv_func_long_double_trig_use=yes
22935 else
22936 glibcxx_cv_func_long_double_trig_use=no
22938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22939 ac_ext=c
22940 ac_cpp='$CPP $CPPFLAGS'
22941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
22948 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
22949 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
22950 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
22951 do :
22952 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22953 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22954 eval as_val=\$$as_ac_var
22955 if test "x$as_val" = x""yes; then :
22956 cat >>confdefs.h <<_ACEOF
22957 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22958 _ACEOF
22961 done
22963 else
22964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
22965 $as_echo_n "checking for _long double trig functions... " >&6; }
22966 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
22967 $as_echo_n "(cached) " >&6
22968 else
22971 ac_ext=cpp
22972 ac_cpp='$CXXCPP $CPPFLAGS'
22973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22978 /* end confdefs.h. */
22979 #include <math.h>
22981 main ()
22983 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
22985 return 0;
22987 _ACEOF
22988 if ac_fn_cxx_try_compile "$LINENO"; then :
22989 glibcxx_cv_func__long_double_trig_use=yes
22990 else
22991 glibcxx_cv_func__long_double_trig_use=no
22993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22994 ac_ext=c
22995 ac_cpp='$CPP $CPPFLAGS'
22996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
23003 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
23004 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
23005 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
23006 do :
23007 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23008 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23009 eval as_val=\$$as_ac_var
23010 if test "x$as_val" = x""yes; then :
23011 cat >>confdefs.h <<_ACEOF
23012 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23013 _ACEOF
23016 done
23025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
23026 $as_echo_n "checking for long double round functions... " >&6; }
23027 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
23028 $as_echo_n "(cached) " >&6
23029 else
23032 ac_ext=cpp
23033 ac_cpp='$CXXCPP $CPPFLAGS'
23034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23039 /* end confdefs.h. */
23040 #include <math.h>
23042 main ()
23044 ceill (0); floorl (0);
23046 return 0;
23048 _ACEOF
23049 if ac_fn_cxx_try_compile "$LINENO"; then :
23050 glibcxx_cv_func_long_double_round_use=yes
23051 else
23052 glibcxx_cv_func_long_double_round_use=no
23054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23055 ac_ext=c
23056 ac_cpp='$CPP $CPPFLAGS'
23057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
23064 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
23065 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
23066 for ac_func in ceill floorl
23067 do :
23068 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23069 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23070 eval as_val=\$$as_ac_var
23071 if test "x$as_val" = x""yes; then :
23072 cat >>confdefs.h <<_ACEOF
23073 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23074 _ACEOF
23077 done
23079 else
23080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
23081 $as_echo_n "checking for _long double round functions... " >&6; }
23082 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
23083 $as_echo_n "(cached) " >&6
23084 else
23087 ac_ext=cpp
23088 ac_cpp='$CXXCPP $CPPFLAGS'
23089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23094 /* end confdefs.h. */
23095 #include <math.h>
23097 main ()
23099 _ceill (0); _floorl (0);
23101 return 0;
23103 _ACEOF
23104 if ac_fn_cxx_try_compile "$LINENO"; then :
23105 glibcxx_cv_func__long_double_round_use=yes
23106 else
23107 glibcxx_cv_func__long_double_round_use=no
23109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23110 ac_ext=c
23111 ac_cpp='$CPP $CPPFLAGS'
23112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
23119 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
23120 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
23121 for ac_func in _ceill _floorl
23122 do :
23123 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23124 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23125 eval as_val=\$$as_ac_var
23126 if test "x$as_val" = x""yes; then :
23127 cat >>confdefs.h <<_ACEOF
23128 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23129 _ACEOF
23132 done
23142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
23143 $as_echo_n "checking for isnanl declaration... " >&6; }
23144 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
23145 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
23146 $as_echo_n "(cached) " >&6
23147 else
23150 ac_ext=cpp
23151 ac_cpp='$CXXCPP $CPPFLAGS'
23152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23157 /* end confdefs.h. */
23158 #include <math.h>
23159 #ifdef HAVE_IEEEFP_H
23160 #include <ieeefp.h>
23161 #endif
23164 main ()
23166 isnanl(0);
23168 return 0;
23170 _ACEOF
23171 if ac_fn_cxx_try_compile "$LINENO"; then :
23172 glibcxx_cv_func_isnanl_use=yes
23173 else
23174 glibcxx_cv_func_isnanl_use=no
23176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23177 ac_ext=c
23178 ac_cpp='$CPP $CPPFLAGS'
23179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
23188 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
23190 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
23191 for ac_func in isnanl
23192 do :
23193 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
23194 if test "x$ac_cv_func_isnanl" = x""yes; then :
23195 cat >>confdefs.h <<_ACEOF
23196 #define HAVE_ISNANL 1
23197 _ACEOF
23200 done
23202 else
23204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
23205 $as_echo_n "checking for _isnanl declaration... " >&6; }
23206 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
23207 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
23208 $as_echo_n "(cached) " >&6
23209 else
23212 ac_ext=cpp
23213 ac_cpp='$CXXCPP $CPPFLAGS'
23214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23219 /* end confdefs.h. */
23220 #include <math.h>
23221 #ifdef HAVE_IEEEFP_H
23222 #include <ieeefp.h>
23223 #endif
23226 main ()
23228 _isnanl(0);
23230 return 0;
23232 _ACEOF
23233 if ac_fn_cxx_try_compile "$LINENO"; then :
23234 glibcxx_cv_func__isnanl_use=yes
23235 else
23236 glibcxx_cv_func__isnanl_use=no
23238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23239 ac_ext=c
23240 ac_cpp='$CPP $CPPFLAGS'
23241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
23250 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
23252 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
23253 for ac_func in _isnanl
23254 do :
23255 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
23256 if test "x$ac_cv_func__isnanl" = x""yes; then :
23257 cat >>confdefs.h <<_ACEOF
23258 #define HAVE__ISNANL 1
23259 _ACEOF
23262 done
23271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
23272 $as_echo_n "checking for isinfl declaration... " >&6; }
23273 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
23274 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
23275 $as_echo_n "(cached) " >&6
23276 else
23279 ac_ext=cpp
23280 ac_cpp='$CXXCPP $CPPFLAGS'
23281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23286 /* end confdefs.h. */
23287 #include <math.h>
23288 #ifdef HAVE_IEEEFP_H
23289 #include <ieeefp.h>
23290 #endif
23293 main ()
23295 isinfl(0);
23297 return 0;
23299 _ACEOF
23300 if ac_fn_cxx_try_compile "$LINENO"; then :
23301 glibcxx_cv_func_isinfl_use=yes
23302 else
23303 glibcxx_cv_func_isinfl_use=no
23305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23306 ac_ext=c
23307 ac_cpp='$CPP $CPPFLAGS'
23308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
23317 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
23319 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
23320 for ac_func in isinfl
23321 do :
23322 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
23323 if test "x$ac_cv_func_isinfl" = x""yes; then :
23324 cat >>confdefs.h <<_ACEOF
23325 #define HAVE_ISINFL 1
23326 _ACEOF
23329 done
23331 else
23333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
23334 $as_echo_n "checking for _isinfl declaration... " >&6; }
23335 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
23336 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
23337 $as_echo_n "(cached) " >&6
23338 else
23341 ac_ext=cpp
23342 ac_cpp='$CXXCPP $CPPFLAGS'
23343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23348 /* end confdefs.h. */
23349 #include <math.h>
23350 #ifdef HAVE_IEEEFP_H
23351 #include <ieeefp.h>
23352 #endif
23355 main ()
23357 _isinfl(0);
23359 return 0;
23361 _ACEOF
23362 if ac_fn_cxx_try_compile "$LINENO"; then :
23363 glibcxx_cv_func__isinfl_use=yes
23364 else
23365 glibcxx_cv_func__isinfl_use=no
23367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23368 ac_ext=c
23369 ac_cpp='$CPP $CPPFLAGS'
23370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
23379 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
23381 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
23382 for ac_func in _isinfl
23383 do :
23384 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
23385 if test "x$ac_cv_func__isinfl" = x""yes; then :
23386 cat >>confdefs.h <<_ACEOF
23387 #define HAVE__ISINFL 1
23388 _ACEOF
23391 done
23400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
23401 $as_echo_n "checking for atan2l declaration... " >&6; }
23402 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
23403 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
23404 $as_echo_n "(cached) " >&6
23405 else
23408 ac_ext=cpp
23409 ac_cpp='$CXXCPP $CPPFLAGS'
23410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23415 /* end confdefs.h. */
23416 #include <math.h>
23418 main ()
23420 atan2l(0, 0);
23422 return 0;
23424 _ACEOF
23425 if ac_fn_cxx_try_compile "$LINENO"; then :
23426 glibcxx_cv_func_atan2l_use=yes
23427 else
23428 glibcxx_cv_func_atan2l_use=no
23430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23431 ac_ext=c
23432 ac_cpp='$CPP $CPPFLAGS'
23433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
23442 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
23444 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
23445 for ac_func in atan2l
23446 do :
23447 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
23448 if test "x$ac_cv_func_atan2l" = x""yes; then :
23449 cat >>confdefs.h <<_ACEOF
23450 #define HAVE_ATAN2L 1
23451 _ACEOF
23454 done
23456 else
23458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
23459 $as_echo_n "checking for _atan2l declaration... " >&6; }
23460 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
23461 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
23462 $as_echo_n "(cached) " >&6
23463 else
23466 ac_ext=cpp
23467 ac_cpp='$CXXCPP $CPPFLAGS'
23468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23473 /* end confdefs.h. */
23474 #include <math.h>
23476 main ()
23478 _atan2l(0, 0);
23480 return 0;
23482 _ACEOF
23483 if ac_fn_cxx_try_compile "$LINENO"; then :
23484 glibcxx_cv_func__atan2l_use=yes
23485 else
23486 glibcxx_cv_func__atan2l_use=no
23488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23489 ac_ext=c
23490 ac_cpp='$CPP $CPPFLAGS'
23491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
23500 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
23502 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
23503 for ac_func in _atan2l
23504 do :
23505 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
23506 if test "x$ac_cv_func__atan2l" = x""yes; then :
23507 cat >>confdefs.h <<_ACEOF
23508 #define HAVE__ATAN2L 1
23509 _ACEOF
23512 done
23521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
23522 $as_echo_n "checking for expl declaration... " >&6; }
23523 if test x${glibcxx_cv_func_expl_use+set} != xset; then
23524 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
23525 $as_echo_n "(cached) " >&6
23526 else
23529 ac_ext=cpp
23530 ac_cpp='$CXXCPP $CPPFLAGS'
23531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23536 /* end confdefs.h. */
23537 #include <math.h>
23538 #ifdef HAVE_IEEEFP_H
23539 #include <ieeefp.h>
23540 #endif
23543 main ()
23545 expl(0);
23547 return 0;
23549 _ACEOF
23550 if ac_fn_cxx_try_compile "$LINENO"; then :
23551 glibcxx_cv_func_expl_use=yes
23552 else
23553 glibcxx_cv_func_expl_use=no
23555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23556 ac_ext=c
23557 ac_cpp='$CPP $CPPFLAGS'
23558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
23567 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
23569 if test x$glibcxx_cv_func_expl_use = x"yes"; then
23570 for ac_func in expl
23571 do :
23572 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
23573 if test "x$ac_cv_func_expl" = x""yes; then :
23574 cat >>confdefs.h <<_ACEOF
23575 #define HAVE_EXPL 1
23576 _ACEOF
23579 done
23581 else
23583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
23584 $as_echo_n "checking for _expl declaration... " >&6; }
23585 if test x${glibcxx_cv_func__expl_use+set} != xset; then
23586 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
23587 $as_echo_n "(cached) " >&6
23588 else
23591 ac_ext=cpp
23592 ac_cpp='$CXXCPP $CPPFLAGS'
23593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23598 /* end confdefs.h. */
23599 #include <math.h>
23600 #ifdef HAVE_IEEEFP_H
23601 #include <ieeefp.h>
23602 #endif
23605 main ()
23607 _expl(0);
23609 return 0;
23611 _ACEOF
23612 if ac_fn_cxx_try_compile "$LINENO"; then :
23613 glibcxx_cv_func__expl_use=yes
23614 else
23615 glibcxx_cv_func__expl_use=no
23617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23618 ac_ext=c
23619 ac_cpp='$CPP $CPPFLAGS'
23620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
23629 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
23631 if test x$glibcxx_cv_func__expl_use = x"yes"; then
23632 for ac_func in _expl
23633 do :
23634 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
23635 if test "x$ac_cv_func__expl" = x""yes; then :
23636 cat >>confdefs.h <<_ACEOF
23637 #define HAVE__EXPL 1
23638 _ACEOF
23641 done
23650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
23651 $as_echo_n "checking for fabsl declaration... " >&6; }
23652 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
23653 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
23654 $as_echo_n "(cached) " >&6
23655 else
23658 ac_ext=cpp
23659 ac_cpp='$CXXCPP $CPPFLAGS'
23660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23665 /* end confdefs.h. */
23666 #include <math.h>
23667 #ifdef HAVE_IEEEFP_H
23668 #include <ieeefp.h>
23669 #endif
23672 main ()
23674 fabsl(0);
23676 return 0;
23678 _ACEOF
23679 if ac_fn_cxx_try_compile "$LINENO"; then :
23680 glibcxx_cv_func_fabsl_use=yes
23681 else
23682 glibcxx_cv_func_fabsl_use=no
23684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23685 ac_ext=c
23686 ac_cpp='$CPP $CPPFLAGS'
23687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
23696 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
23698 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
23699 for ac_func in fabsl
23700 do :
23701 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
23702 if test "x$ac_cv_func_fabsl" = x""yes; then :
23703 cat >>confdefs.h <<_ACEOF
23704 #define HAVE_FABSL 1
23705 _ACEOF
23708 done
23710 else
23712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
23713 $as_echo_n "checking for _fabsl declaration... " >&6; }
23714 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
23715 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
23716 $as_echo_n "(cached) " >&6
23717 else
23720 ac_ext=cpp
23721 ac_cpp='$CXXCPP $CPPFLAGS'
23722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23727 /* end confdefs.h. */
23728 #include <math.h>
23729 #ifdef HAVE_IEEEFP_H
23730 #include <ieeefp.h>
23731 #endif
23734 main ()
23736 _fabsl(0);
23738 return 0;
23740 _ACEOF
23741 if ac_fn_cxx_try_compile "$LINENO"; then :
23742 glibcxx_cv_func__fabsl_use=yes
23743 else
23744 glibcxx_cv_func__fabsl_use=no
23746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23747 ac_ext=c
23748 ac_cpp='$CPP $CPPFLAGS'
23749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
23758 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
23760 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
23761 for ac_func in _fabsl
23762 do :
23763 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
23764 if test "x$ac_cv_func__fabsl" = x""yes; then :
23765 cat >>confdefs.h <<_ACEOF
23766 #define HAVE__FABSL 1
23767 _ACEOF
23770 done
23779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
23780 $as_echo_n "checking for fmodl declaration... " >&6; }
23781 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
23782 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
23783 $as_echo_n "(cached) " >&6
23784 else
23787 ac_ext=cpp
23788 ac_cpp='$CXXCPP $CPPFLAGS'
23789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23794 /* end confdefs.h. */
23795 #include <math.h>
23797 main ()
23799 fmodl(0, 0);
23801 return 0;
23803 _ACEOF
23804 if ac_fn_cxx_try_compile "$LINENO"; then :
23805 glibcxx_cv_func_fmodl_use=yes
23806 else
23807 glibcxx_cv_func_fmodl_use=no
23809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23810 ac_ext=c
23811 ac_cpp='$CPP $CPPFLAGS'
23812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
23821 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
23823 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
23824 for ac_func in fmodl
23825 do :
23826 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
23827 if test "x$ac_cv_func_fmodl" = x""yes; then :
23828 cat >>confdefs.h <<_ACEOF
23829 #define HAVE_FMODL 1
23830 _ACEOF
23833 done
23835 else
23837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
23838 $as_echo_n "checking for _fmodl declaration... " >&6; }
23839 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
23840 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
23841 $as_echo_n "(cached) " >&6
23842 else
23845 ac_ext=cpp
23846 ac_cpp='$CXXCPP $CPPFLAGS'
23847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23852 /* end confdefs.h. */
23853 #include <math.h>
23855 main ()
23857 _fmodl(0, 0);
23859 return 0;
23861 _ACEOF
23862 if ac_fn_cxx_try_compile "$LINENO"; then :
23863 glibcxx_cv_func__fmodl_use=yes
23864 else
23865 glibcxx_cv_func__fmodl_use=no
23867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23868 ac_ext=c
23869 ac_cpp='$CPP $CPPFLAGS'
23870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
23879 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
23881 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
23882 for ac_func in _fmodl
23883 do :
23884 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
23885 if test "x$ac_cv_func__fmodl" = x""yes; then :
23886 cat >>confdefs.h <<_ACEOF
23887 #define HAVE__FMODL 1
23888 _ACEOF
23891 done
23900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
23901 $as_echo_n "checking for frexpl declaration... " >&6; }
23902 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
23903 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
23904 $as_echo_n "(cached) " >&6
23905 else
23908 ac_ext=cpp
23909 ac_cpp='$CXXCPP $CPPFLAGS'
23910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23915 /* end confdefs.h. */
23916 #include <math.h>
23918 main ()
23920 frexpl(0, 0);
23922 return 0;
23924 _ACEOF
23925 if ac_fn_cxx_try_compile "$LINENO"; then :
23926 glibcxx_cv_func_frexpl_use=yes
23927 else
23928 glibcxx_cv_func_frexpl_use=no
23930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23931 ac_ext=c
23932 ac_cpp='$CPP $CPPFLAGS'
23933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
23942 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
23944 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
23945 for ac_func in frexpl
23946 do :
23947 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
23948 if test "x$ac_cv_func_frexpl" = x""yes; then :
23949 cat >>confdefs.h <<_ACEOF
23950 #define HAVE_FREXPL 1
23951 _ACEOF
23954 done
23956 else
23958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
23959 $as_echo_n "checking for _frexpl declaration... " >&6; }
23960 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
23961 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
23962 $as_echo_n "(cached) " >&6
23963 else
23966 ac_ext=cpp
23967 ac_cpp='$CXXCPP $CPPFLAGS'
23968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23973 /* end confdefs.h. */
23974 #include <math.h>
23976 main ()
23978 _frexpl(0, 0);
23980 return 0;
23982 _ACEOF
23983 if ac_fn_cxx_try_compile "$LINENO"; then :
23984 glibcxx_cv_func__frexpl_use=yes
23985 else
23986 glibcxx_cv_func__frexpl_use=no
23988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23989 ac_ext=c
23990 ac_cpp='$CPP $CPPFLAGS'
23991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
24000 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
24002 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
24003 for ac_func in _frexpl
24004 do :
24005 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
24006 if test "x$ac_cv_func__frexpl" = x""yes; then :
24007 cat >>confdefs.h <<_ACEOF
24008 #define HAVE__FREXPL 1
24009 _ACEOF
24012 done
24021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
24022 $as_echo_n "checking for hypotl declaration... " >&6; }
24023 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
24024 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
24025 $as_echo_n "(cached) " >&6
24026 else
24029 ac_ext=cpp
24030 ac_cpp='$CXXCPP $CPPFLAGS'
24031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24036 /* end confdefs.h. */
24037 #include <math.h>
24039 main ()
24041 hypotl(0, 0);
24043 return 0;
24045 _ACEOF
24046 if ac_fn_cxx_try_compile "$LINENO"; then :
24047 glibcxx_cv_func_hypotl_use=yes
24048 else
24049 glibcxx_cv_func_hypotl_use=no
24051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24052 ac_ext=c
24053 ac_cpp='$CPP $CPPFLAGS'
24054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
24063 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
24065 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
24066 for ac_func in hypotl
24067 do :
24068 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
24069 if test "x$ac_cv_func_hypotl" = x""yes; then :
24070 cat >>confdefs.h <<_ACEOF
24071 #define HAVE_HYPOTL 1
24072 _ACEOF
24075 done
24077 else
24079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
24080 $as_echo_n "checking for _hypotl declaration... " >&6; }
24081 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
24082 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
24083 $as_echo_n "(cached) " >&6
24084 else
24087 ac_ext=cpp
24088 ac_cpp='$CXXCPP $CPPFLAGS'
24089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24094 /* end confdefs.h. */
24095 #include <math.h>
24097 main ()
24099 _hypotl(0, 0);
24101 return 0;
24103 _ACEOF
24104 if ac_fn_cxx_try_compile "$LINENO"; then :
24105 glibcxx_cv_func__hypotl_use=yes
24106 else
24107 glibcxx_cv_func__hypotl_use=no
24109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24110 ac_ext=c
24111 ac_cpp='$CPP $CPPFLAGS'
24112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
24121 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
24123 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
24124 for ac_func in _hypotl
24125 do :
24126 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
24127 if test "x$ac_cv_func__hypotl" = x""yes; then :
24128 cat >>confdefs.h <<_ACEOF
24129 #define HAVE__HYPOTL 1
24130 _ACEOF
24133 done
24142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
24143 $as_echo_n "checking for ldexpl declaration... " >&6; }
24144 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
24145 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
24146 $as_echo_n "(cached) " >&6
24147 else
24150 ac_ext=cpp
24151 ac_cpp='$CXXCPP $CPPFLAGS'
24152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24157 /* end confdefs.h. */
24158 #include <math.h>
24160 main ()
24162 ldexpl(0, 0);
24164 return 0;
24166 _ACEOF
24167 if ac_fn_cxx_try_compile "$LINENO"; then :
24168 glibcxx_cv_func_ldexpl_use=yes
24169 else
24170 glibcxx_cv_func_ldexpl_use=no
24172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24173 ac_ext=c
24174 ac_cpp='$CPP $CPPFLAGS'
24175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
24184 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
24186 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
24187 for ac_func in ldexpl
24188 do :
24189 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
24190 if test "x$ac_cv_func_ldexpl" = x""yes; then :
24191 cat >>confdefs.h <<_ACEOF
24192 #define HAVE_LDEXPL 1
24193 _ACEOF
24196 done
24198 else
24200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
24201 $as_echo_n "checking for _ldexpl declaration... " >&6; }
24202 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
24203 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
24204 $as_echo_n "(cached) " >&6
24205 else
24208 ac_ext=cpp
24209 ac_cpp='$CXXCPP $CPPFLAGS'
24210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24215 /* end confdefs.h. */
24216 #include <math.h>
24218 main ()
24220 _ldexpl(0, 0);
24222 return 0;
24224 _ACEOF
24225 if ac_fn_cxx_try_compile "$LINENO"; then :
24226 glibcxx_cv_func__ldexpl_use=yes
24227 else
24228 glibcxx_cv_func__ldexpl_use=no
24230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24231 ac_ext=c
24232 ac_cpp='$CPP $CPPFLAGS'
24233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
24242 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
24244 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
24245 for ac_func in _ldexpl
24246 do :
24247 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
24248 if test "x$ac_cv_func__ldexpl" = x""yes; then :
24249 cat >>confdefs.h <<_ACEOF
24250 #define HAVE__LDEXPL 1
24251 _ACEOF
24254 done
24263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
24264 $as_echo_n "checking for logl declaration... " >&6; }
24265 if test x${glibcxx_cv_func_logl_use+set} != xset; then
24266 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
24267 $as_echo_n "(cached) " >&6
24268 else
24271 ac_ext=cpp
24272 ac_cpp='$CXXCPP $CPPFLAGS'
24273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24278 /* end confdefs.h. */
24279 #include <math.h>
24280 #ifdef HAVE_IEEEFP_H
24281 #include <ieeefp.h>
24282 #endif
24285 main ()
24287 logl(0);
24289 return 0;
24291 _ACEOF
24292 if ac_fn_cxx_try_compile "$LINENO"; then :
24293 glibcxx_cv_func_logl_use=yes
24294 else
24295 glibcxx_cv_func_logl_use=no
24297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24298 ac_ext=c
24299 ac_cpp='$CPP $CPPFLAGS'
24300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
24309 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
24311 if test x$glibcxx_cv_func_logl_use = x"yes"; then
24312 for ac_func in logl
24313 do :
24314 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
24315 if test "x$ac_cv_func_logl" = x""yes; then :
24316 cat >>confdefs.h <<_ACEOF
24317 #define HAVE_LOGL 1
24318 _ACEOF
24321 done
24323 else
24325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
24326 $as_echo_n "checking for _logl declaration... " >&6; }
24327 if test x${glibcxx_cv_func__logl_use+set} != xset; then
24328 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
24329 $as_echo_n "(cached) " >&6
24330 else
24333 ac_ext=cpp
24334 ac_cpp='$CXXCPP $CPPFLAGS'
24335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24340 /* end confdefs.h. */
24341 #include <math.h>
24342 #ifdef HAVE_IEEEFP_H
24343 #include <ieeefp.h>
24344 #endif
24347 main ()
24349 _logl(0);
24351 return 0;
24353 _ACEOF
24354 if ac_fn_cxx_try_compile "$LINENO"; then :
24355 glibcxx_cv_func__logl_use=yes
24356 else
24357 glibcxx_cv_func__logl_use=no
24359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24360 ac_ext=c
24361 ac_cpp='$CPP $CPPFLAGS'
24362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
24371 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
24373 if test x$glibcxx_cv_func__logl_use = x"yes"; then
24374 for ac_func in _logl
24375 do :
24376 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
24377 if test "x$ac_cv_func__logl" = x""yes; then :
24378 cat >>confdefs.h <<_ACEOF
24379 #define HAVE__LOGL 1
24380 _ACEOF
24383 done
24392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
24393 $as_echo_n "checking for log10l declaration... " >&6; }
24394 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
24395 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
24396 $as_echo_n "(cached) " >&6
24397 else
24400 ac_ext=cpp
24401 ac_cpp='$CXXCPP $CPPFLAGS'
24402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24407 /* end confdefs.h. */
24408 #include <math.h>
24409 #ifdef HAVE_IEEEFP_H
24410 #include <ieeefp.h>
24411 #endif
24414 main ()
24416 log10l(0);
24418 return 0;
24420 _ACEOF
24421 if ac_fn_cxx_try_compile "$LINENO"; then :
24422 glibcxx_cv_func_log10l_use=yes
24423 else
24424 glibcxx_cv_func_log10l_use=no
24426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24427 ac_ext=c
24428 ac_cpp='$CPP $CPPFLAGS'
24429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
24438 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
24440 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
24441 for ac_func in log10l
24442 do :
24443 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
24444 if test "x$ac_cv_func_log10l" = x""yes; then :
24445 cat >>confdefs.h <<_ACEOF
24446 #define HAVE_LOG10L 1
24447 _ACEOF
24450 done
24452 else
24454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
24455 $as_echo_n "checking for _log10l declaration... " >&6; }
24456 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
24457 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
24458 $as_echo_n "(cached) " >&6
24459 else
24462 ac_ext=cpp
24463 ac_cpp='$CXXCPP $CPPFLAGS'
24464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24469 /* end confdefs.h. */
24470 #include <math.h>
24471 #ifdef HAVE_IEEEFP_H
24472 #include <ieeefp.h>
24473 #endif
24476 main ()
24478 _log10l(0);
24480 return 0;
24482 _ACEOF
24483 if ac_fn_cxx_try_compile "$LINENO"; then :
24484 glibcxx_cv_func__log10l_use=yes
24485 else
24486 glibcxx_cv_func__log10l_use=no
24488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24489 ac_ext=c
24490 ac_cpp='$CPP $CPPFLAGS'
24491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
24500 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
24502 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
24503 for ac_func in _log10l
24504 do :
24505 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
24506 if test "x$ac_cv_func__log10l" = x""yes; then :
24507 cat >>confdefs.h <<_ACEOF
24508 #define HAVE__LOG10L 1
24509 _ACEOF
24512 done
24521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
24522 $as_echo_n "checking for modfl declaration... " >&6; }
24523 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
24524 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
24525 $as_echo_n "(cached) " >&6
24526 else
24529 ac_ext=cpp
24530 ac_cpp='$CXXCPP $CPPFLAGS'
24531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24536 /* end confdefs.h. */
24537 #include <math.h>
24539 main ()
24541 modfl(0, 0);
24543 return 0;
24545 _ACEOF
24546 if ac_fn_cxx_try_compile "$LINENO"; then :
24547 glibcxx_cv_func_modfl_use=yes
24548 else
24549 glibcxx_cv_func_modfl_use=no
24551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24552 ac_ext=c
24553 ac_cpp='$CPP $CPPFLAGS'
24554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
24563 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
24565 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
24566 for ac_func in modfl
24567 do :
24568 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
24569 if test "x$ac_cv_func_modfl" = x""yes; then :
24570 cat >>confdefs.h <<_ACEOF
24571 #define HAVE_MODFL 1
24572 _ACEOF
24575 done
24577 else
24579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
24580 $as_echo_n "checking for _modfl declaration... " >&6; }
24581 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
24582 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
24583 $as_echo_n "(cached) " >&6
24584 else
24587 ac_ext=cpp
24588 ac_cpp='$CXXCPP $CPPFLAGS'
24589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24594 /* end confdefs.h. */
24595 #include <math.h>
24597 main ()
24599 _modfl(0, 0);
24601 return 0;
24603 _ACEOF
24604 if ac_fn_cxx_try_compile "$LINENO"; then :
24605 glibcxx_cv_func__modfl_use=yes
24606 else
24607 glibcxx_cv_func__modfl_use=no
24609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24610 ac_ext=c
24611 ac_cpp='$CPP $CPPFLAGS'
24612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
24621 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
24623 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
24624 for ac_func in _modfl
24625 do :
24626 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
24627 if test "x$ac_cv_func__modfl" = x""yes; then :
24628 cat >>confdefs.h <<_ACEOF
24629 #define HAVE__MODFL 1
24630 _ACEOF
24633 done
24642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
24643 $as_echo_n "checking for powl declaration... " >&6; }
24644 if test x${glibcxx_cv_func_powl_use+set} != xset; then
24645 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
24646 $as_echo_n "(cached) " >&6
24647 else
24650 ac_ext=cpp
24651 ac_cpp='$CXXCPP $CPPFLAGS'
24652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24657 /* end confdefs.h. */
24658 #include <math.h>
24660 main ()
24662 powl(0, 0);
24664 return 0;
24666 _ACEOF
24667 if ac_fn_cxx_try_compile "$LINENO"; then :
24668 glibcxx_cv_func_powl_use=yes
24669 else
24670 glibcxx_cv_func_powl_use=no
24672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24673 ac_ext=c
24674 ac_cpp='$CPP $CPPFLAGS'
24675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
24684 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
24686 if test x$glibcxx_cv_func_powl_use = x"yes"; then
24687 for ac_func in powl
24688 do :
24689 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
24690 if test "x$ac_cv_func_powl" = x""yes; then :
24691 cat >>confdefs.h <<_ACEOF
24692 #define HAVE_POWL 1
24693 _ACEOF
24696 done
24698 else
24700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
24701 $as_echo_n "checking for _powl declaration... " >&6; }
24702 if test x${glibcxx_cv_func__powl_use+set} != xset; then
24703 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
24704 $as_echo_n "(cached) " >&6
24705 else
24708 ac_ext=cpp
24709 ac_cpp='$CXXCPP $CPPFLAGS'
24710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24715 /* end confdefs.h. */
24716 #include <math.h>
24718 main ()
24720 _powl(0, 0);
24722 return 0;
24724 _ACEOF
24725 if ac_fn_cxx_try_compile "$LINENO"; then :
24726 glibcxx_cv_func__powl_use=yes
24727 else
24728 glibcxx_cv_func__powl_use=no
24730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24731 ac_ext=c
24732 ac_cpp='$CPP $CPPFLAGS'
24733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
24742 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
24744 if test x$glibcxx_cv_func__powl_use = x"yes"; then
24745 for ac_func in _powl
24746 do :
24747 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
24748 if test "x$ac_cv_func__powl" = x""yes; then :
24749 cat >>confdefs.h <<_ACEOF
24750 #define HAVE__POWL 1
24751 _ACEOF
24754 done
24763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
24764 $as_echo_n "checking for sqrtl declaration... " >&6; }
24765 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
24766 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
24767 $as_echo_n "(cached) " >&6
24768 else
24771 ac_ext=cpp
24772 ac_cpp='$CXXCPP $CPPFLAGS'
24773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24778 /* end confdefs.h. */
24779 #include <math.h>
24780 #ifdef HAVE_IEEEFP_H
24781 #include <ieeefp.h>
24782 #endif
24785 main ()
24787 sqrtl(0);
24789 return 0;
24791 _ACEOF
24792 if ac_fn_cxx_try_compile "$LINENO"; then :
24793 glibcxx_cv_func_sqrtl_use=yes
24794 else
24795 glibcxx_cv_func_sqrtl_use=no
24797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24798 ac_ext=c
24799 ac_cpp='$CPP $CPPFLAGS'
24800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
24809 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
24811 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
24812 for ac_func in sqrtl
24813 do :
24814 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
24815 if test "x$ac_cv_func_sqrtl" = x""yes; then :
24816 cat >>confdefs.h <<_ACEOF
24817 #define HAVE_SQRTL 1
24818 _ACEOF
24821 done
24823 else
24825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
24826 $as_echo_n "checking for _sqrtl declaration... " >&6; }
24827 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
24828 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
24829 $as_echo_n "(cached) " >&6
24830 else
24833 ac_ext=cpp
24834 ac_cpp='$CXXCPP $CPPFLAGS'
24835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24840 /* end confdefs.h. */
24841 #include <math.h>
24842 #ifdef HAVE_IEEEFP_H
24843 #include <ieeefp.h>
24844 #endif
24847 main ()
24849 _sqrtl(0);
24851 return 0;
24853 _ACEOF
24854 if ac_fn_cxx_try_compile "$LINENO"; then :
24855 glibcxx_cv_func__sqrtl_use=yes
24856 else
24857 glibcxx_cv_func__sqrtl_use=no
24859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24860 ac_ext=c
24861 ac_cpp='$CPP $CPPFLAGS'
24862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
24871 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
24873 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
24874 for ac_func in _sqrtl
24875 do :
24876 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
24877 if test "x$ac_cv_func__sqrtl" = x""yes; then :
24878 cat >>confdefs.h <<_ACEOF
24879 #define HAVE__SQRTL 1
24880 _ACEOF
24883 done
24892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
24893 $as_echo_n "checking for sincosl declaration... " >&6; }
24894 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
24895 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
24896 $as_echo_n "(cached) " >&6
24897 else
24900 ac_ext=cpp
24901 ac_cpp='$CXXCPP $CPPFLAGS'
24902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24907 /* end confdefs.h. */
24908 #include <math.h>
24910 main ()
24912 sincosl(0, 0, 0);
24914 return 0;
24916 _ACEOF
24917 if ac_fn_cxx_try_compile "$LINENO"; then :
24918 glibcxx_cv_func_sincosl_use=yes
24919 else
24920 glibcxx_cv_func_sincosl_use=no
24922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24923 ac_ext=c
24924 ac_cpp='$CPP $CPPFLAGS'
24925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
24934 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
24936 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
24937 for ac_func in sincosl
24938 do :
24939 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
24940 if test "x$ac_cv_func_sincosl" = x""yes; then :
24941 cat >>confdefs.h <<_ACEOF
24942 #define HAVE_SINCOSL 1
24943 _ACEOF
24946 done
24948 else
24950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
24951 $as_echo_n "checking for _sincosl declaration... " >&6; }
24952 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
24953 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
24954 $as_echo_n "(cached) " >&6
24955 else
24958 ac_ext=cpp
24959 ac_cpp='$CXXCPP $CPPFLAGS'
24960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24965 /* end confdefs.h. */
24966 #include <math.h>
24968 main ()
24970 _sincosl(0, 0, 0);
24972 return 0;
24974 _ACEOF
24975 if ac_fn_cxx_try_compile "$LINENO"; then :
24976 glibcxx_cv_func__sincosl_use=yes
24977 else
24978 glibcxx_cv_func__sincosl_use=no
24980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24981 ac_ext=c
24982 ac_cpp='$CPP $CPPFLAGS'
24983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
24992 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
24994 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
24995 for ac_func in _sincosl
24996 do :
24997 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
24998 if test "x$ac_cv_func__sincosl" = x""yes; then :
24999 cat >>confdefs.h <<_ACEOF
25000 #define HAVE__SINCOSL 1
25001 _ACEOF
25004 done
25013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
25014 $as_echo_n "checking for finitel declaration... " >&6; }
25015 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25016 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
25017 $as_echo_n "(cached) " >&6
25018 else
25021 ac_ext=cpp
25022 ac_cpp='$CXXCPP $CPPFLAGS'
25023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25028 /* end confdefs.h. */
25029 #include <math.h>
25030 #ifdef HAVE_IEEEFP_H
25031 #include <ieeefp.h>
25032 #endif
25035 main ()
25037 finitel(0);
25039 return 0;
25041 _ACEOF
25042 if ac_fn_cxx_try_compile "$LINENO"; then :
25043 glibcxx_cv_func_finitel_use=yes
25044 else
25045 glibcxx_cv_func_finitel_use=no
25047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25048 ac_ext=c
25049 ac_cpp='$CPP $CPPFLAGS'
25050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
25059 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
25061 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
25062 for ac_func in finitel
25063 do :
25064 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
25065 if test "x$ac_cv_func_finitel" = x""yes; then :
25066 cat >>confdefs.h <<_ACEOF
25067 #define HAVE_FINITEL 1
25068 _ACEOF
25071 done
25073 else
25075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
25076 $as_echo_n "checking for _finitel declaration... " >&6; }
25077 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
25078 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
25079 $as_echo_n "(cached) " >&6
25080 else
25083 ac_ext=cpp
25084 ac_cpp='$CXXCPP $CPPFLAGS'
25085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25090 /* end confdefs.h. */
25091 #include <math.h>
25092 #ifdef HAVE_IEEEFP_H
25093 #include <ieeefp.h>
25094 #endif
25097 main ()
25099 _finitel(0);
25101 return 0;
25103 _ACEOF
25104 if ac_fn_cxx_try_compile "$LINENO"; then :
25105 glibcxx_cv_func__finitel_use=yes
25106 else
25107 glibcxx_cv_func__finitel_use=no
25109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25110 ac_ext=c
25111 ac_cpp='$CPP $CPPFLAGS'
25112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
25121 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
25123 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
25124 for ac_func in _finitel
25125 do :
25126 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
25127 if test "x$ac_cv_func__finitel" = x""yes; then :
25128 cat >>confdefs.h <<_ACEOF
25129 #define HAVE__FINITEL 1
25130 _ACEOF
25133 done
25141 LIBS="$ac_save_LIBS"
25142 CXXFLAGS="$ac_save_CXXFLAGS"
25145 ac_test_CXXFLAGS="${CXXFLAGS+set}"
25146 ac_save_CXXFLAGS="$CXXFLAGS"
25147 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
25150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
25151 $as_echo_n "checking for strtold declaration... " >&6; }
25152 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
25153 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
25154 $as_echo_n "(cached) " >&6
25155 else
25158 ac_ext=cpp
25159 ac_cpp='$CXXCPP $CPPFLAGS'
25160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25165 /* end confdefs.h. */
25166 #include <stdlib.h>
25168 main ()
25170 strtold(0, 0);
25172 return 0;
25174 _ACEOF
25175 if ac_fn_cxx_try_compile "$LINENO"; then :
25176 glibcxx_cv_func_strtold_use=yes
25177 else
25178 glibcxx_cv_func_strtold_use=no
25180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25181 ac_ext=c
25182 ac_cpp='$CPP $CPPFLAGS'
25183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
25192 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
25193 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
25194 for ac_func in strtold
25195 do :
25196 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
25197 if test "x$ac_cv_func_strtold" = x""yes; then :
25198 cat >>confdefs.h <<_ACEOF
25199 #define HAVE_STRTOLD 1
25200 _ACEOF
25203 done
25210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
25211 $as_echo_n "checking for strtof declaration... " >&6; }
25212 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
25213 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
25214 $as_echo_n "(cached) " >&6
25215 else
25218 ac_ext=cpp
25219 ac_cpp='$CXXCPP $CPPFLAGS'
25220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25225 /* end confdefs.h. */
25226 #include <stdlib.h>
25228 main ()
25230 strtof(0, 0);
25232 return 0;
25234 _ACEOF
25235 if ac_fn_cxx_try_compile "$LINENO"; then :
25236 glibcxx_cv_func_strtof_use=yes
25237 else
25238 glibcxx_cv_func_strtof_use=no
25240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25241 ac_ext=c
25242 ac_cpp='$CPP $CPPFLAGS'
25243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
25252 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
25253 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
25254 for ac_func in strtof
25255 do :
25256 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
25257 if test "x$ac_cv_func_strtof" = x""yes; then :
25258 cat >>confdefs.h <<_ACEOF
25259 #define HAVE_STRTOF 1
25260 _ACEOF
25263 done
25270 CXXFLAGS="$ac_save_CXXFLAGS"
25273 # For /dev/random and /dev/urandom for TR1.
25276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
25277 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
25278 if test "${glibcxx_cv_random_tr1+set}" = set; then :
25279 $as_echo_n "(cached) " >&6
25280 else
25282 if test -r /dev/random && test -r /dev/urandom; then
25283 glibcxx_cv_random_tr1=yes;
25284 else
25285 glibcxx_cv_random_tr1=no;
25290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
25291 $as_echo "$glibcxx_cv_random_tr1" >&6; }
25293 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
25295 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
25301 # For TLS support.
25304 # Check whether --enable-tls was given.
25305 if test "${enable_tls+set}" = set; then :
25306 enableval=$enable_tls;
25307 case "$enableval" in
25308 yes|no) ;;
25309 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
25310 esac
25312 else
25313 enable_tls=yes
25317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
25318 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
25319 if test "${gcc_cv_have_tls+set}" = set; then :
25320 $as_echo_n "(cached) " >&6
25321 else
25323 if test "$cross_compiling" = yes; then :
25324 if test x$gcc_no_link = xyes; then
25325 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25328 /* end confdefs.h. */
25329 __thread int a; int b; int main() { return a = b; }
25330 _ACEOF
25331 if ac_fn_c_try_link "$LINENO"; then :
25332 chktls_save_LDFLAGS="$LDFLAGS"
25333 case $host in
25334 *-*-linux*)
25335 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
25337 esac
25338 chktls_save_CFLAGS="$CFLAGS"
25339 CFLAGS="-fPIC $CFLAGS"
25340 if test x$gcc_no_link = xyes; then
25341 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25344 /* end confdefs.h. */
25345 int f() { return 0; }
25346 _ACEOF
25347 if ac_fn_c_try_link "$LINENO"; then :
25348 if test x$gcc_no_link = xyes; then
25349 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25352 /* end confdefs.h. */
25353 __thread int a; int b; int f() { return a = b; }
25354 _ACEOF
25355 if ac_fn_c_try_link "$LINENO"; then :
25356 gcc_cv_have_tls=yes
25357 else
25358 gcc_cv_have_tls=no
25360 rm -f core conftest.err conftest.$ac_objext \
25361 conftest$ac_exeext conftest.$ac_ext
25362 else
25363 gcc_cv_have_tls=yes
25365 rm -f core conftest.err conftest.$ac_objext \
25366 conftest$ac_exeext conftest.$ac_ext
25367 CFLAGS="$chktls_save_CFLAGS"
25368 LDFLAGS="$chktls_save_LDFLAGS"
25369 else
25370 gcc_cv_have_tls=no
25372 rm -f core conftest.err conftest.$ac_objext \
25373 conftest$ac_exeext conftest.$ac_ext
25376 else
25377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25378 /* end confdefs.h. */
25379 __thread int a; int b; int main() { return a = b; }
25380 _ACEOF
25381 if ac_fn_c_try_run "$LINENO"; then :
25382 chktls_save_LDFLAGS="$LDFLAGS"
25383 LDFLAGS="-static $LDFLAGS"
25384 if test x$gcc_no_link = xyes; then
25385 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25388 /* end confdefs.h. */
25389 int main() { return 0; }
25390 _ACEOF
25391 if ac_fn_c_try_link "$LINENO"; then :
25392 if test "$cross_compiling" = yes; then :
25393 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25394 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25395 as_fn_error "cannot run test program while cross compiling
25396 See \`config.log' for more details." "$LINENO" 5; }
25397 else
25398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25399 /* end confdefs.h. */
25400 __thread int a; int b; int main() { return a = b; }
25401 _ACEOF
25402 if ac_fn_c_try_run "$LINENO"; then :
25403 gcc_cv_have_tls=yes
25404 else
25405 gcc_cv_have_tls=no
25407 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25408 conftest.$ac_objext conftest.beam conftest.$ac_ext
25411 else
25412 gcc_cv_have_tls=yes
25414 rm -f core conftest.err conftest.$ac_objext \
25415 conftest$ac_exeext conftest.$ac_ext
25416 LDFLAGS="$chktls_save_LDFLAGS"
25417 if test $gcc_cv_have_tls = yes; then
25418 chktls_save_CFLAGS="$CFLAGS"
25419 thread_CFLAGS=failed
25420 for flag in '' '-pthread' '-lpthread'; do
25421 CFLAGS="$flag $chktls_save_CFLAGS"
25422 if test x$gcc_no_link = xyes; then
25423 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25426 /* end confdefs.h. */
25427 #include <pthread.h>
25428 void *g(void *d) { return NULL; }
25430 main ()
25432 pthread_t t; pthread_create(&t,NULL,g,NULL);
25434 return 0;
25436 _ACEOF
25437 if ac_fn_c_try_link "$LINENO"; then :
25438 thread_CFLAGS="$flag"
25440 rm -f core conftest.err conftest.$ac_objext \
25441 conftest$ac_exeext conftest.$ac_ext
25442 if test "X$thread_CFLAGS" != Xfailed; then
25443 break
25445 done
25446 CFLAGS="$chktls_save_CFLAGS"
25447 if test "X$thread_CFLAGS" != Xfailed; then
25448 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
25449 if test "$cross_compiling" = yes; then :
25450 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25451 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25452 as_fn_error "cannot run test program while cross compiling
25453 See \`config.log' for more details." "$LINENO" 5; }
25454 else
25455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25456 /* end confdefs.h. */
25457 #include <pthread.h>
25458 __thread int a;
25459 static int *a_in_other_thread;
25460 static void *
25461 thread_func (void *arg)
25463 a_in_other_thread = &a;
25464 return (void *)0;
25467 main ()
25469 pthread_t thread;
25470 void *thread_retval;
25471 int *a_in_main_thread;
25472 if (pthread_create (&thread, (pthread_attr_t *)0,
25473 thread_func, (void *)0))
25474 return 0;
25475 a_in_main_thread = &a;
25476 if (pthread_join (thread, &thread_retval))
25477 return 0;
25478 return (a_in_other_thread == a_in_main_thread);
25480 return 0;
25482 _ACEOF
25483 if ac_fn_c_try_run "$LINENO"; then :
25484 gcc_cv_have_tls=yes
25485 else
25486 gcc_cv_have_tls=no
25488 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25489 conftest.$ac_objext conftest.beam conftest.$ac_ext
25492 CFLAGS="$chktls_save_CFLAGS"
25495 else
25496 gcc_cv_have_tls=no
25498 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25499 conftest.$ac_objext conftest.beam conftest.$ac_ext
25503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
25504 $as_echo "$gcc_cv_have_tls" >&6; }
25505 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
25507 $as_echo "#define HAVE_TLS 1" >>confdefs.h
25511 # For iconv support.
25513 if test "X$prefix" = "XNONE"; then
25514 acl_final_prefix="$ac_default_prefix"
25515 else
25516 acl_final_prefix="$prefix"
25518 if test "X$exec_prefix" = "XNONE"; then
25519 acl_final_exec_prefix='${prefix}'
25520 else
25521 acl_final_exec_prefix="$exec_prefix"
25523 acl_save_prefix="$prefix"
25524 prefix="$acl_final_prefix"
25525 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
25526 prefix="$acl_save_prefix"
25529 # Check whether --with-gnu-ld was given.
25530 if test "${with_gnu_ld+set}" = set; then :
25531 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
25532 else
25533 with_gnu_ld=no
25536 # Prepare PATH_SEPARATOR.
25537 # The user is always right.
25538 if test "${PATH_SEPARATOR+set}" != set; then
25539 echo "#! /bin/sh" >conf$$.sh
25540 echo "exit 0" >>conf$$.sh
25541 chmod +x conf$$.sh
25542 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
25543 PATH_SEPARATOR=';'
25544 else
25545 PATH_SEPARATOR=:
25547 rm -f conf$$.sh
25549 ac_prog=ld
25550 if test "$GCC" = yes; then
25551 # Check if gcc -print-prog-name=ld gives a path.
25552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
25553 $as_echo_n "checking for ld used by GCC... " >&6; }
25554 case $host in
25555 *-*-mingw*)
25556 # gcc leaves a trailing carriage return which upsets mingw
25557 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
25559 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
25560 esac
25561 case $ac_prog in
25562 # Accept absolute paths.
25563 [\\/]* | [A-Za-z]:[\\/]*)
25564 re_direlt='/[^/][^/]*/\.\./'
25565 # Canonicalize the path of ld
25566 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
25567 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
25568 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
25569 done
25570 test -z "$LD" && LD="$ac_prog"
25573 # If it fails, then pretend we aren't using GCC.
25574 ac_prog=ld
25577 # If it is relative, then search for the first ld in PATH.
25578 with_gnu_ld=unknown
25580 esac
25581 elif test "$with_gnu_ld" = yes; then
25582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
25583 $as_echo_n "checking for GNU ld... " >&6; }
25584 else
25585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
25586 $as_echo_n "checking for non-GNU ld... " >&6; }
25588 if test "${acl_cv_path_LD+set}" = set; then :
25589 $as_echo_n "(cached) " >&6
25590 else
25591 if test -z "$LD"; then
25592 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
25593 for ac_dir in $PATH; do
25594 test -z "$ac_dir" && ac_dir=.
25595 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
25596 acl_cv_path_LD="$ac_dir/$ac_prog"
25597 # Check to see if the program is GNU ld. I'd rather use --version,
25598 # but apparently some GNU ld's only accept -v.
25599 # Break only if it was the GNU/non-GNU ld that we prefer.
25600 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
25601 test "$with_gnu_ld" != no && break
25602 else
25603 test "$with_gnu_ld" != yes && break
25606 done
25607 IFS="$ac_save_ifs"
25608 else
25609 acl_cv_path_LD="$LD" # Let the user override the test with a path.
25613 LD="$acl_cv_path_LD"
25614 if test -n "$LD"; then
25615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
25616 $as_echo "$LD" >&6; }
25617 else
25618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25619 $as_echo "no" >&6; }
25621 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
25622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
25623 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
25624 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
25625 $as_echo_n "(cached) " >&6
25626 else
25627 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
25628 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
25629 acl_cv_prog_gnu_ld=yes
25630 else
25631 acl_cv_prog_gnu_ld=no
25634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
25635 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
25636 with_gnu_ld=$acl_cv_prog_gnu_ld
25640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
25641 $as_echo_n "checking for shared library run path origin... " >&6; }
25642 if test "${acl_cv_rpath+set}" = set; then :
25643 $as_echo_n "(cached) " >&6
25644 else
25646 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
25647 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
25648 . ./conftest.sh
25649 rm -f ./conftest.sh
25650 acl_cv_rpath=done
25653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
25654 $as_echo "$acl_cv_rpath" >&6; }
25655 wl="$acl_cv_wl"
25656 libext="$acl_cv_libext"
25657 shlibext="$acl_cv_shlibext"
25658 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
25659 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
25660 hardcode_direct="$acl_cv_hardcode_direct"
25661 hardcode_minus_L="$acl_cv_hardcode_minus_L"
25662 # Check whether --enable-rpath was given.
25663 if test "${enable_rpath+set}" = set; then :
25664 enableval=$enable_rpath; :
25665 else
25666 enable_rpath=yes
25676 use_additional=yes
25678 acl_save_prefix="$prefix"
25679 prefix="$acl_final_prefix"
25680 acl_save_exec_prefix="$exec_prefix"
25681 exec_prefix="$acl_final_exec_prefix"
25683 eval additional_includedir=\"$includedir\"
25684 eval additional_libdir=\"$libdir\"
25686 exec_prefix="$acl_save_exec_prefix"
25687 prefix="$acl_save_prefix"
25690 # Check whether --with-libiconv-prefix was given.
25691 if test "${with_libiconv_prefix+set}" = set; then :
25692 withval=$with_libiconv_prefix;
25693 if test "X$withval" = "Xno"; then
25694 use_additional=no
25695 else
25696 if test "X$withval" = "X"; then
25698 acl_save_prefix="$prefix"
25699 prefix="$acl_final_prefix"
25700 acl_save_exec_prefix="$exec_prefix"
25701 exec_prefix="$acl_final_exec_prefix"
25703 eval additional_includedir=\"$includedir\"
25704 eval additional_libdir=\"$libdir\"
25706 exec_prefix="$acl_save_exec_prefix"
25707 prefix="$acl_save_prefix"
25709 else
25710 additional_includedir="$withval/include"
25711 additional_libdir="$withval/lib"
25717 LIBICONV=
25718 LTLIBICONV=
25719 INCICONV=
25720 rpathdirs=
25721 ltrpathdirs=
25722 names_already_handled=
25723 names_next_round='iconv '
25724 while test -n "$names_next_round"; do
25725 names_this_round="$names_next_round"
25726 names_next_round=
25727 for name in $names_this_round; do
25728 already_handled=
25729 for n in $names_already_handled; do
25730 if test "$n" = "$name"; then
25731 already_handled=yes
25732 break
25734 done
25735 if test -z "$already_handled"; then
25736 names_already_handled="$names_already_handled $name"
25737 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
25738 eval value=\"\$HAVE_LIB$uppername\"
25739 if test -n "$value"; then
25740 if test "$value" = yes; then
25741 eval value=\"\$LIB$uppername\"
25742 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
25743 eval value=\"\$LTLIB$uppername\"
25744 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
25745 else
25748 else
25749 found_dir=
25750 found_la=
25751 found_so=
25752 found_a=
25753 if test $use_additional = yes; then
25754 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
25755 found_dir="$additional_libdir"
25756 found_so="$additional_libdir/lib$name.$shlibext"
25757 if test -f "$additional_libdir/lib$name.la"; then
25758 found_la="$additional_libdir/lib$name.la"
25760 else
25761 if test -f "$additional_libdir/lib$name.$libext"; then
25762 found_dir="$additional_libdir"
25763 found_a="$additional_libdir/lib$name.$libext"
25764 if test -f "$additional_libdir/lib$name.la"; then
25765 found_la="$additional_libdir/lib$name.la"
25770 if test "X$found_dir" = "X"; then
25771 for x in $LDFLAGS $LTLIBICONV; do
25773 acl_save_prefix="$prefix"
25774 prefix="$acl_final_prefix"
25775 acl_save_exec_prefix="$exec_prefix"
25776 exec_prefix="$acl_final_exec_prefix"
25777 eval x=\"$x\"
25778 exec_prefix="$acl_save_exec_prefix"
25779 prefix="$acl_save_prefix"
25781 case "$x" in
25782 -L*)
25783 dir=`echo "X$x" | sed -e 's/^X-L//'`
25784 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
25785 found_dir="$dir"
25786 found_so="$dir/lib$name.$shlibext"
25787 if test -f "$dir/lib$name.la"; then
25788 found_la="$dir/lib$name.la"
25790 else
25791 if test -f "$dir/lib$name.$libext"; then
25792 found_dir="$dir"
25793 found_a="$dir/lib$name.$libext"
25794 if test -f "$dir/lib$name.la"; then
25795 found_la="$dir/lib$name.la"
25800 esac
25801 if test "X$found_dir" != "X"; then
25802 break
25804 done
25806 if test "X$found_dir" != "X"; then
25807 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
25808 if test "X$found_so" != "X"; then
25809 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
25810 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25811 else
25812 haveit=
25813 for x in $ltrpathdirs; do
25814 if test "X$x" = "X$found_dir"; then
25815 haveit=yes
25816 break
25818 done
25819 if test -z "$haveit"; then
25820 ltrpathdirs="$ltrpathdirs $found_dir"
25822 if test "$hardcode_direct" = yes; then
25823 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25824 else
25825 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
25826 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25827 haveit=
25828 for x in $rpathdirs; do
25829 if test "X$x" = "X$found_dir"; then
25830 haveit=yes
25831 break
25833 done
25834 if test -z "$haveit"; then
25835 rpathdirs="$rpathdirs $found_dir"
25837 else
25838 haveit=
25839 for x in $LDFLAGS $LIBICONV; do
25841 acl_save_prefix="$prefix"
25842 prefix="$acl_final_prefix"
25843 acl_save_exec_prefix="$exec_prefix"
25844 exec_prefix="$acl_final_exec_prefix"
25845 eval x=\"$x\"
25846 exec_prefix="$acl_save_exec_prefix"
25847 prefix="$acl_save_prefix"
25849 if test "X$x" = "X-L$found_dir"; then
25850 haveit=yes
25851 break
25853 done
25854 if test -z "$haveit"; then
25855 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
25857 if test "$hardcode_minus_L" != no; then
25858 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25859 else
25860 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
25865 else
25866 if test "X$found_a" != "X"; then
25867 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
25868 else
25869 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
25872 additional_includedir=
25873 case "$found_dir" in
25874 */lib | */lib/)
25875 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
25876 additional_includedir="$basedir/include"
25878 esac
25879 if test "X$additional_includedir" != "X"; then
25880 if test "X$additional_includedir" != "X/usr/include"; then
25881 haveit=
25882 if test "X$additional_includedir" = "X/usr/local/include"; then
25883 if test -n "$GCC"; then
25884 case $host_os in
25885 linux*) haveit=yes;;
25886 esac
25889 if test -z "$haveit"; then
25890 for x in $CPPFLAGS $INCICONV; do
25892 acl_save_prefix="$prefix"
25893 prefix="$acl_final_prefix"
25894 acl_save_exec_prefix="$exec_prefix"
25895 exec_prefix="$acl_final_exec_prefix"
25896 eval x=\"$x\"
25897 exec_prefix="$acl_save_exec_prefix"
25898 prefix="$acl_save_prefix"
25900 if test "X$x" = "X-I$additional_includedir"; then
25901 haveit=yes
25902 break
25904 done
25905 if test -z "$haveit"; then
25906 if test -d "$additional_includedir"; then
25907 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
25913 if test -n "$found_la"; then
25914 save_libdir="$libdir"
25915 case "$found_la" in
25916 */* | *\\*) . "$found_la" ;;
25917 *) . "./$found_la" ;;
25918 esac
25919 libdir="$save_libdir"
25920 for dep in $dependency_libs; do
25921 case "$dep" in
25922 -L*)
25923 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
25924 if test "X$additional_libdir" != "X/usr/lib"; then
25925 haveit=
25926 if test "X$additional_libdir" = "X/usr/local/lib"; then
25927 if test -n "$GCC"; then
25928 case $host_os in
25929 linux*) haveit=yes;;
25930 esac
25933 if test -z "$haveit"; then
25934 haveit=
25935 for x in $LDFLAGS $LIBICONV; do
25937 acl_save_prefix="$prefix"
25938 prefix="$acl_final_prefix"
25939 acl_save_exec_prefix="$exec_prefix"
25940 exec_prefix="$acl_final_exec_prefix"
25941 eval x=\"$x\"
25942 exec_prefix="$acl_save_exec_prefix"
25943 prefix="$acl_save_prefix"
25945 if test "X$x" = "X-L$additional_libdir"; then
25946 haveit=yes
25947 break
25949 done
25950 if test -z "$haveit"; then
25951 if test -d "$additional_libdir"; then
25952 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
25955 haveit=
25956 for x in $LDFLAGS $LTLIBICONV; do
25958 acl_save_prefix="$prefix"
25959 prefix="$acl_final_prefix"
25960 acl_save_exec_prefix="$exec_prefix"
25961 exec_prefix="$acl_final_exec_prefix"
25962 eval x=\"$x\"
25963 exec_prefix="$acl_save_exec_prefix"
25964 prefix="$acl_save_prefix"
25966 if test "X$x" = "X-L$additional_libdir"; then
25967 haveit=yes
25968 break
25970 done
25971 if test -z "$haveit"; then
25972 if test -d "$additional_libdir"; then
25973 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
25979 -R*)
25980 dir=`echo "X$dep" | sed -e 's/^X-R//'`
25981 if test "$enable_rpath" != no; then
25982 haveit=
25983 for x in $rpathdirs; do
25984 if test "X$x" = "X$dir"; then
25985 haveit=yes
25986 break
25988 done
25989 if test -z "$haveit"; then
25990 rpathdirs="$rpathdirs $dir"
25992 haveit=
25993 for x in $ltrpathdirs; do
25994 if test "X$x" = "X$dir"; then
25995 haveit=yes
25996 break
25998 done
25999 if test -z "$haveit"; then
26000 ltrpathdirs="$ltrpathdirs $dir"
26004 -l*)
26005 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
26007 *.la)
26008 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
26011 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
26012 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
26014 esac
26015 done
26017 else
26018 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26019 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
26023 done
26024 done
26025 if test "X$rpathdirs" != "X"; then
26026 if test -n "$hardcode_libdir_separator"; then
26027 alldirs=
26028 for found_dir in $rpathdirs; do
26029 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
26030 done
26031 acl_save_libdir="$libdir"
26032 libdir="$alldirs"
26033 eval flag=\"$hardcode_libdir_flag_spec\"
26034 libdir="$acl_save_libdir"
26035 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26036 else
26037 for found_dir in $rpathdirs; do
26038 acl_save_libdir="$libdir"
26039 libdir="$found_dir"
26040 eval flag=\"$hardcode_libdir_flag_spec\"
26041 libdir="$acl_save_libdir"
26042 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26043 done
26046 if test "X$ltrpathdirs" != "X"; then
26047 for found_dir in $ltrpathdirs; do
26048 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
26049 done
26058 am_save_CPPFLAGS="$CPPFLAGS"
26060 for element in $INCICONV; do
26061 haveit=
26062 for x in $CPPFLAGS; do
26064 acl_save_prefix="$prefix"
26065 prefix="$acl_final_prefix"
26066 acl_save_exec_prefix="$exec_prefix"
26067 exec_prefix="$acl_final_exec_prefix"
26068 eval x=\"$x\"
26069 exec_prefix="$acl_save_exec_prefix"
26070 prefix="$acl_save_prefix"
26072 if test "X$x" = "X$element"; then
26073 haveit=yes
26074 break
26076 done
26077 if test -z "$haveit"; then
26078 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
26080 done
26083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
26084 $as_echo_n "checking for iconv... " >&6; }
26085 if test "${am_cv_func_iconv+set}" = set; then :
26086 $as_echo_n "(cached) " >&6
26087 else
26089 am_cv_func_iconv="no, consider installing GNU libiconv"
26090 am_cv_lib_iconv=no
26091 if test x$gcc_no_link = xyes; then
26092 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26095 /* end confdefs.h. */
26096 #include <stdlib.h>
26097 #include <iconv.h>
26099 main ()
26101 iconv_t cd = iconv_open("","");
26102 iconv(cd,NULL,NULL,NULL,NULL);
26103 iconv_close(cd);
26105 return 0;
26107 _ACEOF
26108 if ac_fn_c_try_link "$LINENO"; then :
26109 am_cv_func_iconv=yes
26111 rm -f core conftest.err conftest.$ac_objext \
26112 conftest$ac_exeext conftest.$ac_ext
26113 if test "$am_cv_func_iconv" != yes; then
26114 am_save_LIBS="$LIBS"
26115 LIBS="$LIBS $LIBICONV"
26116 if test x$gcc_no_link = xyes; then
26117 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26120 /* end confdefs.h. */
26121 #include <stdlib.h>
26122 #include <iconv.h>
26124 main ()
26126 iconv_t cd = iconv_open("","");
26127 iconv(cd,NULL,NULL,NULL,NULL);
26128 iconv_close(cd);
26130 return 0;
26132 _ACEOF
26133 if ac_fn_c_try_link "$LINENO"; then :
26134 am_cv_lib_iconv=yes
26135 am_cv_func_iconv=yes
26137 rm -f core conftest.err conftest.$ac_objext \
26138 conftest$ac_exeext conftest.$ac_ext
26139 LIBS="$am_save_LIBS"
26143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
26144 $as_echo "$am_cv_func_iconv" >&6; }
26145 if test "$am_cv_func_iconv" = yes; then
26147 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
26150 if test "$am_cv_lib_iconv" = yes; then
26151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
26152 $as_echo_n "checking how to link with libiconv... " >&6; }
26153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
26154 $as_echo "$LIBICONV" >&6; }
26155 else
26156 CPPFLAGS="$am_save_CPPFLAGS"
26157 LIBICONV=
26158 LTLIBICONV=
26163 if test "$am_cv_func_iconv" = yes; then
26164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
26165 $as_echo_n "checking for iconv declaration... " >&6; }
26166 if test "${am_cv_proto_iconv+set}" = set; then :
26167 $as_echo_n "(cached) " >&6
26168 else
26170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26171 /* end confdefs.h. */
26173 #include <stdlib.h>
26174 #include <iconv.h>
26175 extern
26176 #ifdef __cplusplus
26178 #endif
26179 #if defined(__STDC__) || defined(__cplusplus)
26180 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26181 #else
26182 size_t iconv();
26183 #endif
26186 main ()
26190 return 0;
26192 _ACEOF
26193 if ac_fn_c_try_compile "$LINENO"; then :
26194 am_cv_proto_iconv_arg1=""
26195 else
26196 am_cv_proto_iconv_arg1="const"
26198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26199 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);"
26202 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
26203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
26204 }$am_cv_proto_iconv" >&5
26205 $as_echo "${ac_t:-
26206 }$am_cv_proto_iconv" >&6; }
26208 cat >>confdefs.h <<_ACEOF
26209 #define ICONV_CONST $am_cv_proto_iconv_arg1
26210 _ACEOF
26215 else
26217 # This lets us hard-code the functionality we know we'll have in the cross
26218 # target environment. "Let" is a sugar-coated word placed on an especially
26219 # dull and tedious hack, actually.
26221 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
26222 # that involve linking, can't be used:
26223 # "cannot open sim-crt0.o"
26224 # "cannot open crt0.o"
26225 # etc. All this is because there currently exists no unified, consistent
26226 # way for top level CC information to be passed down to target directories:
26227 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
26228 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
26229 # crosses can be removed.
26231 # If Canadian cross, then don't pick up tools from the build directory.
26232 # Used only in GLIBCXX_EXPORT_INCLUDES.
26233 if test -n "$with_cross_host" &&
26234 test x"$build_alias" != x"$with_cross_host" &&
26235 test x"$build" != x"$target";
26236 then
26237 CANADIAN=yes
26238 else
26239 CANADIAN=no
26242 # Construct crosses by hand, eliminating bits that need ld...
26243 # GLIBCXX_CHECK_MATH_SUPPORT
26245 # First, test for "known" system libraries. We may be using newlib even
26246 # on a hosted environment.
26247 if test "x${with_newlib}" = "xyes"; then
26248 os_include_dir="os/newlib"
26249 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
26252 # GLIBCXX_CHECK_STDLIB_SUPPORT
26253 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
26256 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
26258 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
26260 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
26262 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
26264 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
26266 $as_echo "#define HAVE_COSF 1" >>confdefs.h
26268 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
26270 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
26272 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
26274 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
26276 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
26278 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
26280 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
26282 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
26284 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
26286 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
26288 $as_echo "#define HAVE_POWF 1" >>confdefs.h
26290 $as_echo "#define HAVE_SINF 1" >>confdefs.h
26292 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
26294 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
26296 $as_echo "#define HAVE_TANF 1" >>confdefs.h
26298 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
26301 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
26303 else
26305 # Base decisions on target environment.
26306 case "${host}" in
26307 arm*-*-symbianelf*)
26308 # This is a freestanding configuration; there is nothing to do here.
26311 mips*-sde-elf*)
26312 # These definitions are for the SDE C library rather than newlib.
26313 SECTION_FLAGS='-ffunction-sections -fdata-sections'
26316 # All these tests are for C++; save the language and the compiler flags.
26317 # The CXXFLAGS thing is suspicious, but based on similar bits previously
26318 # found in GLIBCXX_CONFIGURE.
26320 ac_ext=cpp
26321 ac_cpp='$CXXCPP $CPPFLAGS'
26322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26326 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26327 ac_save_CXXFLAGS="$CXXFLAGS"
26329 # Check for maintainer-mode bits.
26330 if test x"$USE_MAINTAINER_MODE" = xno; then
26331 WERROR=''
26332 else
26333 WERROR='-Werror'
26336 # Check for -ffunction-sections -fdata-sections
26337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
26338 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
26339 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
26340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26341 /* end confdefs.h. */
26342 int foo; void bar() { };
26344 main ()
26348 return 0;
26350 _ACEOF
26351 if ac_fn_cxx_try_compile "$LINENO"; then :
26352 ac_fdsections=yes
26353 else
26354 ac_fdsections=no
26356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26357 if test "$ac_test_CXXFLAGS" = set; then
26358 CXXFLAGS="$ac_save_CXXFLAGS"
26359 else
26360 # this is the suspicious part
26361 CXXFLAGS=''
26363 if test x"$ac_fdsections" = x"yes"; then
26364 SECTION_FLAGS='-ffunction-sections -fdata-sections'
26366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
26367 $as_echo "$ac_fdsections" >&6; }
26369 ac_ext=c
26370 ac_cpp='$CPP $CPPFLAGS'
26371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26379 # If we're not using GNU ld, then there's no point in even trying these
26380 # tests. Check for that first. We should have already tested for gld
26381 # by now (in libtool), but require it now just to be safe...
26382 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
26383 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
26387 # The name set by libtool depends on the version of libtool. Shame on us
26388 # for depending on an impl detail, but c'est la vie. Older versions used
26389 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
26390 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
26391 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
26392 # set (hence we're using an older libtool), then set it.
26393 if test x${with_gnu_ld+set} != xset; then
26394 if test x${ac_cv_prog_gnu_ld+set} != xset; then
26395 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
26396 with_gnu_ld=no
26397 else
26398 with_gnu_ld=$ac_cv_prog_gnu_ld
26402 # Start by getting the version number. I think the libtool test already
26403 # does some of this, but throws away the result.
26404 glibcxx_ld_is_gold=no
26405 if test x"$with_gnu_ld" = x"yes"; then
26406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
26407 $as_echo_n "checking for ld version... " >&6; }
26409 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
26410 glibcxx_ld_is_gold=yes
26412 ldver=`$LD --version 2>/dev/null | head -1 | \
26413 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
26415 glibcxx_gnu_ld_version=`echo $ldver | \
26416 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
26417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
26418 $as_echo "$glibcxx_gnu_ld_version" >&6; }
26421 # Set --gc-sections.
26422 glibcxx_have_gc_sections=no
26423 if test "$glibcxx_ld_is_gold" = "yes"; then
26424 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
26425 glibcxx_have_gc_sections=yes
26427 else
26428 glibcxx_gcsections_min_ld=21602
26429 if test x"$with_gnu_ld" = x"yes" &&
26430 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
26431 glibcxx_have_gc_sections=yes
26434 if test "$glibcxx_have_gc_sections" = "yes"; then
26435 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
26436 # NB: This flag only works reliably after 2.16.1. Configure tests
26437 # for this are difficult, so hard wire a value that should work.
26439 ac_test_CFLAGS="${CFLAGS+set}"
26440 ac_save_CFLAGS="$CFLAGS"
26441 CFLAGS='-Wl,--gc-sections'
26443 # Check for -Wl,--gc-sections
26444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
26445 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
26446 if test x$gcc_no_link = xyes; then
26447 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26450 /* end confdefs.h. */
26451 int one(void) { return 1; }
26452 int two(void) { return 2; }
26455 main ()
26457 two();
26459 return 0;
26461 _ACEOF
26462 if ac_fn_c_try_link "$LINENO"; then :
26463 ac_gcsections=yes
26464 else
26465 ac_gcsections=no
26467 rm -f core conftest.err conftest.$ac_objext \
26468 conftest$ac_exeext conftest.$ac_ext
26469 if test "$ac_gcsections" = "yes"; then
26470 rm -f conftest.c
26471 touch conftest.c
26472 if $CC -c conftest.c; then
26473 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
26474 grep "Warning: gc-sections option ignored" > /dev/null; then
26475 ac_gcsections=no
26478 rm -f conftest.c conftest.o conftest
26480 if test "$ac_gcsections" = "yes"; then
26481 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
26483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
26484 $as_echo "$ac_gcsections" >&6; }
26486 if test "$ac_test_CFLAGS" = set; then
26487 CFLAGS="$ac_save_CFLAGS"
26488 else
26489 # this is the suspicious part
26490 CFLAGS=''
26494 # Set -z,relro.
26495 # Note this is only for shared objects.
26496 ac_ld_relro=no
26497 if test x"$with_gnu_ld" = x"yes"; then
26498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
26499 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
26500 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
26501 if test -n "$cxx_z_relo"; then
26502 OPT_LDFLAGS="-Wl,-z,relro"
26503 ac_ld_relro=yes
26505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
26506 $as_echo "$ac_ld_relro" >&6; }
26509 # Set linker optimization flags.
26510 if test x"$with_gnu_ld" = x"yes"; then
26511 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
26518 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26519 ac_save_CXXFLAGS="$CXXFLAGS"
26520 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
26523 $as_echo_n "checking for sin in -lm... " >&6; }
26524 if test "${ac_cv_lib_m_sin+set}" = set; then :
26525 $as_echo_n "(cached) " >&6
26526 else
26527 ac_check_lib_save_LIBS=$LIBS
26528 LIBS="-lm $LIBS"
26529 if test x$gcc_no_link = xyes; then
26530 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26533 /* end confdefs.h. */
26535 /* Override any GCC internal prototype to avoid an error.
26536 Use char because int might match the return type of a GCC
26537 builtin and then its argument prototype would still apply. */
26538 #ifdef __cplusplus
26539 extern "C"
26540 #endif
26541 char sin ();
26543 main ()
26545 return sin ();
26547 return 0;
26549 _ACEOF
26550 if ac_fn_c_try_link "$LINENO"; then :
26551 ac_cv_lib_m_sin=yes
26552 else
26553 ac_cv_lib_m_sin=no
26555 rm -f core conftest.err conftest.$ac_objext \
26556 conftest$ac_exeext conftest.$ac_ext
26557 LIBS=$ac_check_lib_save_LIBS
26559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
26560 $as_echo "$ac_cv_lib_m_sin" >&6; }
26561 if test "x$ac_cv_lib_m_sin" = x""yes; then :
26562 libm="-lm"
26565 ac_save_LIBS="$LIBS"
26566 LIBS="$LIBS $libm"
26570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
26571 $as_echo_n "checking for isinf declaration... " >&6; }
26572 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
26573 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
26574 $as_echo_n "(cached) " >&6
26575 else
26578 ac_ext=cpp
26579 ac_cpp='$CXXCPP $CPPFLAGS'
26580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26585 /* end confdefs.h. */
26586 #include <math.h>
26587 #ifdef HAVE_IEEEFP_H
26588 #include <ieeefp.h>
26589 #endif
26592 main ()
26594 isinf(0);
26596 return 0;
26598 _ACEOF
26599 if ac_fn_cxx_try_compile "$LINENO"; then :
26600 glibcxx_cv_func_isinf_use=yes
26601 else
26602 glibcxx_cv_func_isinf_use=no
26604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26605 ac_ext=c
26606 ac_cpp='$CPP $CPPFLAGS'
26607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
26616 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
26618 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
26619 for ac_func in isinf
26620 do :
26621 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
26622 if test "x$ac_cv_func_isinf" = x""yes; then :
26623 cat >>confdefs.h <<_ACEOF
26624 #define HAVE_ISINF 1
26625 _ACEOF
26628 done
26630 else
26632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
26633 $as_echo_n "checking for _isinf declaration... " >&6; }
26634 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
26635 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
26636 $as_echo_n "(cached) " >&6
26637 else
26640 ac_ext=cpp
26641 ac_cpp='$CXXCPP $CPPFLAGS'
26642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26647 /* end confdefs.h. */
26648 #include <math.h>
26649 #ifdef HAVE_IEEEFP_H
26650 #include <ieeefp.h>
26651 #endif
26654 main ()
26656 _isinf(0);
26658 return 0;
26660 _ACEOF
26661 if ac_fn_cxx_try_compile "$LINENO"; then :
26662 glibcxx_cv_func__isinf_use=yes
26663 else
26664 glibcxx_cv_func__isinf_use=no
26666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26667 ac_ext=c
26668 ac_cpp='$CPP $CPPFLAGS'
26669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
26678 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
26680 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
26681 for ac_func in _isinf
26682 do :
26683 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
26684 if test "x$ac_cv_func__isinf" = x""yes; then :
26685 cat >>confdefs.h <<_ACEOF
26686 #define HAVE__ISINF 1
26687 _ACEOF
26690 done
26699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
26700 $as_echo_n "checking for isnan declaration... " >&6; }
26701 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
26702 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
26703 $as_echo_n "(cached) " >&6
26704 else
26707 ac_ext=cpp
26708 ac_cpp='$CXXCPP $CPPFLAGS'
26709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26714 /* end confdefs.h. */
26715 #include <math.h>
26716 #ifdef HAVE_IEEEFP_H
26717 #include <ieeefp.h>
26718 #endif
26721 main ()
26723 isnan(0);
26725 return 0;
26727 _ACEOF
26728 if ac_fn_cxx_try_compile "$LINENO"; then :
26729 glibcxx_cv_func_isnan_use=yes
26730 else
26731 glibcxx_cv_func_isnan_use=no
26733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26734 ac_ext=c
26735 ac_cpp='$CPP $CPPFLAGS'
26736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
26745 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
26747 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
26748 for ac_func in isnan
26749 do :
26750 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
26751 if test "x$ac_cv_func_isnan" = x""yes; then :
26752 cat >>confdefs.h <<_ACEOF
26753 #define HAVE_ISNAN 1
26754 _ACEOF
26757 done
26759 else
26761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
26762 $as_echo_n "checking for _isnan declaration... " >&6; }
26763 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
26764 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
26765 $as_echo_n "(cached) " >&6
26766 else
26769 ac_ext=cpp
26770 ac_cpp='$CXXCPP $CPPFLAGS'
26771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26776 /* end confdefs.h. */
26777 #include <math.h>
26778 #ifdef HAVE_IEEEFP_H
26779 #include <ieeefp.h>
26780 #endif
26783 main ()
26785 _isnan(0);
26787 return 0;
26789 _ACEOF
26790 if ac_fn_cxx_try_compile "$LINENO"; then :
26791 glibcxx_cv_func__isnan_use=yes
26792 else
26793 glibcxx_cv_func__isnan_use=no
26795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26796 ac_ext=c
26797 ac_cpp='$CPP $CPPFLAGS'
26798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
26807 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
26809 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
26810 for ac_func in _isnan
26811 do :
26812 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
26813 if test "x$ac_cv_func__isnan" = x""yes; then :
26814 cat >>confdefs.h <<_ACEOF
26815 #define HAVE__ISNAN 1
26816 _ACEOF
26819 done
26828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
26829 $as_echo_n "checking for finite declaration... " >&6; }
26830 if test x${glibcxx_cv_func_finite_use+set} != xset; then
26831 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
26832 $as_echo_n "(cached) " >&6
26833 else
26836 ac_ext=cpp
26837 ac_cpp='$CXXCPP $CPPFLAGS'
26838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26843 /* end confdefs.h. */
26844 #include <math.h>
26845 #ifdef HAVE_IEEEFP_H
26846 #include <ieeefp.h>
26847 #endif
26850 main ()
26852 finite(0);
26854 return 0;
26856 _ACEOF
26857 if ac_fn_cxx_try_compile "$LINENO"; then :
26858 glibcxx_cv_func_finite_use=yes
26859 else
26860 glibcxx_cv_func_finite_use=no
26862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26863 ac_ext=c
26864 ac_cpp='$CPP $CPPFLAGS'
26865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
26874 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
26876 if test x$glibcxx_cv_func_finite_use = x"yes"; then
26877 for ac_func in finite
26878 do :
26879 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
26880 if test "x$ac_cv_func_finite" = x""yes; then :
26881 cat >>confdefs.h <<_ACEOF
26882 #define HAVE_FINITE 1
26883 _ACEOF
26886 done
26888 else
26890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
26891 $as_echo_n "checking for _finite declaration... " >&6; }
26892 if test x${glibcxx_cv_func__finite_use+set} != xset; then
26893 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
26894 $as_echo_n "(cached) " >&6
26895 else
26898 ac_ext=cpp
26899 ac_cpp='$CXXCPP $CPPFLAGS'
26900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26905 /* end confdefs.h. */
26906 #include <math.h>
26907 #ifdef HAVE_IEEEFP_H
26908 #include <ieeefp.h>
26909 #endif
26912 main ()
26914 _finite(0);
26916 return 0;
26918 _ACEOF
26919 if ac_fn_cxx_try_compile "$LINENO"; then :
26920 glibcxx_cv_func__finite_use=yes
26921 else
26922 glibcxx_cv_func__finite_use=no
26924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26925 ac_ext=c
26926 ac_cpp='$CPP $CPPFLAGS'
26927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
26936 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
26938 if test x$glibcxx_cv_func__finite_use = x"yes"; then
26939 for ac_func in _finite
26940 do :
26941 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
26942 if test "x$ac_cv_func__finite" = x""yes; then :
26943 cat >>confdefs.h <<_ACEOF
26944 #define HAVE__FINITE 1
26945 _ACEOF
26948 done
26957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
26958 $as_echo_n "checking for sincos declaration... " >&6; }
26959 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
26960 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
26961 $as_echo_n "(cached) " >&6
26962 else
26965 ac_ext=cpp
26966 ac_cpp='$CXXCPP $CPPFLAGS'
26967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26972 /* end confdefs.h. */
26973 #include <math.h>
26975 main ()
26977 sincos(0, 0, 0);
26979 return 0;
26981 _ACEOF
26982 if ac_fn_cxx_try_compile "$LINENO"; then :
26983 glibcxx_cv_func_sincos_use=yes
26984 else
26985 glibcxx_cv_func_sincos_use=no
26987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26988 ac_ext=c
26989 ac_cpp='$CPP $CPPFLAGS'
26990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
26999 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
27001 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
27002 for ac_func in sincos
27003 do :
27004 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
27005 if test "x$ac_cv_func_sincos" = x""yes; then :
27006 cat >>confdefs.h <<_ACEOF
27007 #define HAVE_SINCOS 1
27008 _ACEOF
27011 done
27013 else
27015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
27016 $as_echo_n "checking for _sincos declaration... " >&6; }
27017 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
27018 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
27019 $as_echo_n "(cached) " >&6
27020 else
27023 ac_ext=cpp
27024 ac_cpp='$CXXCPP $CPPFLAGS'
27025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27030 /* end confdefs.h. */
27031 #include <math.h>
27033 main ()
27035 _sincos(0, 0, 0);
27037 return 0;
27039 _ACEOF
27040 if ac_fn_cxx_try_compile "$LINENO"; then :
27041 glibcxx_cv_func__sincos_use=yes
27042 else
27043 glibcxx_cv_func__sincos_use=no
27045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27046 ac_ext=c
27047 ac_cpp='$CPP $CPPFLAGS'
27048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
27057 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
27059 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
27060 for ac_func in _sincos
27061 do :
27062 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
27063 if test "x$ac_cv_func__sincos" = x""yes; then :
27064 cat >>confdefs.h <<_ACEOF
27065 #define HAVE__SINCOS 1
27066 _ACEOF
27069 done
27078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
27079 $as_echo_n "checking for fpclass declaration... " >&6; }
27080 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
27081 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
27082 $as_echo_n "(cached) " >&6
27083 else
27086 ac_ext=cpp
27087 ac_cpp='$CXXCPP $CPPFLAGS'
27088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27093 /* end confdefs.h. */
27094 #include <math.h>
27095 #ifdef HAVE_IEEEFP_H
27096 #include <ieeefp.h>
27097 #endif
27100 main ()
27102 fpclass(0);
27104 return 0;
27106 _ACEOF
27107 if ac_fn_cxx_try_compile "$LINENO"; then :
27108 glibcxx_cv_func_fpclass_use=yes
27109 else
27110 glibcxx_cv_func_fpclass_use=no
27112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27113 ac_ext=c
27114 ac_cpp='$CPP $CPPFLAGS'
27115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
27124 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
27126 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
27127 for ac_func in fpclass
27128 do :
27129 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
27130 if test "x$ac_cv_func_fpclass" = x""yes; then :
27131 cat >>confdefs.h <<_ACEOF
27132 #define HAVE_FPCLASS 1
27133 _ACEOF
27136 done
27138 else
27140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
27141 $as_echo_n "checking for _fpclass declaration... " >&6; }
27142 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
27143 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
27144 $as_echo_n "(cached) " >&6
27145 else
27148 ac_ext=cpp
27149 ac_cpp='$CXXCPP $CPPFLAGS'
27150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27155 /* end confdefs.h. */
27156 #include <math.h>
27157 #ifdef HAVE_IEEEFP_H
27158 #include <ieeefp.h>
27159 #endif
27162 main ()
27164 _fpclass(0);
27166 return 0;
27168 _ACEOF
27169 if ac_fn_cxx_try_compile "$LINENO"; then :
27170 glibcxx_cv_func__fpclass_use=yes
27171 else
27172 glibcxx_cv_func__fpclass_use=no
27174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27175 ac_ext=c
27176 ac_cpp='$CPP $CPPFLAGS'
27177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
27186 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
27188 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
27189 for ac_func in _fpclass
27190 do :
27191 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
27192 if test "x$ac_cv_func__fpclass" = x""yes; then :
27193 cat >>confdefs.h <<_ACEOF
27194 #define HAVE__FPCLASS 1
27195 _ACEOF
27198 done
27207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
27208 $as_echo_n "checking for qfpclass declaration... " >&6; }
27209 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
27210 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
27211 $as_echo_n "(cached) " >&6
27212 else
27215 ac_ext=cpp
27216 ac_cpp='$CXXCPP $CPPFLAGS'
27217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27222 /* end confdefs.h. */
27223 #include <math.h>
27224 #ifdef HAVE_IEEEFP_H
27225 #include <ieeefp.h>
27226 #endif
27229 main ()
27231 qfpclass(0);
27233 return 0;
27235 _ACEOF
27236 if ac_fn_cxx_try_compile "$LINENO"; then :
27237 glibcxx_cv_func_qfpclass_use=yes
27238 else
27239 glibcxx_cv_func_qfpclass_use=no
27241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27242 ac_ext=c
27243 ac_cpp='$CPP $CPPFLAGS'
27244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
27253 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
27255 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
27256 for ac_func in qfpclass
27257 do :
27258 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
27259 if test "x$ac_cv_func_qfpclass" = x""yes; then :
27260 cat >>confdefs.h <<_ACEOF
27261 #define HAVE_QFPCLASS 1
27262 _ACEOF
27265 done
27267 else
27269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
27270 $as_echo_n "checking for _qfpclass declaration... " >&6; }
27271 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
27272 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
27273 $as_echo_n "(cached) " >&6
27274 else
27277 ac_ext=cpp
27278 ac_cpp='$CXXCPP $CPPFLAGS'
27279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27284 /* end confdefs.h. */
27285 #include <math.h>
27286 #ifdef HAVE_IEEEFP_H
27287 #include <ieeefp.h>
27288 #endif
27291 main ()
27293 _qfpclass(0);
27295 return 0;
27297 _ACEOF
27298 if ac_fn_cxx_try_compile "$LINENO"; then :
27299 glibcxx_cv_func__qfpclass_use=yes
27300 else
27301 glibcxx_cv_func__qfpclass_use=no
27303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27304 ac_ext=c
27305 ac_cpp='$CPP $CPPFLAGS'
27306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
27315 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
27317 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
27318 for ac_func in _qfpclass
27319 do :
27320 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
27321 if test "x$ac_cv_func__qfpclass" = x""yes; then :
27322 cat >>confdefs.h <<_ACEOF
27323 #define HAVE__QFPCLASS 1
27324 _ACEOF
27327 done
27336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
27337 $as_echo_n "checking for hypot declaration... " >&6; }
27338 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
27339 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
27340 $as_echo_n "(cached) " >&6
27341 else
27344 ac_ext=cpp
27345 ac_cpp='$CXXCPP $CPPFLAGS'
27346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27351 /* end confdefs.h. */
27352 #include <math.h>
27354 main ()
27356 hypot(0, 0);
27358 return 0;
27360 _ACEOF
27361 if ac_fn_cxx_try_compile "$LINENO"; then :
27362 glibcxx_cv_func_hypot_use=yes
27363 else
27364 glibcxx_cv_func_hypot_use=no
27366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27367 ac_ext=c
27368 ac_cpp='$CPP $CPPFLAGS'
27369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
27378 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
27380 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
27381 for ac_func in hypot
27382 do :
27383 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
27384 if test "x$ac_cv_func_hypot" = x""yes; then :
27385 cat >>confdefs.h <<_ACEOF
27386 #define HAVE_HYPOT 1
27387 _ACEOF
27390 done
27392 else
27394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
27395 $as_echo_n "checking for _hypot declaration... " >&6; }
27396 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
27397 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
27398 $as_echo_n "(cached) " >&6
27399 else
27402 ac_ext=cpp
27403 ac_cpp='$CXXCPP $CPPFLAGS'
27404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27409 /* end confdefs.h. */
27410 #include <math.h>
27412 main ()
27414 _hypot(0, 0);
27416 return 0;
27418 _ACEOF
27419 if ac_fn_cxx_try_compile "$LINENO"; then :
27420 glibcxx_cv_func__hypot_use=yes
27421 else
27422 glibcxx_cv_func__hypot_use=no
27424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27425 ac_ext=c
27426 ac_cpp='$CPP $CPPFLAGS'
27427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
27436 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
27438 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
27439 for ac_func in _hypot
27440 do :
27441 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
27442 if test "x$ac_cv_func__hypot" = x""yes; then :
27443 cat >>confdefs.h <<_ACEOF
27444 #define HAVE__HYPOT 1
27445 _ACEOF
27448 done
27457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
27458 $as_echo_n "checking for float trig functions... " >&6; }
27459 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
27460 $as_echo_n "(cached) " >&6
27461 else
27464 ac_ext=cpp
27465 ac_cpp='$CXXCPP $CPPFLAGS'
27466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27471 /* end confdefs.h. */
27472 #include <math.h>
27474 main ()
27476 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
27478 return 0;
27480 _ACEOF
27481 if ac_fn_cxx_try_compile "$LINENO"; then :
27482 glibcxx_cv_func_float_trig_use=yes
27483 else
27484 glibcxx_cv_func_float_trig_use=no
27486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27487 ac_ext=c
27488 ac_cpp='$CPP $CPPFLAGS'
27489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
27496 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
27497 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
27498 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
27499 do :
27500 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27501 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27502 eval as_val=\$$as_ac_var
27503 if test "x$as_val" = x""yes; then :
27504 cat >>confdefs.h <<_ACEOF
27505 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27506 _ACEOF
27509 done
27511 else
27512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
27513 $as_echo_n "checking for _float trig functions... " >&6; }
27514 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
27515 $as_echo_n "(cached) " >&6
27516 else
27519 ac_ext=cpp
27520 ac_cpp='$CXXCPP $CPPFLAGS'
27521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27526 /* end confdefs.h. */
27527 #include <math.h>
27529 main ()
27531 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
27533 return 0;
27535 _ACEOF
27536 if ac_fn_cxx_try_compile "$LINENO"; then :
27537 glibcxx_cv_func__float_trig_use=yes
27538 else
27539 glibcxx_cv_func__float_trig_use=no
27541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27542 ac_ext=c
27543 ac_cpp='$CPP $CPPFLAGS'
27544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
27551 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
27552 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
27553 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
27554 do :
27555 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27556 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27557 eval as_val=\$$as_ac_var
27558 if test "x$as_val" = x""yes; then :
27559 cat >>confdefs.h <<_ACEOF
27560 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27561 _ACEOF
27564 done
27573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
27574 $as_echo_n "checking for float round functions... " >&6; }
27575 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
27576 $as_echo_n "(cached) " >&6
27577 else
27580 ac_ext=cpp
27581 ac_cpp='$CXXCPP $CPPFLAGS'
27582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27587 /* end confdefs.h. */
27588 #include <math.h>
27590 main ()
27592 ceilf (0); floorf (0);
27594 return 0;
27596 _ACEOF
27597 if ac_fn_cxx_try_compile "$LINENO"; then :
27598 glibcxx_cv_func_float_round_use=yes
27599 else
27600 glibcxx_cv_func_float_round_use=no
27602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27603 ac_ext=c
27604 ac_cpp='$CPP $CPPFLAGS'
27605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
27612 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
27613 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
27614 for ac_func in ceilf floorf
27615 do :
27616 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27617 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27618 eval as_val=\$$as_ac_var
27619 if test "x$as_val" = x""yes; then :
27620 cat >>confdefs.h <<_ACEOF
27621 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27622 _ACEOF
27625 done
27627 else
27628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
27629 $as_echo_n "checking for _float round functions... " >&6; }
27630 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
27631 $as_echo_n "(cached) " >&6
27632 else
27635 ac_ext=cpp
27636 ac_cpp='$CXXCPP $CPPFLAGS'
27637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27642 /* end confdefs.h. */
27643 #include <math.h>
27645 main ()
27647 _ceilf (0); _floorf (0);
27649 return 0;
27651 _ACEOF
27652 if ac_fn_cxx_try_compile "$LINENO"; then :
27653 glibcxx_cv_func__float_round_use=yes
27654 else
27655 glibcxx_cv_func__float_round_use=no
27657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27658 ac_ext=c
27659 ac_cpp='$CPP $CPPFLAGS'
27660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
27667 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
27668 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
27669 for ac_func in _ceilf _floorf
27670 do :
27671 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27672 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27673 eval as_val=\$$as_ac_var
27674 if test "x$as_val" = x""yes; then :
27675 cat >>confdefs.h <<_ACEOF
27676 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27677 _ACEOF
27680 done
27690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
27691 $as_echo_n "checking for expf declaration... " >&6; }
27692 if test x${glibcxx_cv_func_expf_use+set} != xset; then
27693 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
27694 $as_echo_n "(cached) " >&6
27695 else
27698 ac_ext=cpp
27699 ac_cpp='$CXXCPP $CPPFLAGS'
27700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27705 /* end confdefs.h. */
27706 #include <math.h>
27707 #ifdef HAVE_IEEEFP_H
27708 #include <ieeefp.h>
27709 #endif
27712 main ()
27714 expf(0);
27716 return 0;
27718 _ACEOF
27719 if ac_fn_cxx_try_compile "$LINENO"; then :
27720 glibcxx_cv_func_expf_use=yes
27721 else
27722 glibcxx_cv_func_expf_use=no
27724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27725 ac_ext=c
27726 ac_cpp='$CPP $CPPFLAGS'
27727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
27736 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
27738 if test x$glibcxx_cv_func_expf_use = x"yes"; then
27739 for ac_func in expf
27740 do :
27741 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
27742 if test "x$ac_cv_func_expf" = x""yes; then :
27743 cat >>confdefs.h <<_ACEOF
27744 #define HAVE_EXPF 1
27745 _ACEOF
27748 done
27750 else
27752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
27753 $as_echo_n "checking for _expf declaration... " >&6; }
27754 if test x${glibcxx_cv_func__expf_use+set} != xset; then
27755 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
27756 $as_echo_n "(cached) " >&6
27757 else
27760 ac_ext=cpp
27761 ac_cpp='$CXXCPP $CPPFLAGS'
27762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27767 /* end confdefs.h. */
27768 #include <math.h>
27769 #ifdef HAVE_IEEEFP_H
27770 #include <ieeefp.h>
27771 #endif
27774 main ()
27776 _expf(0);
27778 return 0;
27780 _ACEOF
27781 if ac_fn_cxx_try_compile "$LINENO"; then :
27782 glibcxx_cv_func__expf_use=yes
27783 else
27784 glibcxx_cv_func__expf_use=no
27786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27787 ac_ext=c
27788 ac_cpp='$CPP $CPPFLAGS'
27789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
27798 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
27800 if test x$glibcxx_cv_func__expf_use = x"yes"; then
27801 for ac_func in _expf
27802 do :
27803 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
27804 if test "x$ac_cv_func__expf" = x""yes; then :
27805 cat >>confdefs.h <<_ACEOF
27806 #define HAVE__EXPF 1
27807 _ACEOF
27810 done
27819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
27820 $as_echo_n "checking for isnanf declaration... " >&6; }
27821 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
27822 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
27823 $as_echo_n "(cached) " >&6
27824 else
27827 ac_ext=cpp
27828 ac_cpp='$CXXCPP $CPPFLAGS'
27829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27834 /* end confdefs.h. */
27835 #include <math.h>
27836 #ifdef HAVE_IEEEFP_H
27837 #include <ieeefp.h>
27838 #endif
27841 main ()
27843 isnanf(0);
27845 return 0;
27847 _ACEOF
27848 if ac_fn_cxx_try_compile "$LINENO"; then :
27849 glibcxx_cv_func_isnanf_use=yes
27850 else
27851 glibcxx_cv_func_isnanf_use=no
27853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27854 ac_ext=c
27855 ac_cpp='$CPP $CPPFLAGS'
27856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
27865 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
27867 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
27868 for ac_func in isnanf
27869 do :
27870 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
27871 if test "x$ac_cv_func_isnanf" = x""yes; then :
27872 cat >>confdefs.h <<_ACEOF
27873 #define HAVE_ISNANF 1
27874 _ACEOF
27877 done
27879 else
27881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
27882 $as_echo_n "checking for _isnanf declaration... " >&6; }
27883 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
27884 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
27885 $as_echo_n "(cached) " >&6
27886 else
27889 ac_ext=cpp
27890 ac_cpp='$CXXCPP $CPPFLAGS'
27891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27896 /* end confdefs.h. */
27897 #include <math.h>
27898 #ifdef HAVE_IEEEFP_H
27899 #include <ieeefp.h>
27900 #endif
27903 main ()
27905 _isnanf(0);
27907 return 0;
27909 _ACEOF
27910 if ac_fn_cxx_try_compile "$LINENO"; then :
27911 glibcxx_cv_func__isnanf_use=yes
27912 else
27913 glibcxx_cv_func__isnanf_use=no
27915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27916 ac_ext=c
27917 ac_cpp='$CPP $CPPFLAGS'
27918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
27927 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
27929 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
27930 for ac_func in _isnanf
27931 do :
27932 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
27933 if test "x$ac_cv_func__isnanf" = x""yes; then :
27934 cat >>confdefs.h <<_ACEOF
27935 #define HAVE__ISNANF 1
27936 _ACEOF
27939 done
27948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
27949 $as_echo_n "checking for isinff declaration... " >&6; }
27950 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
27951 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
27952 $as_echo_n "(cached) " >&6
27953 else
27956 ac_ext=cpp
27957 ac_cpp='$CXXCPP $CPPFLAGS'
27958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27963 /* end confdefs.h. */
27964 #include <math.h>
27965 #ifdef HAVE_IEEEFP_H
27966 #include <ieeefp.h>
27967 #endif
27970 main ()
27972 isinff(0);
27974 return 0;
27976 _ACEOF
27977 if ac_fn_cxx_try_compile "$LINENO"; then :
27978 glibcxx_cv_func_isinff_use=yes
27979 else
27980 glibcxx_cv_func_isinff_use=no
27982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27983 ac_ext=c
27984 ac_cpp='$CPP $CPPFLAGS'
27985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
27994 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
27996 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
27997 for ac_func in isinff
27998 do :
27999 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
28000 if test "x$ac_cv_func_isinff" = x""yes; then :
28001 cat >>confdefs.h <<_ACEOF
28002 #define HAVE_ISINFF 1
28003 _ACEOF
28006 done
28008 else
28010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
28011 $as_echo_n "checking for _isinff declaration... " >&6; }
28012 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
28013 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
28014 $as_echo_n "(cached) " >&6
28015 else
28018 ac_ext=cpp
28019 ac_cpp='$CXXCPP $CPPFLAGS'
28020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28025 /* end confdefs.h. */
28026 #include <math.h>
28027 #ifdef HAVE_IEEEFP_H
28028 #include <ieeefp.h>
28029 #endif
28032 main ()
28034 _isinff(0);
28036 return 0;
28038 _ACEOF
28039 if ac_fn_cxx_try_compile "$LINENO"; then :
28040 glibcxx_cv_func__isinff_use=yes
28041 else
28042 glibcxx_cv_func__isinff_use=no
28044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28045 ac_ext=c
28046 ac_cpp='$CPP $CPPFLAGS'
28047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
28056 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
28058 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
28059 for ac_func in _isinff
28060 do :
28061 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
28062 if test "x$ac_cv_func__isinff" = x""yes; then :
28063 cat >>confdefs.h <<_ACEOF
28064 #define HAVE__ISINFF 1
28065 _ACEOF
28068 done
28077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
28078 $as_echo_n "checking for atan2f declaration... " >&6; }
28079 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
28080 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
28081 $as_echo_n "(cached) " >&6
28082 else
28085 ac_ext=cpp
28086 ac_cpp='$CXXCPP $CPPFLAGS'
28087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28092 /* end confdefs.h. */
28093 #include <math.h>
28095 main ()
28097 atan2f(0, 0);
28099 return 0;
28101 _ACEOF
28102 if ac_fn_cxx_try_compile "$LINENO"; then :
28103 glibcxx_cv_func_atan2f_use=yes
28104 else
28105 glibcxx_cv_func_atan2f_use=no
28107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28108 ac_ext=c
28109 ac_cpp='$CPP $CPPFLAGS'
28110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
28119 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
28121 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
28122 for ac_func in atan2f
28123 do :
28124 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
28125 if test "x$ac_cv_func_atan2f" = x""yes; then :
28126 cat >>confdefs.h <<_ACEOF
28127 #define HAVE_ATAN2F 1
28128 _ACEOF
28131 done
28133 else
28135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
28136 $as_echo_n "checking for _atan2f declaration... " >&6; }
28137 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
28138 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
28139 $as_echo_n "(cached) " >&6
28140 else
28143 ac_ext=cpp
28144 ac_cpp='$CXXCPP $CPPFLAGS'
28145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28150 /* end confdefs.h. */
28151 #include <math.h>
28153 main ()
28155 _atan2f(0, 0);
28157 return 0;
28159 _ACEOF
28160 if ac_fn_cxx_try_compile "$LINENO"; then :
28161 glibcxx_cv_func__atan2f_use=yes
28162 else
28163 glibcxx_cv_func__atan2f_use=no
28165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28166 ac_ext=c
28167 ac_cpp='$CPP $CPPFLAGS'
28168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
28177 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
28179 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
28180 for ac_func in _atan2f
28181 do :
28182 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
28183 if test "x$ac_cv_func__atan2f" = x""yes; then :
28184 cat >>confdefs.h <<_ACEOF
28185 #define HAVE__ATAN2F 1
28186 _ACEOF
28189 done
28198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
28199 $as_echo_n "checking for fabsf declaration... " >&6; }
28200 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
28201 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
28202 $as_echo_n "(cached) " >&6
28203 else
28206 ac_ext=cpp
28207 ac_cpp='$CXXCPP $CPPFLAGS'
28208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28213 /* end confdefs.h. */
28214 #include <math.h>
28215 #ifdef HAVE_IEEEFP_H
28216 #include <ieeefp.h>
28217 #endif
28220 main ()
28222 fabsf(0);
28224 return 0;
28226 _ACEOF
28227 if ac_fn_cxx_try_compile "$LINENO"; then :
28228 glibcxx_cv_func_fabsf_use=yes
28229 else
28230 glibcxx_cv_func_fabsf_use=no
28232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28233 ac_ext=c
28234 ac_cpp='$CPP $CPPFLAGS'
28235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
28244 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
28246 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
28247 for ac_func in fabsf
28248 do :
28249 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
28250 if test "x$ac_cv_func_fabsf" = x""yes; then :
28251 cat >>confdefs.h <<_ACEOF
28252 #define HAVE_FABSF 1
28253 _ACEOF
28256 done
28258 else
28260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
28261 $as_echo_n "checking for _fabsf declaration... " >&6; }
28262 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
28263 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
28264 $as_echo_n "(cached) " >&6
28265 else
28268 ac_ext=cpp
28269 ac_cpp='$CXXCPP $CPPFLAGS'
28270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28275 /* end confdefs.h. */
28276 #include <math.h>
28277 #ifdef HAVE_IEEEFP_H
28278 #include <ieeefp.h>
28279 #endif
28282 main ()
28284 _fabsf(0);
28286 return 0;
28288 _ACEOF
28289 if ac_fn_cxx_try_compile "$LINENO"; then :
28290 glibcxx_cv_func__fabsf_use=yes
28291 else
28292 glibcxx_cv_func__fabsf_use=no
28294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28295 ac_ext=c
28296 ac_cpp='$CPP $CPPFLAGS'
28297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
28306 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
28308 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
28309 for ac_func in _fabsf
28310 do :
28311 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
28312 if test "x$ac_cv_func__fabsf" = x""yes; then :
28313 cat >>confdefs.h <<_ACEOF
28314 #define HAVE__FABSF 1
28315 _ACEOF
28318 done
28327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
28328 $as_echo_n "checking for fmodf declaration... " >&6; }
28329 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
28330 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
28331 $as_echo_n "(cached) " >&6
28332 else
28335 ac_ext=cpp
28336 ac_cpp='$CXXCPP $CPPFLAGS'
28337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28342 /* end confdefs.h. */
28343 #include <math.h>
28345 main ()
28347 fmodf(0, 0);
28349 return 0;
28351 _ACEOF
28352 if ac_fn_cxx_try_compile "$LINENO"; then :
28353 glibcxx_cv_func_fmodf_use=yes
28354 else
28355 glibcxx_cv_func_fmodf_use=no
28357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28358 ac_ext=c
28359 ac_cpp='$CPP $CPPFLAGS'
28360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
28369 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
28371 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
28372 for ac_func in fmodf
28373 do :
28374 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
28375 if test "x$ac_cv_func_fmodf" = x""yes; then :
28376 cat >>confdefs.h <<_ACEOF
28377 #define HAVE_FMODF 1
28378 _ACEOF
28381 done
28383 else
28385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
28386 $as_echo_n "checking for _fmodf declaration... " >&6; }
28387 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
28388 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
28389 $as_echo_n "(cached) " >&6
28390 else
28393 ac_ext=cpp
28394 ac_cpp='$CXXCPP $CPPFLAGS'
28395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28400 /* end confdefs.h. */
28401 #include <math.h>
28403 main ()
28405 _fmodf(0, 0);
28407 return 0;
28409 _ACEOF
28410 if ac_fn_cxx_try_compile "$LINENO"; then :
28411 glibcxx_cv_func__fmodf_use=yes
28412 else
28413 glibcxx_cv_func__fmodf_use=no
28415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28416 ac_ext=c
28417 ac_cpp='$CPP $CPPFLAGS'
28418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
28427 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
28429 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
28430 for ac_func in _fmodf
28431 do :
28432 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
28433 if test "x$ac_cv_func__fmodf" = x""yes; then :
28434 cat >>confdefs.h <<_ACEOF
28435 #define HAVE__FMODF 1
28436 _ACEOF
28439 done
28448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
28449 $as_echo_n "checking for frexpf declaration... " >&6; }
28450 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
28451 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
28452 $as_echo_n "(cached) " >&6
28453 else
28456 ac_ext=cpp
28457 ac_cpp='$CXXCPP $CPPFLAGS'
28458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28463 /* end confdefs.h. */
28464 #include <math.h>
28466 main ()
28468 frexpf(0, 0);
28470 return 0;
28472 _ACEOF
28473 if ac_fn_cxx_try_compile "$LINENO"; then :
28474 glibcxx_cv_func_frexpf_use=yes
28475 else
28476 glibcxx_cv_func_frexpf_use=no
28478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28479 ac_ext=c
28480 ac_cpp='$CPP $CPPFLAGS'
28481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
28490 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
28492 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
28493 for ac_func in frexpf
28494 do :
28495 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
28496 if test "x$ac_cv_func_frexpf" = x""yes; then :
28497 cat >>confdefs.h <<_ACEOF
28498 #define HAVE_FREXPF 1
28499 _ACEOF
28502 done
28504 else
28506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
28507 $as_echo_n "checking for _frexpf declaration... " >&6; }
28508 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
28509 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
28510 $as_echo_n "(cached) " >&6
28511 else
28514 ac_ext=cpp
28515 ac_cpp='$CXXCPP $CPPFLAGS'
28516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28521 /* end confdefs.h. */
28522 #include <math.h>
28524 main ()
28526 _frexpf(0, 0);
28528 return 0;
28530 _ACEOF
28531 if ac_fn_cxx_try_compile "$LINENO"; then :
28532 glibcxx_cv_func__frexpf_use=yes
28533 else
28534 glibcxx_cv_func__frexpf_use=no
28536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28537 ac_ext=c
28538 ac_cpp='$CPP $CPPFLAGS'
28539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
28548 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
28550 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
28551 for ac_func in _frexpf
28552 do :
28553 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
28554 if test "x$ac_cv_func__frexpf" = x""yes; then :
28555 cat >>confdefs.h <<_ACEOF
28556 #define HAVE__FREXPF 1
28557 _ACEOF
28560 done
28569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
28570 $as_echo_n "checking for hypotf declaration... " >&6; }
28571 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
28572 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
28573 $as_echo_n "(cached) " >&6
28574 else
28577 ac_ext=cpp
28578 ac_cpp='$CXXCPP $CPPFLAGS'
28579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28584 /* end confdefs.h. */
28585 #include <math.h>
28587 main ()
28589 hypotf(0, 0);
28591 return 0;
28593 _ACEOF
28594 if ac_fn_cxx_try_compile "$LINENO"; then :
28595 glibcxx_cv_func_hypotf_use=yes
28596 else
28597 glibcxx_cv_func_hypotf_use=no
28599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28600 ac_ext=c
28601 ac_cpp='$CPP $CPPFLAGS'
28602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
28611 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
28613 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
28614 for ac_func in hypotf
28615 do :
28616 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
28617 if test "x$ac_cv_func_hypotf" = x""yes; then :
28618 cat >>confdefs.h <<_ACEOF
28619 #define HAVE_HYPOTF 1
28620 _ACEOF
28623 done
28625 else
28627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
28628 $as_echo_n "checking for _hypotf declaration... " >&6; }
28629 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
28630 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
28631 $as_echo_n "(cached) " >&6
28632 else
28635 ac_ext=cpp
28636 ac_cpp='$CXXCPP $CPPFLAGS'
28637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28642 /* end confdefs.h. */
28643 #include <math.h>
28645 main ()
28647 _hypotf(0, 0);
28649 return 0;
28651 _ACEOF
28652 if ac_fn_cxx_try_compile "$LINENO"; then :
28653 glibcxx_cv_func__hypotf_use=yes
28654 else
28655 glibcxx_cv_func__hypotf_use=no
28657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28658 ac_ext=c
28659 ac_cpp='$CPP $CPPFLAGS'
28660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
28669 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
28671 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
28672 for ac_func in _hypotf
28673 do :
28674 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
28675 if test "x$ac_cv_func__hypotf" = x""yes; then :
28676 cat >>confdefs.h <<_ACEOF
28677 #define HAVE__HYPOTF 1
28678 _ACEOF
28681 done
28690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
28691 $as_echo_n "checking for ldexpf declaration... " >&6; }
28692 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
28693 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
28694 $as_echo_n "(cached) " >&6
28695 else
28698 ac_ext=cpp
28699 ac_cpp='$CXXCPP $CPPFLAGS'
28700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28705 /* end confdefs.h. */
28706 #include <math.h>
28708 main ()
28710 ldexpf(0, 0);
28712 return 0;
28714 _ACEOF
28715 if ac_fn_cxx_try_compile "$LINENO"; then :
28716 glibcxx_cv_func_ldexpf_use=yes
28717 else
28718 glibcxx_cv_func_ldexpf_use=no
28720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28721 ac_ext=c
28722 ac_cpp='$CPP $CPPFLAGS'
28723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
28732 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
28734 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
28735 for ac_func in ldexpf
28736 do :
28737 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
28738 if test "x$ac_cv_func_ldexpf" = x""yes; then :
28739 cat >>confdefs.h <<_ACEOF
28740 #define HAVE_LDEXPF 1
28741 _ACEOF
28744 done
28746 else
28748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
28749 $as_echo_n "checking for _ldexpf declaration... " >&6; }
28750 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
28751 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
28752 $as_echo_n "(cached) " >&6
28753 else
28756 ac_ext=cpp
28757 ac_cpp='$CXXCPP $CPPFLAGS'
28758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28763 /* end confdefs.h. */
28764 #include <math.h>
28766 main ()
28768 _ldexpf(0, 0);
28770 return 0;
28772 _ACEOF
28773 if ac_fn_cxx_try_compile "$LINENO"; then :
28774 glibcxx_cv_func__ldexpf_use=yes
28775 else
28776 glibcxx_cv_func__ldexpf_use=no
28778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28779 ac_ext=c
28780 ac_cpp='$CPP $CPPFLAGS'
28781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
28790 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
28792 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
28793 for ac_func in _ldexpf
28794 do :
28795 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
28796 if test "x$ac_cv_func__ldexpf" = x""yes; then :
28797 cat >>confdefs.h <<_ACEOF
28798 #define HAVE__LDEXPF 1
28799 _ACEOF
28802 done
28811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
28812 $as_echo_n "checking for logf declaration... " >&6; }
28813 if test x${glibcxx_cv_func_logf_use+set} != xset; then
28814 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
28815 $as_echo_n "(cached) " >&6
28816 else
28819 ac_ext=cpp
28820 ac_cpp='$CXXCPP $CPPFLAGS'
28821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28826 /* end confdefs.h. */
28827 #include <math.h>
28828 #ifdef HAVE_IEEEFP_H
28829 #include <ieeefp.h>
28830 #endif
28833 main ()
28835 logf(0);
28837 return 0;
28839 _ACEOF
28840 if ac_fn_cxx_try_compile "$LINENO"; then :
28841 glibcxx_cv_func_logf_use=yes
28842 else
28843 glibcxx_cv_func_logf_use=no
28845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28846 ac_ext=c
28847 ac_cpp='$CPP $CPPFLAGS'
28848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
28857 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
28859 if test x$glibcxx_cv_func_logf_use = x"yes"; then
28860 for ac_func in logf
28861 do :
28862 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
28863 if test "x$ac_cv_func_logf" = x""yes; then :
28864 cat >>confdefs.h <<_ACEOF
28865 #define HAVE_LOGF 1
28866 _ACEOF
28869 done
28871 else
28873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
28874 $as_echo_n "checking for _logf declaration... " >&6; }
28875 if test x${glibcxx_cv_func__logf_use+set} != xset; then
28876 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
28877 $as_echo_n "(cached) " >&6
28878 else
28881 ac_ext=cpp
28882 ac_cpp='$CXXCPP $CPPFLAGS'
28883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28888 /* end confdefs.h. */
28889 #include <math.h>
28890 #ifdef HAVE_IEEEFP_H
28891 #include <ieeefp.h>
28892 #endif
28895 main ()
28897 _logf(0);
28899 return 0;
28901 _ACEOF
28902 if ac_fn_cxx_try_compile "$LINENO"; then :
28903 glibcxx_cv_func__logf_use=yes
28904 else
28905 glibcxx_cv_func__logf_use=no
28907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28908 ac_ext=c
28909 ac_cpp='$CPP $CPPFLAGS'
28910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
28919 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
28921 if test x$glibcxx_cv_func__logf_use = x"yes"; then
28922 for ac_func in _logf
28923 do :
28924 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
28925 if test "x$ac_cv_func__logf" = x""yes; then :
28926 cat >>confdefs.h <<_ACEOF
28927 #define HAVE__LOGF 1
28928 _ACEOF
28931 done
28940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
28941 $as_echo_n "checking for log10f declaration... " >&6; }
28942 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
28943 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
28944 $as_echo_n "(cached) " >&6
28945 else
28948 ac_ext=cpp
28949 ac_cpp='$CXXCPP $CPPFLAGS'
28950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28955 /* end confdefs.h. */
28956 #include <math.h>
28957 #ifdef HAVE_IEEEFP_H
28958 #include <ieeefp.h>
28959 #endif
28962 main ()
28964 log10f(0);
28966 return 0;
28968 _ACEOF
28969 if ac_fn_cxx_try_compile "$LINENO"; then :
28970 glibcxx_cv_func_log10f_use=yes
28971 else
28972 glibcxx_cv_func_log10f_use=no
28974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28975 ac_ext=c
28976 ac_cpp='$CPP $CPPFLAGS'
28977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
28986 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
28988 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
28989 for ac_func in log10f
28990 do :
28991 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
28992 if test "x$ac_cv_func_log10f" = x""yes; then :
28993 cat >>confdefs.h <<_ACEOF
28994 #define HAVE_LOG10F 1
28995 _ACEOF
28998 done
29000 else
29002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
29003 $as_echo_n "checking for _log10f declaration... " >&6; }
29004 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
29005 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
29006 $as_echo_n "(cached) " >&6
29007 else
29010 ac_ext=cpp
29011 ac_cpp='$CXXCPP $CPPFLAGS'
29012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29017 /* end confdefs.h. */
29018 #include <math.h>
29019 #ifdef HAVE_IEEEFP_H
29020 #include <ieeefp.h>
29021 #endif
29024 main ()
29026 _log10f(0);
29028 return 0;
29030 _ACEOF
29031 if ac_fn_cxx_try_compile "$LINENO"; then :
29032 glibcxx_cv_func__log10f_use=yes
29033 else
29034 glibcxx_cv_func__log10f_use=no
29036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29037 ac_ext=c
29038 ac_cpp='$CPP $CPPFLAGS'
29039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
29048 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
29050 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
29051 for ac_func in _log10f
29052 do :
29053 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
29054 if test "x$ac_cv_func__log10f" = x""yes; then :
29055 cat >>confdefs.h <<_ACEOF
29056 #define HAVE__LOG10F 1
29057 _ACEOF
29060 done
29069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
29070 $as_echo_n "checking for modff declaration... " >&6; }
29071 if test x${glibcxx_cv_func_modff_use+set} != xset; then
29072 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
29073 $as_echo_n "(cached) " >&6
29074 else
29077 ac_ext=cpp
29078 ac_cpp='$CXXCPP $CPPFLAGS'
29079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29084 /* end confdefs.h. */
29085 #include <math.h>
29087 main ()
29089 modff(0, 0);
29091 return 0;
29093 _ACEOF
29094 if ac_fn_cxx_try_compile "$LINENO"; then :
29095 glibcxx_cv_func_modff_use=yes
29096 else
29097 glibcxx_cv_func_modff_use=no
29099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29100 ac_ext=c
29101 ac_cpp='$CPP $CPPFLAGS'
29102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
29111 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
29113 if test x$glibcxx_cv_func_modff_use = x"yes"; then
29114 for ac_func in modff
29115 do :
29116 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
29117 if test "x$ac_cv_func_modff" = x""yes; then :
29118 cat >>confdefs.h <<_ACEOF
29119 #define HAVE_MODFF 1
29120 _ACEOF
29123 done
29125 else
29127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
29128 $as_echo_n "checking for _modff declaration... " >&6; }
29129 if test x${glibcxx_cv_func__modff_use+set} != xset; then
29130 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
29131 $as_echo_n "(cached) " >&6
29132 else
29135 ac_ext=cpp
29136 ac_cpp='$CXXCPP $CPPFLAGS'
29137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29142 /* end confdefs.h. */
29143 #include <math.h>
29145 main ()
29147 _modff(0, 0);
29149 return 0;
29151 _ACEOF
29152 if ac_fn_cxx_try_compile "$LINENO"; then :
29153 glibcxx_cv_func__modff_use=yes
29154 else
29155 glibcxx_cv_func__modff_use=no
29157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29158 ac_ext=c
29159 ac_cpp='$CPP $CPPFLAGS'
29160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
29169 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
29171 if test x$glibcxx_cv_func__modff_use = x"yes"; then
29172 for ac_func in _modff
29173 do :
29174 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
29175 if test "x$ac_cv_func__modff" = x""yes; then :
29176 cat >>confdefs.h <<_ACEOF
29177 #define HAVE__MODFF 1
29178 _ACEOF
29181 done
29190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
29191 $as_echo_n "checking for modf declaration... " >&6; }
29192 if test x${glibcxx_cv_func_modf_use+set} != xset; then
29193 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
29194 $as_echo_n "(cached) " >&6
29195 else
29198 ac_ext=cpp
29199 ac_cpp='$CXXCPP $CPPFLAGS'
29200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29205 /* end confdefs.h. */
29206 #include <math.h>
29208 main ()
29210 modf(0, 0);
29212 return 0;
29214 _ACEOF
29215 if ac_fn_cxx_try_compile "$LINENO"; then :
29216 glibcxx_cv_func_modf_use=yes
29217 else
29218 glibcxx_cv_func_modf_use=no
29220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29221 ac_ext=c
29222 ac_cpp='$CPP $CPPFLAGS'
29223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
29232 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
29234 if test x$glibcxx_cv_func_modf_use = x"yes"; then
29235 for ac_func in modf
29236 do :
29237 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
29238 if test "x$ac_cv_func_modf" = x""yes; then :
29239 cat >>confdefs.h <<_ACEOF
29240 #define HAVE_MODF 1
29241 _ACEOF
29244 done
29246 else
29248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
29249 $as_echo_n "checking for _modf declaration... " >&6; }
29250 if test x${glibcxx_cv_func__modf_use+set} != xset; then
29251 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
29252 $as_echo_n "(cached) " >&6
29253 else
29256 ac_ext=cpp
29257 ac_cpp='$CXXCPP $CPPFLAGS'
29258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29263 /* end confdefs.h. */
29264 #include <math.h>
29266 main ()
29268 _modf(0, 0);
29270 return 0;
29272 _ACEOF
29273 if ac_fn_cxx_try_compile "$LINENO"; then :
29274 glibcxx_cv_func__modf_use=yes
29275 else
29276 glibcxx_cv_func__modf_use=no
29278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29279 ac_ext=c
29280 ac_cpp='$CPP $CPPFLAGS'
29281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
29290 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
29292 if test x$glibcxx_cv_func__modf_use = x"yes"; then
29293 for ac_func in _modf
29294 do :
29295 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
29296 if test "x$ac_cv_func__modf" = x""yes; then :
29297 cat >>confdefs.h <<_ACEOF
29298 #define HAVE__MODF 1
29299 _ACEOF
29302 done
29311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
29312 $as_echo_n "checking for powf declaration... " >&6; }
29313 if test x${glibcxx_cv_func_powf_use+set} != xset; then
29314 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
29315 $as_echo_n "(cached) " >&6
29316 else
29319 ac_ext=cpp
29320 ac_cpp='$CXXCPP $CPPFLAGS'
29321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29326 /* end confdefs.h. */
29327 #include <math.h>
29329 main ()
29331 powf(0, 0);
29333 return 0;
29335 _ACEOF
29336 if ac_fn_cxx_try_compile "$LINENO"; then :
29337 glibcxx_cv_func_powf_use=yes
29338 else
29339 glibcxx_cv_func_powf_use=no
29341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29342 ac_ext=c
29343 ac_cpp='$CPP $CPPFLAGS'
29344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
29353 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
29355 if test x$glibcxx_cv_func_powf_use = x"yes"; then
29356 for ac_func in powf
29357 do :
29358 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
29359 if test "x$ac_cv_func_powf" = x""yes; then :
29360 cat >>confdefs.h <<_ACEOF
29361 #define HAVE_POWF 1
29362 _ACEOF
29365 done
29367 else
29369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
29370 $as_echo_n "checking for _powf declaration... " >&6; }
29371 if test x${glibcxx_cv_func__powf_use+set} != xset; then
29372 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
29373 $as_echo_n "(cached) " >&6
29374 else
29377 ac_ext=cpp
29378 ac_cpp='$CXXCPP $CPPFLAGS'
29379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29384 /* end confdefs.h. */
29385 #include <math.h>
29387 main ()
29389 _powf(0, 0);
29391 return 0;
29393 _ACEOF
29394 if ac_fn_cxx_try_compile "$LINENO"; then :
29395 glibcxx_cv_func__powf_use=yes
29396 else
29397 glibcxx_cv_func__powf_use=no
29399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29400 ac_ext=c
29401 ac_cpp='$CPP $CPPFLAGS'
29402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
29411 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
29413 if test x$glibcxx_cv_func__powf_use = x"yes"; then
29414 for ac_func in _powf
29415 do :
29416 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
29417 if test "x$ac_cv_func__powf" = x""yes; then :
29418 cat >>confdefs.h <<_ACEOF
29419 #define HAVE__POWF 1
29420 _ACEOF
29423 done
29432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
29433 $as_echo_n "checking for sqrtf declaration... " >&6; }
29434 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
29435 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
29436 $as_echo_n "(cached) " >&6
29437 else
29440 ac_ext=cpp
29441 ac_cpp='$CXXCPP $CPPFLAGS'
29442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29447 /* end confdefs.h. */
29448 #include <math.h>
29449 #ifdef HAVE_IEEEFP_H
29450 #include <ieeefp.h>
29451 #endif
29454 main ()
29456 sqrtf(0);
29458 return 0;
29460 _ACEOF
29461 if ac_fn_cxx_try_compile "$LINENO"; then :
29462 glibcxx_cv_func_sqrtf_use=yes
29463 else
29464 glibcxx_cv_func_sqrtf_use=no
29466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29467 ac_ext=c
29468 ac_cpp='$CPP $CPPFLAGS'
29469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
29478 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
29480 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
29481 for ac_func in sqrtf
29482 do :
29483 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
29484 if test "x$ac_cv_func_sqrtf" = x""yes; then :
29485 cat >>confdefs.h <<_ACEOF
29486 #define HAVE_SQRTF 1
29487 _ACEOF
29490 done
29492 else
29494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
29495 $as_echo_n "checking for _sqrtf declaration... " >&6; }
29496 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
29497 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
29498 $as_echo_n "(cached) " >&6
29499 else
29502 ac_ext=cpp
29503 ac_cpp='$CXXCPP $CPPFLAGS'
29504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29509 /* end confdefs.h. */
29510 #include <math.h>
29511 #ifdef HAVE_IEEEFP_H
29512 #include <ieeefp.h>
29513 #endif
29516 main ()
29518 _sqrtf(0);
29520 return 0;
29522 _ACEOF
29523 if ac_fn_cxx_try_compile "$LINENO"; then :
29524 glibcxx_cv_func__sqrtf_use=yes
29525 else
29526 glibcxx_cv_func__sqrtf_use=no
29528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29529 ac_ext=c
29530 ac_cpp='$CPP $CPPFLAGS'
29531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
29540 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
29542 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
29543 for ac_func in _sqrtf
29544 do :
29545 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
29546 if test "x$ac_cv_func__sqrtf" = x""yes; then :
29547 cat >>confdefs.h <<_ACEOF
29548 #define HAVE__SQRTF 1
29549 _ACEOF
29552 done
29561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
29562 $as_echo_n "checking for sincosf declaration... " >&6; }
29563 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
29564 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
29565 $as_echo_n "(cached) " >&6
29566 else
29569 ac_ext=cpp
29570 ac_cpp='$CXXCPP $CPPFLAGS'
29571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29576 /* end confdefs.h. */
29577 #include <math.h>
29579 main ()
29581 sincosf(0, 0, 0);
29583 return 0;
29585 _ACEOF
29586 if ac_fn_cxx_try_compile "$LINENO"; then :
29587 glibcxx_cv_func_sincosf_use=yes
29588 else
29589 glibcxx_cv_func_sincosf_use=no
29591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29592 ac_ext=c
29593 ac_cpp='$CPP $CPPFLAGS'
29594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
29603 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
29605 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
29606 for ac_func in sincosf
29607 do :
29608 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
29609 if test "x$ac_cv_func_sincosf" = x""yes; then :
29610 cat >>confdefs.h <<_ACEOF
29611 #define HAVE_SINCOSF 1
29612 _ACEOF
29615 done
29617 else
29619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
29620 $as_echo_n "checking for _sincosf declaration... " >&6; }
29621 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
29622 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
29623 $as_echo_n "(cached) " >&6
29624 else
29627 ac_ext=cpp
29628 ac_cpp='$CXXCPP $CPPFLAGS'
29629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29634 /* end confdefs.h. */
29635 #include <math.h>
29637 main ()
29639 _sincosf(0, 0, 0);
29641 return 0;
29643 _ACEOF
29644 if ac_fn_cxx_try_compile "$LINENO"; then :
29645 glibcxx_cv_func__sincosf_use=yes
29646 else
29647 glibcxx_cv_func__sincosf_use=no
29649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29650 ac_ext=c
29651 ac_cpp='$CPP $CPPFLAGS'
29652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
29661 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
29663 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
29664 for ac_func in _sincosf
29665 do :
29666 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
29667 if test "x$ac_cv_func__sincosf" = x""yes; then :
29668 cat >>confdefs.h <<_ACEOF
29669 #define HAVE__SINCOSF 1
29670 _ACEOF
29673 done
29682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
29683 $as_echo_n "checking for finitef declaration... " >&6; }
29684 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
29685 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
29686 $as_echo_n "(cached) " >&6
29687 else
29690 ac_ext=cpp
29691 ac_cpp='$CXXCPP $CPPFLAGS'
29692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29697 /* end confdefs.h. */
29698 #include <math.h>
29699 #ifdef HAVE_IEEEFP_H
29700 #include <ieeefp.h>
29701 #endif
29704 main ()
29706 finitef(0);
29708 return 0;
29710 _ACEOF
29711 if ac_fn_cxx_try_compile "$LINENO"; then :
29712 glibcxx_cv_func_finitef_use=yes
29713 else
29714 glibcxx_cv_func_finitef_use=no
29716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29717 ac_ext=c
29718 ac_cpp='$CPP $CPPFLAGS'
29719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
29728 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
29730 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
29731 for ac_func in finitef
29732 do :
29733 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
29734 if test "x$ac_cv_func_finitef" = x""yes; then :
29735 cat >>confdefs.h <<_ACEOF
29736 #define HAVE_FINITEF 1
29737 _ACEOF
29740 done
29742 else
29744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
29745 $as_echo_n "checking for _finitef declaration... " >&6; }
29746 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
29747 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
29748 $as_echo_n "(cached) " >&6
29749 else
29752 ac_ext=cpp
29753 ac_cpp='$CXXCPP $CPPFLAGS'
29754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29759 /* end confdefs.h. */
29760 #include <math.h>
29761 #ifdef HAVE_IEEEFP_H
29762 #include <ieeefp.h>
29763 #endif
29766 main ()
29768 _finitef(0);
29770 return 0;
29772 _ACEOF
29773 if ac_fn_cxx_try_compile "$LINENO"; then :
29774 glibcxx_cv_func__finitef_use=yes
29775 else
29776 glibcxx_cv_func__finitef_use=no
29778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29779 ac_ext=c
29780 ac_cpp='$CPP $CPPFLAGS'
29781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
29790 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
29792 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
29793 for ac_func in _finitef
29794 do :
29795 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
29796 if test "x$ac_cv_func__finitef" = x""yes; then :
29797 cat >>confdefs.h <<_ACEOF
29798 #define HAVE__FINITEF 1
29799 _ACEOF
29802 done
29811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
29812 $as_echo_n "checking for long double trig functions... " >&6; }
29813 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
29814 $as_echo_n "(cached) " >&6
29815 else
29818 ac_ext=cpp
29819 ac_cpp='$CXXCPP $CPPFLAGS'
29820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29825 /* end confdefs.h. */
29826 #include <math.h>
29828 main ()
29830 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
29832 return 0;
29834 _ACEOF
29835 if ac_fn_cxx_try_compile "$LINENO"; then :
29836 glibcxx_cv_func_long_double_trig_use=yes
29837 else
29838 glibcxx_cv_func_long_double_trig_use=no
29840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29841 ac_ext=c
29842 ac_cpp='$CPP $CPPFLAGS'
29843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
29850 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
29851 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
29852 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
29853 do :
29854 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29855 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29856 eval as_val=\$$as_ac_var
29857 if test "x$as_val" = x""yes; then :
29858 cat >>confdefs.h <<_ACEOF
29859 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29860 _ACEOF
29863 done
29865 else
29866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
29867 $as_echo_n "checking for _long double trig functions... " >&6; }
29868 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
29869 $as_echo_n "(cached) " >&6
29870 else
29873 ac_ext=cpp
29874 ac_cpp='$CXXCPP $CPPFLAGS'
29875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29880 /* end confdefs.h. */
29881 #include <math.h>
29883 main ()
29885 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
29887 return 0;
29889 _ACEOF
29890 if ac_fn_cxx_try_compile "$LINENO"; then :
29891 glibcxx_cv_func__long_double_trig_use=yes
29892 else
29893 glibcxx_cv_func__long_double_trig_use=no
29895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29896 ac_ext=c
29897 ac_cpp='$CPP $CPPFLAGS'
29898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
29905 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
29906 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
29907 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
29908 do :
29909 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29910 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29911 eval as_val=\$$as_ac_var
29912 if test "x$as_val" = x""yes; then :
29913 cat >>confdefs.h <<_ACEOF
29914 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29915 _ACEOF
29918 done
29927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
29928 $as_echo_n "checking for long double round functions... " >&6; }
29929 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
29930 $as_echo_n "(cached) " >&6
29931 else
29934 ac_ext=cpp
29935 ac_cpp='$CXXCPP $CPPFLAGS'
29936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29941 /* end confdefs.h. */
29942 #include <math.h>
29944 main ()
29946 ceill (0); floorl (0);
29948 return 0;
29950 _ACEOF
29951 if ac_fn_cxx_try_compile "$LINENO"; then :
29952 glibcxx_cv_func_long_double_round_use=yes
29953 else
29954 glibcxx_cv_func_long_double_round_use=no
29956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29957 ac_ext=c
29958 ac_cpp='$CPP $CPPFLAGS'
29959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
29966 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
29967 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
29968 for ac_func in ceill floorl
29969 do :
29970 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29971 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29972 eval as_val=\$$as_ac_var
29973 if test "x$as_val" = x""yes; then :
29974 cat >>confdefs.h <<_ACEOF
29975 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29976 _ACEOF
29979 done
29981 else
29982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
29983 $as_echo_n "checking for _long double round functions... " >&6; }
29984 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
29985 $as_echo_n "(cached) " >&6
29986 else
29989 ac_ext=cpp
29990 ac_cpp='$CXXCPP $CPPFLAGS'
29991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29996 /* end confdefs.h. */
29997 #include <math.h>
29999 main ()
30001 _ceill (0); _floorl (0);
30003 return 0;
30005 _ACEOF
30006 if ac_fn_cxx_try_compile "$LINENO"; then :
30007 glibcxx_cv_func__long_double_round_use=yes
30008 else
30009 glibcxx_cv_func__long_double_round_use=no
30011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30012 ac_ext=c
30013 ac_cpp='$CPP $CPPFLAGS'
30014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
30021 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
30022 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
30023 for ac_func in _ceill _floorl
30024 do :
30025 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30026 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30027 eval as_val=\$$as_ac_var
30028 if test "x$as_val" = x""yes; then :
30029 cat >>confdefs.h <<_ACEOF
30030 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30031 _ACEOF
30034 done
30044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
30045 $as_echo_n "checking for isnanl declaration... " >&6; }
30046 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
30047 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
30048 $as_echo_n "(cached) " >&6
30049 else
30052 ac_ext=cpp
30053 ac_cpp='$CXXCPP $CPPFLAGS'
30054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30059 /* end confdefs.h. */
30060 #include <math.h>
30061 #ifdef HAVE_IEEEFP_H
30062 #include <ieeefp.h>
30063 #endif
30066 main ()
30068 isnanl(0);
30070 return 0;
30072 _ACEOF
30073 if ac_fn_cxx_try_compile "$LINENO"; then :
30074 glibcxx_cv_func_isnanl_use=yes
30075 else
30076 glibcxx_cv_func_isnanl_use=no
30078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30079 ac_ext=c
30080 ac_cpp='$CPP $CPPFLAGS'
30081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
30090 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
30092 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
30093 for ac_func in isnanl
30094 do :
30095 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
30096 if test "x$ac_cv_func_isnanl" = x""yes; then :
30097 cat >>confdefs.h <<_ACEOF
30098 #define HAVE_ISNANL 1
30099 _ACEOF
30102 done
30104 else
30106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
30107 $as_echo_n "checking for _isnanl declaration... " >&6; }
30108 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
30109 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
30110 $as_echo_n "(cached) " >&6
30111 else
30114 ac_ext=cpp
30115 ac_cpp='$CXXCPP $CPPFLAGS'
30116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30121 /* end confdefs.h. */
30122 #include <math.h>
30123 #ifdef HAVE_IEEEFP_H
30124 #include <ieeefp.h>
30125 #endif
30128 main ()
30130 _isnanl(0);
30132 return 0;
30134 _ACEOF
30135 if ac_fn_cxx_try_compile "$LINENO"; then :
30136 glibcxx_cv_func__isnanl_use=yes
30137 else
30138 glibcxx_cv_func__isnanl_use=no
30140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30141 ac_ext=c
30142 ac_cpp='$CPP $CPPFLAGS'
30143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
30152 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
30154 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
30155 for ac_func in _isnanl
30156 do :
30157 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
30158 if test "x$ac_cv_func__isnanl" = x""yes; then :
30159 cat >>confdefs.h <<_ACEOF
30160 #define HAVE__ISNANL 1
30161 _ACEOF
30164 done
30173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
30174 $as_echo_n "checking for isinfl declaration... " >&6; }
30175 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
30176 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
30177 $as_echo_n "(cached) " >&6
30178 else
30181 ac_ext=cpp
30182 ac_cpp='$CXXCPP $CPPFLAGS'
30183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30188 /* end confdefs.h. */
30189 #include <math.h>
30190 #ifdef HAVE_IEEEFP_H
30191 #include <ieeefp.h>
30192 #endif
30195 main ()
30197 isinfl(0);
30199 return 0;
30201 _ACEOF
30202 if ac_fn_cxx_try_compile "$LINENO"; then :
30203 glibcxx_cv_func_isinfl_use=yes
30204 else
30205 glibcxx_cv_func_isinfl_use=no
30207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30208 ac_ext=c
30209 ac_cpp='$CPP $CPPFLAGS'
30210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
30219 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
30221 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
30222 for ac_func in isinfl
30223 do :
30224 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
30225 if test "x$ac_cv_func_isinfl" = x""yes; then :
30226 cat >>confdefs.h <<_ACEOF
30227 #define HAVE_ISINFL 1
30228 _ACEOF
30231 done
30233 else
30235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
30236 $as_echo_n "checking for _isinfl declaration... " >&6; }
30237 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
30238 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
30239 $as_echo_n "(cached) " >&6
30240 else
30243 ac_ext=cpp
30244 ac_cpp='$CXXCPP $CPPFLAGS'
30245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30250 /* end confdefs.h. */
30251 #include <math.h>
30252 #ifdef HAVE_IEEEFP_H
30253 #include <ieeefp.h>
30254 #endif
30257 main ()
30259 _isinfl(0);
30261 return 0;
30263 _ACEOF
30264 if ac_fn_cxx_try_compile "$LINENO"; then :
30265 glibcxx_cv_func__isinfl_use=yes
30266 else
30267 glibcxx_cv_func__isinfl_use=no
30269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30270 ac_ext=c
30271 ac_cpp='$CPP $CPPFLAGS'
30272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
30281 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
30283 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
30284 for ac_func in _isinfl
30285 do :
30286 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
30287 if test "x$ac_cv_func__isinfl" = x""yes; then :
30288 cat >>confdefs.h <<_ACEOF
30289 #define HAVE__ISINFL 1
30290 _ACEOF
30293 done
30302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
30303 $as_echo_n "checking for atan2l declaration... " >&6; }
30304 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
30305 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
30306 $as_echo_n "(cached) " >&6
30307 else
30310 ac_ext=cpp
30311 ac_cpp='$CXXCPP $CPPFLAGS'
30312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30317 /* end confdefs.h. */
30318 #include <math.h>
30320 main ()
30322 atan2l(0, 0);
30324 return 0;
30326 _ACEOF
30327 if ac_fn_cxx_try_compile "$LINENO"; then :
30328 glibcxx_cv_func_atan2l_use=yes
30329 else
30330 glibcxx_cv_func_atan2l_use=no
30332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30333 ac_ext=c
30334 ac_cpp='$CPP $CPPFLAGS'
30335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
30344 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
30346 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
30347 for ac_func in atan2l
30348 do :
30349 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
30350 if test "x$ac_cv_func_atan2l" = x""yes; then :
30351 cat >>confdefs.h <<_ACEOF
30352 #define HAVE_ATAN2L 1
30353 _ACEOF
30356 done
30358 else
30360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
30361 $as_echo_n "checking for _atan2l declaration... " >&6; }
30362 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
30363 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
30364 $as_echo_n "(cached) " >&6
30365 else
30368 ac_ext=cpp
30369 ac_cpp='$CXXCPP $CPPFLAGS'
30370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30375 /* end confdefs.h. */
30376 #include <math.h>
30378 main ()
30380 _atan2l(0, 0);
30382 return 0;
30384 _ACEOF
30385 if ac_fn_cxx_try_compile "$LINENO"; then :
30386 glibcxx_cv_func__atan2l_use=yes
30387 else
30388 glibcxx_cv_func__atan2l_use=no
30390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30391 ac_ext=c
30392 ac_cpp='$CPP $CPPFLAGS'
30393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
30402 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
30404 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
30405 for ac_func in _atan2l
30406 do :
30407 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
30408 if test "x$ac_cv_func__atan2l" = x""yes; then :
30409 cat >>confdefs.h <<_ACEOF
30410 #define HAVE__ATAN2L 1
30411 _ACEOF
30414 done
30423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
30424 $as_echo_n "checking for expl declaration... " >&6; }
30425 if test x${glibcxx_cv_func_expl_use+set} != xset; then
30426 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
30427 $as_echo_n "(cached) " >&6
30428 else
30431 ac_ext=cpp
30432 ac_cpp='$CXXCPP $CPPFLAGS'
30433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30438 /* end confdefs.h. */
30439 #include <math.h>
30440 #ifdef HAVE_IEEEFP_H
30441 #include <ieeefp.h>
30442 #endif
30445 main ()
30447 expl(0);
30449 return 0;
30451 _ACEOF
30452 if ac_fn_cxx_try_compile "$LINENO"; then :
30453 glibcxx_cv_func_expl_use=yes
30454 else
30455 glibcxx_cv_func_expl_use=no
30457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30458 ac_ext=c
30459 ac_cpp='$CPP $CPPFLAGS'
30460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
30469 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
30471 if test x$glibcxx_cv_func_expl_use = x"yes"; then
30472 for ac_func in expl
30473 do :
30474 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
30475 if test "x$ac_cv_func_expl" = x""yes; then :
30476 cat >>confdefs.h <<_ACEOF
30477 #define HAVE_EXPL 1
30478 _ACEOF
30481 done
30483 else
30485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
30486 $as_echo_n "checking for _expl declaration... " >&6; }
30487 if test x${glibcxx_cv_func__expl_use+set} != xset; then
30488 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
30489 $as_echo_n "(cached) " >&6
30490 else
30493 ac_ext=cpp
30494 ac_cpp='$CXXCPP $CPPFLAGS'
30495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30500 /* end confdefs.h. */
30501 #include <math.h>
30502 #ifdef HAVE_IEEEFP_H
30503 #include <ieeefp.h>
30504 #endif
30507 main ()
30509 _expl(0);
30511 return 0;
30513 _ACEOF
30514 if ac_fn_cxx_try_compile "$LINENO"; then :
30515 glibcxx_cv_func__expl_use=yes
30516 else
30517 glibcxx_cv_func__expl_use=no
30519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30520 ac_ext=c
30521 ac_cpp='$CPP $CPPFLAGS'
30522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
30531 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
30533 if test x$glibcxx_cv_func__expl_use = x"yes"; then
30534 for ac_func in _expl
30535 do :
30536 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
30537 if test "x$ac_cv_func__expl" = x""yes; then :
30538 cat >>confdefs.h <<_ACEOF
30539 #define HAVE__EXPL 1
30540 _ACEOF
30543 done
30552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
30553 $as_echo_n "checking for fabsl declaration... " >&6; }
30554 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
30555 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
30556 $as_echo_n "(cached) " >&6
30557 else
30560 ac_ext=cpp
30561 ac_cpp='$CXXCPP $CPPFLAGS'
30562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30567 /* end confdefs.h. */
30568 #include <math.h>
30569 #ifdef HAVE_IEEEFP_H
30570 #include <ieeefp.h>
30571 #endif
30574 main ()
30576 fabsl(0);
30578 return 0;
30580 _ACEOF
30581 if ac_fn_cxx_try_compile "$LINENO"; then :
30582 glibcxx_cv_func_fabsl_use=yes
30583 else
30584 glibcxx_cv_func_fabsl_use=no
30586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30587 ac_ext=c
30588 ac_cpp='$CPP $CPPFLAGS'
30589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
30598 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
30600 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
30601 for ac_func in fabsl
30602 do :
30603 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
30604 if test "x$ac_cv_func_fabsl" = x""yes; then :
30605 cat >>confdefs.h <<_ACEOF
30606 #define HAVE_FABSL 1
30607 _ACEOF
30610 done
30612 else
30614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
30615 $as_echo_n "checking for _fabsl declaration... " >&6; }
30616 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
30617 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
30618 $as_echo_n "(cached) " >&6
30619 else
30622 ac_ext=cpp
30623 ac_cpp='$CXXCPP $CPPFLAGS'
30624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30629 /* end confdefs.h. */
30630 #include <math.h>
30631 #ifdef HAVE_IEEEFP_H
30632 #include <ieeefp.h>
30633 #endif
30636 main ()
30638 _fabsl(0);
30640 return 0;
30642 _ACEOF
30643 if ac_fn_cxx_try_compile "$LINENO"; then :
30644 glibcxx_cv_func__fabsl_use=yes
30645 else
30646 glibcxx_cv_func__fabsl_use=no
30648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30649 ac_ext=c
30650 ac_cpp='$CPP $CPPFLAGS'
30651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
30660 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
30662 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
30663 for ac_func in _fabsl
30664 do :
30665 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
30666 if test "x$ac_cv_func__fabsl" = x""yes; then :
30667 cat >>confdefs.h <<_ACEOF
30668 #define HAVE__FABSL 1
30669 _ACEOF
30672 done
30681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
30682 $as_echo_n "checking for fmodl declaration... " >&6; }
30683 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
30684 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
30685 $as_echo_n "(cached) " >&6
30686 else
30689 ac_ext=cpp
30690 ac_cpp='$CXXCPP $CPPFLAGS'
30691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30696 /* end confdefs.h. */
30697 #include <math.h>
30699 main ()
30701 fmodl(0, 0);
30703 return 0;
30705 _ACEOF
30706 if ac_fn_cxx_try_compile "$LINENO"; then :
30707 glibcxx_cv_func_fmodl_use=yes
30708 else
30709 glibcxx_cv_func_fmodl_use=no
30711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30712 ac_ext=c
30713 ac_cpp='$CPP $CPPFLAGS'
30714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
30723 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
30725 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
30726 for ac_func in fmodl
30727 do :
30728 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
30729 if test "x$ac_cv_func_fmodl" = x""yes; then :
30730 cat >>confdefs.h <<_ACEOF
30731 #define HAVE_FMODL 1
30732 _ACEOF
30735 done
30737 else
30739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
30740 $as_echo_n "checking for _fmodl declaration... " >&6; }
30741 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
30742 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
30743 $as_echo_n "(cached) " >&6
30744 else
30747 ac_ext=cpp
30748 ac_cpp='$CXXCPP $CPPFLAGS'
30749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30754 /* end confdefs.h. */
30755 #include <math.h>
30757 main ()
30759 _fmodl(0, 0);
30761 return 0;
30763 _ACEOF
30764 if ac_fn_cxx_try_compile "$LINENO"; then :
30765 glibcxx_cv_func__fmodl_use=yes
30766 else
30767 glibcxx_cv_func__fmodl_use=no
30769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30770 ac_ext=c
30771 ac_cpp='$CPP $CPPFLAGS'
30772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
30781 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
30783 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
30784 for ac_func in _fmodl
30785 do :
30786 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
30787 if test "x$ac_cv_func__fmodl" = x""yes; then :
30788 cat >>confdefs.h <<_ACEOF
30789 #define HAVE__FMODL 1
30790 _ACEOF
30793 done
30802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
30803 $as_echo_n "checking for frexpl declaration... " >&6; }
30804 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
30805 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
30806 $as_echo_n "(cached) " >&6
30807 else
30810 ac_ext=cpp
30811 ac_cpp='$CXXCPP $CPPFLAGS'
30812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30817 /* end confdefs.h. */
30818 #include <math.h>
30820 main ()
30822 frexpl(0, 0);
30824 return 0;
30826 _ACEOF
30827 if ac_fn_cxx_try_compile "$LINENO"; then :
30828 glibcxx_cv_func_frexpl_use=yes
30829 else
30830 glibcxx_cv_func_frexpl_use=no
30832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30833 ac_ext=c
30834 ac_cpp='$CPP $CPPFLAGS'
30835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
30844 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
30846 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
30847 for ac_func in frexpl
30848 do :
30849 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
30850 if test "x$ac_cv_func_frexpl" = x""yes; then :
30851 cat >>confdefs.h <<_ACEOF
30852 #define HAVE_FREXPL 1
30853 _ACEOF
30856 done
30858 else
30860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
30861 $as_echo_n "checking for _frexpl declaration... " >&6; }
30862 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
30863 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
30864 $as_echo_n "(cached) " >&6
30865 else
30868 ac_ext=cpp
30869 ac_cpp='$CXXCPP $CPPFLAGS'
30870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30875 /* end confdefs.h. */
30876 #include <math.h>
30878 main ()
30880 _frexpl(0, 0);
30882 return 0;
30884 _ACEOF
30885 if ac_fn_cxx_try_compile "$LINENO"; then :
30886 glibcxx_cv_func__frexpl_use=yes
30887 else
30888 glibcxx_cv_func__frexpl_use=no
30890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30891 ac_ext=c
30892 ac_cpp='$CPP $CPPFLAGS'
30893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
30902 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
30904 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
30905 for ac_func in _frexpl
30906 do :
30907 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
30908 if test "x$ac_cv_func__frexpl" = x""yes; then :
30909 cat >>confdefs.h <<_ACEOF
30910 #define HAVE__FREXPL 1
30911 _ACEOF
30914 done
30923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
30924 $as_echo_n "checking for hypotl declaration... " >&6; }
30925 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
30926 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
30927 $as_echo_n "(cached) " >&6
30928 else
30931 ac_ext=cpp
30932 ac_cpp='$CXXCPP $CPPFLAGS'
30933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30938 /* end confdefs.h. */
30939 #include <math.h>
30941 main ()
30943 hypotl(0, 0);
30945 return 0;
30947 _ACEOF
30948 if ac_fn_cxx_try_compile "$LINENO"; then :
30949 glibcxx_cv_func_hypotl_use=yes
30950 else
30951 glibcxx_cv_func_hypotl_use=no
30953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30954 ac_ext=c
30955 ac_cpp='$CPP $CPPFLAGS'
30956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
30965 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
30967 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
30968 for ac_func in hypotl
30969 do :
30970 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
30971 if test "x$ac_cv_func_hypotl" = x""yes; then :
30972 cat >>confdefs.h <<_ACEOF
30973 #define HAVE_HYPOTL 1
30974 _ACEOF
30977 done
30979 else
30981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
30982 $as_echo_n "checking for _hypotl declaration... " >&6; }
30983 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
30984 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
30985 $as_echo_n "(cached) " >&6
30986 else
30989 ac_ext=cpp
30990 ac_cpp='$CXXCPP $CPPFLAGS'
30991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30996 /* end confdefs.h. */
30997 #include <math.h>
30999 main ()
31001 _hypotl(0, 0);
31003 return 0;
31005 _ACEOF
31006 if ac_fn_cxx_try_compile "$LINENO"; then :
31007 glibcxx_cv_func__hypotl_use=yes
31008 else
31009 glibcxx_cv_func__hypotl_use=no
31011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31012 ac_ext=c
31013 ac_cpp='$CPP $CPPFLAGS'
31014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
31023 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
31025 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
31026 for ac_func in _hypotl
31027 do :
31028 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
31029 if test "x$ac_cv_func__hypotl" = x""yes; then :
31030 cat >>confdefs.h <<_ACEOF
31031 #define HAVE__HYPOTL 1
31032 _ACEOF
31035 done
31044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
31045 $as_echo_n "checking for ldexpl declaration... " >&6; }
31046 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
31047 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
31048 $as_echo_n "(cached) " >&6
31049 else
31052 ac_ext=cpp
31053 ac_cpp='$CXXCPP $CPPFLAGS'
31054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31059 /* end confdefs.h. */
31060 #include <math.h>
31062 main ()
31064 ldexpl(0, 0);
31066 return 0;
31068 _ACEOF
31069 if ac_fn_cxx_try_compile "$LINENO"; then :
31070 glibcxx_cv_func_ldexpl_use=yes
31071 else
31072 glibcxx_cv_func_ldexpl_use=no
31074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31075 ac_ext=c
31076 ac_cpp='$CPP $CPPFLAGS'
31077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
31086 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
31088 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
31089 for ac_func in ldexpl
31090 do :
31091 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
31092 if test "x$ac_cv_func_ldexpl" = x""yes; then :
31093 cat >>confdefs.h <<_ACEOF
31094 #define HAVE_LDEXPL 1
31095 _ACEOF
31098 done
31100 else
31102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
31103 $as_echo_n "checking for _ldexpl declaration... " >&6; }
31104 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
31105 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
31106 $as_echo_n "(cached) " >&6
31107 else
31110 ac_ext=cpp
31111 ac_cpp='$CXXCPP $CPPFLAGS'
31112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31117 /* end confdefs.h. */
31118 #include <math.h>
31120 main ()
31122 _ldexpl(0, 0);
31124 return 0;
31126 _ACEOF
31127 if ac_fn_cxx_try_compile "$LINENO"; then :
31128 glibcxx_cv_func__ldexpl_use=yes
31129 else
31130 glibcxx_cv_func__ldexpl_use=no
31132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31133 ac_ext=c
31134 ac_cpp='$CPP $CPPFLAGS'
31135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
31144 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
31146 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
31147 for ac_func in _ldexpl
31148 do :
31149 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
31150 if test "x$ac_cv_func__ldexpl" = x""yes; then :
31151 cat >>confdefs.h <<_ACEOF
31152 #define HAVE__LDEXPL 1
31153 _ACEOF
31156 done
31165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
31166 $as_echo_n "checking for logl declaration... " >&6; }
31167 if test x${glibcxx_cv_func_logl_use+set} != xset; then
31168 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
31169 $as_echo_n "(cached) " >&6
31170 else
31173 ac_ext=cpp
31174 ac_cpp='$CXXCPP $CPPFLAGS'
31175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31180 /* end confdefs.h. */
31181 #include <math.h>
31182 #ifdef HAVE_IEEEFP_H
31183 #include <ieeefp.h>
31184 #endif
31187 main ()
31189 logl(0);
31191 return 0;
31193 _ACEOF
31194 if ac_fn_cxx_try_compile "$LINENO"; then :
31195 glibcxx_cv_func_logl_use=yes
31196 else
31197 glibcxx_cv_func_logl_use=no
31199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31200 ac_ext=c
31201 ac_cpp='$CPP $CPPFLAGS'
31202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
31211 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
31213 if test x$glibcxx_cv_func_logl_use = x"yes"; then
31214 for ac_func in logl
31215 do :
31216 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
31217 if test "x$ac_cv_func_logl" = x""yes; then :
31218 cat >>confdefs.h <<_ACEOF
31219 #define HAVE_LOGL 1
31220 _ACEOF
31223 done
31225 else
31227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
31228 $as_echo_n "checking for _logl declaration... " >&6; }
31229 if test x${glibcxx_cv_func__logl_use+set} != xset; then
31230 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
31231 $as_echo_n "(cached) " >&6
31232 else
31235 ac_ext=cpp
31236 ac_cpp='$CXXCPP $CPPFLAGS'
31237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31242 /* end confdefs.h. */
31243 #include <math.h>
31244 #ifdef HAVE_IEEEFP_H
31245 #include <ieeefp.h>
31246 #endif
31249 main ()
31251 _logl(0);
31253 return 0;
31255 _ACEOF
31256 if ac_fn_cxx_try_compile "$LINENO"; then :
31257 glibcxx_cv_func__logl_use=yes
31258 else
31259 glibcxx_cv_func__logl_use=no
31261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31262 ac_ext=c
31263 ac_cpp='$CPP $CPPFLAGS'
31264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
31273 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
31275 if test x$glibcxx_cv_func__logl_use = x"yes"; then
31276 for ac_func in _logl
31277 do :
31278 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
31279 if test "x$ac_cv_func__logl" = x""yes; then :
31280 cat >>confdefs.h <<_ACEOF
31281 #define HAVE__LOGL 1
31282 _ACEOF
31285 done
31294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
31295 $as_echo_n "checking for log10l declaration... " >&6; }
31296 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
31297 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
31298 $as_echo_n "(cached) " >&6
31299 else
31302 ac_ext=cpp
31303 ac_cpp='$CXXCPP $CPPFLAGS'
31304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31309 /* end confdefs.h. */
31310 #include <math.h>
31311 #ifdef HAVE_IEEEFP_H
31312 #include <ieeefp.h>
31313 #endif
31316 main ()
31318 log10l(0);
31320 return 0;
31322 _ACEOF
31323 if ac_fn_cxx_try_compile "$LINENO"; then :
31324 glibcxx_cv_func_log10l_use=yes
31325 else
31326 glibcxx_cv_func_log10l_use=no
31328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31329 ac_ext=c
31330 ac_cpp='$CPP $CPPFLAGS'
31331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
31340 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
31342 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
31343 for ac_func in log10l
31344 do :
31345 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
31346 if test "x$ac_cv_func_log10l" = x""yes; then :
31347 cat >>confdefs.h <<_ACEOF
31348 #define HAVE_LOG10L 1
31349 _ACEOF
31352 done
31354 else
31356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
31357 $as_echo_n "checking for _log10l declaration... " >&6; }
31358 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
31359 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
31360 $as_echo_n "(cached) " >&6
31361 else
31364 ac_ext=cpp
31365 ac_cpp='$CXXCPP $CPPFLAGS'
31366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31371 /* end confdefs.h. */
31372 #include <math.h>
31373 #ifdef HAVE_IEEEFP_H
31374 #include <ieeefp.h>
31375 #endif
31378 main ()
31380 _log10l(0);
31382 return 0;
31384 _ACEOF
31385 if ac_fn_cxx_try_compile "$LINENO"; then :
31386 glibcxx_cv_func__log10l_use=yes
31387 else
31388 glibcxx_cv_func__log10l_use=no
31390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31391 ac_ext=c
31392 ac_cpp='$CPP $CPPFLAGS'
31393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
31402 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
31404 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
31405 for ac_func in _log10l
31406 do :
31407 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
31408 if test "x$ac_cv_func__log10l" = x""yes; then :
31409 cat >>confdefs.h <<_ACEOF
31410 #define HAVE__LOG10L 1
31411 _ACEOF
31414 done
31423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
31424 $as_echo_n "checking for modfl declaration... " >&6; }
31425 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
31426 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
31427 $as_echo_n "(cached) " >&6
31428 else
31431 ac_ext=cpp
31432 ac_cpp='$CXXCPP $CPPFLAGS'
31433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31438 /* end confdefs.h. */
31439 #include <math.h>
31441 main ()
31443 modfl(0, 0);
31445 return 0;
31447 _ACEOF
31448 if ac_fn_cxx_try_compile "$LINENO"; then :
31449 glibcxx_cv_func_modfl_use=yes
31450 else
31451 glibcxx_cv_func_modfl_use=no
31453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31454 ac_ext=c
31455 ac_cpp='$CPP $CPPFLAGS'
31456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
31465 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
31467 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
31468 for ac_func in modfl
31469 do :
31470 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
31471 if test "x$ac_cv_func_modfl" = x""yes; then :
31472 cat >>confdefs.h <<_ACEOF
31473 #define HAVE_MODFL 1
31474 _ACEOF
31477 done
31479 else
31481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
31482 $as_echo_n "checking for _modfl declaration... " >&6; }
31483 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
31484 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
31485 $as_echo_n "(cached) " >&6
31486 else
31489 ac_ext=cpp
31490 ac_cpp='$CXXCPP $CPPFLAGS'
31491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31496 /* end confdefs.h. */
31497 #include <math.h>
31499 main ()
31501 _modfl(0, 0);
31503 return 0;
31505 _ACEOF
31506 if ac_fn_cxx_try_compile "$LINENO"; then :
31507 glibcxx_cv_func__modfl_use=yes
31508 else
31509 glibcxx_cv_func__modfl_use=no
31511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31512 ac_ext=c
31513 ac_cpp='$CPP $CPPFLAGS'
31514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
31523 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
31525 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
31526 for ac_func in _modfl
31527 do :
31528 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
31529 if test "x$ac_cv_func__modfl" = x""yes; then :
31530 cat >>confdefs.h <<_ACEOF
31531 #define HAVE__MODFL 1
31532 _ACEOF
31535 done
31544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
31545 $as_echo_n "checking for powl declaration... " >&6; }
31546 if test x${glibcxx_cv_func_powl_use+set} != xset; then
31547 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
31548 $as_echo_n "(cached) " >&6
31549 else
31552 ac_ext=cpp
31553 ac_cpp='$CXXCPP $CPPFLAGS'
31554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31559 /* end confdefs.h. */
31560 #include <math.h>
31562 main ()
31564 powl(0, 0);
31566 return 0;
31568 _ACEOF
31569 if ac_fn_cxx_try_compile "$LINENO"; then :
31570 glibcxx_cv_func_powl_use=yes
31571 else
31572 glibcxx_cv_func_powl_use=no
31574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31575 ac_ext=c
31576 ac_cpp='$CPP $CPPFLAGS'
31577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
31586 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
31588 if test x$glibcxx_cv_func_powl_use = x"yes"; then
31589 for ac_func in powl
31590 do :
31591 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
31592 if test "x$ac_cv_func_powl" = x""yes; then :
31593 cat >>confdefs.h <<_ACEOF
31594 #define HAVE_POWL 1
31595 _ACEOF
31598 done
31600 else
31602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
31603 $as_echo_n "checking for _powl declaration... " >&6; }
31604 if test x${glibcxx_cv_func__powl_use+set} != xset; then
31605 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
31606 $as_echo_n "(cached) " >&6
31607 else
31610 ac_ext=cpp
31611 ac_cpp='$CXXCPP $CPPFLAGS'
31612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31617 /* end confdefs.h. */
31618 #include <math.h>
31620 main ()
31622 _powl(0, 0);
31624 return 0;
31626 _ACEOF
31627 if ac_fn_cxx_try_compile "$LINENO"; then :
31628 glibcxx_cv_func__powl_use=yes
31629 else
31630 glibcxx_cv_func__powl_use=no
31632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31633 ac_ext=c
31634 ac_cpp='$CPP $CPPFLAGS'
31635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
31644 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
31646 if test x$glibcxx_cv_func__powl_use = x"yes"; then
31647 for ac_func in _powl
31648 do :
31649 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
31650 if test "x$ac_cv_func__powl" = x""yes; then :
31651 cat >>confdefs.h <<_ACEOF
31652 #define HAVE__POWL 1
31653 _ACEOF
31656 done
31665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
31666 $as_echo_n "checking for sqrtl declaration... " >&6; }
31667 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
31668 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
31669 $as_echo_n "(cached) " >&6
31670 else
31673 ac_ext=cpp
31674 ac_cpp='$CXXCPP $CPPFLAGS'
31675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31680 /* end confdefs.h. */
31681 #include <math.h>
31682 #ifdef HAVE_IEEEFP_H
31683 #include <ieeefp.h>
31684 #endif
31687 main ()
31689 sqrtl(0);
31691 return 0;
31693 _ACEOF
31694 if ac_fn_cxx_try_compile "$LINENO"; then :
31695 glibcxx_cv_func_sqrtl_use=yes
31696 else
31697 glibcxx_cv_func_sqrtl_use=no
31699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31700 ac_ext=c
31701 ac_cpp='$CPP $CPPFLAGS'
31702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
31711 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
31713 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
31714 for ac_func in sqrtl
31715 do :
31716 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
31717 if test "x$ac_cv_func_sqrtl" = x""yes; then :
31718 cat >>confdefs.h <<_ACEOF
31719 #define HAVE_SQRTL 1
31720 _ACEOF
31723 done
31725 else
31727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
31728 $as_echo_n "checking for _sqrtl declaration... " >&6; }
31729 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
31730 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
31731 $as_echo_n "(cached) " >&6
31732 else
31735 ac_ext=cpp
31736 ac_cpp='$CXXCPP $CPPFLAGS'
31737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31742 /* end confdefs.h. */
31743 #include <math.h>
31744 #ifdef HAVE_IEEEFP_H
31745 #include <ieeefp.h>
31746 #endif
31749 main ()
31751 _sqrtl(0);
31753 return 0;
31755 _ACEOF
31756 if ac_fn_cxx_try_compile "$LINENO"; then :
31757 glibcxx_cv_func__sqrtl_use=yes
31758 else
31759 glibcxx_cv_func__sqrtl_use=no
31761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31762 ac_ext=c
31763 ac_cpp='$CPP $CPPFLAGS'
31764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
31773 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
31775 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
31776 for ac_func in _sqrtl
31777 do :
31778 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
31779 if test "x$ac_cv_func__sqrtl" = x""yes; then :
31780 cat >>confdefs.h <<_ACEOF
31781 #define HAVE__SQRTL 1
31782 _ACEOF
31785 done
31794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
31795 $as_echo_n "checking for sincosl declaration... " >&6; }
31796 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
31797 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
31798 $as_echo_n "(cached) " >&6
31799 else
31802 ac_ext=cpp
31803 ac_cpp='$CXXCPP $CPPFLAGS'
31804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31809 /* end confdefs.h. */
31810 #include <math.h>
31812 main ()
31814 sincosl(0, 0, 0);
31816 return 0;
31818 _ACEOF
31819 if ac_fn_cxx_try_compile "$LINENO"; then :
31820 glibcxx_cv_func_sincosl_use=yes
31821 else
31822 glibcxx_cv_func_sincosl_use=no
31824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31825 ac_ext=c
31826 ac_cpp='$CPP $CPPFLAGS'
31827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
31836 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
31838 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
31839 for ac_func in sincosl
31840 do :
31841 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
31842 if test "x$ac_cv_func_sincosl" = x""yes; then :
31843 cat >>confdefs.h <<_ACEOF
31844 #define HAVE_SINCOSL 1
31845 _ACEOF
31848 done
31850 else
31852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
31853 $as_echo_n "checking for _sincosl declaration... " >&6; }
31854 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
31855 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
31856 $as_echo_n "(cached) " >&6
31857 else
31860 ac_ext=cpp
31861 ac_cpp='$CXXCPP $CPPFLAGS'
31862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31867 /* end confdefs.h. */
31868 #include <math.h>
31870 main ()
31872 _sincosl(0, 0, 0);
31874 return 0;
31876 _ACEOF
31877 if ac_fn_cxx_try_compile "$LINENO"; then :
31878 glibcxx_cv_func__sincosl_use=yes
31879 else
31880 glibcxx_cv_func__sincosl_use=no
31882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31883 ac_ext=c
31884 ac_cpp='$CPP $CPPFLAGS'
31885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
31894 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
31896 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
31897 for ac_func in _sincosl
31898 do :
31899 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
31900 if test "x$ac_cv_func__sincosl" = x""yes; then :
31901 cat >>confdefs.h <<_ACEOF
31902 #define HAVE__SINCOSL 1
31903 _ACEOF
31906 done
31915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
31916 $as_echo_n "checking for finitel declaration... " >&6; }
31917 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
31918 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
31919 $as_echo_n "(cached) " >&6
31920 else
31923 ac_ext=cpp
31924 ac_cpp='$CXXCPP $CPPFLAGS'
31925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31930 /* end confdefs.h. */
31931 #include <math.h>
31932 #ifdef HAVE_IEEEFP_H
31933 #include <ieeefp.h>
31934 #endif
31937 main ()
31939 finitel(0);
31941 return 0;
31943 _ACEOF
31944 if ac_fn_cxx_try_compile "$LINENO"; then :
31945 glibcxx_cv_func_finitel_use=yes
31946 else
31947 glibcxx_cv_func_finitel_use=no
31949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31950 ac_ext=c
31951 ac_cpp='$CPP $CPPFLAGS'
31952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
31961 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
31963 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
31964 for ac_func in finitel
31965 do :
31966 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
31967 if test "x$ac_cv_func_finitel" = x""yes; then :
31968 cat >>confdefs.h <<_ACEOF
31969 #define HAVE_FINITEL 1
31970 _ACEOF
31973 done
31975 else
31977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
31978 $as_echo_n "checking for _finitel declaration... " >&6; }
31979 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
31980 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
31981 $as_echo_n "(cached) " >&6
31982 else
31985 ac_ext=cpp
31986 ac_cpp='$CXXCPP $CPPFLAGS'
31987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31992 /* end confdefs.h. */
31993 #include <math.h>
31994 #ifdef HAVE_IEEEFP_H
31995 #include <ieeefp.h>
31996 #endif
31999 main ()
32001 _finitel(0);
32003 return 0;
32005 _ACEOF
32006 if ac_fn_cxx_try_compile "$LINENO"; then :
32007 glibcxx_cv_func__finitel_use=yes
32008 else
32009 glibcxx_cv_func__finitel_use=no
32011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32012 ac_ext=c
32013 ac_cpp='$CPP $CPPFLAGS'
32014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
32023 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
32025 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
32026 for ac_func in _finitel
32027 do :
32028 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
32029 if test "x$ac_cv_func__finitel" = x""yes; then :
32030 cat >>confdefs.h <<_ACEOF
32031 #define HAVE__FINITEL 1
32032 _ACEOF
32035 done
32043 LIBS="$ac_save_LIBS"
32044 CXXFLAGS="$ac_save_CXXFLAGS"
32047 ac_test_CXXFLAGS="${CXXFLAGS+set}"
32048 ac_save_CXXFLAGS="$CXXFLAGS"
32049 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
32053 $as_echo_n "checking for strtold declaration... " >&6; }
32054 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
32055 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
32056 $as_echo_n "(cached) " >&6
32057 else
32060 ac_ext=cpp
32061 ac_cpp='$CXXCPP $CPPFLAGS'
32062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32067 /* end confdefs.h. */
32068 #include <stdlib.h>
32070 main ()
32072 strtold(0, 0);
32074 return 0;
32076 _ACEOF
32077 if ac_fn_cxx_try_compile "$LINENO"; then :
32078 glibcxx_cv_func_strtold_use=yes
32079 else
32080 glibcxx_cv_func_strtold_use=no
32082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32083 ac_ext=c
32084 ac_cpp='$CPP $CPPFLAGS'
32085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
32094 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
32095 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
32096 for ac_func in strtold
32097 do :
32098 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
32099 if test "x$ac_cv_func_strtold" = x""yes; then :
32100 cat >>confdefs.h <<_ACEOF
32101 #define HAVE_STRTOLD 1
32102 _ACEOF
32105 done
32112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
32113 $as_echo_n "checking for strtof declaration... " >&6; }
32114 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
32115 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
32116 $as_echo_n "(cached) " >&6
32117 else
32120 ac_ext=cpp
32121 ac_cpp='$CXXCPP $CPPFLAGS'
32122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32127 /* end confdefs.h. */
32128 #include <stdlib.h>
32130 main ()
32132 strtof(0, 0);
32134 return 0;
32136 _ACEOF
32137 if ac_fn_cxx_try_compile "$LINENO"; then :
32138 glibcxx_cv_func_strtof_use=yes
32139 else
32140 glibcxx_cv_func_strtof_use=no
32142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32143 ac_ext=c
32144 ac_cpp='$CPP $CPPFLAGS'
32145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
32154 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
32155 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
32156 for ac_func in strtof
32157 do :
32158 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
32159 if test "x$ac_cv_func_strtof" = x""yes; then :
32160 cat >>confdefs.h <<_ACEOF
32161 #define HAVE_STRTOF 1
32162 _ACEOF
32165 done
32172 CXXFLAGS="$ac_save_CXXFLAGS"
32175 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
32177 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
32179 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
32181 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
32184 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
32186 $as_echo "#define HAVE_MODF 1" >>confdefs.h
32188 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
32192 *-aix*)
32194 # If we're not using GNU ld, then there's no point in even trying these
32195 # tests. Check for that first. We should have already tested for gld
32196 # by now (in libtool), but require it now just to be safe...
32197 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
32198 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
32202 # The name set by libtool depends on the version of libtool. Shame on us
32203 # for depending on an impl detail, but c'est la vie. Older versions used
32204 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
32205 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
32206 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
32207 # set (hence we're using an older libtool), then set it.
32208 if test x${with_gnu_ld+set} != xset; then
32209 if test x${ac_cv_prog_gnu_ld+set} != xset; then
32210 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
32211 with_gnu_ld=no
32212 else
32213 with_gnu_ld=$ac_cv_prog_gnu_ld
32217 # Start by getting the version number. I think the libtool test already
32218 # does some of this, but throws away the result.
32219 glibcxx_ld_is_gold=no
32220 if test x"$with_gnu_ld" = x"yes"; then
32221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
32222 $as_echo_n "checking for ld version... " >&6; }
32224 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
32225 glibcxx_ld_is_gold=yes
32227 ldver=`$LD --version 2>/dev/null | head -1 | \
32228 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
32230 glibcxx_gnu_ld_version=`echo $ldver | \
32231 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
32232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
32233 $as_echo "$glibcxx_gnu_ld_version" >&6; }
32236 # Set --gc-sections.
32237 glibcxx_have_gc_sections=no
32238 if test "$glibcxx_ld_is_gold" = "yes"; then
32239 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
32240 glibcxx_have_gc_sections=yes
32242 else
32243 glibcxx_gcsections_min_ld=21602
32244 if test x"$with_gnu_ld" = x"yes" &&
32245 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
32246 glibcxx_have_gc_sections=yes
32249 if test "$glibcxx_have_gc_sections" = "yes"; then
32250 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
32251 # NB: This flag only works reliably after 2.16.1. Configure tests
32252 # for this are difficult, so hard wire a value that should work.
32254 ac_test_CFLAGS="${CFLAGS+set}"
32255 ac_save_CFLAGS="$CFLAGS"
32256 CFLAGS='-Wl,--gc-sections'
32258 # Check for -Wl,--gc-sections
32259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
32260 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
32261 if test x$gcc_no_link = xyes; then
32262 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
32264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32265 /* end confdefs.h. */
32266 int one(void) { return 1; }
32267 int two(void) { return 2; }
32270 main ()
32272 two();
32274 return 0;
32276 _ACEOF
32277 if ac_fn_c_try_link "$LINENO"; then :
32278 ac_gcsections=yes
32279 else
32280 ac_gcsections=no
32282 rm -f core conftest.err conftest.$ac_objext \
32283 conftest$ac_exeext conftest.$ac_ext
32284 if test "$ac_gcsections" = "yes"; then
32285 rm -f conftest.c
32286 touch conftest.c
32287 if $CC -c conftest.c; then
32288 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
32289 grep "Warning: gc-sections option ignored" > /dev/null; then
32290 ac_gcsections=no
32293 rm -f conftest.c conftest.o conftest
32295 if test "$ac_gcsections" = "yes"; then
32296 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
32298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
32299 $as_echo "$ac_gcsections" >&6; }
32301 if test "$ac_test_CFLAGS" = set; then
32302 CFLAGS="$ac_save_CFLAGS"
32303 else
32304 # this is the suspicious part
32305 CFLAGS=''
32309 # Set -z,relro.
32310 # Note this is only for shared objects.
32311 ac_ld_relro=no
32312 if test x"$with_gnu_ld" = x"yes"; then
32313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
32314 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
32315 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
32316 if test -n "$cxx_z_relo"; then
32317 OPT_LDFLAGS="-Wl,-z,relro"
32318 ac_ld_relro=yes
32320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
32321 $as_echo "$ac_ld_relro" >&6; }
32324 # Set linker optimization flags.
32325 if test x"$with_gnu_ld" = x"yes"; then
32326 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
32333 ac_test_CXXFLAGS="${CXXFLAGS+set}"
32334 ac_save_CXXFLAGS="$CXXFLAGS"
32335 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
32338 $as_echo_n "checking for sin in -lm... " >&6; }
32339 if test "${ac_cv_lib_m_sin+set}" = set; then :
32340 $as_echo_n "(cached) " >&6
32341 else
32342 ac_check_lib_save_LIBS=$LIBS
32343 LIBS="-lm $LIBS"
32344 if test x$gcc_no_link = xyes; then
32345 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
32347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32348 /* end confdefs.h. */
32350 /* Override any GCC internal prototype to avoid an error.
32351 Use char because int might match the return type of a GCC
32352 builtin and then its argument prototype would still apply. */
32353 #ifdef __cplusplus
32354 extern "C"
32355 #endif
32356 char sin ();
32358 main ()
32360 return sin ();
32362 return 0;
32364 _ACEOF
32365 if ac_fn_c_try_link "$LINENO"; then :
32366 ac_cv_lib_m_sin=yes
32367 else
32368 ac_cv_lib_m_sin=no
32370 rm -f core conftest.err conftest.$ac_objext \
32371 conftest$ac_exeext conftest.$ac_ext
32372 LIBS=$ac_check_lib_save_LIBS
32374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
32375 $as_echo "$ac_cv_lib_m_sin" >&6; }
32376 if test "x$ac_cv_lib_m_sin" = x""yes; then :
32377 libm="-lm"
32380 ac_save_LIBS="$LIBS"
32381 LIBS="$LIBS $libm"
32385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
32386 $as_echo_n "checking for isinf declaration... " >&6; }
32387 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
32388 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
32389 $as_echo_n "(cached) " >&6
32390 else
32393 ac_ext=cpp
32394 ac_cpp='$CXXCPP $CPPFLAGS'
32395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32400 /* end confdefs.h. */
32401 #include <math.h>
32402 #ifdef HAVE_IEEEFP_H
32403 #include <ieeefp.h>
32404 #endif
32407 main ()
32409 isinf(0);
32411 return 0;
32413 _ACEOF
32414 if ac_fn_cxx_try_compile "$LINENO"; then :
32415 glibcxx_cv_func_isinf_use=yes
32416 else
32417 glibcxx_cv_func_isinf_use=no
32419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32420 ac_ext=c
32421 ac_cpp='$CPP $CPPFLAGS'
32422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
32431 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
32433 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
32434 for ac_func in isinf
32435 do :
32436 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
32437 if test "x$ac_cv_func_isinf" = x""yes; then :
32438 cat >>confdefs.h <<_ACEOF
32439 #define HAVE_ISINF 1
32440 _ACEOF
32443 done
32445 else
32447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
32448 $as_echo_n "checking for _isinf declaration... " >&6; }
32449 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
32450 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
32451 $as_echo_n "(cached) " >&6
32452 else
32455 ac_ext=cpp
32456 ac_cpp='$CXXCPP $CPPFLAGS'
32457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32462 /* end confdefs.h. */
32463 #include <math.h>
32464 #ifdef HAVE_IEEEFP_H
32465 #include <ieeefp.h>
32466 #endif
32469 main ()
32471 _isinf(0);
32473 return 0;
32475 _ACEOF
32476 if ac_fn_cxx_try_compile "$LINENO"; then :
32477 glibcxx_cv_func__isinf_use=yes
32478 else
32479 glibcxx_cv_func__isinf_use=no
32481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32482 ac_ext=c
32483 ac_cpp='$CPP $CPPFLAGS'
32484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
32493 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
32495 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
32496 for ac_func in _isinf
32497 do :
32498 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
32499 if test "x$ac_cv_func__isinf" = x""yes; then :
32500 cat >>confdefs.h <<_ACEOF
32501 #define HAVE__ISINF 1
32502 _ACEOF
32505 done
32514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
32515 $as_echo_n "checking for isnan declaration... " >&6; }
32516 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
32517 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
32518 $as_echo_n "(cached) " >&6
32519 else
32522 ac_ext=cpp
32523 ac_cpp='$CXXCPP $CPPFLAGS'
32524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32529 /* end confdefs.h. */
32530 #include <math.h>
32531 #ifdef HAVE_IEEEFP_H
32532 #include <ieeefp.h>
32533 #endif
32536 main ()
32538 isnan(0);
32540 return 0;
32542 _ACEOF
32543 if ac_fn_cxx_try_compile "$LINENO"; then :
32544 glibcxx_cv_func_isnan_use=yes
32545 else
32546 glibcxx_cv_func_isnan_use=no
32548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32549 ac_ext=c
32550 ac_cpp='$CPP $CPPFLAGS'
32551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
32560 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
32562 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
32563 for ac_func in isnan
32564 do :
32565 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
32566 if test "x$ac_cv_func_isnan" = x""yes; then :
32567 cat >>confdefs.h <<_ACEOF
32568 #define HAVE_ISNAN 1
32569 _ACEOF
32572 done
32574 else
32576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
32577 $as_echo_n "checking for _isnan declaration... " >&6; }
32578 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
32579 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
32580 $as_echo_n "(cached) " >&6
32581 else
32584 ac_ext=cpp
32585 ac_cpp='$CXXCPP $CPPFLAGS'
32586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32591 /* end confdefs.h. */
32592 #include <math.h>
32593 #ifdef HAVE_IEEEFP_H
32594 #include <ieeefp.h>
32595 #endif
32598 main ()
32600 _isnan(0);
32602 return 0;
32604 _ACEOF
32605 if ac_fn_cxx_try_compile "$LINENO"; then :
32606 glibcxx_cv_func__isnan_use=yes
32607 else
32608 glibcxx_cv_func__isnan_use=no
32610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32611 ac_ext=c
32612 ac_cpp='$CPP $CPPFLAGS'
32613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
32622 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
32624 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
32625 for ac_func in _isnan
32626 do :
32627 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
32628 if test "x$ac_cv_func__isnan" = x""yes; then :
32629 cat >>confdefs.h <<_ACEOF
32630 #define HAVE__ISNAN 1
32631 _ACEOF
32634 done
32643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
32644 $as_echo_n "checking for finite declaration... " >&6; }
32645 if test x${glibcxx_cv_func_finite_use+set} != xset; then
32646 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
32647 $as_echo_n "(cached) " >&6
32648 else
32651 ac_ext=cpp
32652 ac_cpp='$CXXCPP $CPPFLAGS'
32653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32658 /* end confdefs.h. */
32659 #include <math.h>
32660 #ifdef HAVE_IEEEFP_H
32661 #include <ieeefp.h>
32662 #endif
32665 main ()
32667 finite(0);
32669 return 0;
32671 _ACEOF
32672 if ac_fn_cxx_try_compile "$LINENO"; then :
32673 glibcxx_cv_func_finite_use=yes
32674 else
32675 glibcxx_cv_func_finite_use=no
32677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32678 ac_ext=c
32679 ac_cpp='$CPP $CPPFLAGS'
32680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
32689 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
32691 if test x$glibcxx_cv_func_finite_use = x"yes"; then
32692 for ac_func in finite
32693 do :
32694 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
32695 if test "x$ac_cv_func_finite" = x""yes; then :
32696 cat >>confdefs.h <<_ACEOF
32697 #define HAVE_FINITE 1
32698 _ACEOF
32701 done
32703 else
32705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
32706 $as_echo_n "checking for _finite declaration... " >&6; }
32707 if test x${glibcxx_cv_func__finite_use+set} != xset; then
32708 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
32709 $as_echo_n "(cached) " >&6
32710 else
32713 ac_ext=cpp
32714 ac_cpp='$CXXCPP $CPPFLAGS'
32715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32720 /* end confdefs.h. */
32721 #include <math.h>
32722 #ifdef HAVE_IEEEFP_H
32723 #include <ieeefp.h>
32724 #endif
32727 main ()
32729 _finite(0);
32731 return 0;
32733 _ACEOF
32734 if ac_fn_cxx_try_compile "$LINENO"; then :
32735 glibcxx_cv_func__finite_use=yes
32736 else
32737 glibcxx_cv_func__finite_use=no
32739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32740 ac_ext=c
32741 ac_cpp='$CPP $CPPFLAGS'
32742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
32751 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
32753 if test x$glibcxx_cv_func__finite_use = x"yes"; then
32754 for ac_func in _finite
32755 do :
32756 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
32757 if test "x$ac_cv_func__finite" = x""yes; then :
32758 cat >>confdefs.h <<_ACEOF
32759 #define HAVE__FINITE 1
32760 _ACEOF
32763 done
32772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
32773 $as_echo_n "checking for sincos declaration... " >&6; }
32774 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
32775 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
32776 $as_echo_n "(cached) " >&6
32777 else
32780 ac_ext=cpp
32781 ac_cpp='$CXXCPP $CPPFLAGS'
32782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32787 /* end confdefs.h. */
32788 #include <math.h>
32790 main ()
32792 sincos(0, 0, 0);
32794 return 0;
32796 _ACEOF
32797 if ac_fn_cxx_try_compile "$LINENO"; then :
32798 glibcxx_cv_func_sincos_use=yes
32799 else
32800 glibcxx_cv_func_sincos_use=no
32802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32803 ac_ext=c
32804 ac_cpp='$CPP $CPPFLAGS'
32805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
32814 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
32816 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
32817 for ac_func in sincos
32818 do :
32819 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
32820 if test "x$ac_cv_func_sincos" = x""yes; then :
32821 cat >>confdefs.h <<_ACEOF
32822 #define HAVE_SINCOS 1
32823 _ACEOF
32826 done
32828 else
32830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
32831 $as_echo_n "checking for _sincos declaration... " >&6; }
32832 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
32833 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
32834 $as_echo_n "(cached) " >&6
32835 else
32838 ac_ext=cpp
32839 ac_cpp='$CXXCPP $CPPFLAGS'
32840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32845 /* end confdefs.h. */
32846 #include <math.h>
32848 main ()
32850 _sincos(0, 0, 0);
32852 return 0;
32854 _ACEOF
32855 if ac_fn_cxx_try_compile "$LINENO"; then :
32856 glibcxx_cv_func__sincos_use=yes
32857 else
32858 glibcxx_cv_func__sincos_use=no
32860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32861 ac_ext=c
32862 ac_cpp='$CPP $CPPFLAGS'
32863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
32872 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
32874 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
32875 for ac_func in _sincos
32876 do :
32877 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
32878 if test "x$ac_cv_func__sincos" = x""yes; then :
32879 cat >>confdefs.h <<_ACEOF
32880 #define HAVE__SINCOS 1
32881 _ACEOF
32884 done
32893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
32894 $as_echo_n "checking for fpclass declaration... " >&6; }
32895 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
32896 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
32897 $as_echo_n "(cached) " >&6
32898 else
32901 ac_ext=cpp
32902 ac_cpp='$CXXCPP $CPPFLAGS'
32903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32908 /* end confdefs.h. */
32909 #include <math.h>
32910 #ifdef HAVE_IEEEFP_H
32911 #include <ieeefp.h>
32912 #endif
32915 main ()
32917 fpclass(0);
32919 return 0;
32921 _ACEOF
32922 if ac_fn_cxx_try_compile "$LINENO"; then :
32923 glibcxx_cv_func_fpclass_use=yes
32924 else
32925 glibcxx_cv_func_fpclass_use=no
32927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32928 ac_ext=c
32929 ac_cpp='$CPP $CPPFLAGS'
32930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
32939 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
32941 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
32942 for ac_func in fpclass
32943 do :
32944 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
32945 if test "x$ac_cv_func_fpclass" = x""yes; then :
32946 cat >>confdefs.h <<_ACEOF
32947 #define HAVE_FPCLASS 1
32948 _ACEOF
32951 done
32953 else
32955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
32956 $as_echo_n "checking for _fpclass declaration... " >&6; }
32957 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
32958 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
32959 $as_echo_n "(cached) " >&6
32960 else
32963 ac_ext=cpp
32964 ac_cpp='$CXXCPP $CPPFLAGS'
32965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32970 /* end confdefs.h. */
32971 #include <math.h>
32972 #ifdef HAVE_IEEEFP_H
32973 #include <ieeefp.h>
32974 #endif
32977 main ()
32979 _fpclass(0);
32981 return 0;
32983 _ACEOF
32984 if ac_fn_cxx_try_compile "$LINENO"; then :
32985 glibcxx_cv_func__fpclass_use=yes
32986 else
32987 glibcxx_cv_func__fpclass_use=no
32989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32990 ac_ext=c
32991 ac_cpp='$CPP $CPPFLAGS'
32992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
33001 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
33003 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33004 for ac_func in _fpclass
33005 do :
33006 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
33007 if test "x$ac_cv_func__fpclass" = x""yes; then :
33008 cat >>confdefs.h <<_ACEOF
33009 #define HAVE__FPCLASS 1
33010 _ACEOF
33013 done
33022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
33023 $as_echo_n "checking for qfpclass declaration... " >&6; }
33024 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
33025 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
33026 $as_echo_n "(cached) " >&6
33027 else
33030 ac_ext=cpp
33031 ac_cpp='$CXXCPP $CPPFLAGS'
33032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33037 /* end confdefs.h. */
33038 #include <math.h>
33039 #ifdef HAVE_IEEEFP_H
33040 #include <ieeefp.h>
33041 #endif
33044 main ()
33046 qfpclass(0);
33048 return 0;
33050 _ACEOF
33051 if ac_fn_cxx_try_compile "$LINENO"; then :
33052 glibcxx_cv_func_qfpclass_use=yes
33053 else
33054 glibcxx_cv_func_qfpclass_use=no
33056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33057 ac_ext=c
33058 ac_cpp='$CPP $CPPFLAGS'
33059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
33068 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
33070 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
33071 for ac_func in qfpclass
33072 do :
33073 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
33074 if test "x$ac_cv_func_qfpclass" = x""yes; then :
33075 cat >>confdefs.h <<_ACEOF
33076 #define HAVE_QFPCLASS 1
33077 _ACEOF
33080 done
33082 else
33084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
33085 $as_echo_n "checking for _qfpclass declaration... " >&6; }
33086 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
33087 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
33088 $as_echo_n "(cached) " >&6
33089 else
33092 ac_ext=cpp
33093 ac_cpp='$CXXCPP $CPPFLAGS'
33094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33099 /* end confdefs.h. */
33100 #include <math.h>
33101 #ifdef HAVE_IEEEFP_H
33102 #include <ieeefp.h>
33103 #endif
33106 main ()
33108 _qfpclass(0);
33110 return 0;
33112 _ACEOF
33113 if ac_fn_cxx_try_compile "$LINENO"; then :
33114 glibcxx_cv_func__qfpclass_use=yes
33115 else
33116 glibcxx_cv_func__qfpclass_use=no
33118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33119 ac_ext=c
33120 ac_cpp='$CPP $CPPFLAGS'
33121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
33130 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
33132 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
33133 for ac_func in _qfpclass
33134 do :
33135 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
33136 if test "x$ac_cv_func__qfpclass" = x""yes; then :
33137 cat >>confdefs.h <<_ACEOF
33138 #define HAVE__QFPCLASS 1
33139 _ACEOF
33142 done
33151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
33152 $as_echo_n "checking for hypot declaration... " >&6; }
33153 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
33154 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
33155 $as_echo_n "(cached) " >&6
33156 else
33159 ac_ext=cpp
33160 ac_cpp='$CXXCPP $CPPFLAGS'
33161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33166 /* end confdefs.h. */
33167 #include <math.h>
33169 main ()
33171 hypot(0, 0);
33173 return 0;
33175 _ACEOF
33176 if ac_fn_cxx_try_compile "$LINENO"; then :
33177 glibcxx_cv_func_hypot_use=yes
33178 else
33179 glibcxx_cv_func_hypot_use=no
33181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33182 ac_ext=c
33183 ac_cpp='$CPP $CPPFLAGS'
33184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
33193 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
33195 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
33196 for ac_func in hypot
33197 do :
33198 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
33199 if test "x$ac_cv_func_hypot" = x""yes; then :
33200 cat >>confdefs.h <<_ACEOF
33201 #define HAVE_HYPOT 1
33202 _ACEOF
33205 done
33207 else
33209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
33210 $as_echo_n "checking for _hypot declaration... " >&6; }
33211 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
33212 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
33213 $as_echo_n "(cached) " >&6
33214 else
33217 ac_ext=cpp
33218 ac_cpp='$CXXCPP $CPPFLAGS'
33219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33224 /* end confdefs.h. */
33225 #include <math.h>
33227 main ()
33229 _hypot(0, 0);
33231 return 0;
33233 _ACEOF
33234 if ac_fn_cxx_try_compile "$LINENO"; then :
33235 glibcxx_cv_func__hypot_use=yes
33236 else
33237 glibcxx_cv_func__hypot_use=no
33239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33240 ac_ext=c
33241 ac_cpp='$CPP $CPPFLAGS'
33242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
33251 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
33253 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
33254 for ac_func in _hypot
33255 do :
33256 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
33257 if test "x$ac_cv_func__hypot" = x""yes; then :
33258 cat >>confdefs.h <<_ACEOF
33259 #define HAVE__HYPOT 1
33260 _ACEOF
33263 done
33272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
33273 $as_echo_n "checking for float trig functions... " >&6; }
33274 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
33275 $as_echo_n "(cached) " >&6
33276 else
33279 ac_ext=cpp
33280 ac_cpp='$CXXCPP $CPPFLAGS'
33281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33286 /* end confdefs.h. */
33287 #include <math.h>
33289 main ()
33291 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
33293 return 0;
33295 _ACEOF
33296 if ac_fn_cxx_try_compile "$LINENO"; then :
33297 glibcxx_cv_func_float_trig_use=yes
33298 else
33299 glibcxx_cv_func_float_trig_use=no
33301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33302 ac_ext=c
33303 ac_cpp='$CPP $CPPFLAGS'
33304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
33311 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
33312 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
33313 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
33314 do :
33315 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33316 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33317 eval as_val=\$$as_ac_var
33318 if test "x$as_val" = x""yes; then :
33319 cat >>confdefs.h <<_ACEOF
33320 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33321 _ACEOF
33324 done
33326 else
33327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
33328 $as_echo_n "checking for _float trig functions... " >&6; }
33329 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
33330 $as_echo_n "(cached) " >&6
33331 else
33334 ac_ext=cpp
33335 ac_cpp='$CXXCPP $CPPFLAGS'
33336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33341 /* end confdefs.h. */
33342 #include <math.h>
33344 main ()
33346 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
33348 return 0;
33350 _ACEOF
33351 if ac_fn_cxx_try_compile "$LINENO"; then :
33352 glibcxx_cv_func__float_trig_use=yes
33353 else
33354 glibcxx_cv_func__float_trig_use=no
33356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33357 ac_ext=c
33358 ac_cpp='$CPP $CPPFLAGS'
33359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
33366 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
33367 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
33368 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
33369 do :
33370 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33371 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33372 eval as_val=\$$as_ac_var
33373 if test "x$as_val" = x""yes; then :
33374 cat >>confdefs.h <<_ACEOF
33375 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33376 _ACEOF
33379 done
33388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
33389 $as_echo_n "checking for float round functions... " >&6; }
33390 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
33391 $as_echo_n "(cached) " >&6
33392 else
33395 ac_ext=cpp
33396 ac_cpp='$CXXCPP $CPPFLAGS'
33397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33402 /* end confdefs.h. */
33403 #include <math.h>
33405 main ()
33407 ceilf (0); floorf (0);
33409 return 0;
33411 _ACEOF
33412 if ac_fn_cxx_try_compile "$LINENO"; then :
33413 glibcxx_cv_func_float_round_use=yes
33414 else
33415 glibcxx_cv_func_float_round_use=no
33417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33418 ac_ext=c
33419 ac_cpp='$CPP $CPPFLAGS'
33420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
33427 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
33428 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
33429 for ac_func in ceilf floorf
33430 do :
33431 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33432 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33433 eval as_val=\$$as_ac_var
33434 if test "x$as_val" = x""yes; then :
33435 cat >>confdefs.h <<_ACEOF
33436 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33437 _ACEOF
33440 done
33442 else
33443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
33444 $as_echo_n "checking for _float round functions... " >&6; }
33445 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
33446 $as_echo_n "(cached) " >&6
33447 else
33450 ac_ext=cpp
33451 ac_cpp='$CXXCPP $CPPFLAGS'
33452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33457 /* end confdefs.h. */
33458 #include <math.h>
33460 main ()
33462 _ceilf (0); _floorf (0);
33464 return 0;
33466 _ACEOF
33467 if ac_fn_cxx_try_compile "$LINENO"; then :
33468 glibcxx_cv_func__float_round_use=yes
33469 else
33470 glibcxx_cv_func__float_round_use=no
33472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33473 ac_ext=c
33474 ac_cpp='$CPP $CPPFLAGS'
33475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
33482 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
33483 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
33484 for ac_func in _ceilf _floorf
33485 do :
33486 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33487 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33488 eval as_val=\$$as_ac_var
33489 if test "x$as_val" = x""yes; then :
33490 cat >>confdefs.h <<_ACEOF
33491 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33492 _ACEOF
33495 done
33505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
33506 $as_echo_n "checking for expf declaration... " >&6; }
33507 if test x${glibcxx_cv_func_expf_use+set} != xset; then
33508 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
33509 $as_echo_n "(cached) " >&6
33510 else
33513 ac_ext=cpp
33514 ac_cpp='$CXXCPP $CPPFLAGS'
33515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33520 /* end confdefs.h. */
33521 #include <math.h>
33522 #ifdef HAVE_IEEEFP_H
33523 #include <ieeefp.h>
33524 #endif
33527 main ()
33529 expf(0);
33531 return 0;
33533 _ACEOF
33534 if ac_fn_cxx_try_compile "$LINENO"; then :
33535 glibcxx_cv_func_expf_use=yes
33536 else
33537 glibcxx_cv_func_expf_use=no
33539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33540 ac_ext=c
33541 ac_cpp='$CPP $CPPFLAGS'
33542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
33551 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
33553 if test x$glibcxx_cv_func_expf_use = x"yes"; then
33554 for ac_func in expf
33555 do :
33556 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
33557 if test "x$ac_cv_func_expf" = x""yes; then :
33558 cat >>confdefs.h <<_ACEOF
33559 #define HAVE_EXPF 1
33560 _ACEOF
33563 done
33565 else
33567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
33568 $as_echo_n "checking for _expf declaration... " >&6; }
33569 if test x${glibcxx_cv_func__expf_use+set} != xset; then
33570 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
33571 $as_echo_n "(cached) " >&6
33572 else
33575 ac_ext=cpp
33576 ac_cpp='$CXXCPP $CPPFLAGS'
33577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33582 /* end confdefs.h. */
33583 #include <math.h>
33584 #ifdef HAVE_IEEEFP_H
33585 #include <ieeefp.h>
33586 #endif
33589 main ()
33591 _expf(0);
33593 return 0;
33595 _ACEOF
33596 if ac_fn_cxx_try_compile "$LINENO"; then :
33597 glibcxx_cv_func__expf_use=yes
33598 else
33599 glibcxx_cv_func__expf_use=no
33601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33602 ac_ext=c
33603 ac_cpp='$CPP $CPPFLAGS'
33604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
33613 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
33615 if test x$glibcxx_cv_func__expf_use = x"yes"; then
33616 for ac_func in _expf
33617 do :
33618 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
33619 if test "x$ac_cv_func__expf" = x""yes; then :
33620 cat >>confdefs.h <<_ACEOF
33621 #define HAVE__EXPF 1
33622 _ACEOF
33625 done
33634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
33635 $as_echo_n "checking for isnanf declaration... " >&6; }
33636 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
33637 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
33638 $as_echo_n "(cached) " >&6
33639 else
33642 ac_ext=cpp
33643 ac_cpp='$CXXCPP $CPPFLAGS'
33644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33649 /* end confdefs.h. */
33650 #include <math.h>
33651 #ifdef HAVE_IEEEFP_H
33652 #include <ieeefp.h>
33653 #endif
33656 main ()
33658 isnanf(0);
33660 return 0;
33662 _ACEOF
33663 if ac_fn_cxx_try_compile "$LINENO"; then :
33664 glibcxx_cv_func_isnanf_use=yes
33665 else
33666 glibcxx_cv_func_isnanf_use=no
33668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33669 ac_ext=c
33670 ac_cpp='$CPP $CPPFLAGS'
33671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
33680 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
33682 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
33683 for ac_func in isnanf
33684 do :
33685 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
33686 if test "x$ac_cv_func_isnanf" = x""yes; then :
33687 cat >>confdefs.h <<_ACEOF
33688 #define HAVE_ISNANF 1
33689 _ACEOF
33692 done
33694 else
33696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
33697 $as_echo_n "checking for _isnanf declaration... " >&6; }
33698 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
33699 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
33700 $as_echo_n "(cached) " >&6
33701 else
33704 ac_ext=cpp
33705 ac_cpp='$CXXCPP $CPPFLAGS'
33706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33711 /* end confdefs.h. */
33712 #include <math.h>
33713 #ifdef HAVE_IEEEFP_H
33714 #include <ieeefp.h>
33715 #endif
33718 main ()
33720 _isnanf(0);
33722 return 0;
33724 _ACEOF
33725 if ac_fn_cxx_try_compile "$LINENO"; then :
33726 glibcxx_cv_func__isnanf_use=yes
33727 else
33728 glibcxx_cv_func__isnanf_use=no
33730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33731 ac_ext=c
33732 ac_cpp='$CPP $CPPFLAGS'
33733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
33742 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
33744 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
33745 for ac_func in _isnanf
33746 do :
33747 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
33748 if test "x$ac_cv_func__isnanf" = x""yes; then :
33749 cat >>confdefs.h <<_ACEOF
33750 #define HAVE__ISNANF 1
33751 _ACEOF
33754 done
33763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
33764 $as_echo_n "checking for isinff declaration... " >&6; }
33765 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
33766 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
33767 $as_echo_n "(cached) " >&6
33768 else
33771 ac_ext=cpp
33772 ac_cpp='$CXXCPP $CPPFLAGS'
33773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33778 /* end confdefs.h. */
33779 #include <math.h>
33780 #ifdef HAVE_IEEEFP_H
33781 #include <ieeefp.h>
33782 #endif
33785 main ()
33787 isinff(0);
33789 return 0;
33791 _ACEOF
33792 if ac_fn_cxx_try_compile "$LINENO"; then :
33793 glibcxx_cv_func_isinff_use=yes
33794 else
33795 glibcxx_cv_func_isinff_use=no
33797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33798 ac_ext=c
33799 ac_cpp='$CPP $CPPFLAGS'
33800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
33809 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
33811 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
33812 for ac_func in isinff
33813 do :
33814 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
33815 if test "x$ac_cv_func_isinff" = x""yes; then :
33816 cat >>confdefs.h <<_ACEOF
33817 #define HAVE_ISINFF 1
33818 _ACEOF
33821 done
33823 else
33825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
33826 $as_echo_n "checking for _isinff declaration... " >&6; }
33827 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
33828 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
33829 $as_echo_n "(cached) " >&6
33830 else
33833 ac_ext=cpp
33834 ac_cpp='$CXXCPP $CPPFLAGS'
33835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33840 /* end confdefs.h. */
33841 #include <math.h>
33842 #ifdef HAVE_IEEEFP_H
33843 #include <ieeefp.h>
33844 #endif
33847 main ()
33849 _isinff(0);
33851 return 0;
33853 _ACEOF
33854 if ac_fn_cxx_try_compile "$LINENO"; then :
33855 glibcxx_cv_func__isinff_use=yes
33856 else
33857 glibcxx_cv_func__isinff_use=no
33859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33860 ac_ext=c
33861 ac_cpp='$CPP $CPPFLAGS'
33862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
33871 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
33873 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
33874 for ac_func in _isinff
33875 do :
33876 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
33877 if test "x$ac_cv_func__isinff" = x""yes; then :
33878 cat >>confdefs.h <<_ACEOF
33879 #define HAVE__ISINFF 1
33880 _ACEOF
33883 done
33892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
33893 $as_echo_n "checking for atan2f declaration... " >&6; }
33894 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
33895 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
33896 $as_echo_n "(cached) " >&6
33897 else
33900 ac_ext=cpp
33901 ac_cpp='$CXXCPP $CPPFLAGS'
33902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33907 /* end confdefs.h. */
33908 #include <math.h>
33910 main ()
33912 atan2f(0, 0);
33914 return 0;
33916 _ACEOF
33917 if ac_fn_cxx_try_compile "$LINENO"; then :
33918 glibcxx_cv_func_atan2f_use=yes
33919 else
33920 glibcxx_cv_func_atan2f_use=no
33922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33923 ac_ext=c
33924 ac_cpp='$CPP $CPPFLAGS'
33925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
33934 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
33936 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
33937 for ac_func in atan2f
33938 do :
33939 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
33940 if test "x$ac_cv_func_atan2f" = x""yes; then :
33941 cat >>confdefs.h <<_ACEOF
33942 #define HAVE_ATAN2F 1
33943 _ACEOF
33946 done
33948 else
33950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
33951 $as_echo_n "checking for _atan2f declaration... " >&6; }
33952 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
33953 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
33954 $as_echo_n "(cached) " >&6
33955 else
33958 ac_ext=cpp
33959 ac_cpp='$CXXCPP $CPPFLAGS'
33960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33965 /* end confdefs.h. */
33966 #include <math.h>
33968 main ()
33970 _atan2f(0, 0);
33972 return 0;
33974 _ACEOF
33975 if ac_fn_cxx_try_compile "$LINENO"; then :
33976 glibcxx_cv_func__atan2f_use=yes
33977 else
33978 glibcxx_cv_func__atan2f_use=no
33980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33981 ac_ext=c
33982 ac_cpp='$CPP $CPPFLAGS'
33983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
33992 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
33994 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
33995 for ac_func in _atan2f
33996 do :
33997 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
33998 if test "x$ac_cv_func__atan2f" = x""yes; then :
33999 cat >>confdefs.h <<_ACEOF
34000 #define HAVE__ATAN2F 1
34001 _ACEOF
34004 done
34013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
34014 $as_echo_n "checking for fabsf declaration... " >&6; }
34015 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
34016 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
34017 $as_echo_n "(cached) " >&6
34018 else
34021 ac_ext=cpp
34022 ac_cpp='$CXXCPP $CPPFLAGS'
34023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34028 /* end confdefs.h. */
34029 #include <math.h>
34030 #ifdef HAVE_IEEEFP_H
34031 #include <ieeefp.h>
34032 #endif
34035 main ()
34037 fabsf(0);
34039 return 0;
34041 _ACEOF
34042 if ac_fn_cxx_try_compile "$LINENO"; then :
34043 glibcxx_cv_func_fabsf_use=yes
34044 else
34045 glibcxx_cv_func_fabsf_use=no
34047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34048 ac_ext=c
34049 ac_cpp='$CPP $CPPFLAGS'
34050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
34059 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
34061 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
34062 for ac_func in fabsf
34063 do :
34064 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
34065 if test "x$ac_cv_func_fabsf" = x""yes; then :
34066 cat >>confdefs.h <<_ACEOF
34067 #define HAVE_FABSF 1
34068 _ACEOF
34071 done
34073 else
34075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
34076 $as_echo_n "checking for _fabsf declaration... " >&6; }
34077 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
34078 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
34079 $as_echo_n "(cached) " >&6
34080 else
34083 ac_ext=cpp
34084 ac_cpp='$CXXCPP $CPPFLAGS'
34085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34090 /* end confdefs.h. */
34091 #include <math.h>
34092 #ifdef HAVE_IEEEFP_H
34093 #include <ieeefp.h>
34094 #endif
34097 main ()
34099 _fabsf(0);
34101 return 0;
34103 _ACEOF
34104 if ac_fn_cxx_try_compile "$LINENO"; then :
34105 glibcxx_cv_func__fabsf_use=yes
34106 else
34107 glibcxx_cv_func__fabsf_use=no
34109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34110 ac_ext=c
34111 ac_cpp='$CPP $CPPFLAGS'
34112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
34121 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
34123 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
34124 for ac_func in _fabsf
34125 do :
34126 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
34127 if test "x$ac_cv_func__fabsf" = x""yes; then :
34128 cat >>confdefs.h <<_ACEOF
34129 #define HAVE__FABSF 1
34130 _ACEOF
34133 done
34142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
34143 $as_echo_n "checking for fmodf declaration... " >&6; }
34144 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
34145 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
34146 $as_echo_n "(cached) " >&6
34147 else
34150 ac_ext=cpp
34151 ac_cpp='$CXXCPP $CPPFLAGS'
34152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34157 /* end confdefs.h. */
34158 #include <math.h>
34160 main ()
34162 fmodf(0, 0);
34164 return 0;
34166 _ACEOF
34167 if ac_fn_cxx_try_compile "$LINENO"; then :
34168 glibcxx_cv_func_fmodf_use=yes
34169 else
34170 glibcxx_cv_func_fmodf_use=no
34172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34173 ac_ext=c
34174 ac_cpp='$CPP $CPPFLAGS'
34175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
34184 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
34186 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
34187 for ac_func in fmodf
34188 do :
34189 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
34190 if test "x$ac_cv_func_fmodf" = x""yes; then :
34191 cat >>confdefs.h <<_ACEOF
34192 #define HAVE_FMODF 1
34193 _ACEOF
34196 done
34198 else
34200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
34201 $as_echo_n "checking for _fmodf declaration... " >&6; }
34202 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
34203 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
34204 $as_echo_n "(cached) " >&6
34205 else
34208 ac_ext=cpp
34209 ac_cpp='$CXXCPP $CPPFLAGS'
34210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34215 /* end confdefs.h. */
34216 #include <math.h>
34218 main ()
34220 _fmodf(0, 0);
34222 return 0;
34224 _ACEOF
34225 if ac_fn_cxx_try_compile "$LINENO"; then :
34226 glibcxx_cv_func__fmodf_use=yes
34227 else
34228 glibcxx_cv_func__fmodf_use=no
34230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34231 ac_ext=c
34232 ac_cpp='$CPP $CPPFLAGS'
34233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
34242 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
34244 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
34245 for ac_func in _fmodf
34246 do :
34247 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
34248 if test "x$ac_cv_func__fmodf" = x""yes; then :
34249 cat >>confdefs.h <<_ACEOF
34250 #define HAVE__FMODF 1
34251 _ACEOF
34254 done
34263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
34264 $as_echo_n "checking for frexpf declaration... " >&6; }
34265 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
34266 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
34267 $as_echo_n "(cached) " >&6
34268 else
34271 ac_ext=cpp
34272 ac_cpp='$CXXCPP $CPPFLAGS'
34273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34278 /* end confdefs.h. */
34279 #include <math.h>
34281 main ()
34283 frexpf(0, 0);
34285 return 0;
34287 _ACEOF
34288 if ac_fn_cxx_try_compile "$LINENO"; then :
34289 glibcxx_cv_func_frexpf_use=yes
34290 else
34291 glibcxx_cv_func_frexpf_use=no
34293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34294 ac_ext=c
34295 ac_cpp='$CPP $CPPFLAGS'
34296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
34305 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
34307 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
34308 for ac_func in frexpf
34309 do :
34310 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
34311 if test "x$ac_cv_func_frexpf" = x""yes; then :
34312 cat >>confdefs.h <<_ACEOF
34313 #define HAVE_FREXPF 1
34314 _ACEOF
34317 done
34319 else
34321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
34322 $as_echo_n "checking for _frexpf declaration... " >&6; }
34323 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
34324 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
34325 $as_echo_n "(cached) " >&6
34326 else
34329 ac_ext=cpp
34330 ac_cpp='$CXXCPP $CPPFLAGS'
34331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34336 /* end confdefs.h. */
34337 #include <math.h>
34339 main ()
34341 _frexpf(0, 0);
34343 return 0;
34345 _ACEOF
34346 if ac_fn_cxx_try_compile "$LINENO"; then :
34347 glibcxx_cv_func__frexpf_use=yes
34348 else
34349 glibcxx_cv_func__frexpf_use=no
34351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34352 ac_ext=c
34353 ac_cpp='$CPP $CPPFLAGS'
34354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
34363 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
34365 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
34366 for ac_func in _frexpf
34367 do :
34368 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
34369 if test "x$ac_cv_func__frexpf" = x""yes; then :
34370 cat >>confdefs.h <<_ACEOF
34371 #define HAVE__FREXPF 1
34372 _ACEOF
34375 done
34384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
34385 $as_echo_n "checking for hypotf declaration... " >&6; }
34386 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
34387 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
34388 $as_echo_n "(cached) " >&6
34389 else
34392 ac_ext=cpp
34393 ac_cpp='$CXXCPP $CPPFLAGS'
34394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34399 /* end confdefs.h. */
34400 #include <math.h>
34402 main ()
34404 hypotf(0, 0);
34406 return 0;
34408 _ACEOF
34409 if ac_fn_cxx_try_compile "$LINENO"; then :
34410 glibcxx_cv_func_hypotf_use=yes
34411 else
34412 glibcxx_cv_func_hypotf_use=no
34414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34415 ac_ext=c
34416 ac_cpp='$CPP $CPPFLAGS'
34417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
34426 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
34428 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
34429 for ac_func in hypotf
34430 do :
34431 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
34432 if test "x$ac_cv_func_hypotf" = x""yes; then :
34433 cat >>confdefs.h <<_ACEOF
34434 #define HAVE_HYPOTF 1
34435 _ACEOF
34438 done
34440 else
34442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
34443 $as_echo_n "checking for _hypotf declaration... " >&6; }
34444 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
34445 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
34446 $as_echo_n "(cached) " >&6
34447 else
34450 ac_ext=cpp
34451 ac_cpp='$CXXCPP $CPPFLAGS'
34452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34457 /* end confdefs.h. */
34458 #include <math.h>
34460 main ()
34462 _hypotf(0, 0);
34464 return 0;
34466 _ACEOF
34467 if ac_fn_cxx_try_compile "$LINENO"; then :
34468 glibcxx_cv_func__hypotf_use=yes
34469 else
34470 glibcxx_cv_func__hypotf_use=no
34472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34473 ac_ext=c
34474 ac_cpp='$CPP $CPPFLAGS'
34475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
34484 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
34486 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
34487 for ac_func in _hypotf
34488 do :
34489 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
34490 if test "x$ac_cv_func__hypotf" = x""yes; then :
34491 cat >>confdefs.h <<_ACEOF
34492 #define HAVE__HYPOTF 1
34493 _ACEOF
34496 done
34505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
34506 $as_echo_n "checking for ldexpf declaration... " >&6; }
34507 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
34508 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
34509 $as_echo_n "(cached) " >&6
34510 else
34513 ac_ext=cpp
34514 ac_cpp='$CXXCPP $CPPFLAGS'
34515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34520 /* end confdefs.h. */
34521 #include <math.h>
34523 main ()
34525 ldexpf(0, 0);
34527 return 0;
34529 _ACEOF
34530 if ac_fn_cxx_try_compile "$LINENO"; then :
34531 glibcxx_cv_func_ldexpf_use=yes
34532 else
34533 glibcxx_cv_func_ldexpf_use=no
34535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34536 ac_ext=c
34537 ac_cpp='$CPP $CPPFLAGS'
34538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
34547 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
34549 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
34550 for ac_func in ldexpf
34551 do :
34552 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
34553 if test "x$ac_cv_func_ldexpf" = x""yes; then :
34554 cat >>confdefs.h <<_ACEOF
34555 #define HAVE_LDEXPF 1
34556 _ACEOF
34559 done
34561 else
34563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
34564 $as_echo_n "checking for _ldexpf declaration... " >&6; }
34565 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
34566 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
34567 $as_echo_n "(cached) " >&6
34568 else
34571 ac_ext=cpp
34572 ac_cpp='$CXXCPP $CPPFLAGS'
34573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34578 /* end confdefs.h. */
34579 #include <math.h>
34581 main ()
34583 _ldexpf(0, 0);
34585 return 0;
34587 _ACEOF
34588 if ac_fn_cxx_try_compile "$LINENO"; then :
34589 glibcxx_cv_func__ldexpf_use=yes
34590 else
34591 glibcxx_cv_func__ldexpf_use=no
34593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34594 ac_ext=c
34595 ac_cpp='$CPP $CPPFLAGS'
34596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
34605 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
34607 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
34608 for ac_func in _ldexpf
34609 do :
34610 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
34611 if test "x$ac_cv_func__ldexpf" = x""yes; then :
34612 cat >>confdefs.h <<_ACEOF
34613 #define HAVE__LDEXPF 1
34614 _ACEOF
34617 done
34626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
34627 $as_echo_n "checking for logf declaration... " >&6; }
34628 if test x${glibcxx_cv_func_logf_use+set} != xset; then
34629 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
34630 $as_echo_n "(cached) " >&6
34631 else
34634 ac_ext=cpp
34635 ac_cpp='$CXXCPP $CPPFLAGS'
34636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34641 /* end confdefs.h. */
34642 #include <math.h>
34643 #ifdef HAVE_IEEEFP_H
34644 #include <ieeefp.h>
34645 #endif
34648 main ()
34650 logf(0);
34652 return 0;
34654 _ACEOF
34655 if ac_fn_cxx_try_compile "$LINENO"; then :
34656 glibcxx_cv_func_logf_use=yes
34657 else
34658 glibcxx_cv_func_logf_use=no
34660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34661 ac_ext=c
34662 ac_cpp='$CPP $CPPFLAGS'
34663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
34672 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
34674 if test x$glibcxx_cv_func_logf_use = x"yes"; then
34675 for ac_func in logf
34676 do :
34677 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
34678 if test "x$ac_cv_func_logf" = x""yes; then :
34679 cat >>confdefs.h <<_ACEOF
34680 #define HAVE_LOGF 1
34681 _ACEOF
34684 done
34686 else
34688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
34689 $as_echo_n "checking for _logf declaration... " >&6; }
34690 if test x${glibcxx_cv_func__logf_use+set} != xset; then
34691 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
34692 $as_echo_n "(cached) " >&6
34693 else
34696 ac_ext=cpp
34697 ac_cpp='$CXXCPP $CPPFLAGS'
34698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34703 /* end confdefs.h. */
34704 #include <math.h>
34705 #ifdef HAVE_IEEEFP_H
34706 #include <ieeefp.h>
34707 #endif
34710 main ()
34712 _logf(0);
34714 return 0;
34716 _ACEOF
34717 if ac_fn_cxx_try_compile "$LINENO"; then :
34718 glibcxx_cv_func__logf_use=yes
34719 else
34720 glibcxx_cv_func__logf_use=no
34722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34723 ac_ext=c
34724 ac_cpp='$CPP $CPPFLAGS'
34725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
34734 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
34736 if test x$glibcxx_cv_func__logf_use = x"yes"; then
34737 for ac_func in _logf
34738 do :
34739 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
34740 if test "x$ac_cv_func__logf" = x""yes; then :
34741 cat >>confdefs.h <<_ACEOF
34742 #define HAVE__LOGF 1
34743 _ACEOF
34746 done
34755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
34756 $as_echo_n "checking for log10f declaration... " >&6; }
34757 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
34758 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
34759 $as_echo_n "(cached) " >&6
34760 else
34763 ac_ext=cpp
34764 ac_cpp='$CXXCPP $CPPFLAGS'
34765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34770 /* end confdefs.h. */
34771 #include <math.h>
34772 #ifdef HAVE_IEEEFP_H
34773 #include <ieeefp.h>
34774 #endif
34777 main ()
34779 log10f(0);
34781 return 0;
34783 _ACEOF
34784 if ac_fn_cxx_try_compile "$LINENO"; then :
34785 glibcxx_cv_func_log10f_use=yes
34786 else
34787 glibcxx_cv_func_log10f_use=no
34789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34790 ac_ext=c
34791 ac_cpp='$CPP $CPPFLAGS'
34792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
34801 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
34803 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
34804 for ac_func in log10f
34805 do :
34806 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
34807 if test "x$ac_cv_func_log10f" = x""yes; then :
34808 cat >>confdefs.h <<_ACEOF
34809 #define HAVE_LOG10F 1
34810 _ACEOF
34813 done
34815 else
34817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
34818 $as_echo_n "checking for _log10f declaration... " >&6; }
34819 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
34820 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
34821 $as_echo_n "(cached) " >&6
34822 else
34825 ac_ext=cpp
34826 ac_cpp='$CXXCPP $CPPFLAGS'
34827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34832 /* end confdefs.h. */
34833 #include <math.h>
34834 #ifdef HAVE_IEEEFP_H
34835 #include <ieeefp.h>
34836 #endif
34839 main ()
34841 _log10f(0);
34843 return 0;
34845 _ACEOF
34846 if ac_fn_cxx_try_compile "$LINENO"; then :
34847 glibcxx_cv_func__log10f_use=yes
34848 else
34849 glibcxx_cv_func__log10f_use=no
34851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34852 ac_ext=c
34853 ac_cpp='$CPP $CPPFLAGS'
34854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
34863 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
34865 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
34866 for ac_func in _log10f
34867 do :
34868 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
34869 if test "x$ac_cv_func__log10f" = x""yes; then :
34870 cat >>confdefs.h <<_ACEOF
34871 #define HAVE__LOG10F 1
34872 _ACEOF
34875 done
34884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
34885 $as_echo_n "checking for modff declaration... " >&6; }
34886 if test x${glibcxx_cv_func_modff_use+set} != xset; then
34887 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
34888 $as_echo_n "(cached) " >&6
34889 else
34892 ac_ext=cpp
34893 ac_cpp='$CXXCPP $CPPFLAGS'
34894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34899 /* end confdefs.h. */
34900 #include <math.h>
34902 main ()
34904 modff(0, 0);
34906 return 0;
34908 _ACEOF
34909 if ac_fn_cxx_try_compile "$LINENO"; then :
34910 glibcxx_cv_func_modff_use=yes
34911 else
34912 glibcxx_cv_func_modff_use=no
34914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34915 ac_ext=c
34916 ac_cpp='$CPP $CPPFLAGS'
34917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
34926 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
34928 if test x$glibcxx_cv_func_modff_use = x"yes"; then
34929 for ac_func in modff
34930 do :
34931 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
34932 if test "x$ac_cv_func_modff" = x""yes; then :
34933 cat >>confdefs.h <<_ACEOF
34934 #define HAVE_MODFF 1
34935 _ACEOF
34938 done
34940 else
34942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
34943 $as_echo_n "checking for _modff declaration... " >&6; }
34944 if test x${glibcxx_cv_func__modff_use+set} != xset; then
34945 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
34946 $as_echo_n "(cached) " >&6
34947 else
34950 ac_ext=cpp
34951 ac_cpp='$CXXCPP $CPPFLAGS'
34952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34957 /* end confdefs.h. */
34958 #include <math.h>
34960 main ()
34962 _modff(0, 0);
34964 return 0;
34966 _ACEOF
34967 if ac_fn_cxx_try_compile "$LINENO"; then :
34968 glibcxx_cv_func__modff_use=yes
34969 else
34970 glibcxx_cv_func__modff_use=no
34972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34973 ac_ext=c
34974 ac_cpp='$CPP $CPPFLAGS'
34975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
34984 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
34986 if test x$glibcxx_cv_func__modff_use = x"yes"; then
34987 for ac_func in _modff
34988 do :
34989 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
34990 if test "x$ac_cv_func__modff" = x""yes; then :
34991 cat >>confdefs.h <<_ACEOF
34992 #define HAVE__MODFF 1
34993 _ACEOF
34996 done
35005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
35006 $as_echo_n "checking for modf declaration... " >&6; }
35007 if test x${glibcxx_cv_func_modf_use+set} != xset; then
35008 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
35009 $as_echo_n "(cached) " >&6
35010 else
35013 ac_ext=cpp
35014 ac_cpp='$CXXCPP $CPPFLAGS'
35015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35020 /* end confdefs.h. */
35021 #include <math.h>
35023 main ()
35025 modf(0, 0);
35027 return 0;
35029 _ACEOF
35030 if ac_fn_cxx_try_compile "$LINENO"; then :
35031 glibcxx_cv_func_modf_use=yes
35032 else
35033 glibcxx_cv_func_modf_use=no
35035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35036 ac_ext=c
35037 ac_cpp='$CPP $CPPFLAGS'
35038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
35047 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
35049 if test x$glibcxx_cv_func_modf_use = x"yes"; then
35050 for ac_func in modf
35051 do :
35052 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
35053 if test "x$ac_cv_func_modf" = x""yes; then :
35054 cat >>confdefs.h <<_ACEOF
35055 #define HAVE_MODF 1
35056 _ACEOF
35059 done
35061 else
35063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
35064 $as_echo_n "checking for _modf declaration... " >&6; }
35065 if test x${glibcxx_cv_func__modf_use+set} != xset; then
35066 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
35067 $as_echo_n "(cached) " >&6
35068 else
35071 ac_ext=cpp
35072 ac_cpp='$CXXCPP $CPPFLAGS'
35073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35078 /* end confdefs.h. */
35079 #include <math.h>
35081 main ()
35083 _modf(0, 0);
35085 return 0;
35087 _ACEOF
35088 if ac_fn_cxx_try_compile "$LINENO"; then :
35089 glibcxx_cv_func__modf_use=yes
35090 else
35091 glibcxx_cv_func__modf_use=no
35093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35094 ac_ext=c
35095 ac_cpp='$CPP $CPPFLAGS'
35096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
35105 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
35107 if test x$glibcxx_cv_func__modf_use = x"yes"; then
35108 for ac_func in _modf
35109 do :
35110 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
35111 if test "x$ac_cv_func__modf" = x""yes; then :
35112 cat >>confdefs.h <<_ACEOF
35113 #define HAVE__MODF 1
35114 _ACEOF
35117 done
35126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
35127 $as_echo_n "checking for powf declaration... " >&6; }
35128 if test x${glibcxx_cv_func_powf_use+set} != xset; then
35129 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
35130 $as_echo_n "(cached) " >&6
35131 else
35134 ac_ext=cpp
35135 ac_cpp='$CXXCPP $CPPFLAGS'
35136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35141 /* end confdefs.h. */
35142 #include <math.h>
35144 main ()
35146 powf(0, 0);
35148 return 0;
35150 _ACEOF
35151 if ac_fn_cxx_try_compile "$LINENO"; then :
35152 glibcxx_cv_func_powf_use=yes
35153 else
35154 glibcxx_cv_func_powf_use=no
35156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35157 ac_ext=c
35158 ac_cpp='$CPP $CPPFLAGS'
35159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
35168 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
35170 if test x$glibcxx_cv_func_powf_use = x"yes"; then
35171 for ac_func in powf
35172 do :
35173 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
35174 if test "x$ac_cv_func_powf" = x""yes; then :
35175 cat >>confdefs.h <<_ACEOF
35176 #define HAVE_POWF 1
35177 _ACEOF
35180 done
35182 else
35184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
35185 $as_echo_n "checking for _powf declaration... " >&6; }
35186 if test x${glibcxx_cv_func__powf_use+set} != xset; then
35187 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
35188 $as_echo_n "(cached) " >&6
35189 else
35192 ac_ext=cpp
35193 ac_cpp='$CXXCPP $CPPFLAGS'
35194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35199 /* end confdefs.h. */
35200 #include <math.h>
35202 main ()
35204 _powf(0, 0);
35206 return 0;
35208 _ACEOF
35209 if ac_fn_cxx_try_compile "$LINENO"; then :
35210 glibcxx_cv_func__powf_use=yes
35211 else
35212 glibcxx_cv_func__powf_use=no
35214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35215 ac_ext=c
35216 ac_cpp='$CPP $CPPFLAGS'
35217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
35226 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
35228 if test x$glibcxx_cv_func__powf_use = x"yes"; then
35229 for ac_func in _powf
35230 do :
35231 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
35232 if test "x$ac_cv_func__powf" = x""yes; then :
35233 cat >>confdefs.h <<_ACEOF
35234 #define HAVE__POWF 1
35235 _ACEOF
35238 done
35247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
35248 $as_echo_n "checking for sqrtf declaration... " >&6; }
35249 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
35250 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
35251 $as_echo_n "(cached) " >&6
35252 else
35255 ac_ext=cpp
35256 ac_cpp='$CXXCPP $CPPFLAGS'
35257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35262 /* end confdefs.h. */
35263 #include <math.h>
35264 #ifdef HAVE_IEEEFP_H
35265 #include <ieeefp.h>
35266 #endif
35269 main ()
35271 sqrtf(0);
35273 return 0;
35275 _ACEOF
35276 if ac_fn_cxx_try_compile "$LINENO"; then :
35277 glibcxx_cv_func_sqrtf_use=yes
35278 else
35279 glibcxx_cv_func_sqrtf_use=no
35281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35282 ac_ext=c
35283 ac_cpp='$CPP $CPPFLAGS'
35284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
35293 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
35295 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
35296 for ac_func in sqrtf
35297 do :
35298 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
35299 if test "x$ac_cv_func_sqrtf" = x""yes; then :
35300 cat >>confdefs.h <<_ACEOF
35301 #define HAVE_SQRTF 1
35302 _ACEOF
35305 done
35307 else
35309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
35310 $as_echo_n "checking for _sqrtf declaration... " >&6; }
35311 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
35312 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
35313 $as_echo_n "(cached) " >&6
35314 else
35317 ac_ext=cpp
35318 ac_cpp='$CXXCPP $CPPFLAGS'
35319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35324 /* end confdefs.h. */
35325 #include <math.h>
35326 #ifdef HAVE_IEEEFP_H
35327 #include <ieeefp.h>
35328 #endif
35331 main ()
35333 _sqrtf(0);
35335 return 0;
35337 _ACEOF
35338 if ac_fn_cxx_try_compile "$LINENO"; then :
35339 glibcxx_cv_func__sqrtf_use=yes
35340 else
35341 glibcxx_cv_func__sqrtf_use=no
35343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35344 ac_ext=c
35345 ac_cpp='$CPP $CPPFLAGS'
35346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
35355 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
35357 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
35358 for ac_func in _sqrtf
35359 do :
35360 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
35361 if test "x$ac_cv_func__sqrtf" = x""yes; then :
35362 cat >>confdefs.h <<_ACEOF
35363 #define HAVE__SQRTF 1
35364 _ACEOF
35367 done
35376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
35377 $as_echo_n "checking for sincosf declaration... " >&6; }
35378 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
35379 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
35380 $as_echo_n "(cached) " >&6
35381 else
35384 ac_ext=cpp
35385 ac_cpp='$CXXCPP $CPPFLAGS'
35386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35391 /* end confdefs.h. */
35392 #include <math.h>
35394 main ()
35396 sincosf(0, 0, 0);
35398 return 0;
35400 _ACEOF
35401 if ac_fn_cxx_try_compile "$LINENO"; then :
35402 glibcxx_cv_func_sincosf_use=yes
35403 else
35404 glibcxx_cv_func_sincosf_use=no
35406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35407 ac_ext=c
35408 ac_cpp='$CPP $CPPFLAGS'
35409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
35418 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
35420 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
35421 for ac_func in sincosf
35422 do :
35423 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
35424 if test "x$ac_cv_func_sincosf" = x""yes; then :
35425 cat >>confdefs.h <<_ACEOF
35426 #define HAVE_SINCOSF 1
35427 _ACEOF
35430 done
35432 else
35434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
35435 $as_echo_n "checking for _sincosf declaration... " >&6; }
35436 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
35437 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
35438 $as_echo_n "(cached) " >&6
35439 else
35442 ac_ext=cpp
35443 ac_cpp='$CXXCPP $CPPFLAGS'
35444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35449 /* end confdefs.h. */
35450 #include <math.h>
35452 main ()
35454 _sincosf(0, 0, 0);
35456 return 0;
35458 _ACEOF
35459 if ac_fn_cxx_try_compile "$LINENO"; then :
35460 glibcxx_cv_func__sincosf_use=yes
35461 else
35462 glibcxx_cv_func__sincosf_use=no
35464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35465 ac_ext=c
35466 ac_cpp='$CPP $CPPFLAGS'
35467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
35476 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
35478 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
35479 for ac_func in _sincosf
35480 do :
35481 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
35482 if test "x$ac_cv_func__sincosf" = x""yes; then :
35483 cat >>confdefs.h <<_ACEOF
35484 #define HAVE__SINCOSF 1
35485 _ACEOF
35488 done
35497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
35498 $as_echo_n "checking for finitef declaration... " >&6; }
35499 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
35500 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
35501 $as_echo_n "(cached) " >&6
35502 else
35505 ac_ext=cpp
35506 ac_cpp='$CXXCPP $CPPFLAGS'
35507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35512 /* end confdefs.h. */
35513 #include <math.h>
35514 #ifdef HAVE_IEEEFP_H
35515 #include <ieeefp.h>
35516 #endif
35519 main ()
35521 finitef(0);
35523 return 0;
35525 _ACEOF
35526 if ac_fn_cxx_try_compile "$LINENO"; then :
35527 glibcxx_cv_func_finitef_use=yes
35528 else
35529 glibcxx_cv_func_finitef_use=no
35531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35532 ac_ext=c
35533 ac_cpp='$CPP $CPPFLAGS'
35534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
35543 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
35545 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
35546 for ac_func in finitef
35547 do :
35548 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
35549 if test "x$ac_cv_func_finitef" = x""yes; then :
35550 cat >>confdefs.h <<_ACEOF
35551 #define HAVE_FINITEF 1
35552 _ACEOF
35555 done
35557 else
35559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
35560 $as_echo_n "checking for _finitef declaration... " >&6; }
35561 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
35562 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
35563 $as_echo_n "(cached) " >&6
35564 else
35567 ac_ext=cpp
35568 ac_cpp='$CXXCPP $CPPFLAGS'
35569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35574 /* end confdefs.h. */
35575 #include <math.h>
35576 #ifdef HAVE_IEEEFP_H
35577 #include <ieeefp.h>
35578 #endif
35581 main ()
35583 _finitef(0);
35585 return 0;
35587 _ACEOF
35588 if ac_fn_cxx_try_compile "$LINENO"; then :
35589 glibcxx_cv_func__finitef_use=yes
35590 else
35591 glibcxx_cv_func__finitef_use=no
35593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35594 ac_ext=c
35595 ac_cpp='$CPP $CPPFLAGS'
35596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
35605 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
35607 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
35608 for ac_func in _finitef
35609 do :
35610 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
35611 if test "x$ac_cv_func__finitef" = x""yes; then :
35612 cat >>confdefs.h <<_ACEOF
35613 #define HAVE__FINITEF 1
35614 _ACEOF
35617 done
35626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
35627 $as_echo_n "checking for long double trig functions... " >&6; }
35628 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
35629 $as_echo_n "(cached) " >&6
35630 else
35633 ac_ext=cpp
35634 ac_cpp='$CXXCPP $CPPFLAGS'
35635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35640 /* end confdefs.h. */
35641 #include <math.h>
35643 main ()
35645 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
35647 return 0;
35649 _ACEOF
35650 if ac_fn_cxx_try_compile "$LINENO"; then :
35651 glibcxx_cv_func_long_double_trig_use=yes
35652 else
35653 glibcxx_cv_func_long_double_trig_use=no
35655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35656 ac_ext=c
35657 ac_cpp='$CPP $CPPFLAGS'
35658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
35665 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
35666 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
35667 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
35668 do :
35669 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35670 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35671 eval as_val=\$$as_ac_var
35672 if test "x$as_val" = x""yes; then :
35673 cat >>confdefs.h <<_ACEOF
35674 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35675 _ACEOF
35678 done
35680 else
35681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
35682 $as_echo_n "checking for _long double trig functions... " >&6; }
35683 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
35684 $as_echo_n "(cached) " >&6
35685 else
35688 ac_ext=cpp
35689 ac_cpp='$CXXCPP $CPPFLAGS'
35690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35695 /* end confdefs.h. */
35696 #include <math.h>
35698 main ()
35700 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
35702 return 0;
35704 _ACEOF
35705 if ac_fn_cxx_try_compile "$LINENO"; then :
35706 glibcxx_cv_func__long_double_trig_use=yes
35707 else
35708 glibcxx_cv_func__long_double_trig_use=no
35710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35711 ac_ext=c
35712 ac_cpp='$CPP $CPPFLAGS'
35713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
35720 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
35721 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
35722 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
35723 do :
35724 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35725 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35726 eval as_val=\$$as_ac_var
35727 if test "x$as_val" = x""yes; then :
35728 cat >>confdefs.h <<_ACEOF
35729 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35730 _ACEOF
35733 done
35742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
35743 $as_echo_n "checking for long double round functions... " >&6; }
35744 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
35745 $as_echo_n "(cached) " >&6
35746 else
35749 ac_ext=cpp
35750 ac_cpp='$CXXCPP $CPPFLAGS'
35751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35756 /* end confdefs.h. */
35757 #include <math.h>
35759 main ()
35761 ceill (0); floorl (0);
35763 return 0;
35765 _ACEOF
35766 if ac_fn_cxx_try_compile "$LINENO"; then :
35767 glibcxx_cv_func_long_double_round_use=yes
35768 else
35769 glibcxx_cv_func_long_double_round_use=no
35771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35772 ac_ext=c
35773 ac_cpp='$CPP $CPPFLAGS'
35774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
35781 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
35782 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
35783 for ac_func in ceill floorl
35784 do :
35785 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35786 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35787 eval as_val=\$$as_ac_var
35788 if test "x$as_val" = x""yes; then :
35789 cat >>confdefs.h <<_ACEOF
35790 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35791 _ACEOF
35794 done
35796 else
35797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
35798 $as_echo_n "checking for _long double round functions... " >&6; }
35799 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
35800 $as_echo_n "(cached) " >&6
35801 else
35804 ac_ext=cpp
35805 ac_cpp='$CXXCPP $CPPFLAGS'
35806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35811 /* end confdefs.h. */
35812 #include <math.h>
35814 main ()
35816 _ceill (0); _floorl (0);
35818 return 0;
35820 _ACEOF
35821 if ac_fn_cxx_try_compile "$LINENO"; then :
35822 glibcxx_cv_func__long_double_round_use=yes
35823 else
35824 glibcxx_cv_func__long_double_round_use=no
35826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35827 ac_ext=c
35828 ac_cpp='$CPP $CPPFLAGS'
35829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
35836 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
35837 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
35838 for ac_func in _ceill _floorl
35839 do :
35840 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35841 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35842 eval as_val=\$$as_ac_var
35843 if test "x$as_val" = x""yes; then :
35844 cat >>confdefs.h <<_ACEOF
35845 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35846 _ACEOF
35849 done
35859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
35860 $as_echo_n "checking for isnanl declaration... " >&6; }
35861 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
35862 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
35863 $as_echo_n "(cached) " >&6
35864 else
35867 ac_ext=cpp
35868 ac_cpp='$CXXCPP $CPPFLAGS'
35869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35874 /* end confdefs.h. */
35875 #include <math.h>
35876 #ifdef HAVE_IEEEFP_H
35877 #include <ieeefp.h>
35878 #endif
35881 main ()
35883 isnanl(0);
35885 return 0;
35887 _ACEOF
35888 if ac_fn_cxx_try_compile "$LINENO"; then :
35889 glibcxx_cv_func_isnanl_use=yes
35890 else
35891 glibcxx_cv_func_isnanl_use=no
35893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35894 ac_ext=c
35895 ac_cpp='$CPP $CPPFLAGS'
35896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
35905 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
35907 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
35908 for ac_func in isnanl
35909 do :
35910 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
35911 if test "x$ac_cv_func_isnanl" = x""yes; then :
35912 cat >>confdefs.h <<_ACEOF
35913 #define HAVE_ISNANL 1
35914 _ACEOF
35917 done
35919 else
35921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
35922 $as_echo_n "checking for _isnanl declaration... " >&6; }
35923 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
35924 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
35925 $as_echo_n "(cached) " >&6
35926 else
35929 ac_ext=cpp
35930 ac_cpp='$CXXCPP $CPPFLAGS'
35931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35936 /* end confdefs.h. */
35937 #include <math.h>
35938 #ifdef HAVE_IEEEFP_H
35939 #include <ieeefp.h>
35940 #endif
35943 main ()
35945 _isnanl(0);
35947 return 0;
35949 _ACEOF
35950 if ac_fn_cxx_try_compile "$LINENO"; then :
35951 glibcxx_cv_func__isnanl_use=yes
35952 else
35953 glibcxx_cv_func__isnanl_use=no
35955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35956 ac_ext=c
35957 ac_cpp='$CPP $CPPFLAGS'
35958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
35967 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
35969 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
35970 for ac_func in _isnanl
35971 do :
35972 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
35973 if test "x$ac_cv_func__isnanl" = x""yes; then :
35974 cat >>confdefs.h <<_ACEOF
35975 #define HAVE__ISNANL 1
35976 _ACEOF
35979 done
35988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
35989 $as_echo_n "checking for isinfl declaration... " >&6; }
35990 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
35991 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
35992 $as_echo_n "(cached) " >&6
35993 else
35996 ac_ext=cpp
35997 ac_cpp='$CXXCPP $CPPFLAGS'
35998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36003 /* end confdefs.h. */
36004 #include <math.h>
36005 #ifdef HAVE_IEEEFP_H
36006 #include <ieeefp.h>
36007 #endif
36010 main ()
36012 isinfl(0);
36014 return 0;
36016 _ACEOF
36017 if ac_fn_cxx_try_compile "$LINENO"; then :
36018 glibcxx_cv_func_isinfl_use=yes
36019 else
36020 glibcxx_cv_func_isinfl_use=no
36022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36023 ac_ext=c
36024 ac_cpp='$CPP $CPPFLAGS'
36025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
36034 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
36036 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
36037 for ac_func in isinfl
36038 do :
36039 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
36040 if test "x$ac_cv_func_isinfl" = x""yes; then :
36041 cat >>confdefs.h <<_ACEOF
36042 #define HAVE_ISINFL 1
36043 _ACEOF
36046 done
36048 else
36050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
36051 $as_echo_n "checking for _isinfl declaration... " >&6; }
36052 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
36053 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
36054 $as_echo_n "(cached) " >&6
36055 else
36058 ac_ext=cpp
36059 ac_cpp='$CXXCPP $CPPFLAGS'
36060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36065 /* end confdefs.h. */
36066 #include <math.h>
36067 #ifdef HAVE_IEEEFP_H
36068 #include <ieeefp.h>
36069 #endif
36072 main ()
36074 _isinfl(0);
36076 return 0;
36078 _ACEOF
36079 if ac_fn_cxx_try_compile "$LINENO"; then :
36080 glibcxx_cv_func__isinfl_use=yes
36081 else
36082 glibcxx_cv_func__isinfl_use=no
36084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36085 ac_ext=c
36086 ac_cpp='$CPP $CPPFLAGS'
36087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
36096 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
36098 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
36099 for ac_func in _isinfl
36100 do :
36101 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
36102 if test "x$ac_cv_func__isinfl" = x""yes; then :
36103 cat >>confdefs.h <<_ACEOF
36104 #define HAVE__ISINFL 1
36105 _ACEOF
36108 done
36117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
36118 $as_echo_n "checking for atan2l declaration... " >&6; }
36119 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
36120 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
36121 $as_echo_n "(cached) " >&6
36122 else
36125 ac_ext=cpp
36126 ac_cpp='$CXXCPP $CPPFLAGS'
36127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36132 /* end confdefs.h. */
36133 #include <math.h>
36135 main ()
36137 atan2l(0, 0);
36139 return 0;
36141 _ACEOF
36142 if ac_fn_cxx_try_compile "$LINENO"; then :
36143 glibcxx_cv_func_atan2l_use=yes
36144 else
36145 glibcxx_cv_func_atan2l_use=no
36147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36148 ac_ext=c
36149 ac_cpp='$CPP $CPPFLAGS'
36150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
36159 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
36161 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
36162 for ac_func in atan2l
36163 do :
36164 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
36165 if test "x$ac_cv_func_atan2l" = x""yes; then :
36166 cat >>confdefs.h <<_ACEOF
36167 #define HAVE_ATAN2L 1
36168 _ACEOF
36171 done
36173 else
36175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
36176 $as_echo_n "checking for _atan2l declaration... " >&6; }
36177 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
36178 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
36179 $as_echo_n "(cached) " >&6
36180 else
36183 ac_ext=cpp
36184 ac_cpp='$CXXCPP $CPPFLAGS'
36185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36190 /* end confdefs.h. */
36191 #include <math.h>
36193 main ()
36195 _atan2l(0, 0);
36197 return 0;
36199 _ACEOF
36200 if ac_fn_cxx_try_compile "$LINENO"; then :
36201 glibcxx_cv_func__atan2l_use=yes
36202 else
36203 glibcxx_cv_func__atan2l_use=no
36205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36206 ac_ext=c
36207 ac_cpp='$CPP $CPPFLAGS'
36208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
36217 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
36219 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
36220 for ac_func in _atan2l
36221 do :
36222 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
36223 if test "x$ac_cv_func__atan2l" = x""yes; then :
36224 cat >>confdefs.h <<_ACEOF
36225 #define HAVE__ATAN2L 1
36226 _ACEOF
36229 done
36238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
36239 $as_echo_n "checking for expl declaration... " >&6; }
36240 if test x${glibcxx_cv_func_expl_use+set} != xset; then
36241 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
36242 $as_echo_n "(cached) " >&6
36243 else
36246 ac_ext=cpp
36247 ac_cpp='$CXXCPP $CPPFLAGS'
36248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36253 /* end confdefs.h. */
36254 #include <math.h>
36255 #ifdef HAVE_IEEEFP_H
36256 #include <ieeefp.h>
36257 #endif
36260 main ()
36262 expl(0);
36264 return 0;
36266 _ACEOF
36267 if ac_fn_cxx_try_compile "$LINENO"; then :
36268 glibcxx_cv_func_expl_use=yes
36269 else
36270 glibcxx_cv_func_expl_use=no
36272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36273 ac_ext=c
36274 ac_cpp='$CPP $CPPFLAGS'
36275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
36284 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
36286 if test x$glibcxx_cv_func_expl_use = x"yes"; then
36287 for ac_func in expl
36288 do :
36289 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
36290 if test "x$ac_cv_func_expl" = x""yes; then :
36291 cat >>confdefs.h <<_ACEOF
36292 #define HAVE_EXPL 1
36293 _ACEOF
36296 done
36298 else
36300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
36301 $as_echo_n "checking for _expl declaration... " >&6; }
36302 if test x${glibcxx_cv_func__expl_use+set} != xset; then
36303 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
36304 $as_echo_n "(cached) " >&6
36305 else
36308 ac_ext=cpp
36309 ac_cpp='$CXXCPP $CPPFLAGS'
36310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36315 /* end confdefs.h. */
36316 #include <math.h>
36317 #ifdef HAVE_IEEEFP_H
36318 #include <ieeefp.h>
36319 #endif
36322 main ()
36324 _expl(0);
36326 return 0;
36328 _ACEOF
36329 if ac_fn_cxx_try_compile "$LINENO"; then :
36330 glibcxx_cv_func__expl_use=yes
36331 else
36332 glibcxx_cv_func__expl_use=no
36334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36335 ac_ext=c
36336 ac_cpp='$CPP $CPPFLAGS'
36337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
36346 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
36348 if test x$glibcxx_cv_func__expl_use = x"yes"; then
36349 for ac_func in _expl
36350 do :
36351 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
36352 if test "x$ac_cv_func__expl" = x""yes; then :
36353 cat >>confdefs.h <<_ACEOF
36354 #define HAVE__EXPL 1
36355 _ACEOF
36358 done
36367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
36368 $as_echo_n "checking for fabsl declaration... " >&6; }
36369 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
36370 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
36371 $as_echo_n "(cached) " >&6
36372 else
36375 ac_ext=cpp
36376 ac_cpp='$CXXCPP $CPPFLAGS'
36377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36382 /* end confdefs.h. */
36383 #include <math.h>
36384 #ifdef HAVE_IEEEFP_H
36385 #include <ieeefp.h>
36386 #endif
36389 main ()
36391 fabsl(0);
36393 return 0;
36395 _ACEOF
36396 if ac_fn_cxx_try_compile "$LINENO"; then :
36397 glibcxx_cv_func_fabsl_use=yes
36398 else
36399 glibcxx_cv_func_fabsl_use=no
36401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36402 ac_ext=c
36403 ac_cpp='$CPP $CPPFLAGS'
36404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
36413 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
36415 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
36416 for ac_func in fabsl
36417 do :
36418 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
36419 if test "x$ac_cv_func_fabsl" = x""yes; then :
36420 cat >>confdefs.h <<_ACEOF
36421 #define HAVE_FABSL 1
36422 _ACEOF
36425 done
36427 else
36429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
36430 $as_echo_n "checking for _fabsl declaration... " >&6; }
36431 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
36432 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
36433 $as_echo_n "(cached) " >&6
36434 else
36437 ac_ext=cpp
36438 ac_cpp='$CXXCPP $CPPFLAGS'
36439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36444 /* end confdefs.h. */
36445 #include <math.h>
36446 #ifdef HAVE_IEEEFP_H
36447 #include <ieeefp.h>
36448 #endif
36451 main ()
36453 _fabsl(0);
36455 return 0;
36457 _ACEOF
36458 if ac_fn_cxx_try_compile "$LINENO"; then :
36459 glibcxx_cv_func__fabsl_use=yes
36460 else
36461 glibcxx_cv_func__fabsl_use=no
36463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36464 ac_ext=c
36465 ac_cpp='$CPP $CPPFLAGS'
36466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
36475 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
36477 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
36478 for ac_func in _fabsl
36479 do :
36480 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
36481 if test "x$ac_cv_func__fabsl" = x""yes; then :
36482 cat >>confdefs.h <<_ACEOF
36483 #define HAVE__FABSL 1
36484 _ACEOF
36487 done
36496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
36497 $as_echo_n "checking for fmodl declaration... " >&6; }
36498 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
36499 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
36500 $as_echo_n "(cached) " >&6
36501 else
36504 ac_ext=cpp
36505 ac_cpp='$CXXCPP $CPPFLAGS'
36506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36511 /* end confdefs.h. */
36512 #include <math.h>
36514 main ()
36516 fmodl(0, 0);
36518 return 0;
36520 _ACEOF
36521 if ac_fn_cxx_try_compile "$LINENO"; then :
36522 glibcxx_cv_func_fmodl_use=yes
36523 else
36524 glibcxx_cv_func_fmodl_use=no
36526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36527 ac_ext=c
36528 ac_cpp='$CPP $CPPFLAGS'
36529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
36538 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
36540 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
36541 for ac_func in fmodl
36542 do :
36543 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
36544 if test "x$ac_cv_func_fmodl" = x""yes; then :
36545 cat >>confdefs.h <<_ACEOF
36546 #define HAVE_FMODL 1
36547 _ACEOF
36550 done
36552 else
36554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
36555 $as_echo_n "checking for _fmodl declaration... " >&6; }
36556 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
36557 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
36558 $as_echo_n "(cached) " >&6
36559 else
36562 ac_ext=cpp
36563 ac_cpp='$CXXCPP $CPPFLAGS'
36564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36569 /* end confdefs.h. */
36570 #include <math.h>
36572 main ()
36574 _fmodl(0, 0);
36576 return 0;
36578 _ACEOF
36579 if ac_fn_cxx_try_compile "$LINENO"; then :
36580 glibcxx_cv_func__fmodl_use=yes
36581 else
36582 glibcxx_cv_func__fmodl_use=no
36584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36585 ac_ext=c
36586 ac_cpp='$CPP $CPPFLAGS'
36587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
36596 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
36598 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
36599 for ac_func in _fmodl
36600 do :
36601 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
36602 if test "x$ac_cv_func__fmodl" = x""yes; then :
36603 cat >>confdefs.h <<_ACEOF
36604 #define HAVE__FMODL 1
36605 _ACEOF
36608 done
36617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
36618 $as_echo_n "checking for frexpl declaration... " >&6; }
36619 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
36620 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
36621 $as_echo_n "(cached) " >&6
36622 else
36625 ac_ext=cpp
36626 ac_cpp='$CXXCPP $CPPFLAGS'
36627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36632 /* end confdefs.h. */
36633 #include <math.h>
36635 main ()
36637 frexpl(0, 0);
36639 return 0;
36641 _ACEOF
36642 if ac_fn_cxx_try_compile "$LINENO"; then :
36643 glibcxx_cv_func_frexpl_use=yes
36644 else
36645 glibcxx_cv_func_frexpl_use=no
36647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36648 ac_ext=c
36649 ac_cpp='$CPP $CPPFLAGS'
36650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
36659 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
36661 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
36662 for ac_func in frexpl
36663 do :
36664 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
36665 if test "x$ac_cv_func_frexpl" = x""yes; then :
36666 cat >>confdefs.h <<_ACEOF
36667 #define HAVE_FREXPL 1
36668 _ACEOF
36671 done
36673 else
36675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
36676 $as_echo_n "checking for _frexpl declaration... " >&6; }
36677 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
36678 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
36679 $as_echo_n "(cached) " >&6
36680 else
36683 ac_ext=cpp
36684 ac_cpp='$CXXCPP $CPPFLAGS'
36685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36690 /* end confdefs.h. */
36691 #include <math.h>
36693 main ()
36695 _frexpl(0, 0);
36697 return 0;
36699 _ACEOF
36700 if ac_fn_cxx_try_compile "$LINENO"; then :
36701 glibcxx_cv_func__frexpl_use=yes
36702 else
36703 glibcxx_cv_func__frexpl_use=no
36705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36706 ac_ext=c
36707 ac_cpp='$CPP $CPPFLAGS'
36708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
36717 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
36719 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
36720 for ac_func in _frexpl
36721 do :
36722 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
36723 if test "x$ac_cv_func__frexpl" = x""yes; then :
36724 cat >>confdefs.h <<_ACEOF
36725 #define HAVE__FREXPL 1
36726 _ACEOF
36729 done
36738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
36739 $as_echo_n "checking for hypotl declaration... " >&6; }
36740 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
36741 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
36742 $as_echo_n "(cached) " >&6
36743 else
36746 ac_ext=cpp
36747 ac_cpp='$CXXCPP $CPPFLAGS'
36748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36753 /* end confdefs.h. */
36754 #include <math.h>
36756 main ()
36758 hypotl(0, 0);
36760 return 0;
36762 _ACEOF
36763 if ac_fn_cxx_try_compile "$LINENO"; then :
36764 glibcxx_cv_func_hypotl_use=yes
36765 else
36766 glibcxx_cv_func_hypotl_use=no
36768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36769 ac_ext=c
36770 ac_cpp='$CPP $CPPFLAGS'
36771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
36780 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
36782 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
36783 for ac_func in hypotl
36784 do :
36785 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
36786 if test "x$ac_cv_func_hypotl" = x""yes; then :
36787 cat >>confdefs.h <<_ACEOF
36788 #define HAVE_HYPOTL 1
36789 _ACEOF
36792 done
36794 else
36796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
36797 $as_echo_n "checking for _hypotl declaration... " >&6; }
36798 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
36799 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
36800 $as_echo_n "(cached) " >&6
36801 else
36804 ac_ext=cpp
36805 ac_cpp='$CXXCPP $CPPFLAGS'
36806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36811 /* end confdefs.h. */
36812 #include <math.h>
36814 main ()
36816 _hypotl(0, 0);
36818 return 0;
36820 _ACEOF
36821 if ac_fn_cxx_try_compile "$LINENO"; then :
36822 glibcxx_cv_func__hypotl_use=yes
36823 else
36824 glibcxx_cv_func__hypotl_use=no
36826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36827 ac_ext=c
36828 ac_cpp='$CPP $CPPFLAGS'
36829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
36838 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
36840 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
36841 for ac_func in _hypotl
36842 do :
36843 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
36844 if test "x$ac_cv_func__hypotl" = x""yes; then :
36845 cat >>confdefs.h <<_ACEOF
36846 #define HAVE__HYPOTL 1
36847 _ACEOF
36850 done
36859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
36860 $as_echo_n "checking for ldexpl declaration... " >&6; }
36861 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
36862 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
36863 $as_echo_n "(cached) " >&6
36864 else
36867 ac_ext=cpp
36868 ac_cpp='$CXXCPP $CPPFLAGS'
36869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36874 /* end confdefs.h. */
36875 #include <math.h>
36877 main ()
36879 ldexpl(0, 0);
36881 return 0;
36883 _ACEOF
36884 if ac_fn_cxx_try_compile "$LINENO"; then :
36885 glibcxx_cv_func_ldexpl_use=yes
36886 else
36887 glibcxx_cv_func_ldexpl_use=no
36889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36890 ac_ext=c
36891 ac_cpp='$CPP $CPPFLAGS'
36892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
36901 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
36903 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
36904 for ac_func in ldexpl
36905 do :
36906 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
36907 if test "x$ac_cv_func_ldexpl" = x""yes; then :
36908 cat >>confdefs.h <<_ACEOF
36909 #define HAVE_LDEXPL 1
36910 _ACEOF
36913 done
36915 else
36917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
36918 $as_echo_n "checking for _ldexpl declaration... " >&6; }
36919 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
36920 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
36921 $as_echo_n "(cached) " >&6
36922 else
36925 ac_ext=cpp
36926 ac_cpp='$CXXCPP $CPPFLAGS'
36927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36932 /* end confdefs.h. */
36933 #include <math.h>
36935 main ()
36937 _ldexpl(0, 0);
36939 return 0;
36941 _ACEOF
36942 if ac_fn_cxx_try_compile "$LINENO"; then :
36943 glibcxx_cv_func__ldexpl_use=yes
36944 else
36945 glibcxx_cv_func__ldexpl_use=no
36947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36948 ac_ext=c
36949 ac_cpp='$CPP $CPPFLAGS'
36950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
36959 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
36961 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
36962 for ac_func in _ldexpl
36963 do :
36964 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
36965 if test "x$ac_cv_func__ldexpl" = x""yes; then :
36966 cat >>confdefs.h <<_ACEOF
36967 #define HAVE__LDEXPL 1
36968 _ACEOF
36971 done
36980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
36981 $as_echo_n "checking for logl declaration... " >&6; }
36982 if test x${glibcxx_cv_func_logl_use+set} != xset; then
36983 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
36984 $as_echo_n "(cached) " >&6
36985 else
36988 ac_ext=cpp
36989 ac_cpp='$CXXCPP $CPPFLAGS'
36990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36995 /* end confdefs.h. */
36996 #include <math.h>
36997 #ifdef HAVE_IEEEFP_H
36998 #include <ieeefp.h>
36999 #endif
37002 main ()
37004 logl(0);
37006 return 0;
37008 _ACEOF
37009 if ac_fn_cxx_try_compile "$LINENO"; then :
37010 glibcxx_cv_func_logl_use=yes
37011 else
37012 glibcxx_cv_func_logl_use=no
37014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37015 ac_ext=c
37016 ac_cpp='$CPP $CPPFLAGS'
37017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
37026 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
37028 if test x$glibcxx_cv_func_logl_use = x"yes"; then
37029 for ac_func in logl
37030 do :
37031 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
37032 if test "x$ac_cv_func_logl" = x""yes; then :
37033 cat >>confdefs.h <<_ACEOF
37034 #define HAVE_LOGL 1
37035 _ACEOF
37038 done
37040 else
37042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
37043 $as_echo_n "checking for _logl declaration... " >&6; }
37044 if test x${glibcxx_cv_func__logl_use+set} != xset; then
37045 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
37046 $as_echo_n "(cached) " >&6
37047 else
37050 ac_ext=cpp
37051 ac_cpp='$CXXCPP $CPPFLAGS'
37052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37057 /* end confdefs.h. */
37058 #include <math.h>
37059 #ifdef HAVE_IEEEFP_H
37060 #include <ieeefp.h>
37061 #endif
37064 main ()
37066 _logl(0);
37068 return 0;
37070 _ACEOF
37071 if ac_fn_cxx_try_compile "$LINENO"; then :
37072 glibcxx_cv_func__logl_use=yes
37073 else
37074 glibcxx_cv_func__logl_use=no
37076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37077 ac_ext=c
37078 ac_cpp='$CPP $CPPFLAGS'
37079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
37088 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
37090 if test x$glibcxx_cv_func__logl_use = x"yes"; then
37091 for ac_func in _logl
37092 do :
37093 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
37094 if test "x$ac_cv_func__logl" = x""yes; then :
37095 cat >>confdefs.h <<_ACEOF
37096 #define HAVE__LOGL 1
37097 _ACEOF
37100 done
37109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
37110 $as_echo_n "checking for log10l declaration... " >&6; }
37111 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
37112 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
37113 $as_echo_n "(cached) " >&6
37114 else
37117 ac_ext=cpp
37118 ac_cpp='$CXXCPP $CPPFLAGS'
37119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37124 /* end confdefs.h. */
37125 #include <math.h>
37126 #ifdef HAVE_IEEEFP_H
37127 #include <ieeefp.h>
37128 #endif
37131 main ()
37133 log10l(0);
37135 return 0;
37137 _ACEOF
37138 if ac_fn_cxx_try_compile "$LINENO"; then :
37139 glibcxx_cv_func_log10l_use=yes
37140 else
37141 glibcxx_cv_func_log10l_use=no
37143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37144 ac_ext=c
37145 ac_cpp='$CPP $CPPFLAGS'
37146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
37155 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
37157 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
37158 for ac_func in log10l
37159 do :
37160 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
37161 if test "x$ac_cv_func_log10l" = x""yes; then :
37162 cat >>confdefs.h <<_ACEOF
37163 #define HAVE_LOG10L 1
37164 _ACEOF
37167 done
37169 else
37171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
37172 $as_echo_n "checking for _log10l declaration... " >&6; }
37173 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
37174 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
37175 $as_echo_n "(cached) " >&6
37176 else
37179 ac_ext=cpp
37180 ac_cpp='$CXXCPP $CPPFLAGS'
37181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37186 /* end confdefs.h. */
37187 #include <math.h>
37188 #ifdef HAVE_IEEEFP_H
37189 #include <ieeefp.h>
37190 #endif
37193 main ()
37195 _log10l(0);
37197 return 0;
37199 _ACEOF
37200 if ac_fn_cxx_try_compile "$LINENO"; then :
37201 glibcxx_cv_func__log10l_use=yes
37202 else
37203 glibcxx_cv_func__log10l_use=no
37205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37206 ac_ext=c
37207 ac_cpp='$CPP $CPPFLAGS'
37208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
37217 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
37219 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
37220 for ac_func in _log10l
37221 do :
37222 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
37223 if test "x$ac_cv_func__log10l" = x""yes; then :
37224 cat >>confdefs.h <<_ACEOF
37225 #define HAVE__LOG10L 1
37226 _ACEOF
37229 done
37238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
37239 $as_echo_n "checking for modfl declaration... " >&6; }
37240 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
37241 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
37242 $as_echo_n "(cached) " >&6
37243 else
37246 ac_ext=cpp
37247 ac_cpp='$CXXCPP $CPPFLAGS'
37248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37253 /* end confdefs.h. */
37254 #include <math.h>
37256 main ()
37258 modfl(0, 0);
37260 return 0;
37262 _ACEOF
37263 if ac_fn_cxx_try_compile "$LINENO"; then :
37264 glibcxx_cv_func_modfl_use=yes
37265 else
37266 glibcxx_cv_func_modfl_use=no
37268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37269 ac_ext=c
37270 ac_cpp='$CPP $CPPFLAGS'
37271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
37280 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
37282 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
37283 for ac_func in modfl
37284 do :
37285 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
37286 if test "x$ac_cv_func_modfl" = x""yes; then :
37287 cat >>confdefs.h <<_ACEOF
37288 #define HAVE_MODFL 1
37289 _ACEOF
37292 done
37294 else
37296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
37297 $as_echo_n "checking for _modfl declaration... " >&6; }
37298 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
37299 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
37300 $as_echo_n "(cached) " >&6
37301 else
37304 ac_ext=cpp
37305 ac_cpp='$CXXCPP $CPPFLAGS'
37306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37311 /* end confdefs.h. */
37312 #include <math.h>
37314 main ()
37316 _modfl(0, 0);
37318 return 0;
37320 _ACEOF
37321 if ac_fn_cxx_try_compile "$LINENO"; then :
37322 glibcxx_cv_func__modfl_use=yes
37323 else
37324 glibcxx_cv_func__modfl_use=no
37326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37327 ac_ext=c
37328 ac_cpp='$CPP $CPPFLAGS'
37329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
37338 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
37340 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
37341 for ac_func in _modfl
37342 do :
37343 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
37344 if test "x$ac_cv_func__modfl" = x""yes; then :
37345 cat >>confdefs.h <<_ACEOF
37346 #define HAVE__MODFL 1
37347 _ACEOF
37350 done
37359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
37360 $as_echo_n "checking for powl declaration... " >&6; }
37361 if test x${glibcxx_cv_func_powl_use+set} != xset; then
37362 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
37363 $as_echo_n "(cached) " >&6
37364 else
37367 ac_ext=cpp
37368 ac_cpp='$CXXCPP $CPPFLAGS'
37369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37374 /* end confdefs.h. */
37375 #include <math.h>
37377 main ()
37379 powl(0, 0);
37381 return 0;
37383 _ACEOF
37384 if ac_fn_cxx_try_compile "$LINENO"; then :
37385 glibcxx_cv_func_powl_use=yes
37386 else
37387 glibcxx_cv_func_powl_use=no
37389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37390 ac_ext=c
37391 ac_cpp='$CPP $CPPFLAGS'
37392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
37401 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
37403 if test x$glibcxx_cv_func_powl_use = x"yes"; then
37404 for ac_func in powl
37405 do :
37406 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
37407 if test "x$ac_cv_func_powl" = x""yes; then :
37408 cat >>confdefs.h <<_ACEOF
37409 #define HAVE_POWL 1
37410 _ACEOF
37413 done
37415 else
37417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
37418 $as_echo_n "checking for _powl declaration... " >&6; }
37419 if test x${glibcxx_cv_func__powl_use+set} != xset; then
37420 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
37421 $as_echo_n "(cached) " >&6
37422 else
37425 ac_ext=cpp
37426 ac_cpp='$CXXCPP $CPPFLAGS'
37427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37432 /* end confdefs.h. */
37433 #include <math.h>
37435 main ()
37437 _powl(0, 0);
37439 return 0;
37441 _ACEOF
37442 if ac_fn_cxx_try_compile "$LINENO"; then :
37443 glibcxx_cv_func__powl_use=yes
37444 else
37445 glibcxx_cv_func__powl_use=no
37447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37448 ac_ext=c
37449 ac_cpp='$CPP $CPPFLAGS'
37450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
37459 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
37461 if test x$glibcxx_cv_func__powl_use = x"yes"; then
37462 for ac_func in _powl
37463 do :
37464 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
37465 if test "x$ac_cv_func__powl" = x""yes; then :
37466 cat >>confdefs.h <<_ACEOF
37467 #define HAVE__POWL 1
37468 _ACEOF
37471 done
37480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
37481 $as_echo_n "checking for sqrtl declaration... " >&6; }
37482 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
37483 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
37484 $as_echo_n "(cached) " >&6
37485 else
37488 ac_ext=cpp
37489 ac_cpp='$CXXCPP $CPPFLAGS'
37490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37495 /* end confdefs.h. */
37496 #include <math.h>
37497 #ifdef HAVE_IEEEFP_H
37498 #include <ieeefp.h>
37499 #endif
37502 main ()
37504 sqrtl(0);
37506 return 0;
37508 _ACEOF
37509 if ac_fn_cxx_try_compile "$LINENO"; then :
37510 glibcxx_cv_func_sqrtl_use=yes
37511 else
37512 glibcxx_cv_func_sqrtl_use=no
37514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37515 ac_ext=c
37516 ac_cpp='$CPP $CPPFLAGS'
37517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
37526 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
37528 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
37529 for ac_func in sqrtl
37530 do :
37531 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
37532 if test "x$ac_cv_func_sqrtl" = x""yes; then :
37533 cat >>confdefs.h <<_ACEOF
37534 #define HAVE_SQRTL 1
37535 _ACEOF
37538 done
37540 else
37542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
37543 $as_echo_n "checking for _sqrtl declaration... " >&6; }
37544 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
37545 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
37546 $as_echo_n "(cached) " >&6
37547 else
37550 ac_ext=cpp
37551 ac_cpp='$CXXCPP $CPPFLAGS'
37552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37557 /* end confdefs.h. */
37558 #include <math.h>
37559 #ifdef HAVE_IEEEFP_H
37560 #include <ieeefp.h>
37561 #endif
37564 main ()
37566 _sqrtl(0);
37568 return 0;
37570 _ACEOF
37571 if ac_fn_cxx_try_compile "$LINENO"; then :
37572 glibcxx_cv_func__sqrtl_use=yes
37573 else
37574 glibcxx_cv_func__sqrtl_use=no
37576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37577 ac_ext=c
37578 ac_cpp='$CPP $CPPFLAGS'
37579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
37588 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
37590 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
37591 for ac_func in _sqrtl
37592 do :
37593 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
37594 if test "x$ac_cv_func__sqrtl" = x""yes; then :
37595 cat >>confdefs.h <<_ACEOF
37596 #define HAVE__SQRTL 1
37597 _ACEOF
37600 done
37609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
37610 $as_echo_n "checking for sincosl declaration... " >&6; }
37611 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
37612 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
37613 $as_echo_n "(cached) " >&6
37614 else
37617 ac_ext=cpp
37618 ac_cpp='$CXXCPP $CPPFLAGS'
37619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37624 /* end confdefs.h. */
37625 #include <math.h>
37627 main ()
37629 sincosl(0, 0, 0);
37631 return 0;
37633 _ACEOF
37634 if ac_fn_cxx_try_compile "$LINENO"; then :
37635 glibcxx_cv_func_sincosl_use=yes
37636 else
37637 glibcxx_cv_func_sincosl_use=no
37639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37640 ac_ext=c
37641 ac_cpp='$CPP $CPPFLAGS'
37642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
37651 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
37653 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
37654 for ac_func in sincosl
37655 do :
37656 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
37657 if test "x$ac_cv_func_sincosl" = x""yes; then :
37658 cat >>confdefs.h <<_ACEOF
37659 #define HAVE_SINCOSL 1
37660 _ACEOF
37663 done
37665 else
37667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
37668 $as_echo_n "checking for _sincosl declaration... " >&6; }
37669 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
37670 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
37671 $as_echo_n "(cached) " >&6
37672 else
37675 ac_ext=cpp
37676 ac_cpp='$CXXCPP $CPPFLAGS'
37677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37682 /* end confdefs.h. */
37683 #include <math.h>
37685 main ()
37687 _sincosl(0, 0, 0);
37689 return 0;
37691 _ACEOF
37692 if ac_fn_cxx_try_compile "$LINENO"; then :
37693 glibcxx_cv_func__sincosl_use=yes
37694 else
37695 glibcxx_cv_func__sincosl_use=no
37697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37698 ac_ext=c
37699 ac_cpp='$CPP $CPPFLAGS'
37700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
37709 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
37711 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
37712 for ac_func in _sincosl
37713 do :
37714 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
37715 if test "x$ac_cv_func__sincosl" = x""yes; then :
37716 cat >>confdefs.h <<_ACEOF
37717 #define HAVE__SINCOSL 1
37718 _ACEOF
37721 done
37730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
37731 $as_echo_n "checking for finitel declaration... " >&6; }
37732 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
37733 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
37734 $as_echo_n "(cached) " >&6
37735 else
37738 ac_ext=cpp
37739 ac_cpp='$CXXCPP $CPPFLAGS'
37740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37745 /* end confdefs.h. */
37746 #include <math.h>
37747 #ifdef HAVE_IEEEFP_H
37748 #include <ieeefp.h>
37749 #endif
37752 main ()
37754 finitel(0);
37756 return 0;
37758 _ACEOF
37759 if ac_fn_cxx_try_compile "$LINENO"; then :
37760 glibcxx_cv_func_finitel_use=yes
37761 else
37762 glibcxx_cv_func_finitel_use=no
37764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37765 ac_ext=c
37766 ac_cpp='$CPP $CPPFLAGS'
37767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
37776 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
37778 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
37779 for ac_func in finitel
37780 do :
37781 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
37782 if test "x$ac_cv_func_finitel" = x""yes; then :
37783 cat >>confdefs.h <<_ACEOF
37784 #define HAVE_FINITEL 1
37785 _ACEOF
37788 done
37790 else
37792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
37793 $as_echo_n "checking for _finitel declaration... " >&6; }
37794 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
37795 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
37796 $as_echo_n "(cached) " >&6
37797 else
37800 ac_ext=cpp
37801 ac_cpp='$CXXCPP $CPPFLAGS'
37802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37807 /* end confdefs.h. */
37808 #include <math.h>
37809 #ifdef HAVE_IEEEFP_H
37810 #include <ieeefp.h>
37811 #endif
37814 main ()
37816 _finitel(0);
37818 return 0;
37820 _ACEOF
37821 if ac_fn_cxx_try_compile "$LINENO"; then :
37822 glibcxx_cv_func__finitel_use=yes
37823 else
37824 glibcxx_cv_func__finitel_use=no
37826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37827 ac_ext=c
37828 ac_cpp='$CPP $CPPFLAGS'
37829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
37838 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
37840 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
37841 for ac_func in _finitel
37842 do :
37843 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
37844 if test "x$ac_cv_func__finitel" = x""yes; then :
37845 cat >>confdefs.h <<_ACEOF
37846 #define HAVE__FINITEL 1
37847 _ACEOF
37850 done
37858 LIBS="$ac_save_LIBS"
37859 CXXFLAGS="$ac_save_CXXFLAGS"
37862 ac_test_CXXFLAGS="${CXXFLAGS+set}"
37863 ac_save_CXXFLAGS="$CXXFLAGS"
37864 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
37867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
37868 $as_echo_n "checking for strtold declaration... " >&6; }
37869 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
37870 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
37871 $as_echo_n "(cached) " >&6
37872 else
37875 ac_ext=cpp
37876 ac_cpp='$CXXCPP $CPPFLAGS'
37877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37882 /* end confdefs.h. */
37883 #include <stdlib.h>
37885 main ()
37887 strtold(0, 0);
37889 return 0;
37891 _ACEOF
37892 if ac_fn_cxx_try_compile "$LINENO"; then :
37893 glibcxx_cv_func_strtold_use=yes
37894 else
37895 glibcxx_cv_func_strtold_use=no
37897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37898 ac_ext=c
37899 ac_cpp='$CPP $CPPFLAGS'
37900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
37909 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
37910 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
37911 for ac_func in strtold
37912 do :
37913 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
37914 if test "x$ac_cv_func_strtold" = x""yes; then :
37915 cat >>confdefs.h <<_ACEOF
37916 #define HAVE_STRTOLD 1
37917 _ACEOF
37920 done
37927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
37928 $as_echo_n "checking for strtof declaration... " >&6; }
37929 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
37930 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
37931 $as_echo_n "(cached) " >&6
37932 else
37935 ac_ext=cpp
37936 ac_cpp='$CXXCPP $CPPFLAGS'
37937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37942 /* end confdefs.h. */
37943 #include <stdlib.h>
37945 main ()
37947 strtof(0, 0);
37949 return 0;
37951 _ACEOF
37952 if ac_fn_cxx_try_compile "$LINENO"; then :
37953 glibcxx_cv_func_strtof_use=yes
37954 else
37955 glibcxx_cv_func_strtof_use=no
37957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37958 ac_ext=c
37959 ac_cpp='$CPP $CPPFLAGS'
37960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
37969 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
37970 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
37971 for ac_func in strtof
37972 do :
37973 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
37974 if test "x$ac_cv_func_strtof" = x""yes; then :
37975 cat >>confdefs.h <<_ACEOF
37976 #define HAVE_STRTOF 1
37977 _ACEOF
37980 done
37987 CXXFLAGS="$ac_save_CXXFLAGS"
37989 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
37991 # We don't yet support AIX's TLS ABI.
37992 #GCC_CHECK_TLS
37998 am_save_CPPFLAGS="$CPPFLAGS"
38000 for element in $INCICONV; do
38001 haveit=
38002 for x in $CPPFLAGS; do
38004 acl_save_prefix="$prefix"
38005 prefix="$acl_final_prefix"
38006 acl_save_exec_prefix="$exec_prefix"
38007 exec_prefix="$acl_final_exec_prefix"
38008 eval x=\"$x\"
38009 exec_prefix="$acl_save_exec_prefix"
38010 prefix="$acl_save_prefix"
38012 if test "X$x" = "X$element"; then
38013 haveit=yes
38014 break
38016 done
38017 if test -z "$haveit"; then
38018 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
38020 done
38023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
38024 $as_echo_n "checking for iconv... " >&6; }
38025 if test "${am_cv_func_iconv+set}" = set; then :
38026 $as_echo_n "(cached) " >&6
38027 else
38029 am_cv_func_iconv="no, consider installing GNU libiconv"
38030 am_cv_lib_iconv=no
38031 if test x$gcc_no_link = xyes; then
38032 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38035 /* end confdefs.h. */
38036 #include <stdlib.h>
38037 #include <iconv.h>
38039 main ()
38041 iconv_t cd = iconv_open("","");
38042 iconv(cd,NULL,NULL,NULL,NULL);
38043 iconv_close(cd);
38045 return 0;
38047 _ACEOF
38048 if ac_fn_c_try_link "$LINENO"; then :
38049 am_cv_func_iconv=yes
38051 rm -f core conftest.err conftest.$ac_objext \
38052 conftest$ac_exeext conftest.$ac_ext
38053 if test "$am_cv_func_iconv" != yes; then
38054 am_save_LIBS="$LIBS"
38055 LIBS="$LIBS $LIBICONV"
38056 if test x$gcc_no_link = xyes; then
38057 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38060 /* end confdefs.h. */
38061 #include <stdlib.h>
38062 #include <iconv.h>
38064 main ()
38066 iconv_t cd = iconv_open("","");
38067 iconv(cd,NULL,NULL,NULL,NULL);
38068 iconv_close(cd);
38070 return 0;
38072 _ACEOF
38073 if ac_fn_c_try_link "$LINENO"; then :
38074 am_cv_lib_iconv=yes
38075 am_cv_func_iconv=yes
38077 rm -f core conftest.err conftest.$ac_objext \
38078 conftest$ac_exeext conftest.$ac_ext
38079 LIBS="$am_save_LIBS"
38083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
38084 $as_echo "$am_cv_func_iconv" >&6; }
38085 if test "$am_cv_func_iconv" = yes; then
38087 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
38090 if test "$am_cv_lib_iconv" = yes; then
38091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
38092 $as_echo_n "checking how to link with libiconv... " >&6; }
38093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
38094 $as_echo "$LIBICONV" >&6; }
38095 else
38096 CPPFLAGS="$am_save_CPPFLAGS"
38097 LIBICONV=
38098 LTLIBICONV=
38103 if test "$am_cv_func_iconv" = yes; then
38104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
38105 $as_echo_n "checking for iconv declaration... " >&6; }
38106 if test "${am_cv_proto_iconv+set}" = set; then :
38107 $as_echo_n "(cached) " >&6
38108 else
38110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38111 /* end confdefs.h. */
38113 #include <stdlib.h>
38114 #include <iconv.h>
38115 extern
38116 #ifdef __cplusplus
38118 #endif
38119 #if defined(__STDC__) || defined(__cplusplus)
38120 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38121 #else
38122 size_t iconv();
38123 #endif
38126 main ()
38130 return 0;
38132 _ACEOF
38133 if ac_fn_c_try_compile "$LINENO"; then :
38134 am_cv_proto_iconv_arg1=""
38135 else
38136 am_cv_proto_iconv_arg1="const"
38138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38139 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);"
38142 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
38143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
38144 }$am_cv_proto_iconv" >&5
38145 $as_echo "${ac_t:-
38146 }$am_cv_proto_iconv" >&6; }
38148 cat >>confdefs.h <<_ACEOF
38149 #define ICONV_CONST $am_cv_proto_iconv_arg1
38150 _ACEOF
38156 *-darwin*)
38157 # Darwin versions vary, but the linker should work in a cross environment,
38158 # so we just check for all the features here.
38159 # Check for available headers.
38161 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
38163 ac_test_CXXFLAGS="${CXXFLAGS+set}"
38164 ac_save_CXXFLAGS="$CXXFLAGS"
38165 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
38168 $as_echo_n "checking for sin in -lm... " >&6; }
38169 if test "${ac_cv_lib_m_sin+set}" = set; then :
38170 $as_echo_n "(cached) " >&6
38171 else
38172 ac_check_lib_save_LIBS=$LIBS
38173 LIBS="-lm $LIBS"
38174 if test x$gcc_no_link = xyes; then
38175 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38178 /* end confdefs.h. */
38180 /* Override any GCC internal prototype to avoid an error.
38181 Use char because int might match the return type of a GCC
38182 builtin and then its argument prototype would still apply. */
38183 #ifdef __cplusplus
38184 extern "C"
38185 #endif
38186 char sin ();
38188 main ()
38190 return sin ();
38192 return 0;
38194 _ACEOF
38195 if ac_fn_c_try_link "$LINENO"; then :
38196 ac_cv_lib_m_sin=yes
38197 else
38198 ac_cv_lib_m_sin=no
38200 rm -f core conftest.err conftest.$ac_objext \
38201 conftest$ac_exeext conftest.$ac_ext
38202 LIBS=$ac_check_lib_save_LIBS
38204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
38205 $as_echo "$ac_cv_lib_m_sin" >&6; }
38206 if test "x$ac_cv_lib_m_sin" = x""yes; then :
38207 libm="-lm"
38210 ac_save_LIBS="$LIBS"
38211 LIBS="$LIBS $libm"
38215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
38216 $as_echo_n "checking for isinf declaration... " >&6; }
38217 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
38218 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
38219 $as_echo_n "(cached) " >&6
38220 else
38223 ac_ext=cpp
38224 ac_cpp='$CXXCPP $CPPFLAGS'
38225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38230 /* end confdefs.h. */
38231 #include <math.h>
38232 #ifdef HAVE_IEEEFP_H
38233 #include <ieeefp.h>
38234 #endif
38237 main ()
38239 isinf(0);
38241 return 0;
38243 _ACEOF
38244 if ac_fn_cxx_try_compile "$LINENO"; then :
38245 glibcxx_cv_func_isinf_use=yes
38246 else
38247 glibcxx_cv_func_isinf_use=no
38249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38250 ac_ext=c
38251 ac_cpp='$CPP $CPPFLAGS'
38252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
38261 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
38263 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
38264 for ac_func in isinf
38265 do :
38266 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
38267 if test "x$ac_cv_func_isinf" = x""yes; then :
38268 cat >>confdefs.h <<_ACEOF
38269 #define HAVE_ISINF 1
38270 _ACEOF
38273 done
38275 else
38277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
38278 $as_echo_n "checking for _isinf declaration... " >&6; }
38279 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
38280 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
38281 $as_echo_n "(cached) " >&6
38282 else
38285 ac_ext=cpp
38286 ac_cpp='$CXXCPP $CPPFLAGS'
38287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38292 /* end confdefs.h. */
38293 #include <math.h>
38294 #ifdef HAVE_IEEEFP_H
38295 #include <ieeefp.h>
38296 #endif
38299 main ()
38301 _isinf(0);
38303 return 0;
38305 _ACEOF
38306 if ac_fn_cxx_try_compile "$LINENO"; then :
38307 glibcxx_cv_func__isinf_use=yes
38308 else
38309 glibcxx_cv_func__isinf_use=no
38311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38312 ac_ext=c
38313 ac_cpp='$CPP $CPPFLAGS'
38314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
38323 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
38325 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
38326 for ac_func in _isinf
38327 do :
38328 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
38329 if test "x$ac_cv_func__isinf" = x""yes; then :
38330 cat >>confdefs.h <<_ACEOF
38331 #define HAVE__ISINF 1
38332 _ACEOF
38335 done
38344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
38345 $as_echo_n "checking for isnan declaration... " >&6; }
38346 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
38347 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
38348 $as_echo_n "(cached) " >&6
38349 else
38352 ac_ext=cpp
38353 ac_cpp='$CXXCPP $CPPFLAGS'
38354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38359 /* end confdefs.h. */
38360 #include <math.h>
38361 #ifdef HAVE_IEEEFP_H
38362 #include <ieeefp.h>
38363 #endif
38366 main ()
38368 isnan(0);
38370 return 0;
38372 _ACEOF
38373 if ac_fn_cxx_try_compile "$LINENO"; then :
38374 glibcxx_cv_func_isnan_use=yes
38375 else
38376 glibcxx_cv_func_isnan_use=no
38378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38379 ac_ext=c
38380 ac_cpp='$CPP $CPPFLAGS'
38381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
38390 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
38392 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
38393 for ac_func in isnan
38394 do :
38395 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
38396 if test "x$ac_cv_func_isnan" = x""yes; then :
38397 cat >>confdefs.h <<_ACEOF
38398 #define HAVE_ISNAN 1
38399 _ACEOF
38402 done
38404 else
38406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
38407 $as_echo_n "checking for _isnan declaration... " >&6; }
38408 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
38409 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
38410 $as_echo_n "(cached) " >&6
38411 else
38414 ac_ext=cpp
38415 ac_cpp='$CXXCPP $CPPFLAGS'
38416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38421 /* end confdefs.h. */
38422 #include <math.h>
38423 #ifdef HAVE_IEEEFP_H
38424 #include <ieeefp.h>
38425 #endif
38428 main ()
38430 _isnan(0);
38432 return 0;
38434 _ACEOF
38435 if ac_fn_cxx_try_compile "$LINENO"; then :
38436 glibcxx_cv_func__isnan_use=yes
38437 else
38438 glibcxx_cv_func__isnan_use=no
38440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38441 ac_ext=c
38442 ac_cpp='$CPP $CPPFLAGS'
38443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
38452 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
38454 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
38455 for ac_func in _isnan
38456 do :
38457 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
38458 if test "x$ac_cv_func__isnan" = x""yes; then :
38459 cat >>confdefs.h <<_ACEOF
38460 #define HAVE__ISNAN 1
38461 _ACEOF
38464 done
38473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
38474 $as_echo_n "checking for finite declaration... " >&6; }
38475 if test x${glibcxx_cv_func_finite_use+set} != xset; then
38476 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
38477 $as_echo_n "(cached) " >&6
38478 else
38481 ac_ext=cpp
38482 ac_cpp='$CXXCPP $CPPFLAGS'
38483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38488 /* end confdefs.h. */
38489 #include <math.h>
38490 #ifdef HAVE_IEEEFP_H
38491 #include <ieeefp.h>
38492 #endif
38495 main ()
38497 finite(0);
38499 return 0;
38501 _ACEOF
38502 if ac_fn_cxx_try_compile "$LINENO"; then :
38503 glibcxx_cv_func_finite_use=yes
38504 else
38505 glibcxx_cv_func_finite_use=no
38507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38508 ac_ext=c
38509 ac_cpp='$CPP $CPPFLAGS'
38510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
38519 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
38521 if test x$glibcxx_cv_func_finite_use = x"yes"; then
38522 for ac_func in finite
38523 do :
38524 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
38525 if test "x$ac_cv_func_finite" = x""yes; then :
38526 cat >>confdefs.h <<_ACEOF
38527 #define HAVE_FINITE 1
38528 _ACEOF
38531 done
38533 else
38535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
38536 $as_echo_n "checking for _finite declaration... " >&6; }
38537 if test x${glibcxx_cv_func__finite_use+set} != xset; then
38538 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
38539 $as_echo_n "(cached) " >&6
38540 else
38543 ac_ext=cpp
38544 ac_cpp='$CXXCPP $CPPFLAGS'
38545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38550 /* end confdefs.h. */
38551 #include <math.h>
38552 #ifdef HAVE_IEEEFP_H
38553 #include <ieeefp.h>
38554 #endif
38557 main ()
38559 _finite(0);
38561 return 0;
38563 _ACEOF
38564 if ac_fn_cxx_try_compile "$LINENO"; then :
38565 glibcxx_cv_func__finite_use=yes
38566 else
38567 glibcxx_cv_func__finite_use=no
38569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38570 ac_ext=c
38571 ac_cpp='$CPP $CPPFLAGS'
38572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
38581 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
38583 if test x$glibcxx_cv_func__finite_use = x"yes"; then
38584 for ac_func in _finite
38585 do :
38586 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
38587 if test "x$ac_cv_func__finite" = x""yes; then :
38588 cat >>confdefs.h <<_ACEOF
38589 #define HAVE__FINITE 1
38590 _ACEOF
38593 done
38602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
38603 $as_echo_n "checking for sincos declaration... " >&6; }
38604 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
38605 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
38606 $as_echo_n "(cached) " >&6
38607 else
38610 ac_ext=cpp
38611 ac_cpp='$CXXCPP $CPPFLAGS'
38612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38617 /* end confdefs.h. */
38618 #include <math.h>
38620 main ()
38622 sincos(0, 0, 0);
38624 return 0;
38626 _ACEOF
38627 if ac_fn_cxx_try_compile "$LINENO"; then :
38628 glibcxx_cv_func_sincos_use=yes
38629 else
38630 glibcxx_cv_func_sincos_use=no
38632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38633 ac_ext=c
38634 ac_cpp='$CPP $CPPFLAGS'
38635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
38644 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
38646 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
38647 for ac_func in sincos
38648 do :
38649 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
38650 if test "x$ac_cv_func_sincos" = x""yes; then :
38651 cat >>confdefs.h <<_ACEOF
38652 #define HAVE_SINCOS 1
38653 _ACEOF
38656 done
38658 else
38660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
38661 $as_echo_n "checking for _sincos declaration... " >&6; }
38662 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
38663 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
38664 $as_echo_n "(cached) " >&6
38665 else
38668 ac_ext=cpp
38669 ac_cpp='$CXXCPP $CPPFLAGS'
38670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38675 /* end confdefs.h. */
38676 #include <math.h>
38678 main ()
38680 _sincos(0, 0, 0);
38682 return 0;
38684 _ACEOF
38685 if ac_fn_cxx_try_compile "$LINENO"; then :
38686 glibcxx_cv_func__sincos_use=yes
38687 else
38688 glibcxx_cv_func__sincos_use=no
38690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38691 ac_ext=c
38692 ac_cpp='$CPP $CPPFLAGS'
38693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
38702 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
38704 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
38705 for ac_func in _sincos
38706 do :
38707 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
38708 if test "x$ac_cv_func__sincos" = x""yes; then :
38709 cat >>confdefs.h <<_ACEOF
38710 #define HAVE__SINCOS 1
38711 _ACEOF
38714 done
38723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
38724 $as_echo_n "checking for fpclass declaration... " >&6; }
38725 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
38726 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
38727 $as_echo_n "(cached) " >&6
38728 else
38731 ac_ext=cpp
38732 ac_cpp='$CXXCPP $CPPFLAGS'
38733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38738 /* end confdefs.h. */
38739 #include <math.h>
38740 #ifdef HAVE_IEEEFP_H
38741 #include <ieeefp.h>
38742 #endif
38745 main ()
38747 fpclass(0);
38749 return 0;
38751 _ACEOF
38752 if ac_fn_cxx_try_compile "$LINENO"; then :
38753 glibcxx_cv_func_fpclass_use=yes
38754 else
38755 glibcxx_cv_func_fpclass_use=no
38757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38758 ac_ext=c
38759 ac_cpp='$CPP $CPPFLAGS'
38760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
38769 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
38771 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
38772 for ac_func in fpclass
38773 do :
38774 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
38775 if test "x$ac_cv_func_fpclass" = x""yes; then :
38776 cat >>confdefs.h <<_ACEOF
38777 #define HAVE_FPCLASS 1
38778 _ACEOF
38781 done
38783 else
38785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
38786 $as_echo_n "checking for _fpclass declaration... " >&6; }
38787 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
38788 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
38789 $as_echo_n "(cached) " >&6
38790 else
38793 ac_ext=cpp
38794 ac_cpp='$CXXCPP $CPPFLAGS'
38795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38800 /* end confdefs.h. */
38801 #include <math.h>
38802 #ifdef HAVE_IEEEFP_H
38803 #include <ieeefp.h>
38804 #endif
38807 main ()
38809 _fpclass(0);
38811 return 0;
38813 _ACEOF
38814 if ac_fn_cxx_try_compile "$LINENO"; then :
38815 glibcxx_cv_func__fpclass_use=yes
38816 else
38817 glibcxx_cv_func__fpclass_use=no
38819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38820 ac_ext=c
38821 ac_cpp='$CPP $CPPFLAGS'
38822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
38831 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
38833 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
38834 for ac_func in _fpclass
38835 do :
38836 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
38837 if test "x$ac_cv_func__fpclass" = x""yes; then :
38838 cat >>confdefs.h <<_ACEOF
38839 #define HAVE__FPCLASS 1
38840 _ACEOF
38843 done
38852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
38853 $as_echo_n "checking for qfpclass declaration... " >&6; }
38854 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
38855 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
38856 $as_echo_n "(cached) " >&6
38857 else
38860 ac_ext=cpp
38861 ac_cpp='$CXXCPP $CPPFLAGS'
38862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38867 /* end confdefs.h. */
38868 #include <math.h>
38869 #ifdef HAVE_IEEEFP_H
38870 #include <ieeefp.h>
38871 #endif
38874 main ()
38876 qfpclass(0);
38878 return 0;
38880 _ACEOF
38881 if ac_fn_cxx_try_compile "$LINENO"; then :
38882 glibcxx_cv_func_qfpclass_use=yes
38883 else
38884 glibcxx_cv_func_qfpclass_use=no
38886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38887 ac_ext=c
38888 ac_cpp='$CPP $CPPFLAGS'
38889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
38898 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
38900 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
38901 for ac_func in qfpclass
38902 do :
38903 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
38904 if test "x$ac_cv_func_qfpclass" = x""yes; then :
38905 cat >>confdefs.h <<_ACEOF
38906 #define HAVE_QFPCLASS 1
38907 _ACEOF
38910 done
38912 else
38914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
38915 $as_echo_n "checking for _qfpclass declaration... " >&6; }
38916 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
38917 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
38918 $as_echo_n "(cached) " >&6
38919 else
38922 ac_ext=cpp
38923 ac_cpp='$CXXCPP $CPPFLAGS'
38924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38929 /* end confdefs.h. */
38930 #include <math.h>
38931 #ifdef HAVE_IEEEFP_H
38932 #include <ieeefp.h>
38933 #endif
38936 main ()
38938 _qfpclass(0);
38940 return 0;
38942 _ACEOF
38943 if ac_fn_cxx_try_compile "$LINENO"; then :
38944 glibcxx_cv_func__qfpclass_use=yes
38945 else
38946 glibcxx_cv_func__qfpclass_use=no
38948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38949 ac_ext=c
38950 ac_cpp='$CPP $CPPFLAGS'
38951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
38960 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
38962 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
38963 for ac_func in _qfpclass
38964 do :
38965 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
38966 if test "x$ac_cv_func__qfpclass" = x""yes; then :
38967 cat >>confdefs.h <<_ACEOF
38968 #define HAVE__QFPCLASS 1
38969 _ACEOF
38972 done
38981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
38982 $as_echo_n "checking for hypot declaration... " >&6; }
38983 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
38984 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
38985 $as_echo_n "(cached) " >&6
38986 else
38989 ac_ext=cpp
38990 ac_cpp='$CXXCPP $CPPFLAGS'
38991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38996 /* end confdefs.h. */
38997 #include <math.h>
38999 main ()
39001 hypot(0, 0);
39003 return 0;
39005 _ACEOF
39006 if ac_fn_cxx_try_compile "$LINENO"; then :
39007 glibcxx_cv_func_hypot_use=yes
39008 else
39009 glibcxx_cv_func_hypot_use=no
39011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39012 ac_ext=c
39013 ac_cpp='$CPP $CPPFLAGS'
39014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
39023 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
39025 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
39026 for ac_func in hypot
39027 do :
39028 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
39029 if test "x$ac_cv_func_hypot" = x""yes; then :
39030 cat >>confdefs.h <<_ACEOF
39031 #define HAVE_HYPOT 1
39032 _ACEOF
39035 done
39037 else
39039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
39040 $as_echo_n "checking for _hypot declaration... " >&6; }
39041 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
39042 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
39043 $as_echo_n "(cached) " >&6
39044 else
39047 ac_ext=cpp
39048 ac_cpp='$CXXCPP $CPPFLAGS'
39049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39054 /* end confdefs.h. */
39055 #include <math.h>
39057 main ()
39059 _hypot(0, 0);
39061 return 0;
39063 _ACEOF
39064 if ac_fn_cxx_try_compile "$LINENO"; then :
39065 glibcxx_cv_func__hypot_use=yes
39066 else
39067 glibcxx_cv_func__hypot_use=no
39069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39070 ac_ext=c
39071 ac_cpp='$CPP $CPPFLAGS'
39072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
39081 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
39083 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
39084 for ac_func in _hypot
39085 do :
39086 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
39087 if test "x$ac_cv_func__hypot" = x""yes; then :
39088 cat >>confdefs.h <<_ACEOF
39089 #define HAVE__HYPOT 1
39090 _ACEOF
39093 done
39102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
39103 $as_echo_n "checking for float trig functions... " >&6; }
39104 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
39105 $as_echo_n "(cached) " >&6
39106 else
39109 ac_ext=cpp
39110 ac_cpp='$CXXCPP $CPPFLAGS'
39111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39116 /* end confdefs.h. */
39117 #include <math.h>
39119 main ()
39121 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
39123 return 0;
39125 _ACEOF
39126 if ac_fn_cxx_try_compile "$LINENO"; then :
39127 glibcxx_cv_func_float_trig_use=yes
39128 else
39129 glibcxx_cv_func_float_trig_use=no
39131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39132 ac_ext=c
39133 ac_cpp='$CPP $CPPFLAGS'
39134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
39141 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
39142 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
39143 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
39144 do :
39145 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39146 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39147 eval as_val=\$$as_ac_var
39148 if test "x$as_val" = x""yes; then :
39149 cat >>confdefs.h <<_ACEOF
39150 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39151 _ACEOF
39154 done
39156 else
39157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
39158 $as_echo_n "checking for _float trig functions... " >&6; }
39159 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
39160 $as_echo_n "(cached) " >&6
39161 else
39164 ac_ext=cpp
39165 ac_cpp='$CXXCPP $CPPFLAGS'
39166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39171 /* end confdefs.h. */
39172 #include <math.h>
39174 main ()
39176 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
39178 return 0;
39180 _ACEOF
39181 if ac_fn_cxx_try_compile "$LINENO"; then :
39182 glibcxx_cv_func__float_trig_use=yes
39183 else
39184 glibcxx_cv_func__float_trig_use=no
39186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39187 ac_ext=c
39188 ac_cpp='$CPP $CPPFLAGS'
39189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
39196 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
39197 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
39198 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
39199 do :
39200 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39201 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39202 eval as_val=\$$as_ac_var
39203 if test "x$as_val" = x""yes; then :
39204 cat >>confdefs.h <<_ACEOF
39205 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39206 _ACEOF
39209 done
39218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
39219 $as_echo_n "checking for float round functions... " >&6; }
39220 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
39221 $as_echo_n "(cached) " >&6
39222 else
39225 ac_ext=cpp
39226 ac_cpp='$CXXCPP $CPPFLAGS'
39227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39232 /* end confdefs.h. */
39233 #include <math.h>
39235 main ()
39237 ceilf (0); floorf (0);
39239 return 0;
39241 _ACEOF
39242 if ac_fn_cxx_try_compile "$LINENO"; then :
39243 glibcxx_cv_func_float_round_use=yes
39244 else
39245 glibcxx_cv_func_float_round_use=no
39247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39248 ac_ext=c
39249 ac_cpp='$CPP $CPPFLAGS'
39250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
39257 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
39258 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
39259 for ac_func in ceilf floorf
39260 do :
39261 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39262 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39263 eval as_val=\$$as_ac_var
39264 if test "x$as_val" = x""yes; then :
39265 cat >>confdefs.h <<_ACEOF
39266 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39267 _ACEOF
39270 done
39272 else
39273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
39274 $as_echo_n "checking for _float round functions... " >&6; }
39275 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
39276 $as_echo_n "(cached) " >&6
39277 else
39280 ac_ext=cpp
39281 ac_cpp='$CXXCPP $CPPFLAGS'
39282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39287 /* end confdefs.h. */
39288 #include <math.h>
39290 main ()
39292 _ceilf (0); _floorf (0);
39294 return 0;
39296 _ACEOF
39297 if ac_fn_cxx_try_compile "$LINENO"; then :
39298 glibcxx_cv_func__float_round_use=yes
39299 else
39300 glibcxx_cv_func__float_round_use=no
39302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39303 ac_ext=c
39304 ac_cpp='$CPP $CPPFLAGS'
39305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
39312 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
39313 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
39314 for ac_func in _ceilf _floorf
39315 do :
39316 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39317 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39318 eval as_val=\$$as_ac_var
39319 if test "x$as_val" = x""yes; then :
39320 cat >>confdefs.h <<_ACEOF
39321 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39322 _ACEOF
39325 done
39335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
39336 $as_echo_n "checking for expf declaration... " >&6; }
39337 if test x${glibcxx_cv_func_expf_use+set} != xset; then
39338 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
39339 $as_echo_n "(cached) " >&6
39340 else
39343 ac_ext=cpp
39344 ac_cpp='$CXXCPP $CPPFLAGS'
39345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39350 /* end confdefs.h. */
39351 #include <math.h>
39352 #ifdef HAVE_IEEEFP_H
39353 #include <ieeefp.h>
39354 #endif
39357 main ()
39359 expf(0);
39361 return 0;
39363 _ACEOF
39364 if ac_fn_cxx_try_compile "$LINENO"; then :
39365 glibcxx_cv_func_expf_use=yes
39366 else
39367 glibcxx_cv_func_expf_use=no
39369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39370 ac_ext=c
39371 ac_cpp='$CPP $CPPFLAGS'
39372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
39381 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
39383 if test x$glibcxx_cv_func_expf_use = x"yes"; then
39384 for ac_func in expf
39385 do :
39386 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
39387 if test "x$ac_cv_func_expf" = x""yes; then :
39388 cat >>confdefs.h <<_ACEOF
39389 #define HAVE_EXPF 1
39390 _ACEOF
39393 done
39395 else
39397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
39398 $as_echo_n "checking for _expf declaration... " >&6; }
39399 if test x${glibcxx_cv_func__expf_use+set} != xset; then
39400 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
39401 $as_echo_n "(cached) " >&6
39402 else
39405 ac_ext=cpp
39406 ac_cpp='$CXXCPP $CPPFLAGS'
39407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39412 /* end confdefs.h. */
39413 #include <math.h>
39414 #ifdef HAVE_IEEEFP_H
39415 #include <ieeefp.h>
39416 #endif
39419 main ()
39421 _expf(0);
39423 return 0;
39425 _ACEOF
39426 if ac_fn_cxx_try_compile "$LINENO"; then :
39427 glibcxx_cv_func__expf_use=yes
39428 else
39429 glibcxx_cv_func__expf_use=no
39431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39432 ac_ext=c
39433 ac_cpp='$CPP $CPPFLAGS'
39434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
39443 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
39445 if test x$glibcxx_cv_func__expf_use = x"yes"; then
39446 for ac_func in _expf
39447 do :
39448 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
39449 if test "x$ac_cv_func__expf" = x""yes; then :
39450 cat >>confdefs.h <<_ACEOF
39451 #define HAVE__EXPF 1
39452 _ACEOF
39455 done
39464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
39465 $as_echo_n "checking for isnanf declaration... " >&6; }
39466 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
39467 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
39468 $as_echo_n "(cached) " >&6
39469 else
39472 ac_ext=cpp
39473 ac_cpp='$CXXCPP $CPPFLAGS'
39474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39479 /* end confdefs.h. */
39480 #include <math.h>
39481 #ifdef HAVE_IEEEFP_H
39482 #include <ieeefp.h>
39483 #endif
39486 main ()
39488 isnanf(0);
39490 return 0;
39492 _ACEOF
39493 if ac_fn_cxx_try_compile "$LINENO"; then :
39494 glibcxx_cv_func_isnanf_use=yes
39495 else
39496 glibcxx_cv_func_isnanf_use=no
39498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39499 ac_ext=c
39500 ac_cpp='$CPP $CPPFLAGS'
39501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
39510 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
39512 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
39513 for ac_func in isnanf
39514 do :
39515 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
39516 if test "x$ac_cv_func_isnanf" = x""yes; then :
39517 cat >>confdefs.h <<_ACEOF
39518 #define HAVE_ISNANF 1
39519 _ACEOF
39522 done
39524 else
39526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
39527 $as_echo_n "checking for _isnanf declaration... " >&6; }
39528 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
39529 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
39530 $as_echo_n "(cached) " >&6
39531 else
39534 ac_ext=cpp
39535 ac_cpp='$CXXCPP $CPPFLAGS'
39536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39541 /* end confdefs.h. */
39542 #include <math.h>
39543 #ifdef HAVE_IEEEFP_H
39544 #include <ieeefp.h>
39545 #endif
39548 main ()
39550 _isnanf(0);
39552 return 0;
39554 _ACEOF
39555 if ac_fn_cxx_try_compile "$LINENO"; then :
39556 glibcxx_cv_func__isnanf_use=yes
39557 else
39558 glibcxx_cv_func__isnanf_use=no
39560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39561 ac_ext=c
39562 ac_cpp='$CPP $CPPFLAGS'
39563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
39572 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
39574 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
39575 for ac_func in _isnanf
39576 do :
39577 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
39578 if test "x$ac_cv_func__isnanf" = x""yes; then :
39579 cat >>confdefs.h <<_ACEOF
39580 #define HAVE__ISNANF 1
39581 _ACEOF
39584 done
39593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
39594 $as_echo_n "checking for isinff declaration... " >&6; }
39595 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
39596 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
39597 $as_echo_n "(cached) " >&6
39598 else
39601 ac_ext=cpp
39602 ac_cpp='$CXXCPP $CPPFLAGS'
39603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39608 /* end confdefs.h. */
39609 #include <math.h>
39610 #ifdef HAVE_IEEEFP_H
39611 #include <ieeefp.h>
39612 #endif
39615 main ()
39617 isinff(0);
39619 return 0;
39621 _ACEOF
39622 if ac_fn_cxx_try_compile "$LINENO"; then :
39623 glibcxx_cv_func_isinff_use=yes
39624 else
39625 glibcxx_cv_func_isinff_use=no
39627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39628 ac_ext=c
39629 ac_cpp='$CPP $CPPFLAGS'
39630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
39639 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
39641 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
39642 for ac_func in isinff
39643 do :
39644 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
39645 if test "x$ac_cv_func_isinff" = x""yes; then :
39646 cat >>confdefs.h <<_ACEOF
39647 #define HAVE_ISINFF 1
39648 _ACEOF
39651 done
39653 else
39655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
39656 $as_echo_n "checking for _isinff declaration... " >&6; }
39657 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
39658 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
39659 $as_echo_n "(cached) " >&6
39660 else
39663 ac_ext=cpp
39664 ac_cpp='$CXXCPP $CPPFLAGS'
39665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39670 /* end confdefs.h. */
39671 #include <math.h>
39672 #ifdef HAVE_IEEEFP_H
39673 #include <ieeefp.h>
39674 #endif
39677 main ()
39679 _isinff(0);
39681 return 0;
39683 _ACEOF
39684 if ac_fn_cxx_try_compile "$LINENO"; then :
39685 glibcxx_cv_func__isinff_use=yes
39686 else
39687 glibcxx_cv_func__isinff_use=no
39689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39690 ac_ext=c
39691 ac_cpp='$CPP $CPPFLAGS'
39692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
39701 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
39703 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
39704 for ac_func in _isinff
39705 do :
39706 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
39707 if test "x$ac_cv_func__isinff" = x""yes; then :
39708 cat >>confdefs.h <<_ACEOF
39709 #define HAVE__ISINFF 1
39710 _ACEOF
39713 done
39722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
39723 $as_echo_n "checking for atan2f declaration... " >&6; }
39724 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
39725 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
39726 $as_echo_n "(cached) " >&6
39727 else
39730 ac_ext=cpp
39731 ac_cpp='$CXXCPP $CPPFLAGS'
39732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39737 /* end confdefs.h. */
39738 #include <math.h>
39740 main ()
39742 atan2f(0, 0);
39744 return 0;
39746 _ACEOF
39747 if ac_fn_cxx_try_compile "$LINENO"; then :
39748 glibcxx_cv_func_atan2f_use=yes
39749 else
39750 glibcxx_cv_func_atan2f_use=no
39752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39753 ac_ext=c
39754 ac_cpp='$CPP $CPPFLAGS'
39755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
39764 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
39766 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
39767 for ac_func in atan2f
39768 do :
39769 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
39770 if test "x$ac_cv_func_atan2f" = x""yes; then :
39771 cat >>confdefs.h <<_ACEOF
39772 #define HAVE_ATAN2F 1
39773 _ACEOF
39776 done
39778 else
39780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
39781 $as_echo_n "checking for _atan2f declaration... " >&6; }
39782 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
39783 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
39784 $as_echo_n "(cached) " >&6
39785 else
39788 ac_ext=cpp
39789 ac_cpp='$CXXCPP $CPPFLAGS'
39790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39795 /* end confdefs.h. */
39796 #include <math.h>
39798 main ()
39800 _atan2f(0, 0);
39802 return 0;
39804 _ACEOF
39805 if ac_fn_cxx_try_compile "$LINENO"; then :
39806 glibcxx_cv_func__atan2f_use=yes
39807 else
39808 glibcxx_cv_func__atan2f_use=no
39810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39811 ac_ext=c
39812 ac_cpp='$CPP $CPPFLAGS'
39813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
39822 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
39824 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
39825 for ac_func in _atan2f
39826 do :
39827 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
39828 if test "x$ac_cv_func__atan2f" = x""yes; then :
39829 cat >>confdefs.h <<_ACEOF
39830 #define HAVE__ATAN2F 1
39831 _ACEOF
39834 done
39843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
39844 $as_echo_n "checking for fabsf declaration... " >&6; }
39845 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
39846 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
39847 $as_echo_n "(cached) " >&6
39848 else
39851 ac_ext=cpp
39852 ac_cpp='$CXXCPP $CPPFLAGS'
39853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39858 /* end confdefs.h. */
39859 #include <math.h>
39860 #ifdef HAVE_IEEEFP_H
39861 #include <ieeefp.h>
39862 #endif
39865 main ()
39867 fabsf(0);
39869 return 0;
39871 _ACEOF
39872 if ac_fn_cxx_try_compile "$LINENO"; then :
39873 glibcxx_cv_func_fabsf_use=yes
39874 else
39875 glibcxx_cv_func_fabsf_use=no
39877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39878 ac_ext=c
39879 ac_cpp='$CPP $CPPFLAGS'
39880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
39889 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
39891 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
39892 for ac_func in fabsf
39893 do :
39894 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
39895 if test "x$ac_cv_func_fabsf" = x""yes; then :
39896 cat >>confdefs.h <<_ACEOF
39897 #define HAVE_FABSF 1
39898 _ACEOF
39901 done
39903 else
39905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
39906 $as_echo_n "checking for _fabsf declaration... " >&6; }
39907 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
39908 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
39909 $as_echo_n "(cached) " >&6
39910 else
39913 ac_ext=cpp
39914 ac_cpp='$CXXCPP $CPPFLAGS'
39915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39920 /* end confdefs.h. */
39921 #include <math.h>
39922 #ifdef HAVE_IEEEFP_H
39923 #include <ieeefp.h>
39924 #endif
39927 main ()
39929 _fabsf(0);
39931 return 0;
39933 _ACEOF
39934 if ac_fn_cxx_try_compile "$LINENO"; then :
39935 glibcxx_cv_func__fabsf_use=yes
39936 else
39937 glibcxx_cv_func__fabsf_use=no
39939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39940 ac_ext=c
39941 ac_cpp='$CPP $CPPFLAGS'
39942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
39951 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
39953 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
39954 for ac_func in _fabsf
39955 do :
39956 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
39957 if test "x$ac_cv_func__fabsf" = x""yes; then :
39958 cat >>confdefs.h <<_ACEOF
39959 #define HAVE__FABSF 1
39960 _ACEOF
39963 done
39972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
39973 $as_echo_n "checking for fmodf declaration... " >&6; }
39974 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
39975 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
39976 $as_echo_n "(cached) " >&6
39977 else
39980 ac_ext=cpp
39981 ac_cpp='$CXXCPP $CPPFLAGS'
39982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39987 /* end confdefs.h. */
39988 #include <math.h>
39990 main ()
39992 fmodf(0, 0);
39994 return 0;
39996 _ACEOF
39997 if ac_fn_cxx_try_compile "$LINENO"; then :
39998 glibcxx_cv_func_fmodf_use=yes
39999 else
40000 glibcxx_cv_func_fmodf_use=no
40002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40003 ac_ext=c
40004 ac_cpp='$CPP $CPPFLAGS'
40005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
40014 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
40016 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
40017 for ac_func in fmodf
40018 do :
40019 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
40020 if test "x$ac_cv_func_fmodf" = x""yes; then :
40021 cat >>confdefs.h <<_ACEOF
40022 #define HAVE_FMODF 1
40023 _ACEOF
40026 done
40028 else
40030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
40031 $as_echo_n "checking for _fmodf declaration... " >&6; }
40032 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
40033 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
40034 $as_echo_n "(cached) " >&6
40035 else
40038 ac_ext=cpp
40039 ac_cpp='$CXXCPP $CPPFLAGS'
40040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40045 /* end confdefs.h. */
40046 #include <math.h>
40048 main ()
40050 _fmodf(0, 0);
40052 return 0;
40054 _ACEOF
40055 if ac_fn_cxx_try_compile "$LINENO"; then :
40056 glibcxx_cv_func__fmodf_use=yes
40057 else
40058 glibcxx_cv_func__fmodf_use=no
40060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40061 ac_ext=c
40062 ac_cpp='$CPP $CPPFLAGS'
40063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
40072 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
40074 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
40075 for ac_func in _fmodf
40076 do :
40077 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
40078 if test "x$ac_cv_func__fmodf" = x""yes; then :
40079 cat >>confdefs.h <<_ACEOF
40080 #define HAVE__FMODF 1
40081 _ACEOF
40084 done
40093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
40094 $as_echo_n "checking for frexpf declaration... " >&6; }
40095 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
40096 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
40097 $as_echo_n "(cached) " >&6
40098 else
40101 ac_ext=cpp
40102 ac_cpp='$CXXCPP $CPPFLAGS'
40103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40108 /* end confdefs.h. */
40109 #include <math.h>
40111 main ()
40113 frexpf(0, 0);
40115 return 0;
40117 _ACEOF
40118 if ac_fn_cxx_try_compile "$LINENO"; then :
40119 glibcxx_cv_func_frexpf_use=yes
40120 else
40121 glibcxx_cv_func_frexpf_use=no
40123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40124 ac_ext=c
40125 ac_cpp='$CPP $CPPFLAGS'
40126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
40135 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
40137 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
40138 for ac_func in frexpf
40139 do :
40140 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
40141 if test "x$ac_cv_func_frexpf" = x""yes; then :
40142 cat >>confdefs.h <<_ACEOF
40143 #define HAVE_FREXPF 1
40144 _ACEOF
40147 done
40149 else
40151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
40152 $as_echo_n "checking for _frexpf declaration... " >&6; }
40153 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
40154 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
40155 $as_echo_n "(cached) " >&6
40156 else
40159 ac_ext=cpp
40160 ac_cpp='$CXXCPP $CPPFLAGS'
40161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40166 /* end confdefs.h. */
40167 #include <math.h>
40169 main ()
40171 _frexpf(0, 0);
40173 return 0;
40175 _ACEOF
40176 if ac_fn_cxx_try_compile "$LINENO"; then :
40177 glibcxx_cv_func__frexpf_use=yes
40178 else
40179 glibcxx_cv_func__frexpf_use=no
40181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40182 ac_ext=c
40183 ac_cpp='$CPP $CPPFLAGS'
40184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
40193 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
40195 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
40196 for ac_func in _frexpf
40197 do :
40198 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
40199 if test "x$ac_cv_func__frexpf" = x""yes; then :
40200 cat >>confdefs.h <<_ACEOF
40201 #define HAVE__FREXPF 1
40202 _ACEOF
40205 done
40214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
40215 $as_echo_n "checking for hypotf declaration... " >&6; }
40216 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
40217 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
40218 $as_echo_n "(cached) " >&6
40219 else
40222 ac_ext=cpp
40223 ac_cpp='$CXXCPP $CPPFLAGS'
40224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40229 /* end confdefs.h. */
40230 #include <math.h>
40232 main ()
40234 hypotf(0, 0);
40236 return 0;
40238 _ACEOF
40239 if ac_fn_cxx_try_compile "$LINENO"; then :
40240 glibcxx_cv_func_hypotf_use=yes
40241 else
40242 glibcxx_cv_func_hypotf_use=no
40244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40245 ac_ext=c
40246 ac_cpp='$CPP $CPPFLAGS'
40247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
40256 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
40258 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
40259 for ac_func in hypotf
40260 do :
40261 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
40262 if test "x$ac_cv_func_hypotf" = x""yes; then :
40263 cat >>confdefs.h <<_ACEOF
40264 #define HAVE_HYPOTF 1
40265 _ACEOF
40268 done
40270 else
40272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
40273 $as_echo_n "checking for _hypotf declaration... " >&6; }
40274 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
40275 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
40276 $as_echo_n "(cached) " >&6
40277 else
40280 ac_ext=cpp
40281 ac_cpp='$CXXCPP $CPPFLAGS'
40282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40287 /* end confdefs.h. */
40288 #include <math.h>
40290 main ()
40292 _hypotf(0, 0);
40294 return 0;
40296 _ACEOF
40297 if ac_fn_cxx_try_compile "$LINENO"; then :
40298 glibcxx_cv_func__hypotf_use=yes
40299 else
40300 glibcxx_cv_func__hypotf_use=no
40302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40303 ac_ext=c
40304 ac_cpp='$CPP $CPPFLAGS'
40305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
40314 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
40316 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
40317 for ac_func in _hypotf
40318 do :
40319 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
40320 if test "x$ac_cv_func__hypotf" = x""yes; then :
40321 cat >>confdefs.h <<_ACEOF
40322 #define HAVE__HYPOTF 1
40323 _ACEOF
40326 done
40335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
40336 $as_echo_n "checking for ldexpf declaration... " >&6; }
40337 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
40338 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
40339 $as_echo_n "(cached) " >&6
40340 else
40343 ac_ext=cpp
40344 ac_cpp='$CXXCPP $CPPFLAGS'
40345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40350 /* end confdefs.h. */
40351 #include <math.h>
40353 main ()
40355 ldexpf(0, 0);
40357 return 0;
40359 _ACEOF
40360 if ac_fn_cxx_try_compile "$LINENO"; then :
40361 glibcxx_cv_func_ldexpf_use=yes
40362 else
40363 glibcxx_cv_func_ldexpf_use=no
40365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40366 ac_ext=c
40367 ac_cpp='$CPP $CPPFLAGS'
40368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
40377 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
40379 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
40380 for ac_func in ldexpf
40381 do :
40382 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
40383 if test "x$ac_cv_func_ldexpf" = x""yes; then :
40384 cat >>confdefs.h <<_ACEOF
40385 #define HAVE_LDEXPF 1
40386 _ACEOF
40389 done
40391 else
40393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
40394 $as_echo_n "checking for _ldexpf declaration... " >&6; }
40395 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
40396 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
40397 $as_echo_n "(cached) " >&6
40398 else
40401 ac_ext=cpp
40402 ac_cpp='$CXXCPP $CPPFLAGS'
40403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40408 /* end confdefs.h. */
40409 #include <math.h>
40411 main ()
40413 _ldexpf(0, 0);
40415 return 0;
40417 _ACEOF
40418 if ac_fn_cxx_try_compile "$LINENO"; then :
40419 glibcxx_cv_func__ldexpf_use=yes
40420 else
40421 glibcxx_cv_func__ldexpf_use=no
40423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40424 ac_ext=c
40425 ac_cpp='$CPP $CPPFLAGS'
40426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
40435 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
40437 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
40438 for ac_func in _ldexpf
40439 do :
40440 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
40441 if test "x$ac_cv_func__ldexpf" = x""yes; then :
40442 cat >>confdefs.h <<_ACEOF
40443 #define HAVE__LDEXPF 1
40444 _ACEOF
40447 done
40456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
40457 $as_echo_n "checking for logf declaration... " >&6; }
40458 if test x${glibcxx_cv_func_logf_use+set} != xset; then
40459 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
40460 $as_echo_n "(cached) " >&6
40461 else
40464 ac_ext=cpp
40465 ac_cpp='$CXXCPP $CPPFLAGS'
40466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40471 /* end confdefs.h. */
40472 #include <math.h>
40473 #ifdef HAVE_IEEEFP_H
40474 #include <ieeefp.h>
40475 #endif
40478 main ()
40480 logf(0);
40482 return 0;
40484 _ACEOF
40485 if ac_fn_cxx_try_compile "$LINENO"; then :
40486 glibcxx_cv_func_logf_use=yes
40487 else
40488 glibcxx_cv_func_logf_use=no
40490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40491 ac_ext=c
40492 ac_cpp='$CPP $CPPFLAGS'
40493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
40502 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
40504 if test x$glibcxx_cv_func_logf_use = x"yes"; then
40505 for ac_func in logf
40506 do :
40507 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
40508 if test "x$ac_cv_func_logf" = x""yes; then :
40509 cat >>confdefs.h <<_ACEOF
40510 #define HAVE_LOGF 1
40511 _ACEOF
40514 done
40516 else
40518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
40519 $as_echo_n "checking for _logf declaration... " >&6; }
40520 if test x${glibcxx_cv_func__logf_use+set} != xset; then
40521 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
40522 $as_echo_n "(cached) " >&6
40523 else
40526 ac_ext=cpp
40527 ac_cpp='$CXXCPP $CPPFLAGS'
40528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40533 /* end confdefs.h. */
40534 #include <math.h>
40535 #ifdef HAVE_IEEEFP_H
40536 #include <ieeefp.h>
40537 #endif
40540 main ()
40542 _logf(0);
40544 return 0;
40546 _ACEOF
40547 if ac_fn_cxx_try_compile "$LINENO"; then :
40548 glibcxx_cv_func__logf_use=yes
40549 else
40550 glibcxx_cv_func__logf_use=no
40552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40553 ac_ext=c
40554 ac_cpp='$CPP $CPPFLAGS'
40555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
40564 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
40566 if test x$glibcxx_cv_func__logf_use = x"yes"; then
40567 for ac_func in _logf
40568 do :
40569 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
40570 if test "x$ac_cv_func__logf" = x""yes; then :
40571 cat >>confdefs.h <<_ACEOF
40572 #define HAVE__LOGF 1
40573 _ACEOF
40576 done
40585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
40586 $as_echo_n "checking for log10f declaration... " >&6; }
40587 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
40588 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
40589 $as_echo_n "(cached) " >&6
40590 else
40593 ac_ext=cpp
40594 ac_cpp='$CXXCPP $CPPFLAGS'
40595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40600 /* end confdefs.h. */
40601 #include <math.h>
40602 #ifdef HAVE_IEEEFP_H
40603 #include <ieeefp.h>
40604 #endif
40607 main ()
40609 log10f(0);
40611 return 0;
40613 _ACEOF
40614 if ac_fn_cxx_try_compile "$LINENO"; then :
40615 glibcxx_cv_func_log10f_use=yes
40616 else
40617 glibcxx_cv_func_log10f_use=no
40619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40620 ac_ext=c
40621 ac_cpp='$CPP $CPPFLAGS'
40622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
40631 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
40633 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
40634 for ac_func in log10f
40635 do :
40636 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
40637 if test "x$ac_cv_func_log10f" = x""yes; then :
40638 cat >>confdefs.h <<_ACEOF
40639 #define HAVE_LOG10F 1
40640 _ACEOF
40643 done
40645 else
40647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
40648 $as_echo_n "checking for _log10f declaration... " >&6; }
40649 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
40650 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
40651 $as_echo_n "(cached) " >&6
40652 else
40655 ac_ext=cpp
40656 ac_cpp='$CXXCPP $CPPFLAGS'
40657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40662 /* end confdefs.h. */
40663 #include <math.h>
40664 #ifdef HAVE_IEEEFP_H
40665 #include <ieeefp.h>
40666 #endif
40669 main ()
40671 _log10f(0);
40673 return 0;
40675 _ACEOF
40676 if ac_fn_cxx_try_compile "$LINENO"; then :
40677 glibcxx_cv_func__log10f_use=yes
40678 else
40679 glibcxx_cv_func__log10f_use=no
40681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40682 ac_ext=c
40683 ac_cpp='$CPP $CPPFLAGS'
40684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
40693 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
40695 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
40696 for ac_func in _log10f
40697 do :
40698 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
40699 if test "x$ac_cv_func__log10f" = x""yes; then :
40700 cat >>confdefs.h <<_ACEOF
40701 #define HAVE__LOG10F 1
40702 _ACEOF
40705 done
40714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
40715 $as_echo_n "checking for modff declaration... " >&6; }
40716 if test x${glibcxx_cv_func_modff_use+set} != xset; then
40717 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
40718 $as_echo_n "(cached) " >&6
40719 else
40722 ac_ext=cpp
40723 ac_cpp='$CXXCPP $CPPFLAGS'
40724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40729 /* end confdefs.h. */
40730 #include <math.h>
40732 main ()
40734 modff(0, 0);
40736 return 0;
40738 _ACEOF
40739 if ac_fn_cxx_try_compile "$LINENO"; then :
40740 glibcxx_cv_func_modff_use=yes
40741 else
40742 glibcxx_cv_func_modff_use=no
40744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40745 ac_ext=c
40746 ac_cpp='$CPP $CPPFLAGS'
40747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
40756 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
40758 if test x$glibcxx_cv_func_modff_use = x"yes"; then
40759 for ac_func in modff
40760 do :
40761 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
40762 if test "x$ac_cv_func_modff" = x""yes; then :
40763 cat >>confdefs.h <<_ACEOF
40764 #define HAVE_MODFF 1
40765 _ACEOF
40768 done
40770 else
40772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
40773 $as_echo_n "checking for _modff declaration... " >&6; }
40774 if test x${glibcxx_cv_func__modff_use+set} != xset; then
40775 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
40776 $as_echo_n "(cached) " >&6
40777 else
40780 ac_ext=cpp
40781 ac_cpp='$CXXCPP $CPPFLAGS'
40782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40787 /* end confdefs.h. */
40788 #include <math.h>
40790 main ()
40792 _modff(0, 0);
40794 return 0;
40796 _ACEOF
40797 if ac_fn_cxx_try_compile "$LINENO"; then :
40798 glibcxx_cv_func__modff_use=yes
40799 else
40800 glibcxx_cv_func__modff_use=no
40802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40803 ac_ext=c
40804 ac_cpp='$CPP $CPPFLAGS'
40805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
40814 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
40816 if test x$glibcxx_cv_func__modff_use = x"yes"; then
40817 for ac_func in _modff
40818 do :
40819 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
40820 if test "x$ac_cv_func__modff" = x""yes; then :
40821 cat >>confdefs.h <<_ACEOF
40822 #define HAVE__MODFF 1
40823 _ACEOF
40826 done
40835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
40836 $as_echo_n "checking for modf declaration... " >&6; }
40837 if test x${glibcxx_cv_func_modf_use+set} != xset; then
40838 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
40839 $as_echo_n "(cached) " >&6
40840 else
40843 ac_ext=cpp
40844 ac_cpp='$CXXCPP $CPPFLAGS'
40845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40850 /* end confdefs.h. */
40851 #include <math.h>
40853 main ()
40855 modf(0, 0);
40857 return 0;
40859 _ACEOF
40860 if ac_fn_cxx_try_compile "$LINENO"; then :
40861 glibcxx_cv_func_modf_use=yes
40862 else
40863 glibcxx_cv_func_modf_use=no
40865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40866 ac_ext=c
40867 ac_cpp='$CPP $CPPFLAGS'
40868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
40877 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
40879 if test x$glibcxx_cv_func_modf_use = x"yes"; then
40880 for ac_func in modf
40881 do :
40882 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
40883 if test "x$ac_cv_func_modf" = x""yes; then :
40884 cat >>confdefs.h <<_ACEOF
40885 #define HAVE_MODF 1
40886 _ACEOF
40889 done
40891 else
40893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
40894 $as_echo_n "checking for _modf declaration... " >&6; }
40895 if test x${glibcxx_cv_func__modf_use+set} != xset; then
40896 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
40897 $as_echo_n "(cached) " >&6
40898 else
40901 ac_ext=cpp
40902 ac_cpp='$CXXCPP $CPPFLAGS'
40903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40908 /* end confdefs.h. */
40909 #include <math.h>
40911 main ()
40913 _modf(0, 0);
40915 return 0;
40917 _ACEOF
40918 if ac_fn_cxx_try_compile "$LINENO"; then :
40919 glibcxx_cv_func__modf_use=yes
40920 else
40921 glibcxx_cv_func__modf_use=no
40923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40924 ac_ext=c
40925 ac_cpp='$CPP $CPPFLAGS'
40926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
40935 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
40937 if test x$glibcxx_cv_func__modf_use = x"yes"; then
40938 for ac_func in _modf
40939 do :
40940 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
40941 if test "x$ac_cv_func__modf" = x""yes; then :
40942 cat >>confdefs.h <<_ACEOF
40943 #define HAVE__MODF 1
40944 _ACEOF
40947 done
40956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
40957 $as_echo_n "checking for powf declaration... " >&6; }
40958 if test x${glibcxx_cv_func_powf_use+set} != xset; then
40959 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
40960 $as_echo_n "(cached) " >&6
40961 else
40964 ac_ext=cpp
40965 ac_cpp='$CXXCPP $CPPFLAGS'
40966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40971 /* end confdefs.h. */
40972 #include <math.h>
40974 main ()
40976 powf(0, 0);
40978 return 0;
40980 _ACEOF
40981 if ac_fn_cxx_try_compile "$LINENO"; then :
40982 glibcxx_cv_func_powf_use=yes
40983 else
40984 glibcxx_cv_func_powf_use=no
40986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40987 ac_ext=c
40988 ac_cpp='$CPP $CPPFLAGS'
40989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
40998 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
41000 if test x$glibcxx_cv_func_powf_use = x"yes"; then
41001 for ac_func in powf
41002 do :
41003 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
41004 if test "x$ac_cv_func_powf" = x""yes; then :
41005 cat >>confdefs.h <<_ACEOF
41006 #define HAVE_POWF 1
41007 _ACEOF
41010 done
41012 else
41014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
41015 $as_echo_n "checking for _powf declaration... " >&6; }
41016 if test x${glibcxx_cv_func__powf_use+set} != xset; then
41017 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
41018 $as_echo_n "(cached) " >&6
41019 else
41022 ac_ext=cpp
41023 ac_cpp='$CXXCPP $CPPFLAGS'
41024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41029 /* end confdefs.h. */
41030 #include <math.h>
41032 main ()
41034 _powf(0, 0);
41036 return 0;
41038 _ACEOF
41039 if ac_fn_cxx_try_compile "$LINENO"; then :
41040 glibcxx_cv_func__powf_use=yes
41041 else
41042 glibcxx_cv_func__powf_use=no
41044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41045 ac_ext=c
41046 ac_cpp='$CPP $CPPFLAGS'
41047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
41056 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
41058 if test x$glibcxx_cv_func__powf_use = x"yes"; then
41059 for ac_func in _powf
41060 do :
41061 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
41062 if test "x$ac_cv_func__powf" = x""yes; then :
41063 cat >>confdefs.h <<_ACEOF
41064 #define HAVE__POWF 1
41065 _ACEOF
41068 done
41077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
41078 $as_echo_n "checking for sqrtf declaration... " >&6; }
41079 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
41080 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
41081 $as_echo_n "(cached) " >&6
41082 else
41085 ac_ext=cpp
41086 ac_cpp='$CXXCPP $CPPFLAGS'
41087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41092 /* end confdefs.h. */
41093 #include <math.h>
41094 #ifdef HAVE_IEEEFP_H
41095 #include <ieeefp.h>
41096 #endif
41099 main ()
41101 sqrtf(0);
41103 return 0;
41105 _ACEOF
41106 if ac_fn_cxx_try_compile "$LINENO"; then :
41107 glibcxx_cv_func_sqrtf_use=yes
41108 else
41109 glibcxx_cv_func_sqrtf_use=no
41111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41112 ac_ext=c
41113 ac_cpp='$CPP $CPPFLAGS'
41114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
41123 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
41125 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
41126 for ac_func in sqrtf
41127 do :
41128 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
41129 if test "x$ac_cv_func_sqrtf" = x""yes; then :
41130 cat >>confdefs.h <<_ACEOF
41131 #define HAVE_SQRTF 1
41132 _ACEOF
41135 done
41137 else
41139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
41140 $as_echo_n "checking for _sqrtf declaration... " >&6; }
41141 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
41142 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
41143 $as_echo_n "(cached) " >&6
41144 else
41147 ac_ext=cpp
41148 ac_cpp='$CXXCPP $CPPFLAGS'
41149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41154 /* end confdefs.h. */
41155 #include <math.h>
41156 #ifdef HAVE_IEEEFP_H
41157 #include <ieeefp.h>
41158 #endif
41161 main ()
41163 _sqrtf(0);
41165 return 0;
41167 _ACEOF
41168 if ac_fn_cxx_try_compile "$LINENO"; then :
41169 glibcxx_cv_func__sqrtf_use=yes
41170 else
41171 glibcxx_cv_func__sqrtf_use=no
41173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41174 ac_ext=c
41175 ac_cpp='$CPP $CPPFLAGS'
41176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
41185 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
41187 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
41188 for ac_func in _sqrtf
41189 do :
41190 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
41191 if test "x$ac_cv_func__sqrtf" = x""yes; then :
41192 cat >>confdefs.h <<_ACEOF
41193 #define HAVE__SQRTF 1
41194 _ACEOF
41197 done
41206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
41207 $as_echo_n "checking for sincosf declaration... " >&6; }
41208 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
41209 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
41210 $as_echo_n "(cached) " >&6
41211 else
41214 ac_ext=cpp
41215 ac_cpp='$CXXCPP $CPPFLAGS'
41216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41221 /* end confdefs.h. */
41222 #include <math.h>
41224 main ()
41226 sincosf(0, 0, 0);
41228 return 0;
41230 _ACEOF
41231 if ac_fn_cxx_try_compile "$LINENO"; then :
41232 glibcxx_cv_func_sincosf_use=yes
41233 else
41234 glibcxx_cv_func_sincosf_use=no
41236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41237 ac_ext=c
41238 ac_cpp='$CPP $CPPFLAGS'
41239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
41248 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
41250 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
41251 for ac_func in sincosf
41252 do :
41253 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
41254 if test "x$ac_cv_func_sincosf" = x""yes; then :
41255 cat >>confdefs.h <<_ACEOF
41256 #define HAVE_SINCOSF 1
41257 _ACEOF
41260 done
41262 else
41264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
41265 $as_echo_n "checking for _sincosf declaration... " >&6; }
41266 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
41267 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
41268 $as_echo_n "(cached) " >&6
41269 else
41272 ac_ext=cpp
41273 ac_cpp='$CXXCPP $CPPFLAGS'
41274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41279 /* end confdefs.h. */
41280 #include <math.h>
41282 main ()
41284 _sincosf(0, 0, 0);
41286 return 0;
41288 _ACEOF
41289 if ac_fn_cxx_try_compile "$LINENO"; then :
41290 glibcxx_cv_func__sincosf_use=yes
41291 else
41292 glibcxx_cv_func__sincosf_use=no
41294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41295 ac_ext=c
41296 ac_cpp='$CPP $CPPFLAGS'
41297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
41306 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
41308 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
41309 for ac_func in _sincosf
41310 do :
41311 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
41312 if test "x$ac_cv_func__sincosf" = x""yes; then :
41313 cat >>confdefs.h <<_ACEOF
41314 #define HAVE__SINCOSF 1
41315 _ACEOF
41318 done
41327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
41328 $as_echo_n "checking for finitef declaration... " >&6; }
41329 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
41330 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
41331 $as_echo_n "(cached) " >&6
41332 else
41335 ac_ext=cpp
41336 ac_cpp='$CXXCPP $CPPFLAGS'
41337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41342 /* end confdefs.h. */
41343 #include <math.h>
41344 #ifdef HAVE_IEEEFP_H
41345 #include <ieeefp.h>
41346 #endif
41349 main ()
41351 finitef(0);
41353 return 0;
41355 _ACEOF
41356 if ac_fn_cxx_try_compile "$LINENO"; then :
41357 glibcxx_cv_func_finitef_use=yes
41358 else
41359 glibcxx_cv_func_finitef_use=no
41361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41362 ac_ext=c
41363 ac_cpp='$CPP $CPPFLAGS'
41364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
41373 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
41375 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
41376 for ac_func in finitef
41377 do :
41378 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
41379 if test "x$ac_cv_func_finitef" = x""yes; then :
41380 cat >>confdefs.h <<_ACEOF
41381 #define HAVE_FINITEF 1
41382 _ACEOF
41385 done
41387 else
41389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
41390 $as_echo_n "checking for _finitef declaration... " >&6; }
41391 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
41392 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
41393 $as_echo_n "(cached) " >&6
41394 else
41397 ac_ext=cpp
41398 ac_cpp='$CXXCPP $CPPFLAGS'
41399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41404 /* end confdefs.h. */
41405 #include <math.h>
41406 #ifdef HAVE_IEEEFP_H
41407 #include <ieeefp.h>
41408 #endif
41411 main ()
41413 _finitef(0);
41415 return 0;
41417 _ACEOF
41418 if ac_fn_cxx_try_compile "$LINENO"; then :
41419 glibcxx_cv_func__finitef_use=yes
41420 else
41421 glibcxx_cv_func__finitef_use=no
41423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41424 ac_ext=c
41425 ac_cpp='$CPP $CPPFLAGS'
41426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
41435 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
41437 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
41438 for ac_func in _finitef
41439 do :
41440 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
41441 if test "x$ac_cv_func__finitef" = x""yes; then :
41442 cat >>confdefs.h <<_ACEOF
41443 #define HAVE__FINITEF 1
41444 _ACEOF
41447 done
41456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
41457 $as_echo_n "checking for long double trig functions... " >&6; }
41458 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
41459 $as_echo_n "(cached) " >&6
41460 else
41463 ac_ext=cpp
41464 ac_cpp='$CXXCPP $CPPFLAGS'
41465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41470 /* end confdefs.h. */
41471 #include <math.h>
41473 main ()
41475 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
41477 return 0;
41479 _ACEOF
41480 if ac_fn_cxx_try_compile "$LINENO"; then :
41481 glibcxx_cv_func_long_double_trig_use=yes
41482 else
41483 glibcxx_cv_func_long_double_trig_use=no
41485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41486 ac_ext=c
41487 ac_cpp='$CPP $CPPFLAGS'
41488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
41495 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
41496 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
41497 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
41498 do :
41499 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41500 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41501 eval as_val=\$$as_ac_var
41502 if test "x$as_val" = x""yes; then :
41503 cat >>confdefs.h <<_ACEOF
41504 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41505 _ACEOF
41508 done
41510 else
41511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
41512 $as_echo_n "checking for _long double trig functions... " >&6; }
41513 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
41514 $as_echo_n "(cached) " >&6
41515 else
41518 ac_ext=cpp
41519 ac_cpp='$CXXCPP $CPPFLAGS'
41520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41525 /* end confdefs.h. */
41526 #include <math.h>
41528 main ()
41530 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
41532 return 0;
41534 _ACEOF
41535 if ac_fn_cxx_try_compile "$LINENO"; then :
41536 glibcxx_cv_func__long_double_trig_use=yes
41537 else
41538 glibcxx_cv_func__long_double_trig_use=no
41540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41541 ac_ext=c
41542 ac_cpp='$CPP $CPPFLAGS'
41543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
41550 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
41551 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
41552 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
41553 do :
41554 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41555 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41556 eval as_val=\$$as_ac_var
41557 if test "x$as_val" = x""yes; then :
41558 cat >>confdefs.h <<_ACEOF
41559 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41560 _ACEOF
41563 done
41572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
41573 $as_echo_n "checking for long double round functions... " >&6; }
41574 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
41575 $as_echo_n "(cached) " >&6
41576 else
41579 ac_ext=cpp
41580 ac_cpp='$CXXCPP $CPPFLAGS'
41581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41586 /* end confdefs.h. */
41587 #include <math.h>
41589 main ()
41591 ceill (0); floorl (0);
41593 return 0;
41595 _ACEOF
41596 if ac_fn_cxx_try_compile "$LINENO"; then :
41597 glibcxx_cv_func_long_double_round_use=yes
41598 else
41599 glibcxx_cv_func_long_double_round_use=no
41601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41602 ac_ext=c
41603 ac_cpp='$CPP $CPPFLAGS'
41604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
41611 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
41612 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
41613 for ac_func in ceill floorl
41614 do :
41615 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41616 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41617 eval as_val=\$$as_ac_var
41618 if test "x$as_val" = x""yes; then :
41619 cat >>confdefs.h <<_ACEOF
41620 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41621 _ACEOF
41624 done
41626 else
41627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
41628 $as_echo_n "checking for _long double round functions... " >&6; }
41629 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
41630 $as_echo_n "(cached) " >&6
41631 else
41634 ac_ext=cpp
41635 ac_cpp='$CXXCPP $CPPFLAGS'
41636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41641 /* end confdefs.h. */
41642 #include <math.h>
41644 main ()
41646 _ceill (0); _floorl (0);
41648 return 0;
41650 _ACEOF
41651 if ac_fn_cxx_try_compile "$LINENO"; then :
41652 glibcxx_cv_func__long_double_round_use=yes
41653 else
41654 glibcxx_cv_func__long_double_round_use=no
41656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41657 ac_ext=c
41658 ac_cpp='$CPP $CPPFLAGS'
41659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
41666 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
41667 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
41668 for ac_func in _ceill _floorl
41669 do :
41670 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41671 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41672 eval as_val=\$$as_ac_var
41673 if test "x$as_val" = x""yes; then :
41674 cat >>confdefs.h <<_ACEOF
41675 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41676 _ACEOF
41679 done
41689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
41690 $as_echo_n "checking for isnanl declaration... " >&6; }
41691 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
41692 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
41693 $as_echo_n "(cached) " >&6
41694 else
41697 ac_ext=cpp
41698 ac_cpp='$CXXCPP $CPPFLAGS'
41699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41704 /* end confdefs.h. */
41705 #include <math.h>
41706 #ifdef HAVE_IEEEFP_H
41707 #include <ieeefp.h>
41708 #endif
41711 main ()
41713 isnanl(0);
41715 return 0;
41717 _ACEOF
41718 if ac_fn_cxx_try_compile "$LINENO"; then :
41719 glibcxx_cv_func_isnanl_use=yes
41720 else
41721 glibcxx_cv_func_isnanl_use=no
41723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41724 ac_ext=c
41725 ac_cpp='$CPP $CPPFLAGS'
41726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
41735 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
41737 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
41738 for ac_func in isnanl
41739 do :
41740 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
41741 if test "x$ac_cv_func_isnanl" = x""yes; then :
41742 cat >>confdefs.h <<_ACEOF
41743 #define HAVE_ISNANL 1
41744 _ACEOF
41747 done
41749 else
41751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
41752 $as_echo_n "checking for _isnanl declaration... " >&6; }
41753 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
41754 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
41755 $as_echo_n "(cached) " >&6
41756 else
41759 ac_ext=cpp
41760 ac_cpp='$CXXCPP $CPPFLAGS'
41761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41766 /* end confdefs.h. */
41767 #include <math.h>
41768 #ifdef HAVE_IEEEFP_H
41769 #include <ieeefp.h>
41770 #endif
41773 main ()
41775 _isnanl(0);
41777 return 0;
41779 _ACEOF
41780 if ac_fn_cxx_try_compile "$LINENO"; then :
41781 glibcxx_cv_func__isnanl_use=yes
41782 else
41783 glibcxx_cv_func__isnanl_use=no
41785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41786 ac_ext=c
41787 ac_cpp='$CPP $CPPFLAGS'
41788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
41797 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
41799 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
41800 for ac_func in _isnanl
41801 do :
41802 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
41803 if test "x$ac_cv_func__isnanl" = x""yes; then :
41804 cat >>confdefs.h <<_ACEOF
41805 #define HAVE__ISNANL 1
41806 _ACEOF
41809 done
41818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
41819 $as_echo_n "checking for isinfl declaration... " >&6; }
41820 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
41821 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
41822 $as_echo_n "(cached) " >&6
41823 else
41826 ac_ext=cpp
41827 ac_cpp='$CXXCPP $CPPFLAGS'
41828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41833 /* end confdefs.h. */
41834 #include <math.h>
41835 #ifdef HAVE_IEEEFP_H
41836 #include <ieeefp.h>
41837 #endif
41840 main ()
41842 isinfl(0);
41844 return 0;
41846 _ACEOF
41847 if ac_fn_cxx_try_compile "$LINENO"; then :
41848 glibcxx_cv_func_isinfl_use=yes
41849 else
41850 glibcxx_cv_func_isinfl_use=no
41852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41853 ac_ext=c
41854 ac_cpp='$CPP $CPPFLAGS'
41855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
41864 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
41866 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
41867 for ac_func in isinfl
41868 do :
41869 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
41870 if test "x$ac_cv_func_isinfl" = x""yes; then :
41871 cat >>confdefs.h <<_ACEOF
41872 #define HAVE_ISINFL 1
41873 _ACEOF
41876 done
41878 else
41880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
41881 $as_echo_n "checking for _isinfl declaration... " >&6; }
41882 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
41883 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
41884 $as_echo_n "(cached) " >&6
41885 else
41888 ac_ext=cpp
41889 ac_cpp='$CXXCPP $CPPFLAGS'
41890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41895 /* end confdefs.h. */
41896 #include <math.h>
41897 #ifdef HAVE_IEEEFP_H
41898 #include <ieeefp.h>
41899 #endif
41902 main ()
41904 _isinfl(0);
41906 return 0;
41908 _ACEOF
41909 if ac_fn_cxx_try_compile "$LINENO"; then :
41910 glibcxx_cv_func__isinfl_use=yes
41911 else
41912 glibcxx_cv_func__isinfl_use=no
41914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41915 ac_ext=c
41916 ac_cpp='$CPP $CPPFLAGS'
41917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
41926 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
41928 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
41929 for ac_func in _isinfl
41930 do :
41931 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
41932 if test "x$ac_cv_func__isinfl" = x""yes; then :
41933 cat >>confdefs.h <<_ACEOF
41934 #define HAVE__ISINFL 1
41935 _ACEOF
41938 done
41947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
41948 $as_echo_n "checking for atan2l declaration... " >&6; }
41949 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
41950 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
41951 $as_echo_n "(cached) " >&6
41952 else
41955 ac_ext=cpp
41956 ac_cpp='$CXXCPP $CPPFLAGS'
41957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41962 /* end confdefs.h. */
41963 #include <math.h>
41965 main ()
41967 atan2l(0, 0);
41969 return 0;
41971 _ACEOF
41972 if ac_fn_cxx_try_compile "$LINENO"; then :
41973 glibcxx_cv_func_atan2l_use=yes
41974 else
41975 glibcxx_cv_func_atan2l_use=no
41977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41978 ac_ext=c
41979 ac_cpp='$CPP $CPPFLAGS'
41980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
41989 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
41991 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
41992 for ac_func in atan2l
41993 do :
41994 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
41995 if test "x$ac_cv_func_atan2l" = x""yes; then :
41996 cat >>confdefs.h <<_ACEOF
41997 #define HAVE_ATAN2L 1
41998 _ACEOF
42001 done
42003 else
42005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
42006 $as_echo_n "checking for _atan2l declaration... " >&6; }
42007 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
42008 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
42009 $as_echo_n "(cached) " >&6
42010 else
42013 ac_ext=cpp
42014 ac_cpp='$CXXCPP $CPPFLAGS'
42015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42020 /* end confdefs.h. */
42021 #include <math.h>
42023 main ()
42025 _atan2l(0, 0);
42027 return 0;
42029 _ACEOF
42030 if ac_fn_cxx_try_compile "$LINENO"; then :
42031 glibcxx_cv_func__atan2l_use=yes
42032 else
42033 glibcxx_cv_func__atan2l_use=no
42035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42036 ac_ext=c
42037 ac_cpp='$CPP $CPPFLAGS'
42038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
42047 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
42049 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
42050 for ac_func in _atan2l
42051 do :
42052 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
42053 if test "x$ac_cv_func__atan2l" = x""yes; then :
42054 cat >>confdefs.h <<_ACEOF
42055 #define HAVE__ATAN2L 1
42056 _ACEOF
42059 done
42068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
42069 $as_echo_n "checking for expl declaration... " >&6; }
42070 if test x${glibcxx_cv_func_expl_use+set} != xset; then
42071 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
42072 $as_echo_n "(cached) " >&6
42073 else
42076 ac_ext=cpp
42077 ac_cpp='$CXXCPP $CPPFLAGS'
42078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42083 /* end confdefs.h. */
42084 #include <math.h>
42085 #ifdef HAVE_IEEEFP_H
42086 #include <ieeefp.h>
42087 #endif
42090 main ()
42092 expl(0);
42094 return 0;
42096 _ACEOF
42097 if ac_fn_cxx_try_compile "$LINENO"; then :
42098 glibcxx_cv_func_expl_use=yes
42099 else
42100 glibcxx_cv_func_expl_use=no
42102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42103 ac_ext=c
42104 ac_cpp='$CPP $CPPFLAGS'
42105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
42114 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
42116 if test x$glibcxx_cv_func_expl_use = x"yes"; then
42117 for ac_func in expl
42118 do :
42119 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
42120 if test "x$ac_cv_func_expl" = x""yes; then :
42121 cat >>confdefs.h <<_ACEOF
42122 #define HAVE_EXPL 1
42123 _ACEOF
42126 done
42128 else
42130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
42131 $as_echo_n "checking for _expl declaration... " >&6; }
42132 if test x${glibcxx_cv_func__expl_use+set} != xset; then
42133 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
42134 $as_echo_n "(cached) " >&6
42135 else
42138 ac_ext=cpp
42139 ac_cpp='$CXXCPP $CPPFLAGS'
42140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42145 /* end confdefs.h. */
42146 #include <math.h>
42147 #ifdef HAVE_IEEEFP_H
42148 #include <ieeefp.h>
42149 #endif
42152 main ()
42154 _expl(0);
42156 return 0;
42158 _ACEOF
42159 if ac_fn_cxx_try_compile "$LINENO"; then :
42160 glibcxx_cv_func__expl_use=yes
42161 else
42162 glibcxx_cv_func__expl_use=no
42164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42165 ac_ext=c
42166 ac_cpp='$CPP $CPPFLAGS'
42167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
42176 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
42178 if test x$glibcxx_cv_func__expl_use = x"yes"; then
42179 for ac_func in _expl
42180 do :
42181 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
42182 if test "x$ac_cv_func__expl" = x""yes; then :
42183 cat >>confdefs.h <<_ACEOF
42184 #define HAVE__EXPL 1
42185 _ACEOF
42188 done
42197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
42198 $as_echo_n "checking for fabsl declaration... " >&6; }
42199 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
42200 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
42201 $as_echo_n "(cached) " >&6
42202 else
42205 ac_ext=cpp
42206 ac_cpp='$CXXCPP $CPPFLAGS'
42207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42212 /* end confdefs.h. */
42213 #include <math.h>
42214 #ifdef HAVE_IEEEFP_H
42215 #include <ieeefp.h>
42216 #endif
42219 main ()
42221 fabsl(0);
42223 return 0;
42225 _ACEOF
42226 if ac_fn_cxx_try_compile "$LINENO"; then :
42227 glibcxx_cv_func_fabsl_use=yes
42228 else
42229 glibcxx_cv_func_fabsl_use=no
42231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42232 ac_ext=c
42233 ac_cpp='$CPP $CPPFLAGS'
42234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
42243 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
42245 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
42246 for ac_func in fabsl
42247 do :
42248 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
42249 if test "x$ac_cv_func_fabsl" = x""yes; then :
42250 cat >>confdefs.h <<_ACEOF
42251 #define HAVE_FABSL 1
42252 _ACEOF
42255 done
42257 else
42259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
42260 $as_echo_n "checking for _fabsl declaration... " >&6; }
42261 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
42262 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
42263 $as_echo_n "(cached) " >&6
42264 else
42267 ac_ext=cpp
42268 ac_cpp='$CXXCPP $CPPFLAGS'
42269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42274 /* end confdefs.h. */
42275 #include <math.h>
42276 #ifdef HAVE_IEEEFP_H
42277 #include <ieeefp.h>
42278 #endif
42281 main ()
42283 _fabsl(0);
42285 return 0;
42287 _ACEOF
42288 if ac_fn_cxx_try_compile "$LINENO"; then :
42289 glibcxx_cv_func__fabsl_use=yes
42290 else
42291 glibcxx_cv_func__fabsl_use=no
42293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42294 ac_ext=c
42295 ac_cpp='$CPP $CPPFLAGS'
42296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
42305 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
42307 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
42308 for ac_func in _fabsl
42309 do :
42310 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
42311 if test "x$ac_cv_func__fabsl" = x""yes; then :
42312 cat >>confdefs.h <<_ACEOF
42313 #define HAVE__FABSL 1
42314 _ACEOF
42317 done
42326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
42327 $as_echo_n "checking for fmodl declaration... " >&6; }
42328 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
42329 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
42330 $as_echo_n "(cached) " >&6
42331 else
42334 ac_ext=cpp
42335 ac_cpp='$CXXCPP $CPPFLAGS'
42336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42341 /* end confdefs.h. */
42342 #include <math.h>
42344 main ()
42346 fmodl(0, 0);
42348 return 0;
42350 _ACEOF
42351 if ac_fn_cxx_try_compile "$LINENO"; then :
42352 glibcxx_cv_func_fmodl_use=yes
42353 else
42354 glibcxx_cv_func_fmodl_use=no
42356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42357 ac_ext=c
42358 ac_cpp='$CPP $CPPFLAGS'
42359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
42368 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
42370 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
42371 for ac_func in fmodl
42372 do :
42373 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
42374 if test "x$ac_cv_func_fmodl" = x""yes; then :
42375 cat >>confdefs.h <<_ACEOF
42376 #define HAVE_FMODL 1
42377 _ACEOF
42380 done
42382 else
42384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
42385 $as_echo_n "checking for _fmodl declaration... " >&6; }
42386 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
42387 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
42388 $as_echo_n "(cached) " >&6
42389 else
42392 ac_ext=cpp
42393 ac_cpp='$CXXCPP $CPPFLAGS'
42394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42399 /* end confdefs.h. */
42400 #include <math.h>
42402 main ()
42404 _fmodl(0, 0);
42406 return 0;
42408 _ACEOF
42409 if ac_fn_cxx_try_compile "$LINENO"; then :
42410 glibcxx_cv_func__fmodl_use=yes
42411 else
42412 glibcxx_cv_func__fmodl_use=no
42414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42415 ac_ext=c
42416 ac_cpp='$CPP $CPPFLAGS'
42417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
42426 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
42428 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
42429 for ac_func in _fmodl
42430 do :
42431 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
42432 if test "x$ac_cv_func__fmodl" = x""yes; then :
42433 cat >>confdefs.h <<_ACEOF
42434 #define HAVE__FMODL 1
42435 _ACEOF
42438 done
42447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
42448 $as_echo_n "checking for frexpl declaration... " >&6; }
42449 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
42450 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
42451 $as_echo_n "(cached) " >&6
42452 else
42455 ac_ext=cpp
42456 ac_cpp='$CXXCPP $CPPFLAGS'
42457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42462 /* end confdefs.h. */
42463 #include <math.h>
42465 main ()
42467 frexpl(0, 0);
42469 return 0;
42471 _ACEOF
42472 if ac_fn_cxx_try_compile "$LINENO"; then :
42473 glibcxx_cv_func_frexpl_use=yes
42474 else
42475 glibcxx_cv_func_frexpl_use=no
42477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42478 ac_ext=c
42479 ac_cpp='$CPP $CPPFLAGS'
42480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
42489 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
42491 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
42492 for ac_func in frexpl
42493 do :
42494 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
42495 if test "x$ac_cv_func_frexpl" = x""yes; then :
42496 cat >>confdefs.h <<_ACEOF
42497 #define HAVE_FREXPL 1
42498 _ACEOF
42501 done
42503 else
42505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
42506 $as_echo_n "checking for _frexpl declaration... " >&6; }
42507 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
42508 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
42509 $as_echo_n "(cached) " >&6
42510 else
42513 ac_ext=cpp
42514 ac_cpp='$CXXCPP $CPPFLAGS'
42515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42520 /* end confdefs.h. */
42521 #include <math.h>
42523 main ()
42525 _frexpl(0, 0);
42527 return 0;
42529 _ACEOF
42530 if ac_fn_cxx_try_compile "$LINENO"; then :
42531 glibcxx_cv_func__frexpl_use=yes
42532 else
42533 glibcxx_cv_func__frexpl_use=no
42535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42536 ac_ext=c
42537 ac_cpp='$CPP $CPPFLAGS'
42538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
42547 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
42549 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
42550 for ac_func in _frexpl
42551 do :
42552 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
42553 if test "x$ac_cv_func__frexpl" = x""yes; then :
42554 cat >>confdefs.h <<_ACEOF
42555 #define HAVE__FREXPL 1
42556 _ACEOF
42559 done
42568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
42569 $as_echo_n "checking for hypotl declaration... " >&6; }
42570 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
42571 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
42572 $as_echo_n "(cached) " >&6
42573 else
42576 ac_ext=cpp
42577 ac_cpp='$CXXCPP $CPPFLAGS'
42578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42583 /* end confdefs.h. */
42584 #include <math.h>
42586 main ()
42588 hypotl(0, 0);
42590 return 0;
42592 _ACEOF
42593 if ac_fn_cxx_try_compile "$LINENO"; then :
42594 glibcxx_cv_func_hypotl_use=yes
42595 else
42596 glibcxx_cv_func_hypotl_use=no
42598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42599 ac_ext=c
42600 ac_cpp='$CPP $CPPFLAGS'
42601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
42610 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
42612 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
42613 for ac_func in hypotl
42614 do :
42615 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
42616 if test "x$ac_cv_func_hypotl" = x""yes; then :
42617 cat >>confdefs.h <<_ACEOF
42618 #define HAVE_HYPOTL 1
42619 _ACEOF
42622 done
42624 else
42626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
42627 $as_echo_n "checking for _hypotl declaration... " >&6; }
42628 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
42629 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
42630 $as_echo_n "(cached) " >&6
42631 else
42634 ac_ext=cpp
42635 ac_cpp='$CXXCPP $CPPFLAGS'
42636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42641 /* end confdefs.h. */
42642 #include <math.h>
42644 main ()
42646 _hypotl(0, 0);
42648 return 0;
42650 _ACEOF
42651 if ac_fn_cxx_try_compile "$LINENO"; then :
42652 glibcxx_cv_func__hypotl_use=yes
42653 else
42654 glibcxx_cv_func__hypotl_use=no
42656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42657 ac_ext=c
42658 ac_cpp='$CPP $CPPFLAGS'
42659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
42668 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
42670 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
42671 for ac_func in _hypotl
42672 do :
42673 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
42674 if test "x$ac_cv_func__hypotl" = x""yes; then :
42675 cat >>confdefs.h <<_ACEOF
42676 #define HAVE__HYPOTL 1
42677 _ACEOF
42680 done
42689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
42690 $as_echo_n "checking for ldexpl declaration... " >&6; }
42691 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
42692 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
42693 $as_echo_n "(cached) " >&6
42694 else
42697 ac_ext=cpp
42698 ac_cpp='$CXXCPP $CPPFLAGS'
42699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42704 /* end confdefs.h. */
42705 #include <math.h>
42707 main ()
42709 ldexpl(0, 0);
42711 return 0;
42713 _ACEOF
42714 if ac_fn_cxx_try_compile "$LINENO"; then :
42715 glibcxx_cv_func_ldexpl_use=yes
42716 else
42717 glibcxx_cv_func_ldexpl_use=no
42719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42720 ac_ext=c
42721 ac_cpp='$CPP $CPPFLAGS'
42722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
42731 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
42733 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
42734 for ac_func in ldexpl
42735 do :
42736 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
42737 if test "x$ac_cv_func_ldexpl" = x""yes; then :
42738 cat >>confdefs.h <<_ACEOF
42739 #define HAVE_LDEXPL 1
42740 _ACEOF
42743 done
42745 else
42747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
42748 $as_echo_n "checking for _ldexpl declaration... " >&6; }
42749 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
42750 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
42751 $as_echo_n "(cached) " >&6
42752 else
42755 ac_ext=cpp
42756 ac_cpp='$CXXCPP $CPPFLAGS'
42757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42762 /* end confdefs.h. */
42763 #include <math.h>
42765 main ()
42767 _ldexpl(0, 0);
42769 return 0;
42771 _ACEOF
42772 if ac_fn_cxx_try_compile "$LINENO"; then :
42773 glibcxx_cv_func__ldexpl_use=yes
42774 else
42775 glibcxx_cv_func__ldexpl_use=no
42777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42778 ac_ext=c
42779 ac_cpp='$CPP $CPPFLAGS'
42780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
42789 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
42791 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
42792 for ac_func in _ldexpl
42793 do :
42794 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
42795 if test "x$ac_cv_func__ldexpl" = x""yes; then :
42796 cat >>confdefs.h <<_ACEOF
42797 #define HAVE__LDEXPL 1
42798 _ACEOF
42801 done
42810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
42811 $as_echo_n "checking for logl declaration... " >&6; }
42812 if test x${glibcxx_cv_func_logl_use+set} != xset; then
42813 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
42814 $as_echo_n "(cached) " >&6
42815 else
42818 ac_ext=cpp
42819 ac_cpp='$CXXCPP $CPPFLAGS'
42820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42825 /* end confdefs.h. */
42826 #include <math.h>
42827 #ifdef HAVE_IEEEFP_H
42828 #include <ieeefp.h>
42829 #endif
42832 main ()
42834 logl(0);
42836 return 0;
42838 _ACEOF
42839 if ac_fn_cxx_try_compile "$LINENO"; then :
42840 glibcxx_cv_func_logl_use=yes
42841 else
42842 glibcxx_cv_func_logl_use=no
42844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42845 ac_ext=c
42846 ac_cpp='$CPP $CPPFLAGS'
42847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
42856 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
42858 if test x$glibcxx_cv_func_logl_use = x"yes"; then
42859 for ac_func in logl
42860 do :
42861 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
42862 if test "x$ac_cv_func_logl" = x""yes; then :
42863 cat >>confdefs.h <<_ACEOF
42864 #define HAVE_LOGL 1
42865 _ACEOF
42868 done
42870 else
42872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
42873 $as_echo_n "checking for _logl declaration... " >&6; }
42874 if test x${glibcxx_cv_func__logl_use+set} != xset; then
42875 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
42876 $as_echo_n "(cached) " >&6
42877 else
42880 ac_ext=cpp
42881 ac_cpp='$CXXCPP $CPPFLAGS'
42882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42887 /* end confdefs.h. */
42888 #include <math.h>
42889 #ifdef HAVE_IEEEFP_H
42890 #include <ieeefp.h>
42891 #endif
42894 main ()
42896 _logl(0);
42898 return 0;
42900 _ACEOF
42901 if ac_fn_cxx_try_compile "$LINENO"; then :
42902 glibcxx_cv_func__logl_use=yes
42903 else
42904 glibcxx_cv_func__logl_use=no
42906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42907 ac_ext=c
42908 ac_cpp='$CPP $CPPFLAGS'
42909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
42918 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
42920 if test x$glibcxx_cv_func__logl_use = x"yes"; then
42921 for ac_func in _logl
42922 do :
42923 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
42924 if test "x$ac_cv_func__logl" = x""yes; then :
42925 cat >>confdefs.h <<_ACEOF
42926 #define HAVE__LOGL 1
42927 _ACEOF
42930 done
42939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
42940 $as_echo_n "checking for log10l declaration... " >&6; }
42941 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
42942 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
42943 $as_echo_n "(cached) " >&6
42944 else
42947 ac_ext=cpp
42948 ac_cpp='$CXXCPP $CPPFLAGS'
42949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42954 /* end confdefs.h. */
42955 #include <math.h>
42956 #ifdef HAVE_IEEEFP_H
42957 #include <ieeefp.h>
42958 #endif
42961 main ()
42963 log10l(0);
42965 return 0;
42967 _ACEOF
42968 if ac_fn_cxx_try_compile "$LINENO"; then :
42969 glibcxx_cv_func_log10l_use=yes
42970 else
42971 glibcxx_cv_func_log10l_use=no
42973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42974 ac_ext=c
42975 ac_cpp='$CPP $CPPFLAGS'
42976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
42985 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
42987 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
42988 for ac_func in log10l
42989 do :
42990 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
42991 if test "x$ac_cv_func_log10l" = x""yes; then :
42992 cat >>confdefs.h <<_ACEOF
42993 #define HAVE_LOG10L 1
42994 _ACEOF
42997 done
42999 else
43001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
43002 $as_echo_n "checking for _log10l declaration... " >&6; }
43003 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
43004 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
43005 $as_echo_n "(cached) " >&6
43006 else
43009 ac_ext=cpp
43010 ac_cpp='$CXXCPP $CPPFLAGS'
43011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43016 /* end confdefs.h. */
43017 #include <math.h>
43018 #ifdef HAVE_IEEEFP_H
43019 #include <ieeefp.h>
43020 #endif
43023 main ()
43025 _log10l(0);
43027 return 0;
43029 _ACEOF
43030 if ac_fn_cxx_try_compile "$LINENO"; then :
43031 glibcxx_cv_func__log10l_use=yes
43032 else
43033 glibcxx_cv_func__log10l_use=no
43035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43036 ac_ext=c
43037 ac_cpp='$CPP $CPPFLAGS'
43038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
43047 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
43049 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
43050 for ac_func in _log10l
43051 do :
43052 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
43053 if test "x$ac_cv_func__log10l" = x""yes; then :
43054 cat >>confdefs.h <<_ACEOF
43055 #define HAVE__LOG10L 1
43056 _ACEOF
43059 done
43068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
43069 $as_echo_n "checking for modfl declaration... " >&6; }
43070 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
43071 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
43072 $as_echo_n "(cached) " >&6
43073 else
43076 ac_ext=cpp
43077 ac_cpp='$CXXCPP $CPPFLAGS'
43078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43083 /* end confdefs.h. */
43084 #include <math.h>
43086 main ()
43088 modfl(0, 0);
43090 return 0;
43092 _ACEOF
43093 if ac_fn_cxx_try_compile "$LINENO"; then :
43094 glibcxx_cv_func_modfl_use=yes
43095 else
43096 glibcxx_cv_func_modfl_use=no
43098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43099 ac_ext=c
43100 ac_cpp='$CPP $CPPFLAGS'
43101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
43110 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
43112 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
43113 for ac_func in modfl
43114 do :
43115 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
43116 if test "x$ac_cv_func_modfl" = x""yes; then :
43117 cat >>confdefs.h <<_ACEOF
43118 #define HAVE_MODFL 1
43119 _ACEOF
43122 done
43124 else
43126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
43127 $as_echo_n "checking for _modfl declaration... " >&6; }
43128 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
43129 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
43130 $as_echo_n "(cached) " >&6
43131 else
43134 ac_ext=cpp
43135 ac_cpp='$CXXCPP $CPPFLAGS'
43136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43141 /* end confdefs.h. */
43142 #include <math.h>
43144 main ()
43146 _modfl(0, 0);
43148 return 0;
43150 _ACEOF
43151 if ac_fn_cxx_try_compile "$LINENO"; then :
43152 glibcxx_cv_func__modfl_use=yes
43153 else
43154 glibcxx_cv_func__modfl_use=no
43156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43157 ac_ext=c
43158 ac_cpp='$CPP $CPPFLAGS'
43159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
43168 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
43170 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
43171 for ac_func in _modfl
43172 do :
43173 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
43174 if test "x$ac_cv_func__modfl" = x""yes; then :
43175 cat >>confdefs.h <<_ACEOF
43176 #define HAVE__MODFL 1
43177 _ACEOF
43180 done
43189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
43190 $as_echo_n "checking for powl declaration... " >&6; }
43191 if test x${glibcxx_cv_func_powl_use+set} != xset; then
43192 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
43193 $as_echo_n "(cached) " >&6
43194 else
43197 ac_ext=cpp
43198 ac_cpp='$CXXCPP $CPPFLAGS'
43199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43204 /* end confdefs.h. */
43205 #include <math.h>
43207 main ()
43209 powl(0, 0);
43211 return 0;
43213 _ACEOF
43214 if ac_fn_cxx_try_compile "$LINENO"; then :
43215 glibcxx_cv_func_powl_use=yes
43216 else
43217 glibcxx_cv_func_powl_use=no
43219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43220 ac_ext=c
43221 ac_cpp='$CPP $CPPFLAGS'
43222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
43231 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
43233 if test x$glibcxx_cv_func_powl_use = x"yes"; then
43234 for ac_func in powl
43235 do :
43236 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
43237 if test "x$ac_cv_func_powl" = x""yes; then :
43238 cat >>confdefs.h <<_ACEOF
43239 #define HAVE_POWL 1
43240 _ACEOF
43243 done
43245 else
43247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
43248 $as_echo_n "checking for _powl declaration... " >&6; }
43249 if test x${glibcxx_cv_func__powl_use+set} != xset; then
43250 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
43251 $as_echo_n "(cached) " >&6
43252 else
43255 ac_ext=cpp
43256 ac_cpp='$CXXCPP $CPPFLAGS'
43257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43262 /* end confdefs.h. */
43263 #include <math.h>
43265 main ()
43267 _powl(0, 0);
43269 return 0;
43271 _ACEOF
43272 if ac_fn_cxx_try_compile "$LINENO"; then :
43273 glibcxx_cv_func__powl_use=yes
43274 else
43275 glibcxx_cv_func__powl_use=no
43277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43278 ac_ext=c
43279 ac_cpp='$CPP $CPPFLAGS'
43280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
43289 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
43291 if test x$glibcxx_cv_func__powl_use = x"yes"; then
43292 for ac_func in _powl
43293 do :
43294 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
43295 if test "x$ac_cv_func__powl" = x""yes; then :
43296 cat >>confdefs.h <<_ACEOF
43297 #define HAVE__POWL 1
43298 _ACEOF
43301 done
43310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
43311 $as_echo_n "checking for sqrtl declaration... " >&6; }
43312 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
43313 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
43314 $as_echo_n "(cached) " >&6
43315 else
43318 ac_ext=cpp
43319 ac_cpp='$CXXCPP $CPPFLAGS'
43320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43325 /* end confdefs.h. */
43326 #include <math.h>
43327 #ifdef HAVE_IEEEFP_H
43328 #include <ieeefp.h>
43329 #endif
43332 main ()
43334 sqrtl(0);
43336 return 0;
43338 _ACEOF
43339 if ac_fn_cxx_try_compile "$LINENO"; then :
43340 glibcxx_cv_func_sqrtl_use=yes
43341 else
43342 glibcxx_cv_func_sqrtl_use=no
43344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43345 ac_ext=c
43346 ac_cpp='$CPP $CPPFLAGS'
43347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
43356 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
43358 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
43359 for ac_func in sqrtl
43360 do :
43361 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
43362 if test "x$ac_cv_func_sqrtl" = x""yes; then :
43363 cat >>confdefs.h <<_ACEOF
43364 #define HAVE_SQRTL 1
43365 _ACEOF
43368 done
43370 else
43372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
43373 $as_echo_n "checking for _sqrtl declaration... " >&6; }
43374 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
43375 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
43376 $as_echo_n "(cached) " >&6
43377 else
43380 ac_ext=cpp
43381 ac_cpp='$CXXCPP $CPPFLAGS'
43382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43387 /* end confdefs.h. */
43388 #include <math.h>
43389 #ifdef HAVE_IEEEFP_H
43390 #include <ieeefp.h>
43391 #endif
43394 main ()
43396 _sqrtl(0);
43398 return 0;
43400 _ACEOF
43401 if ac_fn_cxx_try_compile "$LINENO"; then :
43402 glibcxx_cv_func__sqrtl_use=yes
43403 else
43404 glibcxx_cv_func__sqrtl_use=no
43406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43407 ac_ext=c
43408 ac_cpp='$CPP $CPPFLAGS'
43409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
43418 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
43420 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
43421 for ac_func in _sqrtl
43422 do :
43423 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
43424 if test "x$ac_cv_func__sqrtl" = x""yes; then :
43425 cat >>confdefs.h <<_ACEOF
43426 #define HAVE__SQRTL 1
43427 _ACEOF
43430 done
43439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
43440 $as_echo_n "checking for sincosl declaration... " >&6; }
43441 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
43442 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
43443 $as_echo_n "(cached) " >&6
43444 else
43447 ac_ext=cpp
43448 ac_cpp='$CXXCPP $CPPFLAGS'
43449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43454 /* end confdefs.h. */
43455 #include <math.h>
43457 main ()
43459 sincosl(0, 0, 0);
43461 return 0;
43463 _ACEOF
43464 if ac_fn_cxx_try_compile "$LINENO"; then :
43465 glibcxx_cv_func_sincosl_use=yes
43466 else
43467 glibcxx_cv_func_sincosl_use=no
43469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43470 ac_ext=c
43471 ac_cpp='$CPP $CPPFLAGS'
43472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
43481 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
43483 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
43484 for ac_func in sincosl
43485 do :
43486 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
43487 if test "x$ac_cv_func_sincosl" = x""yes; then :
43488 cat >>confdefs.h <<_ACEOF
43489 #define HAVE_SINCOSL 1
43490 _ACEOF
43493 done
43495 else
43497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
43498 $as_echo_n "checking for _sincosl declaration... " >&6; }
43499 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
43500 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
43501 $as_echo_n "(cached) " >&6
43502 else
43505 ac_ext=cpp
43506 ac_cpp='$CXXCPP $CPPFLAGS'
43507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43512 /* end confdefs.h. */
43513 #include <math.h>
43515 main ()
43517 _sincosl(0, 0, 0);
43519 return 0;
43521 _ACEOF
43522 if ac_fn_cxx_try_compile "$LINENO"; then :
43523 glibcxx_cv_func__sincosl_use=yes
43524 else
43525 glibcxx_cv_func__sincosl_use=no
43527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43528 ac_ext=c
43529 ac_cpp='$CPP $CPPFLAGS'
43530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
43539 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
43541 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
43542 for ac_func in _sincosl
43543 do :
43544 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
43545 if test "x$ac_cv_func__sincosl" = x""yes; then :
43546 cat >>confdefs.h <<_ACEOF
43547 #define HAVE__SINCOSL 1
43548 _ACEOF
43551 done
43560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
43561 $as_echo_n "checking for finitel declaration... " >&6; }
43562 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
43563 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
43564 $as_echo_n "(cached) " >&6
43565 else
43568 ac_ext=cpp
43569 ac_cpp='$CXXCPP $CPPFLAGS'
43570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43575 /* end confdefs.h. */
43576 #include <math.h>
43577 #ifdef HAVE_IEEEFP_H
43578 #include <ieeefp.h>
43579 #endif
43582 main ()
43584 finitel(0);
43586 return 0;
43588 _ACEOF
43589 if ac_fn_cxx_try_compile "$LINENO"; then :
43590 glibcxx_cv_func_finitel_use=yes
43591 else
43592 glibcxx_cv_func_finitel_use=no
43594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43595 ac_ext=c
43596 ac_cpp='$CPP $CPPFLAGS'
43597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
43606 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
43608 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
43609 for ac_func in finitel
43610 do :
43611 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
43612 if test "x$ac_cv_func_finitel" = x""yes; then :
43613 cat >>confdefs.h <<_ACEOF
43614 #define HAVE_FINITEL 1
43615 _ACEOF
43618 done
43620 else
43622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
43623 $as_echo_n "checking for _finitel declaration... " >&6; }
43624 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
43625 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
43626 $as_echo_n "(cached) " >&6
43627 else
43630 ac_ext=cpp
43631 ac_cpp='$CXXCPP $CPPFLAGS'
43632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43637 /* end confdefs.h. */
43638 #include <math.h>
43639 #ifdef HAVE_IEEEFP_H
43640 #include <ieeefp.h>
43641 #endif
43644 main ()
43646 _finitel(0);
43648 return 0;
43650 _ACEOF
43651 if ac_fn_cxx_try_compile "$LINENO"; then :
43652 glibcxx_cv_func__finitel_use=yes
43653 else
43654 glibcxx_cv_func__finitel_use=no
43656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43657 ac_ext=c
43658 ac_cpp='$CPP $CPPFLAGS'
43659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
43668 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
43670 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
43671 for ac_func in _finitel
43672 do :
43673 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
43674 if test "x$ac_cv_func__finitel" = x""yes; then :
43675 cat >>confdefs.h <<_ACEOF
43676 #define HAVE__FINITEL 1
43677 _ACEOF
43680 done
43688 LIBS="$ac_save_LIBS"
43689 CXXFLAGS="$ac_save_CXXFLAGS"
43692 ac_test_CXXFLAGS="${CXXFLAGS+set}"
43693 ac_save_CXXFLAGS="$CXXFLAGS"
43694 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
43697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
43698 $as_echo_n "checking for strtold declaration... " >&6; }
43699 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
43700 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
43701 $as_echo_n "(cached) " >&6
43702 else
43705 ac_ext=cpp
43706 ac_cpp='$CXXCPP $CPPFLAGS'
43707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43712 /* end confdefs.h. */
43713 #include <stdlib.h>
43715 main ()
43717 strtold(0, 0);
43719 return 0;
43721 _ACEOF
43722 if ac_fn_cxx_try_compile "$LINENO"; then :
43723 glibcxx_cv_func_strtold_use=yes
43724 else
43725 glibcxx_cv_func_strtold_use=no
43727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43728 ac_ext=c
43729 ac_cpp='$CPP $CPPFLAGS'
43730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
43739 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
43740 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
43741 for ac_func in strtold
43742 do :
43743 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
43744 if test "x$ac_cv_func_strtold" = x""yes; then :
43745 cat >>confdefs.h <<_ACEOF
43746 #define HAVE_STRTOLD 1
43747 _ACEOF
43750 done
43757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
43758 $as_echo_n "checking for strtof declaration... " >&6; }
43759 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
43760 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
43761 $as_echo_n "(cached) " >&6
43762 else
43765 ac_ext=cpp
43766 ac_cpp='$CXXCPP $CPPFLAGS'
43767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43772 /* end confdefs.h. */
43773 #include <stdlib.h>
43775 main ()
43777 strtof(0, 0);
43779 return 0;
43781 _ACEOF
43782 if ac_fn_cxx_try_compile "$LINENO"; then :
43783 glibcxx_cv_func_strtof_use=yes
43784 else
43785 glibcxx_cv_func_strtof_use=no
43787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43788 ac_ext=c
43789 ac_cpp='$CPP $CPPFLAGS'
43790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
43799 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
43800 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
43801 for ac_func in strtof
43802 do :
43803 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
43804 if test "x$ac_cv_func_strtof" = x""yes; then :
43805 cat >>confdefs.h <<_ACEOF
43806 #define HAVE_STRTOF 1
43807 _ACEOF
43810 done
43817 CXXFLAGS="$ac_save_CXXFLAGS"
43821 *djgpp)
43822 # GLIBCXX_CHECK_MATH_SUPPORT
43823 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
43825 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
43827 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
43829 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
43831 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
43835 *-freebsd*)
43836 SECTION_FLAGS='-ffunction-sections -fdata-sections'
43839 # If we're not using GNU ld, then there's no point in even trying these
43840 # tests. Check for that first. We should have already tested for gld
43841 # by now (in libtool), but require it now just to be safe...
43842 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
43843 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
43847 # The name set by libtool depends on the version of libtool. Shame on us
43848 # for depending on an impl detail, but c'est la vie. Older versions used
43849 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
43850 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
43851 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
43852 # set (hence we're using an older libtool), then set it.
43853 if test x${with_gnu_ld+set} != xset; then
43854 if test x${ac_cv_prog_gnu_ld+set} != xset; then
43855 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
43856 with_gnu_ld=no
43857 else
43858 with_gnu_ld=$ac_cv_prog_gnu_ld
43862 # Start by getting the version number. I think the libtool test already
43863 # does some of this, but throws away the result.
43864 glibcxx_ld_is_gold=no
43865 if test x"$with_gnu_ld" = x"yes"; then
43866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
43867 $as_echo_n "checking for ld version... " >&6; }
43869 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
43870 glibcxx_ld_is_gold=yes
43872 ldver=`$LD --version 2>/dev/null | head -1 | \
43873 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
43875 glibcxx_gnu_ld_version=`echo $ldver | \
43876 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
43877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
43878 $as_echo "$glibcxx_gnu_ld_version" >&6; }
43881 # Set --gc-sections.
43882 glibcxx_have_gc_sections=no
43883 if test "$glibcxx_ld_is_gold" = "yes"; then
43884 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
43885 glibcxx_have_gc_sections=yes
43887 else
43888 glibcxx_gcsections_min_ld=21602
43889 if test x"$with_gnu_ld" = x"yes" &&
43890 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
43891 glibcxx_have_gc_sections=yes
43894 if test "$glibcxx_have_gc_sections" = "yes"; then
43895 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
43896 # NB: This flag only works reliably after 2.16.1. Configure tests
43897 # for this are difficult, so hard wire a value that should work.
43899 ac_test_CFLAGS="${CFLAGS+set}"
43900 ac_save_CFLAGS="$CFLAGS"
43901 CFLAGS='-Wl,--gc-sections'
43903 # Check for -Wl,--gc-sections
43904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
43905 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
43906 if test x$gcc_no_link = xyes; then
43907 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
43909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43910 /* end confdefs.h. */
43911 int one(void) { return 1; }
43912 int two(void) { return 2; }
43915 main ()
43917 two();
43919 return 0;
43921 _ACEOF
43922 if ac_fn_c_try_link "$LINENO"; then :
43923 ac_gcsections=yes
43924 else
43925 ac_gcsections=no
43927 rm -f core conftest.err conftest.$ac_objext \
43928 conftest$ac_exeext conftest.$ac_ext
43929 if test "$ac_gcsections" = "yes"; then
43930 rm -f conftest.c
43931 touch conftest.c
43932 if $CC -c conftest.c; then
43933 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
43934 grep "Warning: gc-sections option ignored" > /dev/null; then
43935 ac_gcsections=no
43938 rm -f conftest.c conftest.o conftest
43940 if test "$ac_gcsections" = "yes"; then
43941 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
43943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
43944 $as_echo "$ac_gcsections" >&6; }
43946 if test "$ac_test_CFLAGS" = set; then
43947 CFLAGS="$ac_save_CFLAGS"
43948 else
43949 # this is the suspicious part
43950 CFLAGS=''
43954 # Set -z,relro.
43955 # Note this is only for shared objects.
43956 ac_ld_relro=no
43957 if test x"$with_gnu_ld" = x"yes"; then
43958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
43959 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
43960 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
43961 if test -n "$cxx_z_relo"; then
43962 OPT_LDFLAGS="-Wl,-z,relro"
43963 ac_ld_relro=yes
43965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
43966 $as_echo "$ac_ld_relro" >&6; }
43969 # Set linker optimization flags.
43970 if test x"$with_gnu_ld" = x"yes"; then
43971 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
43977 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
43979 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
43981 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
43983 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
43985 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
43987 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
43989 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
43991 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
43993 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
43996 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
43998 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44000 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44002 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44004 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
44006 $as_echo "#define HAVE_COSF 1" >>confdefs.h
44008 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44010 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44012 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44014 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
44016 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44018 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44020 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
44022 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44024 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44026 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
44028 $as_echo "#define HAVE_POWF 1" >>confdefs.h
44030 $as_echo "#define HAVE_SINF 1" >>confdefs.h
44032 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44034 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44036 $as_echo "#define HAVE_TANF 1" >>confdefs.h
44038 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44040 if test x"long_double_math_on_this_cpu" = x"yes"; then
44041 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
44043 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
44045 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
44049 *-hpux*)
44050 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44053 # If we're not using GNU ld, then there's no point in even trying these
44054 # tests. Check for that first. We should have already tested for gld
44055 # by now (in libtool), but require it now just to be safe...
44056 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44057 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44061 # The name set by libtool depends on the version of libtool. Shame on us
44062 # for depending on an impl detail, but c'est la vie. Older versions used
44063 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44064 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44065 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44066 # set (hence we're using an older libtool), then set it.
44067 if test x${with_gnu_ld+set} != xset; then
44068 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44069 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44070 with_gnu_ld=no
44071 else
44072 with_gnu_ld=$ac_cv_prog_gnu_ld
44076 # Start by getting the version number. I think the libtool test already
44077 # does some of this, but throws away the result.
44078 glibcxx_ld_is_gold=no
44079 if test x"$with_gnu_ld" = x"yes"; then
44080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44081 $as_echo_n "checking for ld version... " >&6; }
44083 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44084 glibcxx_ld_is_gold=yes
44086 ldver=`$LD --version 2>/dev/null | head -1 | \
44087 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
44089 glibcxx_gnu_ld_version=`echo $ldver | \
44090 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44092 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44095 # Set --gc-sections.
44096 glibcxx_have_gc_sections=no
44097 if test "$glibcxx_ld_is_gold" = "yes"; then
44098 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44099 glibcxx_have_gc_sections=yes
44101 else
44102 glibcxx_gcsections_min_ld=21602
44103 if test x"$with_gnu_ld" = x"yes" &&
44104 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44105 glibcxx_have_gc_sections=yes
44108 if test "$glibcxx_have_gc_sections" = "yes"; then
44109 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44110 # NB: This flag only works reliably after 2.16.1. Configure tests
44111 # for this are difficult, so hard wire a value that should work.
44113 ac_test_CFLAGS="${CFLAGS+set}"
44114 ac_save_CFLAGS="$CFLAGS"
44115 CFLAGS='-Wl,--gc-sections'
44117 # Check for -Wl,--gc-sections
44118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44119 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44120 if test x$gcc_no_link = xyes; then
44121 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44124 /* end confdefs.h. */
44125 int one(void) { return 1; }
44126 int two(void) { return 2; }
44129 main ()
44131 two();
44133 return 0;
44135 _ACEOF
44136 if ac_fn_c_try_link "$LINENO"; then :
44137 ac_gcsections=yes
44138 else
44139 ac_gcsections=no
44141 rm -f core conftest.err conftest.$ac_objext \
44142 conftest$ac_exeext conftest.$ac_ext
44143 if test "$ac_gcsections" = "yes"; then
44144 rm -f conftest.c
44145 touch conftest.c
44146 if $CC -c conftest.c; then
44147 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44148 grep "Warning: gc-sections option ignored" > /dev/null; then
44149 ac_gcsections=no
44152 rm -f conftest.c conftest.o conftest
44154 if test "$ac_gcsections" = "yes"; then
44155 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44158 $as_echo "$ac_gcsections" >&6; }
44160 if test "$ac_test_CFLAGS" = set; then
44161 CFLAGS="$ac_save_CFLAGS"
44162 else
44163 # this is the suspicious part
44164 CFLAGS=''
44168 # Set -z,relro.
44169 # Note this is only for shared objects.
44170 ac_ld_relro=no
44171 if test x"$with_gnu_ld" = x"yes"; then
44172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44173 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44174 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44175 if test -n "$cxx_z_relo"; then
44176 OPT_LDFLAGS="-Wl,-z,relro"
44177 ac_ld_relro=yes
44179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44180 $as_echo "$ac_ld_relro" >&6; }
44183 # Set linker optimization flags.
44184 if test x"$with_gnu_ld" = x"yes"; then
44185 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44192 # GLIBCXX_CHECK_MATH_SUPPORT
44193 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44195 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44197 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44199 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44201 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44203 $as_echo "#define HAVE_COSF 1" >>confdefs.h
44205 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44207 $as_echo "#define HAVE_SINF 1" >>confdefs.h
44209 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44211 $as_echo "#define HAVE_TANF 1" >>confdefs.h
44213 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44215 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44217 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44219 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44221 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44223 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44225 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44227 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44229 $as_echo "#define HAVE_MODF 1" >>confdefs.h
44231 $as_echo "#define HAVE_POWF 1" >>confdefs.h
44233 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44236 # GLIBCXX_CHECK_STDLIB_SUPPORT
44237 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
44242 # Check whether --enable-tls was given.
44243 if test "${enable_tls+set}" = set; then :
44244 enableval=$enable_tls;
44245 case "$enableval" in
44246 yes|no) ;;
44247 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
44248 esac
44250 else
44251 enable_tls=yes
44255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
44256 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
44257 if test "${gcc_cv_have_tls+set}" = set; then :
44258 $as_echo_n "(cached) " >&6
44259 else
44261 if test "$cross_compiling" = yes; then :
44262 if test x$gcc_no_link = xyes; then
44263 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44266 /* end confdefs.h. */
44267 __thread int a; int b; int main() { return a = b; }
44268 _ACEOF
44269 if ac_fn_c_try_link "$LINENO"; then :
44270 chktls_save_LDFLAGS="$LDFLAGS"
44271 case $host in
44272 *-*-linux*)
44273 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
44275 esac
44276 chktls_save_CFLAGS="$CFLAGS"
44277 CFLAGS="-fPIC $CFLAGS"
44278 if test x$gcc_no_link = xyes; then
44279 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44282 /* end confdefs.h. */
44283 int f() { return 0; }
44284 _ACEOF
44285 if ac_fn_c_try_link "$LINENO"; then :
44286 if test x$gcc_no_link = xyes; then
44287 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44290 /* end confdefs.h. */
44291 __thread int a; int b; int f() { return a = b; }
44292 _ACEOF
44293 if ac_fn_c_try_link "$LINENO"; then :
44294 gcc_cv_have_tls=yes
44295 else
44296 gcc_cv_have_tls=no
44298 rm -f core conftest.err conftest.$ac_objext \
44299 conftest$ac_exeext conftest.$ac_ext
44300 else
44301 gcc_cv_have_tls=yes
44303 rm -f core conftest.err conftest.$ac_objext \
44304 conftest$ac_exeext conftest.$ac_ext
44305 CFLAGS="$chktls_save_CFLAGS"
44306 LDFLAGS="$chktls_save_LDFLAGS"
44307 else
44308 gcc_cv_have_tls=no
44310 rm -f core conftest.err conftest.$ac_objext \
44311 conftest$ac_exeext conftest.$ac_ext
44314 else
44315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44316 /* end confdefs.h. */
44317 __thread int a; int b; int main() { return a = b; }
44318 _ACEOF
44319 if ac_fn_c_try_run "$LINENO"; then :
44320 chktls_save_LDFLAGS="$LDFLAGS"
44321 LDFLAGS="-static $LDFLAGS"
44322 if test x$gcc_no_link = xyes; then
44323 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44326 /* end confdefs.h. */
44327 int main() { return 0; }
44328 _ACEOF
44329 if ac_fn_c_try_link "$LINENO"; then :
44330 if test "$cross_compiling" = yes; then :
44331 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44332 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44333 as_fn_error "cannot run test program while cross compiling
44334 See \`config.log' for more details." "$LINENO" 5; }
44335 else
44336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44337 /* end confdefs.h. */
44338 __thread int a; int b; int main() { return a = b; }
44339 _ACEOF
44340 if ac_fn_c_try_run "$LINENO"; then :
44341 gcc_cv_have_tls=yes
44342 else
44343 gcc_cv_have_tls=no
44345 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44346 conftest.$ac_objext conftest.beam conftest.$ac_ext
44349 else
44350 gcc_cv_have_tls=yes
44352 rm -f core conftest.err conftest.$ac_objext \
44353 conftest$ac_exeext conftest.$ac_ext
44354 LDFLAGS="$chktls_save_LDFLAGS"
44355 if test $gcc_cv_have_tls = yes; then
44356 chktls_save_CFLAGS="$CFLAGS"
44357 thread_CFLAGS=failed
44358 for flag in '' '-pthread' '-lpthread'; do
44359 CFLAGS="$flag $chktls_save_CFLAGS"
44360 if test x$gcc_no_link = xyes; then
44361 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44364 /* end confdefs.h. */
44365 #include <pthread.h>
44366 void *g(void *d) { return NULL; }
44368 main ()
44370 pthread_t t; pthread_create(&t,NULL,g,NULL);
44372 return 0;
44374 _ACEOF
44375 if ac_fn_c_try_link "$LINENO"; then :
44376 thread_CFLAGS="$flag"
44378 rm -f core conftest.err conftest.$ac_objext \
44379 conftest$ac_exeext conftest.$ac_ext
44380 if test "X$thread_CFLAGS" != Xfailed; then
44381 break
44383 done
44384 CFLAGS="$chktls_save_CFLAGS"
44385 if test "X$thread_CFLAGS" != Xfailed; then
44386 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
44387 if test "$cross_compiling" = yes; then :
44388 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44389 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44390 as_fn_error "cannot run test program while cross compiling
44391 See \`config.log' for more details." "$LINENO" 5; }
44392 else
44393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44394 /* end confdefs.h. */
44395 #include <pthread.h>
44396 __thread int a;
44397 static int *a_in_other_thread;
44398 static void *
44399 thread_func (void *arg)
44401 a_in_other_thread = &a;
44402 return (void *)0;
44405 main ()
44407 pthread_t thread;
44408 void *thread_retval;
44409 int *a_in_main_thread;
44410 if (pthread_create (&thread, (pthread_attr_t *)0,
44411 thread_func, (void *)0))
44412 return 0;
44413 a_in_main_thread = &a;
44414 if (pthread_join (thread, &thread_retval))
44415 return 0;
44416 return (a_in_other_thread == a_in_main_thread);
44418 return 0;
44420 _ACEOF
44421 if ac_fn_c_try_run "$LINENO"; then :
44422 gcc_cv_have_tls=yes
44423 else
44424 gcc_cv_have_tls=no
44426 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44427 conftest.$ac_objext conftest.beam conftest.$ac_ext
44430 CFLAGS="$chktls_save_CFLAGS"
44433 else
44434 gcc_cv_have_tls=no
44436 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44437 conftest.$ac_objext conftest.beam conftest.$ac_ext
44441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
44442 $as_echo "$gcc_cv_have_tls" >&6; }
44443 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
44445 $as_echo "#define HAVE_TLS 1" >>confdefs.h
44448 case "$target" in
44449 *-hpux10*)
44450 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44452 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
44454 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44456 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44458 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44461 esac
44463 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
44465 # All these tests are for C++; save the language and the compiler flags.
44466 # The CXXFLAGS thing is suspicious, but based on similar bits previously
44467 # found in GLIBCXX_CONFIGURE.
44469 ac_ext=cpp
44470 ac_cpp='$CXXCPP $CPPFLAGS'
44471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44475 ac_test_CXXFLAGS="${CXXFLAGS+set}"
44476 ac_save_CXXFLAGS="$CXXFLAGS"
44478 # Check for maintainer-mode bits.
44479 if test x"$USE_MAINTAINER_MODE" = xno; then
44480 WERROR=''
44481 else
44482 WERROR='-Werror'
44485 # Check for -ffunction-sections -fdata-sections
44486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
44487 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
44488 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
44489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44490 /* end confdefs.h. */
44491 int foo; void bar() { };
44493 main ()
44497 return 0;
44499 _ACEOF
44500 if ac_fn_cxx_try_compile "$LINENO"; then :
44501 ac_fdsections=yes
44502 else
44503 ac_fdsections=no
44505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44506 if test "$ac_test_CXXFLAGS" = set; then
44507 CXXFLAGS="$ac_save_CXXFLAGS"
44508 else
44509 # this is the suspicious part
44510 CXXFLAGS=''
44512 if test x"$ac_fdsections" = x"yes"; then
44513 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
44516 $as_echo "$ac_fdsections" >&6; }
44518 ac_ext=c
44519 ac_cpp='$CPP $CPPFLAGS'
44520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44528 # If we're not using GNU ld, then there's no point in even trying these
44529 # tests. Check for that first. We should have already tested for gld
44530 # by now (in libtool), but require it now just to be safe...
44531 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44532 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44536 # The name set by libtool depends on the version of libtool. Shame on us
44537 # for depending on an impl detail, but c'est la vie. Older versions used
44538 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44539 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44540 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44541 # set (hence we're using an older libtool), then set it.
44542 if test x${with_gnu_ld+set} != xset; then
44543 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44544 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44545 with_gnu_ld=no
44546 else
44547 with_gnu_ld=$ac_cv_prog_gnu_ld
44551 # Start by getting the version number. I think the libtool test already
44552 # does some of this, but throws away the result.
44553 glibcxx_ld_is_gold=no
44554 if test x"$with_gnu_ld" = x"yes"; then
44555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44556 $as_echo_n "checking for ld version... " >&6; }
44558 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44559 glibcxx_ld_is_gold=yes
44561 ldver=`$LD --version 2>/dev/null | head -1 | \
44562 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
44564 glibcxx_gnu_ld_version=`echo $ldver | \
44565 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44567 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44570 # Set --gc-sections.
44571 glibcxx_have_gc_sections=no
44572 if test "$glibcxx_ld_is_gold" = "yes"; then
44573 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44574 glibcxx_have_gc_sections=yes
44576 else
44577 glibcxx_gcsections_min_ld=21602
44578 if test x"$with_gnu_ld" = x"yes" &&
44579 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44580 glibcxx_have_gc_sections=yes
44583 if test "$glibcxx_have_gc_sections" = "yes"; then
44584 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44585 # NB: This flag only works reliably after 2.16.1. Configure tests
44586 # for this are difficult, so hard wire a value that should work.
44588 ac_test_CFLAGS="${CFLAGS+set}"
44589 ac_save_CFLAGS="$CFLAGS"
44590 CFLAGS='-Wl,--gc-sections'
44592 # Check for -Wl,--gc-sections
44593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44594 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44595 if test x$gcc_no_link = xyes; then
44596 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44599 /* end confdefs.h. */
44600 int one(void) { return 1; }
44601 int two(void) { return 2; }
44604 main ()
44606 two();
44608 return 0;
44610 _ACEOF
44611 if ac_fn_c_try_link "$LINENO"; then :
44612 ac_gcsections=yes
44613 else
44614 ac_gcsections=no
44616 rm -f core conftest.err conftest.$ac_objext \
44617 conftest$ac_exeext conftest.$ac_ext
44618 if test "$ac_gcsections" = "yes"; then
44619 rm -f conftest.c
44620 touch conftest.c
44621 if $CC -c conftest.c; then
44622 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44623 grep "Warning: gc-sections option ignored" > /dev/null; then
44624 ac_gcsections=no
44627 rm -f conftest.c conftest.o conftest
44629 if test "$ac_gcsections" = "yes"; then
44630 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44633 $as_echo "$ac_gcsections" >&6; }
44635 if test "$ac_test_CFLAGS" = set; then
44636 CFLAGS="$ac_save_CFLAGS"
44637 else
44638 # this is the suspicious part
44639 CFLAGS=''
44643 # Set -z,relro.
44644 # Note this is only for shared objects.
44645 ac_ld_relro=no
44646 if test x"$with_gnu_ld" = x"yes"; then
44647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44648 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44649 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44650 if test -n "$cxx_z_relo"; then
44651 OPT_LDFLAGS="-Wl,-z,relro"
44652 ac_ld_relro=yes
44654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44655 $as_echo "$ac_ld_relro" >&6; }
44658 # Set linker optimization flags.
44659 if test x"$with_gnu_ld" = x"yes"; then
44660 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44667 ac_test_CXXFLAGS="${CXXFLAGS+set}"
44668 ac_save_CXXFLAGS="$CXXFLAGS"
44669 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
44671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
44672 $as_echo_n "checking for sin in -lm... " >&6; }
44673 if test "${ac_cv_lib_m_sin+set}" = set; then :
44674 $as_echo_n "(cached) " >&6
44675 else
44676 ac_check_lib_save_LIBS=$LIBS
44677 LIBS="-lm $LIBS"
44678 if test x$gcc_no_link = xyes; then
44679 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44682 /* end confdefs.h. */
44684 /* Override any GCC internal prototype to avoid an error.
44685 Use char because int might match the return type of a GCC
44686 builtin and then its argument prototype would still apply. */
44687 #ifdef __cplusplus
44688 extern "C"
44689 #endif
44690 char sin ();
44692 main ()
44694 return sin ();
44696 return 0;
44698 _ACEOF
44699 if ac_fn_c_try_link "$LINENO"; then :
44700 ac_cv_lib_m_sin=yes
44701 else
44702 ac_cv_lib_m_sin=no
44704 rm -f core conftest.err conftest.$ac_objext \
44705 conftest$ac_exeext conftest.$ac_ext
44706 LIBS=$ac_check_lib_save_LIBS
44708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
44709 $as_echo "$ac_cv_lib_m_sin" >&6; }
44710 if test "x$ac_cv_lib_m_sin" = x""yes; then :
44711 libm="-lm"
44714 ac_save_LIBS="$LIBS"
44715 LIBS="$LIBS $libm"
44719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
44720 $as_echo_n "checking for isinf declaration... " >&6; }
44721 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
44722 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
44723 $as_echo_n "(cached) " >&6
44724 else
44727 ac_ext=cpp
44728 ac_cpp='$CXXCPP $CPPFLAGS'
44729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44734 /* end confdefs.h. */
44735 #include <math.h>
44736 #ifdef HAVE_IEEEFP_H
44737 #include <ieeefp.h>
44738 #endif
44741 main ()
44743 isinf(0);
44745 return 0;
44747 _ACEOF
44748 if ac_fn_cxx_try_compile "$LINENO"; then :
44749 glibcxx_cv_func_isinf_use=yes
44750 else
44751 glibcxx_cv_func_isinf_use=no
44753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44754 ac_ext=c
44755 ac_cpp='$CPP $CPPFLAGS'
44756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
44765 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
44767 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
44768 for ac_func in isinf
44769 do :
44770 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
44771 if test "x$ac_cv_func_isinf" = x""yes; then :
44772 cat >>confdefs.h <<_ACEOF
44773 #define HAVE_ISINF 1
44774 _ACEOF
44777 done
44779 else
44781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
44782 $as_echo_n "checking for _isinf declaration... " >&6; }
44783 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
44784 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
44785 $as_echo_n "(cached) " >&6
44786 else
44789 ac_ext=cpp
44790 ac_cpp='$CXXCPP $CPPFLAGS'
44791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44796 /* end confdefs.h. */
44797 #include <math.h>
44798 #ifdef HAVE_IEEEFP_H
44799 #include <ieeefp.h>
44800 #endif
44803 main ()
44805 _isinf(0);
44807 return 0;
44809 _ACEOF
44810 if ac_fn_cxx_try_compile "$LINENO"; then :
44811 glibcxx_cv_func__isinf_use=yes
44812 else
44813 glibcxx_cv_func__isinf_use=no
44815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44816 ac_ext=c
44817 ac_cpp='$CPP $CPPFLAGS'
44818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
44827 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
44829 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
44830 for ac_func in _isinf
44831 do :
44832 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
44833 if test "x$ac_cv_func__isinf" = x""yes; then :
44834 cat >>confdefs.h <<_ACEOF
44835 #define HAVE__ISINF 1
44836 _ACEOF
44839 done
44848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
44849 $as_echo_n "checking for isnan declaration... " >&6; }
44850 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
44851 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
44852 $as_echo_n "(cached) " >&6
44853 else
44856 ac_ext=cpp
44857 ac_cpp='$CXXCPP $CPPFLAGS'
44858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44863 /* end confdefs.h. */
44864 #include <math.h>
44865 #ifdef HAVE_IEEEFP_H
44866 #include <ieeefp.h>
44867 #endif
44870 main ()
44872 isnan(0);
44874 return 0;
44876 _ACEOF
44877 if ac_fn_cxx_try_compile "$LINENO"; then :
44878 glibcxx_cv_func_isnan_use=yes
44879 else
44880 glibcxx_cv_func_isnan_use=no
44882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44883 ac_ext=c
44884 ac_cpp='$CPP $CPPFLAGS'
44885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
44894 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
44896 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
44897 for ac_func in isnan
44898 do :
44899 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
44900 if test "x$ac_cv_func_isnan" = x""yes; then :
44901 cat >>confdefs.h <<_ACEOF
44902 #define HAVE_ISNAN 1
44903 _ACEOF
44906 done
44908 else
44910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
44911 $as_echo_n "checking for _isnan declaration... " >&6; }
44912 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
44913 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
44914 $as_echo_n "(cached) " >&6
44915 else
44918 ac_ext=cpp
44919 ac_cpp='$CXXCPP $CPPFLAGS'
44920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44925 /* end confdefs.h. */
44926 #include <math.h>
44927 #ifdef HAVE_IEEEFP_H
44928 #include <ieeefp.h>
44929 #endif
44932 main ()
44934 _isnan(0);
44936 return 0;
44938 _ACEOF
44939 if ac_fn_cxx_try_compile "$LINENO"; then :
44940 glibcxx_cv_func__isnan_use=yes
44941 else
44942 glibcxx_cv_func__isnan_use=no
44944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44945 ac_ext=c
44946 ac_cpp='$CPP $CPPFLAGS'
44947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
44956 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
44958 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
44959 for ac_func in _isnan
44960 do :
44961 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
44962 if test "x$ac_cv_func__isnan" = x""yes; then :
44963 cat >>confdefs.h <<_ACEOF
44964 #define HAVE__ISNAN 1
44965 _ACEOF
44968 done
44977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
44978 $as_echo_n "checking for finite declaration... " >&6; }
44979 if test x${glibcxx_cv_func_finite_use+set} != xset; then
44980 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
44981 $as_echo_n "(cached) " >&6
44982 else
44985 ac_ext=cpp
44986 ac_cpp='$CXXCPP $CPPFLAGS'
44987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44992 /* end confdefs.h. */
44993 #include <math.h>
44994 #ifdef HAVE_IEEEFP_H
44995 #include <ieeefp.h>
44996 #endif
44999 main ()
45001 finite(0);
45003 return 0;
45005 _ACEOF
45006 if ac_fn_cxx_try_compile "$LINENO"; then :
45007 glibcxx_cv_func_finite_use=yes
45008 else
45009 glibcxx_cv_func_finite_use=no
45011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45012 ac_ext=c
45013 ac_cpp='$CPP $CPPFLAGS'
45014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
45023 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
45025 if test x$glibcxx_cv_func_finite_use = x"yes"; then
45026 for ac_func in finite
45027 do :
45028 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
45029 if test "x$ac_cv_func_finite" = x""yes; then :
45030 cat >>confdefs.h <<_ACEOF
45031 #define HAVE_FINITE 1
45032 _ACEOF
45035 done
45037 else
45039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
45040 $as_echo_n "checking for _finite declaration... " >&6; }
45041 if test x${glibcxx_cv_func__finite_use+set} != xset; then
45042 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
45043 $as_echo_n "(cached) " >&6
45044 else
45047 ac_ext=cpp
45048 ac_cpp='$CXXCPP $CPPFLAGS'
45049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45054 /* end confdefs.h. */
45055 #include <math.h>
45056 #ifdef HAVE_IEEEFP_H
45057 #include <ieeefp.h>
45058 #endif
45061 main ()
45063 _finite(0);
45065 return 0;
45067 _ACEOF
45068 if ac_fn_cxx_try_compile "$LINENO"; then :
45069 glibcxx_cv_func__finite_use=yes
45070 else
45071 glibcxx_cv_func__finite_use=no
45073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45074 ac_ext=c
45075 ac_cpp='$CPP $CPPFLAGS'
45076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
45085 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
45087 if test x$glibcxx_cv_func__finite_use = x"yes"; then
45088 for ac_func in _finite
45089 do :
45090 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
45091 if test "x$ac_cv_func__finite" = x""yes; then :
45092 cat >>confdefs.h <<_ACEOF
45093 #define HAVE__FINITE 1
45094 _ACEOF
45097 done
45106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
45107 $as_echo_n "checking for sincos declaration... " >&6; }
45108 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
45109 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
45110 $as_echo_n "(cached) " >&6
45111 else
45114 ac_ext=cpp
45115 ac_cpp='$CXXCPP $CPPFLAGS'
45116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45121 /* end confdefs.h. */
45122 #include <math.h>
45124 main ()
45126 sincos(0, 0, 0);
45128 return 0;
45130 _ACEOF
45131 if ac_fn_cxx_try_compile "$LINENO"; then :
45132 glibcxx_cv_func_sincos_use=yes
45133 else
45134 glibcxx_cv_func_sincos_use=no
45136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45137 ac_ext=c
45138 ac_cpp='$CPP $CPPFLAGS'
45139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
45148 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
45150 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
45151 for ac_func in sincos
45152 do :
45153 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
45154 if test "x$ac_cv_func_sincos" = x""yes; then :
45155 cat >>confdefs.h <<_ACEOF
45156 #define HAVE_SINCOS 1
45157 _ACEOF
45160 done
45162 else
45164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
45165 $as_echo_n "checking for _sincos declaration... " >&6; }
45166 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
45167 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
45168 $as_echo_n "(cached) " >&6
45169 else
45172 ac_ext=cpp
45173 ac_cpp='$CXXCPP $CPPFLAGS'
45174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45179 /* end confdefs.h. */
45180 #include <math.h>
45182 main ()
45184 _sincos(0, 0, 0);
45186 return 0;
45188 _ACEOF
45189 if ac_fn_cxx_try_compile "$LINENO"; then :
45190 glibcxx_cv_func__sincos_use=yes
45191 else
45192 glibcxx_cv_func__sincos_use=no
45194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45195 ac_ext=c
45196 ac_cpp='$CPP $CPPFLAGS'
45197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
45206 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
45208 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
45209 for ac_func in _sincos
45210 do :
45211 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
45212 if test "x$ac_cv_func__sincos" = x""yes; then :
45213 cat >>confdefs.h <<_ACEOF
45214 #define HAVE__SINCOS 1
45215 _ACEOF
45218 done
45227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
45228 $as_echo_n "checking for fpclass declaration... " >&6; }
45229 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
45230 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
45231 $as_echo_n "(cached) " >&6
45232 else
45235 ac_ext=cpp
45236 ac_cpp='$CXXCPP $CPPFLAGS'
45237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45242 /* end confdefs.h. */
45243 #include <math.h>
45244 #ifdef HAVE_IEEEFP_H
45245 #include <ieeefp.h>
45246 #endif
45249 main ()
45251 fpclass(0);
45253 return 0;
45255 _ACEOF
45256 if ac_fn_cxx_try_compile "$LINENO"; then :
45257 glibcxx_cv_func_fpclass_use=yes
45258 else
45259 glibcxx_cv_func_fpclass_use=no
45261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45262 ac_ext=c
45263 ac_cpp='$CPP $CPPFLAGS'
45264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
45273 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
45275 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
45276 for ac_func in fpclass
45277 do :
45278 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
45279 if test "x$ac_cv_func_fpclass" = x""yes; then :
45280 cat >>confdefs.h <<_ACEOF
45281 #define HAVE_FPCLASS 1
45282 _ACEOF
45285 done
45287 else
45289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
45290 $as_echo_n "checking for _fpclass declaration... " >&6; }
45291 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
45292 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
45293 $as_echo_n "(cached) " >&6
45294 else
45297 ac_ext=cpp
45298 ac_cpp='$CXXCPP $CPPFLAGS'
45299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45304 /* end confdefs.h. */
45305 #include <math.h>
45306 #ifdef HAVE_IEEEFP_H
45307 #include <ieeefp.h>
45308 #endif
45311 main ()
45313 _fpclass(0);
45315 return 0;
45317 _ACEOF
45318 if ac_fn_cxx_try_compile "$LINENO"; then :
45319 glibcxx_cv_func__fpclass_use=yes
45320 else
45321 glibcxx_cv_func__fpclass_use=no
45323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45324 ac_ext=c
45325 ac_cpp='$CPP $CPPFLAGS'
45326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
45335 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
45337 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
45338 for ac_func in _fpclass
45339 do :
45340 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
45341 if test "x$ac_cv_func__fpclass" = x""yes; then :
45342 cat >>confdefs.h <<_ACEOF
45343 #define HAVE__FPCLASS 1
45344 _ACEOF
45347 done
45356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
45357 $as_echo_n "checking for qfpclass declaration... " >&6; }
45358 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
45359 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
45360 $as_echo_n "(cached) " >&6
45361 else
45364 ac_ext=cpp
45365 ac_cpp='$CXXCPP $CPPFLAGS'
45366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45371 /* end confdefs.h. */
45372 #include <math.h>
45373 #ifdef HAVE_IEEEFP_H
45374 #include <ieeefp.h>
45375 #endif
45378 main ()
45380 qfpclass(0);
45382 return 0;
45384 _ACEOF
45385 if ac_fn_cxx_try_compile "$LINENO"; then :
45386 glibcxx_cv_func_qfpclass_use=yes
45387 else
45388 glibcxx_cv_func_qfpclass_use=no
45390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45391 ac_ext=c
45392 ac_cpp='$CPP $CPPFLAGS'
45393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
45402 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
45404 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
45405 for ac_func in qfpclass
45406 do :
45407 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
45408 if test "x$ac_cv_func_qfpclass" = x""yes; then :
45409 cat >>confdefs.h <<_ACEOF
45410 #define HAVE_QFPCLASS 1
45411 _ACEOF
45414 done
45416 else
45418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
45419 $as_echo_n "checking for _qfpclass declaration... " >&6; }
45420 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
45421 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
45422 $as_echo_n "(cached) " >&6
45423 else
45426 ac_ext=cpp
45427 ac_cpp='$CXXCPP $CPPFLAGS'
45428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45433 /* end confdefs.h. */
45434 #include <math.h>
45435 #ifdef HAVE_IEEEFP_H
45436 #include <ieeefp.h>
45437 #endif
45440 main ()
45442 _qfpclass(0);
45444 return 0;
45446 _ACEOF
45447 if ac_fn_cxx_try_compile "$LINENO"; then :
45448 glibcxx_cv_func__qfpclass_use=yes
45449 else
45450 glibcxx_cv_func__qfpclass_use=no
45452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45453 ac_ext=c
45454 ac_cpp='$CPP $CPPFLAGS'
45455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
45464 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
45466 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
45467 for ac_func in _qfpclass
45468 do :
45469 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
45470 if test "x$ac_cv_func__qfpclass" = x""yes; then :
45471 cat >>confdefs.h <<_ACEOF
45472 #define HAVE__QFPCLASS 1
45473 _ACEOF
45476 done
45485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
45486 $as_echo_n "checking for hypot declaration... " >&6; }
45487 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
45488 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
45489 $as_echo_n "(cached) " >&6
45490 else
45493 ac_ext=cpp
45494 ac_cpp='$CXXCPP $CPPFLAGS'
45495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45500 /* end confdefs.h. */
45501 #include <math.h>
45503 main ()
45505 hypot(0, 0);
45507 return 0;
45509 _ACEOF
45510 if ac_fn_cxx_try_compile "$LINENO"; then :
45511 glibcxx_cv_func_hypot_use=yes
45512 else
45513 glibcxx_cv_func_hypot_use=no
45515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45516 ac_ext=c
45517 ac_cpp='$CPP $CPPFLAGS'
45518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
45527 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
45529 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
45530 for ac_func in hypot
45531 do :
45532 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
45533 if test "x$ac_cv_func_hypot" = x""yes; then :
45534 cat >>confdefs.h <<_ACEOF
45535 #define HAVE_HYPOT 1
45536 _ACEOF
45539 done
45541 else
45543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
45544 $as_echo_n "checking for _hypot declaration... " >&6; }
45545 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
45546 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
45547 $as_echo_n "(cached) " >&6
45548 else
45551 ac_ext=cpp
45552 ac_cpp='$CXXCPP $CPPFLAGS'
45553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45558 /* end confdefs.h. */
45559 #include <math.h>
45561 main ()
45563 _hypot(0, 0);
45565 return 0;
45567 _ACEOF
45568 if ac_fn_cxx_try_compile "$LINENO"; then :
45569 glibcxx_cv_func__hypot_use=yes
45570 else
45571 glibcxx_cv_func__hypot_use=no
45573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45574 ac_ext=c
45575 ac_cpp='$CPP $CPPFLAGS'
45576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
45585 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
45587 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
45588 for ac_func in _hypot
45589 do :
45590 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
45591 if test "x$ac_cv_func__hypot" = x""yes; then :
45592 cat >>confdefs.h <<_ACEOF
45593 #define HAVE__HYPOT 1
45594 _ACEOF
45597 done
45606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
45607 $as_echo_n "checking for float trig functions... " >&6; }
45608 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
45609 $as_echo_n "(cached) " >&6
45610 else
45613 ac_ext=cpp
45614 ac_cpp='$CXXCPP $CPPFLAGS'
45615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45620 /* end confdefs.h. */
45621 #include <math.h>
45623 main ()
45625 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
45627 return 0;
45629 _ACEOF
45630 if ac_fn_cxx_try_compile "$LINENO"; then :
45631 glibcxx_cv_func_float_trig_use=yes
45632 else
45633 glibcxx_cv_func_float_trig_use=no
45635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45636 ac_ext=c
45637 ac_cpp='$CPP $CPPFLAGS'
45638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
45645 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
45646 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
45647 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
45648 do :
45649 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45650 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45651 eval as_val=\$$as_ac_var
45652 if test "x$as_val" = x""yes; then :
45653 cat >>confdefs.h <<_ACEOF
45654 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45655 _ACEOF
45658 done
45660 else
45661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
45662 $as_echo_n "checking for _float trig functions... " >&6; }
45663 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
45664 $as_echo_n "(cached) " >&6
45665 else
45668 ac_ext=cpp
45669 ac_cpp='$CXXCPP $CPPFLAGS'
45670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45675 /* end confdefs.h. */
45676 #include <math.h>
45678 main ()
45680 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
45682 return 0;
45684 _ACEOF
45685 if ac_fn_cxx_try_compile "$LINENO"; then :
45686 glibcxx_cv_func__float_trig_use=yes
45687 else
45688 glibcxx_cv_func__float_trig_use=no
45690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45691 ac_ext=c
45692 ac_cpp='$CPP $CPPFLAGS'
45693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
45700 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
45701 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
45702 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
45703 do :
45704 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45705 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45706 eval as_val=\$$as_ac_var
45707 if test "x$as_val" = x""yes; then :
45708 cat >>confdefs.h <<_ACEOF
45709 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45710 _ACEOF
45713 done
45722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
45723 $as_echo_n "checking for float round functions... " >&6; }
45724 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
45725 $as_echo_n "(cached) " >&6
45726 else
45729 ac_ext=cpp
45730 ac_cpp='$CXXCPP $CPPFLAGS'
45731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45736 /* end confdefs.h. */
45737 #include <math.h>
45739 main ()
45741 ceilf (0); floorf (0);
45743 return 0;
45745 _ACEOF
45746 if ac_fn_cxx_try_compile "$LINENO"; then :
45747 glibcxx_cv_func_float_round_use=yes
45748 else
45749 glibcxx_cv_func_float_round_use=no
45751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45752 ac_ext=c
45753 ac_cpp='$CPP $CPPFLAGS'
45754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
45761 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
45762 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
45763 for ac_func in ceilf floorf
45764 do :
45765 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45766 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45767 eval as_val=\$$as_ac_var
45768 if test "x$as_val" = x""yes; then :
45769 cat >>confdefs.h <<_ACEOF
45770 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45771 _ACEOF
45774 done
45776 else
45777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
45778 $as_echo_n "checking for _float round functions... " >&6; }
45779 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
45780 $as_echo_n "(cached) " >&6
45781 else
45784 ac_ext=cpp
45785 ac_cpp='$CXXCPP $CPPFLAGS'
45786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45791 /* end confdefs.h. */
45792 #include <math.h>
45794 main ()
45796 _ceilf (0); _floorf (0);
45798 return 0;
45800 _ACEOF
45801 if ac_fn_cxx_try_compile "$LINENO"; then :
45802 glibcxx_cv_func__float_round_use=yes
45803 else
45804 glibcxx_cv_func__float_round_use=no
45806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45807 ac_ext=c
45808 ac_cpp='$CPP $CPPFLAGS'
45809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
45816 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
45817 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
45818 for ac_func in _ceilf _floorf
45819 do :
45820 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45821 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45822 eval as_val=\$$as_ac_var
45823 if test "x$as_val" = x""yes; then :
45824 cat >>confdefs.h <<_ACEOF
45825 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45826 _ACEOF
45829 done
45839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
45840 $as_echo_n "checking for expf declaration... " >&6; }
45841 if test x${glibcxx_cv_func_expf_use+set} != xset; then
45842 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
45843 $as_echo_n "(cached) " >&6
45844 else
45847 ac_ext=cpp
45848 ac_cpp='$CXXCPP $CPPFLAGS'
45849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45854 /* end confdefs.h. */
45855 #include <math.h>
45856 #ifdef HAVE_IEEEFP_H
45857 #include <ieeefp.h>
45858 #endif
45861 main ()
45863 expf(0);
45865 return 0;
45867 _ACEOF
45868 if ac_fn_cxx_try_compile "$LINENO"; then :
45869 glibcxx_cv_func_expf_use=yes
45870 else
45871 glibcxx_cv_func_expf_use=no
45873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45874 ac_ext=c
45875 ac_cpp='$CPP $CPPFLAGS'
45876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
45885 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
45887 if test x$glibcxx_cv_func_expf_use = x"yes"; then
45888 for ac_func in expf
45889 do :
45890 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
45891 if test "x$ac_cv_func_expf" = x""yes; then :
45892 cat >>confdefs.h <<_ACEOF
45893 #define HAVE_EXPF 1
45894 _ACEOF
45897 done
45899 else
45901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
45902 $as_echo_n "checking for _expf declaration... " >&6; }
45903 if test x${glibcxx_cv_func__expf_use+set} != xset; then
45904 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
45905 $as_echo_n "(cached) " >&6
45906 else
45909 ac_ext=cpp
45910 ac_cpp='$CXXCPP $CPPFLAGS'
45911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45916 /* end confdefs.h. */
45917 #include <math.h>
45918 #ifdef HAVE_IEEEFP_H
45919 #include <ieeefp.h>
45920 #endif
45923 main ()
45925 _expf(0);
45927 return 0;
45929 _ACEOF
45930 if ac_fn_cxx_try_compile "$LINENO"; then :
45931 glibcxx_cv_func__expf_use=yes
45932 else
45933 glibcxx_cv_func__expf_use=no
45935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45936 ac_ext=c
45937 ac_cpp='$CPP $CPPFLAGS'
45938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
45947 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
45949 if test x$glibcxx_cv_func__expf_use = x"yes"; then
45950 for ac_func in _expf
45951 do :
45952 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
45953 if test "x$ac_cv_func__expf" = x""yes; then :
45954 cat >>confdefs.h <<_ACEOF
45955 #define HAVE__EXPF 1
45956 _ACEOF
45959 done
45968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
45969 $as_echo_n "checking for isnanf declaration... " >&6; }
45970 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
45971 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
45972 $as_echo_n "(cached) " >&6
45973 else
45976 ac_ext=cpp
45977 ac_cpp='$CXXCPP $CPPFLAGS'
45978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45983 /* end confdefs.h. */
45984 #include <math.h>
45985 #ifdef HAVE_IEEEFP_H
45986 #include <ieeefp.h>
45987 #endif
45990 main ()
45992 isnanf(0);
45994 return 0;
45996 _ACEOF
45997 if ac_fn_cxx_try_compile "$LINENO"; then :
45998 glibcxx_cv_func_isnanf_use=yes
45999 else
46000 glibcxx_cv_func_isnanf_use=no
46002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46003 ac_ext=c
46004 ac_cpp='$CPP $CPPFLAGS'
46005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
46014 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
46016 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
46017 for ac_func in isnanf
46018 do :
46019 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
46020 if test "x$ac_cv_func_isnanf" = x""yes; then :
46021 cat >>confdefs.h <<_ACEOF
46022 #define HAVE_ISNANF 1
46023 _ACEOF
46026 done
46028 else
46030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
46031 $as_echo_n "checking for _isnanf declaration... " >&6; }
46032 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
46033 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
46034 $as_echo_n "(cached) " >&6
46035 else
46038 ac_ext=cpp
46039 ac_cpp='$CXXCPP $CPPFLAGS'
46040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46045 /* end confdefs.h. */
46046 #include <math.h>
46047 #ifdef HAVE_IEEEFP_H
46048 #include <ieeefp.h>
46049 #endif
46052 main ()
46054 _isnanf(0);
46056 return 0;
46058 _ACEOF
46059 if ac_fn_cxx_try_compile "$LINENO"; then :
46060 glibcxx_cv_func__isnanf_use=yes
46061 else
46062 glibcxx_cv_func__isnanf_use=no
46064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46065 ac_ext=c
46066 ac_cpp='$CPP $CPPFLAGS'
46067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
46076 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
46078 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
46079 for ac_func in _isnanf
46080 do :
46081 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
46082 if test "x$ac_cv_func__isnanf" = x""yes; then :
46083 cat >>confdefs.h <<_ACEOF
46084 #define HAVE__ISNANF 1
46085 _ACEOF
46088 done
46097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
46098 $as_echo_n "checking for isinff declaration... " >&6; }
46099 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
46100 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
46101 $as_echo_n "(cached) " >&6
46102 else
46105 ac_ext=cpp
46106 ac_cpp='$CXXCPP $CPPFLAGS'
46107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46112 /* end confdefs.h. */
46113 #include <math.h>
46114 #ifdef HAVE_IEEEFP_H
46115 #include <ieeefp.h>
46116 #endif
46119 main ()
46121 isinff(0);
46123 return 0;
46125 _ACEOF
46126 if ac_fn_cxx_try_compile "$LINENO"; then :
46127 glibcxx_cv_func_isinff_use=yes
46128 else
46129 glibcxx_cv_func_isinff_use=no
46131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46132 ac_ext=c
46133 ac_cpp='$CPP $CPPFLAGS'
46134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
46143 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
46145 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
46146 for ac_func in isinff
46147 do :
46148 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
46149 if test "x$ac_cv_func_isinff" = x""yes; then :
46150 cat >>confdefs.h <<_ACEOF
46151 #define HAVE_ISINFF 1
46152 _ACEOF
46155 done
46157 else
46159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
46160 $as_echo_n "checking for _isinff declaration... " >&6; }
46161 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
46162 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
46163 $as_echo_n "(cached) " >&6
46164 else
46167 ac_ext=cpp
46168 ac_cpp='$CXXCPP $CPPFLAGS'
46169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46174 /* end confdefs.h. */
46175 #include <math.h>
46176 #ifdef HAVE_IEEEFP_H
46177 #include <ieeefp.h>
46178 #endif
46181 main ()
46183 _isinff(0);
46185 return 0;
46187 _ACEOF
46188 if ac_fn_cxx_try_compile "$LINENO"; then :
46189 glibcxx_cv_func__isinff_use=yes
46190 else
46191 glibcxx_cv_func__isinff_use=no
46193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46194 ac_ext=c
46195 ac_cpp='$CPP $CPPFLAGS'
46196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
46205 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
46207 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
46208 for ac_func in _isinff
46209 do :
46210 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
46211 if test "x$ac_cv_func__isinff" = x""yes; then :
46212 cat >>confdefs.h <<_ACEOF
46213 #define HAVE__ISINFF 1
46214 _ACEOF
46217 done
46226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
46227 $as_echo_n "checking for atan2f declaration... " >&6; }
46228 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
46229 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
46230 $as_echo_n "(cached) " >&6
46231 else
46234 ac_ext=cpp
46235 ac_cpp='$CXXCPP $CPPFLAGS'
46236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46241 /* end confdefs.h. */
46242 #include <math.h>
46244 main ()
46246 atan2f(0, 0);
46248 return 0;
46250 _ACEOF
46251 if ac_fn_cxx_try_compile "$LINENO"; then :
46252 glibcxx_cv_func_atan2f_use=yes
46253 else
46254 glibcxx_cv_func_atan2f_use=no
46256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46257 ac_ext=c
46258 ac_cpp='$CPP $CPPFLAGS'
46259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
46268 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
46270 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
46271 for ac_func in atan2f
46272 do :
46273 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
46274 if test "x$ac_cv_func_atan2f" = x""yes; then :
46275 cat >>confdefs.h <<_ACEOF
46276 #define HAVE_ATAN2F 1
46277 _ACEOF
46280 done
46282 else
46284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
46285 $as_echo_n "checking for _atan2f declaration... " >&6; }
46286 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
46287 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
46288 $as_echo_n "(cached) " >&6
46289 else
46292 ac_ext=cpp
46293 ac_cpp='$CXXCPP $CPPFLAGS'
46294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46299 /* end confdefs.h. */
46300 #include <math.h>
46302 main ()
46304 _atan2f(0, 0);
46306 return 0;
46308 _ACEOF
46309 if ac_fn_cxx_try_compile "$LINENO"; then :
46310 glibcxx_cv_func__atan2f_use=yes
46311 else
46312 glibcxx_cv_func__atan2f_use=no
46314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46315 ac_ext=c
46316 ac_cpp='$CPP $CPPFLAGS'
46317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
46326 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
46328 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
46329 for ac_func in _atan2f
46330 do :
46331 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
46332 if test "x$ac_cv_func__atan2f" = x""yes; then :
46333 cat >>confdefs.h <<_ACEOF
46334 #define HAVE__ATAN2F 1
46335 _ACEOF
46338 done
46347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
46348 $as_echo_n "checking for fabsf declaration... " >&6; }
46349 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
46350 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
46351 $as_echo_n "(cached) " >&6
46352 else
46355 ac_ext=cpp
46356 ac_cpp='$CXXCPP $CPPFLAGS'
46357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46362 /* end confdefs.h. */
46363 #include <math.h>
46364 #ifdef HAVE_IEEEFP_H
46365 #include <ieeefp.h>
46366 #endif
46369 main ()
46371 fabsf(0);
46373 return 0;
46375 _ACEOF
46376 if ac_fn_cxx_try_compile "$LINENO"; then :
46377 glibcxx_cv_func_fabsf_use=yes
46378 else
46379 glibcxx_cv_func_fabsf_use=no
46381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46382 ac_ext=c
46383 ac_cpp='$CPP $CPPFLAGS'
46384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
46393 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
46395 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
46396 for ac_func in fabsf
46397 do :
46398 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
46399 if test "x$ac_cv_func_fabsf" = x""yes; then :
46400 cat >>confdefs.h <<_ACEOF
46401 #define HAVE_FABSF 1
46402 _ACEOF
46405 done
46407 else
46409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
46410 $as_echo_n "checking for _fabsf declaration... " >&6; }
46411 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
46412 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
46413 $as_echo_n "(cached) " >&6
46414 else
46417 ac_ext=cpp
46418 ac_cpp='$CXXCPP $CPPFLAGS'
46419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46424 /* end confdefs.h. */
46425 #include <math.h>
46426 #ifdef HAVE_IEEEFP_H
46427 #include <ieeefp.h>
46428 #endif
46431 main ()
46433 _fabsf(0);
46435 return 0;
46437 _ACEOF
46438 if ac_fn_cxx_try_compile "$LINENO"; then :
46439 glibcxx_cv_func__fabsf_use=yes
46440 else
46441 glibcxx_cv_func__fabsf_use=no
46443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46444 ac_ext=c
46445 ac_cpp='$CPP $CPPFLAGS'
46446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
46455 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
46457 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
46458 for ac_func in _fabsf
46459 do :
46460 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
46461 if test "x$ac_cv_func__fabsf" = x""yes; then :
46462 cat >>confdefs.h <<_ACEOF
46463 #define HAVE__FABSF 1
46464 _ACEOF
46467 done
46476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
46477 $as_echo_n "checking for fmodf declaration... " >&6; }
46478 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
46479 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
46480 $as_echo_n "(cached) " >&6
46481 else
46484 ac_ext=cpp
46485 ac_cpp='$CXXCPP $CPPFLAGS'
46486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46491 /* end confdefs.h. */
46492 #include <math.h>
46494 main ()
46496 fmodf(0, 0);
46498 return 0;
46500 _ACEOF
46501 if ac_fn_cxx_try_compile "$LINENO"; then :
46502 glibcxx_cv_func_fmodf_use=yes
46503 else
46504 glibcxx_cv_func_fmodf_use=no
46506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46507 ac_ext=c
46508 ac_cpp='$CPP $CPPFLAGS'
46509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
46518 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
46520 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
46521 for ac_func in fmodf
46522 do :
46523 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
46524 if test "x$ac_cv_func_fmodf" = x""yes; then :
46525 cat >>confdefs.h <<_ACEOF
46526 #define HAVE_FMODF 1
46527 _ACEOF
46530 done
46532 else
46534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
46535 $as_echo_n "checking for _fmodf declaration... " >&6; }
46536 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
46537 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
46538 $as_echo_n "(cached) " >&6
46539 else
46542 ac_ext=cpp
46543 ac_cpp='$CXXCPP $CPPFLAGS'
46544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46549 /* end confdefs.h. */
46550 #include <math.h>
46552 main ()
46554 _fmodf(0, 0);
46556 return 0;
46558 _ACEOF
46559 if ac_fn_cxx_try_compile "$LINENO"; then :
46560 glibcxx_cv_func__fmodf_use=yes
46561 else
46562 glibcxx_cv_func__fmodf_use=no
46564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46565 ac_ext=c
46566 ac_cpp='$CPP $CPPFLAGS'
46567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
46576 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
46578 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
46579 for ac_func in _fmodf
46580 do :
46581 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
46582 if test "x$ac_cv_func__fmodf" = x""yes; then :
46583 cat >>confdefs.h <<_ACEOF
46584 #define HAVE__FMODF 1
46585 _ACEOF
46588 done
46597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
46598 $as_echo_n "checking for frexpf declaration... " >&6; }
46599 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
46600 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
46601 $as_echo_n "(cached) " >&6
46602 else
46605 ac_ext=cpp
46606 ac_cpp='$CXXCPP $CPPFLAGS'
46607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46612 /* end confdefs.h. */
46613 #include <math.h>
46615 main ()
46617 frexpf(0, 0);
46619 return 0;
46621 _ACEOF
46622 if ac_fn_cxx_try_compile "$LINENO"; then :
46623 glibcxx_cv_func_frexpf_use=yes
46624 else
46625 glibcxx_cv_func_frexpf_use=no
46627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46628 ac_ext=c
46629 ac_cpp='$CPP $CPPFLAGS'
46630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
46639 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
46641 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
46642 for ac_func in frexpf
46643 do :
46644 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
46645 if test "x$ac_cv_func_frexpf" = x""yes; then :
46646 cat >>confdefs.h <<_ACEOF
46647 #define HAVE_FREXPF 1
46648 _ACEOF
46651 done
46653 else
46655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
46656 $as_echo_n "checking for _frexpf declaration... " >&6; }
46657 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
46658 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
46659 $as_echo_n "(cached) " >&6
46660 else
46663 ac_ext=cpp
46664 ac_cpp='$CXXCPP $CPPFLAGS'
46665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46670 /* end confdefs.h. */
46671 #include <math.h>
46673 main ()
46675 _frexpf(0, 0);
46677 return 0;
46679 _ACEOF
46680 if ac_fn_cxx_try_compile "$LINENO"; then :
46681 glibcxx_cv_func__frexpf_use=yes
46682 else
46683 glibcxx_cv_func__frexpf_use=no
46685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46686 ac_ext=c
46687 ac_cpp='$CPP $CPPFLAGS'
46688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
46697 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
46699 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
46700 for ac_func in _frexpf
46701 do :
46702 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
46703 if test "x$ac_cv_func__frexpf" = x""yes; then :
46704 cat >>confdefs.h <<_ACEOF
46705 #define HAVE__FREXPF 1
46706 _ACEOF
46709 done
46718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
46719 $as_echo_n "checking for hypotf declaration... " >&6; }
46720 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
46721 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
46722 $as_echo_n "(cached) " >&6
46723 else
46726 ac_ext=cpp
46727 ac_cpp='$CXXCPP $CPPFLAGS'
46728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46733 /* end confdefs.h. */
46734 #include <math.h>
46736 main ()
46738 hypotf(0, 0);
46740 return 0;
46742 _ACEOF
46743 if ac_fn_cxx_try_compile "$LINENO"; then :
46744 glibcxx_cv_func_hypotf_use=yes
46745 else
46746 glibcxx_cv_func_hypotf_use=no
46748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46749 ac_ext=c
46750 ac_cpp='$CPP $CPPFLAGS'
46751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
46760 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
46762 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
46763 for ac_func in hypotf
46764 do :
46765 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
46766 if test "x$ac_cv_func_hypotf" = x""yes; then :
46767 cat >>confdefs.h <<_ACEOF
46768 #define HAVE_HYPOTF 1
46769 _ACEOF
46772 done
46774 else
46776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
46777 $as_echo_n "checking for _hypotf declaration... " >&6; }
46778 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
46779 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
46780 $as_echo_n "(cached) " >&6
46781 else
46784 ac_ext=cpp
46785 ac_cpp='$CXXCPP $CPPFLAGS'
46786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46791 /* end confdefs.h. */
46792 #include <math.h>
46794 main ()
46796 _hypotf(0, 0);
46798 return 0;
46800 _ACEOF
46801 if ac_fn_cxx_try_compile "$LINENO"; then :
46802 glibcxx_cv_func__hypotf_use=yes
46803 else
46804 glibcxx_cv_func__hypotf_use=no
46806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46807 ac_ext=c
46808 ac_cpp='$CPP $CPPFLAGS'
46809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
46818 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
46820 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
46821 for ac_func in _hypotf
46822 do :
46823 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
46824 if test "x$ac_cv_func__hypotf" = x""yes; then :
46825 cat >>confdefs.h <<_ACEOF
46826 #define HAVE__HYPOTF 1
46827 _ACEOF
46830 done
46839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
46840 $as_echo_n "checking for ldexpf declaration... " >&6; }
46841 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
46842 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
46843 $as_echo_n "(cached) " >&6
46844 else
46847 ac_ext=cpp
46848 ac_cpp='$CXXCPP $CPPFLAGS'
46849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46854 /* end confdefs.h. */
46855 #include <math.h>
46857 main ()
46859 ldexpf(0, 0);
46861 return 0;
46863 _ACEOF
46864 if ac_fn_cxx_try_compile "$LINENO"; then :
46865 glibcxx_cv_func_ldexpf_use=yes
46866 else
46867 glibcxx_cv_func_ldexpf_use=no
46869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46870 ac_ext=c
46871 ac_cpp='$CPP $CPPFLAGS'
46872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
46881 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
46883 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
46884 for ac_func in ldexpf
46885 do :
46886 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
46887 if test "x$ac_cv_func_ldexpf" = x""yes; then :
46888 cat >>confdefs.h <<_ACEOF
46889 #define HAVE_LDEXPF 1
46890 _ACEOF
46893 done
46895 else
46897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
46898 $as_echo_n "checking for _ldexpf declaration... " >&6; }
46899 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
46900 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
46901 $as_echo_n "(cached) " >&6
46902 else
46905 ac_ext=cpp
46906 ac_cpp='$CXXCPP $CPPFLAGS'
46907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46912 /* end confdefs.h. */
46913 #include <math.h>
46915 main ()
46917 _ldexpf(0, 0);
46919 return 0;
46921 _ACEOF
46922 if ac_fn_cxx_try_compile "$LINENO"; then :
46923 glibcxx_cv_func__ldexpf_use=yes
46924 else
46925 glibcxx_cv_func__ldexpf_use=no
46927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46928 ac_ext=c
46929 ac_cpp='$CPP $CPPFLAGS'
46930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
46939 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
46941 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
46942 for ac_func in _ldexpf
46943 do :
46944 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
46945 if test "x$ac_cv_func__ldexpf" = x""yes; then :
46946 cat >>confdefs.h <<_ACEOF
46947 #define HAVE__LDEXPF 1
46948 _ACEOF
46951 done
46960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
46961 $as_echo_n "checking for logf declaration... " >&6; }
46962 if test x${glibcxx_cv_func_logf_use+set} != xset; then
46963 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
46964 $as_echo_n "(cached) " >&6
46965 else
46968 ac_ext=cpp
46969 ac_cpp='$CXXCPP $CPPFLAGS'
46970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46975 /* end confdefs.h. */
46976 #include <math.h>
46977 #ifdef HAVE_IEEEFP_H
46978 #include <ieeefp.h>
46979 #endif
46982 main ()
46984 logf(0);
46986 return 0;
46988 _ACEOF
46989 if ac_fn_cxx_try_compile "$LINENO"; then :
46990 glibcxx_cv_func_logf_use=yes
46991 else
46992 glibcxx_cv_func_logf_use=no
46994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46995 ac_ext=c
46996 ac_cpp='$CPP $CPPFLAGS'
46997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
47006 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
47008 if test x$glibcxx_cv_func_logf_use = x"yes"; then
47009 for ac_func in logf
47010 do :
47011 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
47012 if test "x$ac_cv_func_logf" = x""yes; then :
47013 cat >>confdefs.h <<_ACEOF
47014 #define HAVE_LOGF 1
47015 _ACEOF
47018 done
47020 else
47022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
47023 $as_echo_n "checking for _logf declaration... " >&6; }
47024 if test x${glibcxx_cv_func__logf_use+set} != xset; then
47025 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
47026 $as_echo_n "(cached) " >&6
47027 else
47030 ac_ext=cpp
47031 ac_cpp='$CXXCPP $CPPFLAGS'
47032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47037 /* end confdefs.h. */
47038 #include <math.h>
47039 #ifdef HAVE_IEEEFP_H
47040 #include <ieeefp.h>
47041 #endif
47044 main ()
47046 _logf(0);
47048 return 0;
47050 _ACEOF
47051 if ac_fn_cxx_try_compile "$LINENO"; then :
47052 glibcxx_cv_func__logf_use=yes
47053 else
47054 glibcxx_cv_func__logf_use=no
47056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47057 ac_ext=c
47058 ac_cpp='$CPP $CPPFLAGS'
47059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
47068 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
47070 if test x$glibcxx_cv_func__logf_use = x"yes"; then
47071 for ac_func in _logf
47072 do :
47073 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
47074 if test "x$ac_cv_func__logf" = x""yes; then :
47075 cat >>confdefs.h <<_ACEOF
47076 #define HAVE__LOGF 1
47077 _ACEOF
47080 done
47089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
47090 $as_echo_n "checking for log10f declaration... " >&6; }
47091 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
47092 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
47093 $as_echo_n "(cached) " >&6
47094 else
47097 ac_ext=cpp
47098 ac_cpp='$CXXCPP $CPPFLAGS'
47099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47104 /* end confdefs.h. */
47105 #include <math.h>
47106 #ifdef HAVE_IEEEFP_H
47107 #include <ieeefp.h>
47108 #endif
47111 main ()
47113 log10f(0);
47115 return 0;
47117 _ACEOF
47118 if ac_fn_cxx_try_compile "$LINENO"; then :
47119 glibcxx_cv_func_log10f_use=yes
47120 else
47121 glibcxx_cv_func_log10f_use=no
47123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47124 ac_ext=c
47125 ac_cpp='$CPP $CPPFLAGS'
47126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
47135 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
47137 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
47138 for ac_func in log10f
47139 do :
47140 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
47141 if test "x$ac_cv_func_log10f" = x""yes; then :
47142 cat >>confdefs.h <<_ACEOF
47143 #define HAVE_LOG10F 1
47144 _ACEOF
47147 done
47149 else
47151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
47152 $as_echo_n "checking for _log10f declaration... " >&6; }
47153 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
47154 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
47155 $as_echo_n "(cached) " >&6
47156 else
47159 ac_ext=cpp
47160 ac_cpp='$CXXCPP $CPPFLAGS'
47161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47166 /* end confdefs.h. */
47167 #include <math.h>
47168 #ifdef HAVE_IEEEFP_H
47169 #include <ieeefp.h>
47170 #endif
47173 main ()
47175 _log10f(0);
47177 return 0;
47179 _ACEOF
47180 if ac_fn_cxx_try_compile "$LINENO"; then :
47181 glibcxx_cv_func__log10f_use=yes
47182 else
47183 glibcxx_cv_func__log10f_use=no
47185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47186 ac_ext=c
47187 ac_cpp='$CPP $CPPFLAGS'
47188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
47197 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
47199 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
47200 for ac_func in _log10f
47201 do :
47202 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
47203 if test "x$ac_cv_func__log10f" = x""yes; then :
47204 cat >>confdefs.h <<_ACEOF
47205 #define HAVE__LOG10F 1
47206 _ACEOF
47209 done
47218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
47219 $as_echo_n "checking for modff declaration... " >&6; }
47220 if test x${glibcxx_cv_func_modff_use+set} != xset; then
47221 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
47222 $as_echo_n "(cached) " >&6
47223 else
47226 ac_ext=cpp
47227 ac_cpp='$CXXCPP $CPPFLAGS'
47228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47233 /* end confdefs.h. */
47234 #include <math.h>
47236 main ()
47238 modff(0, 0);
47240 return 0;
47242 _ACEOF
47243 if ac_fn_cxx_try_compile "$LINENO"; then :
47244 glibcxx_cv_func_modff_use=yes
47245 else
47246 glibcxx_cv_func_modff_use=no
47248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47249 ac_ext=c
47250 ac_cpp='$CPP $CPPFLAGS'
47251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
47260 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
47262 if test x$glibcxx_cv_func_modff_use = x"yes"; then
47263 for ac_func in modff
47264 do :
47265 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
47266 if test "x$ac_cv_func_modff" = x""yes; then :
47267 cat >>confdefs.h <<_ACEOF
47268 #define HAVE_MODFF 1
47269 _ACEOF
47272 done
47274 else
47276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
47277 $as_echo_n "checking for _modff declaration... " >&6; }
47278 if test x${glibcxx_cv_func__modff_use+set} != xset; then
47279 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
47280 $as_echo_n "(cached) " >&6
47281 else
47284 ac_ext=cpp
47285 ac_cpp='$CXXCPP $CPPFLAGS'
47286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47291 /* end confdefs.h. */
47292 #include <math.h>
47294 main ()
47296 _modff(0, 0);
47298 return 0;
47300 _ACEOF
47301 if ac_fn_cxx_try_compile "$LINENO"; then :
47302 glibcxx_cv_func__modff_use=yes
47303 else
47304 glibcxx_cv_func__modff_use=no
47306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47307 ac_ext=c
47308 ac_cpp='$CPP $CPPFLAGS'
47309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
47318 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
47320 if test x$glibcxx_cv_func__modff_use = x"yes"; then
47321 for ac_func in _modff
47322 do :
47323 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
47324 if test "x$ac_cv_func__modff" = x""yes; then :
47325 cat >>confdefs.h <<_ACEOF
47326 #define HAVE__MODFF 1
47327 _ACEOF
47330 done
47339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
47340 $as_echo_n "checking for modf declaration... " >&6; }
47341 if test x${glibcxx_cv_func_modf_use+set} != xset; then
47342 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
47343 $as_echo_n "(cached) " >&6
47344 else
47347 ac_ext=cpp
47348 ac_cpp='$CXXCPP $CPPFLAGS'
47349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47354 /* end confdefs.h. */
47355 #include <math.h>
47357 main ()
47359 modf(0, 0);
47361 return 0;
47363 _ACEOF
47364 if ac_fn_cxx_try_compile "$LINENO"; then :
47365 glibcxx_cv_func_modf_use=yes
47366 else
47367 glibcxx_cv_func_modf_use=no
47369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47370 ac_ext=c
47371 ac_cpp='$CPP $CPPFLAGS'
47372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
47381 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
47383 if test x$glibcxx_cv_func_modf_use = x"yes"; then
47384 for ac_func in modf
47385 do :
47386 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
47387 if test "x$ac_cv_func_modf" = x""yes; then :
47388 cat >>confdefs.h <<_ACEOF
47389 #define HAVE_MODF 1
47390 _ACEOF
47393 done
47395 else
47397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
47398 $as_echo_n "checking for _modf declaration... " >&6; }
47399 if test x${glibcxx_cv_func__modf_use+set} != xset; then
47400 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
47401 $as_echo_n "(cached) " >&6
47402 else
47405 ac_ext=cpp
47406 ac_cpp='$CXXCPP $CPPFLAGS'
47407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47412 /* end confdefs.h. */
47413 #include <math.h>
47415 main ()
47417 _modf(0, 0);
47419 return 0;
47421 _ACEOF
47422 if ac_fn_cxx_try_compile "$LINENO"; then :
47423 glibcxx_cv_func__modf_use=yes
47424 else
47425 glibcxx_cv_func__modf_use=no
47427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47428 ac_ext=c
47429 ac_cpp='$CPP $CPPFLAGS'
47430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
47439 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
47441 if test x$glibcxx_cv_func__modf_use = x"yes"; then
47442 for ac_func in _modf
47443 do :
47444 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
47445 if test "x$ac_cv_func__modf" = x""yes; then :
47446 cat >>confdefs.h <<_ACEOF
47447 #define HAVE__MODF 1
47448 _ACEOF
47451 done
47460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
47461 $as_echo_n "checking for powf declaration... " >&6; }
47462 if test x${glibcxx_cv_func_powf_use+set} != xset; then
47463 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
47464 $as_echo_n "(cached) " >&6
47465 else
47468 ac_ext=cpp
47469 ac_cpp='$CXXCPP $CPPFLAGS'
47470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47475 /* end confdefs.h. */
47476 #include <math.h>
47478 main ()
47480 powf(0, 0);
47482 return 0;
47484 _ACEOF
47485 if ac_fn_cxx_try_compile "$LINENO"; then :
47486 glibcxx_cv_func_powf_use=yes
47487 else
47488 glibcxx_cv_func_powf_use=no
47490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47491 ac_ext=c
47492 ac_cpp='$CPP $CPPFLAGS'
47493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
47502 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
47504 if test x$glibcxx_cv_func_powf_use = x"yes"; then
47505 for ac_func in powf
47506 do :
47507 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
47508 if test "x$ac_cv_func_powf" = x""yes; then :
47509 cat >>confdefs.h <<_ACEOF
47510 #define HAVE_POWF 1
47511 _ACEOF
47514 done
47516 else
47518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
47519 $as_echo_n "checking for _powf declaration... " >&6; }
47520 if test x${glibcxx_cv_func__powf_use+set} != xset; then
47521 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
47522 $as_echo_n "(cached) " >&6
47523 else
47526 ac_ext=cpp
47527 ac_cpp='$CXXCPP $CPPFLAGS'
47528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47533 /* end confdefs.h. */
47534 #include <math.h>
47536 main ()
47538 _powf(0, 0);
47540 return 0;
47542 _ACEOF
47543 if ac_fn_cxx_try_compile "$LINENO"; then :
47544 glibcxx_cv_func__powf_use=yes
47545 else
47546 glibcxx_cv_func__powf_use=no
47548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47549 ac_ext=c
47550 ac_cpp='$CPP $CPPFLAGS'
47551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
47560 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
47562 if test x$glibcxx_cv_func__powf_use = x"yes"; then
47563 for ac_func in _powf
47564 do :
47565 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
47566 if test "x$ac_cv_func__powf" = x""yes; then :
47567 cat >>confdefs.h <<_ACEOF
47568 #define HAVE__POWF 1
47569 _ACEOF
47572 done
47581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
47582 $as_echo_n "checking for sqrtf declaration... " >&6; }
47583 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
47584 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
47585 $as_echo_n "(cached) " >&6
47586 else
47589 ac_ext=cpp
47590 ac_cpp='$CXXCPP $CPPFLAGS'
47591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47596 /* end confdefs.h. */
47597 #include <math.h>
47598 #ifdef HAVE_IEEEFP_H
47599 #include <ieeefp.h>
47600 #endif
47603 main ()
47605 sqrtf(0);
47607 return 0;
47609 _ACEOF
47610 if ac_fn_cxx_try_compile "$LINENO"; then :
47611 glibcxx_cv_func_sqrtf_use=yes
47612 else
47613 glibcxx_cv_func_sqrtf_use=no
47615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47616 ac_ext=c
47617 ac_cpp='$CPP $CPPFLAGS'
47618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
47627 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
47629 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
47630 for ac_func in sqrtf
47631 do :
47632 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
47633 if test "x$ac_cv_func_sqrtf" = x""yes; then :
47634 cat >>confdefs.h <<_ACEOF
47635 #define HAVE_SQRTF 1
47636 _ACEOF
47639 done
47641 else
47643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
47644 $as_echo_n "checking for _sqrtf declaration... " >&6; }
47645 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
47646 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
47647 $as_echo_n "(cached) " >&6
47648 else
47651 ac_ext=cpp
47652 ac_cpp='$CXXCPP $CPPFLAGS'
47653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47658 /* end confdefs.h. */
47659 #include <math.h>
47660 #ifdef HAVE_IEEEFP_H
47661 #include <ieeefp.h>
47662 #endif
47665 main ()
47667 _sqrtf(0);
47669 return 0;
47671 _ACEOF
47672 if ac_fn_cxx_try_compile "$LINENO"; then :
47673 glibcxx_cv_func__sqrtf_use=yes
47674 else
47675 glibcxx_cv_func__sqrtf_use=no
47677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47678 ac_ext=c
47679 ac_cpp='$CPP $CPPFLAGS'
47680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
47689 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
47691 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
47692 for ac_func in _sqrtf
47693 do :
47694 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
47695 if test "x$ac_cv_func__sqrtf" = x""yes; then :
47696 cat >>confdefs.h <<_ACEOF
47697 #define HAVE__SQRTF 1
47698 _ACEOF
47701 done
47710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
47711 $as_echo_n "checking for sincosf declaration... " >&6; }
47712 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
47713 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
47714 $as_echo_n "(cached) " >&6
47715 else
47718 ac_ext=cpp
47719 ac_cpp='$CXXCPP $CPPFLAGS'
47720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47725 /* end confdefs.h. */
47726 #include <math.h>
47728 main ()
47730 sincosf(0, 0, 0);
47732 return 0;
47734 _ACEOF
47735 if ac_fn_cxx_try_compile "$LINENO"; then :
47736 glibcxx_cv_func_sincosf_use=yes
47737 else
47738 glibcxx_cv_func_sincosf_use=no
47740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47741 ac_ext=c
47742 ac_cpp='$CPP $CPPFLAGS'
47743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
47752 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
47754 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
47755 for ac_func in sincosf
47756 do :
47757 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
47758 if test "x$ac_cv_func_sincosf" = x""yes; then :
47759 cat >>confdefs.h <<_ACEOF
47760 #define HAVE_SINCOSF 1
47761 _ACEOF
47764 done
47766 else
47768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
47769 $as_echo_n "checking for _sincosf declaration... " >&6; }
47770 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
47771 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
47772 $as_echo_n "(cached) " >&6
47773 else
47776 ac_ext=cpp
47777 ac_cpp='$CXXCPP $CPPFLAGS'
47778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47783 /* end confdefs.h. */
47784 #include <math.h>
47786 main ()
47788 _sincosf(0, 0, 0);
47790 return 0;
47792 _ACEOF
47793 if ac_fn_cxx_try_compile "$LINENO"; then :
47794 glibcxx_cv_func__sincosf_use=yes
47795 else
47796 glibcxx_cv_func__sincosf_use=no
47798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47799 ac_ext=c
47800 ac_cpp='$CPP $CPPFLAGS'
47801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
47810 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
47812 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
47813 for ac_func in _sincosf
47814 do :
47815 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
47816 if test "x$ac_cv_func__sincosf" = x""yes; then :
47817 cat >>confdefs.h <<_ACEOF
47818 #define HAVE__SINCOSF 1
47819 _ACEOF
47822 done
47831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
47832 $as_echo_n "checking for finitef declaration... " >&6; }
47833 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
47834 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
47835 $as_echo_n "(cached) " >&6
47836 else
47839 ac_ext=cpp
47840 ac_cpp='$CXXCPP $CPPFLAGS'
47841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47846 /* end confdefs.h. */
47847 #include <math.h>
47848 #ifdef HAVE_IEEEFP_H
47849 #include <ieeefp.h>
47850 #endif
47853 main ()
47855 finitef(0);
47857 return 0;
47859 _ACEOF
47860 if ac_fn_cxx_try_compile "$LINENO"; then :
47861 glibcxx_cv_func_finitef_use=yes
47862 else
47863 glibcxx_cv_func_finitef_use=no
47865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47866 ac_ext=c
47867 ac_cpp='$CPP $CPPFLAGS'
47868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
47877 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
47879 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
47880 for ac_func in finitef
47881 do :
47882 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
47883 if test "x$ac_cv_func_finitef" = x""yes; then :
47884 cat >>confdefs.h <<_ACEOF
47885 #define HAVE_FINITEF 1
47886 _ACEOF
47889 done
47891 else
47893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
47894 $as_echo_n "checking for _finitef declaration... " >&6; }
47895 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
47896 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
47897 $as_echo_n "(cached) " >&6
47898 else
47901 ac_ext=cpp
47902 ac_cpp='$CXXCPP $CPPFLAGS'
47903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47908 /* end confdefs.h. */
47909 #include <math.h>
47910 #ifdef HAVE_IEEEFP_H
47911 #include <ieeefp.h>
47912 #endif
47915 main ()
47917 _finitef(0);
47919 return 0;
47921 _ACEOF
47922 if ac_fn_cxx_try_compile "$LINENO"; then :
47923 glibcxx_cv_func__finitef_use=yes
47924 else
47925 glibcxx_cv_func__finitef_use=no
47927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47928 ac_ext=c
47929 ac_cpp='$CPP $CPPFLAGS'
47930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
47939 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
47941 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
47942 for ac_func in _finitef
47943 do :
47944 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
47945 if test "x$ac_cv_func__finitef" = x""yes; then :
47946 cat >>confdefs.h <<_ACEOF
47947 #define HAVE__FINITEF 1
47948 _ACEOF
47951 done
47960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
47961 $as_echo_n "checking for long double trig functions... " >&6; }
47962 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
47963 $as_echo_n "(cached) " >&6
47964 else
47967 ac_ext=cpp
47968 ac_cpp='$CXXCPP $CPPFLAGS'
47969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47974 /* end confdefs.h. */
47975 #include <math.h>
47977 main ()
47979 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
47981 return 0;
47983 _ACEOF
47984 if ac_fn_cxx_try_compile "$LINENO"; then :
47985 glibcxx_cv_func_long_double_trig_use=yes
47986 else
47987 glibcxx_cv_func_long_double_trig_use=no
47989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47990 ac_ext=c
47991 ac_cpp='$CPP $CPPFLAGS'
47992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
47999 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
48000 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
48001 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
48002 do :
48003 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48004 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48005 eval as_val=\$$as_ac_var
48006 if test "x$as_val" = x""yes; then :
48007 cat >>confdefs.h <<_ACEOF
48008 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48009 _ACEOF
48012 done
48014 else
48015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
48016 $as_echo_n "checking for _long double trig functions... " >&6; }
48017 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
48018 $as_echo_n "(cached) " >&6
48019 else
48022 ac_ext=cpp
48023 ac_cpp='$CXXCPP $CPPFLAGS'
48024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48029 /* end confdefs.h. */
48030 #include <math.h>
48032 main ()
48034 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
48036 return 0;
48038 _ACEOF
48039 if ac_fn_cxx_try_compile "$LINENO"; then :
48040 glibcxx_cv_func__long_double_trig_use=yes
48041 else
48042 glibcxx_cv_func__long_double_trig_use=no
48044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48045 ac_ext=c
48046 ac_cpp='$CPP $CPPFLAGS'
48047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
48054 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
48055 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
48056 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
48057 do :
48058 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48059 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48060 eval as_val=\$$as_ac_var
48061 if test "x$as_val" = x""yes; then :
48062 cat >>confdefs.h <<_ACEOF
48063 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48064 _ACEOF
48067 done
48076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
48077 $as_echo_n "checking for long double round functions... " >&6; }
48078 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
48079 $as_echo_n "(cached) " >&6
48080 else
48083 ac_ext=cpp
48084 ac_cpp='$CXXCPP $CPPFLAGS'
48085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48090 /* end confdefs.h. */
48091 #include <math.h>
48093 main ()
48095 ceill (0); floorl (0);
48097 return 0;
48099 _ACEOF
48100 if ac_fn_cxx_try_compile "$LINENO"; then :
48101 glibcxx_cv_func_long_double_round_use=yes
48102 else
48103 glibcxx_cv_func_long_double_round_use=no
48105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48106 ac_ext=c
48107 ac_cpp='$CPP $CPPFLAGS'
48108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
48115 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
48116 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
48117 for ac_func in ceill floorl
48118 do :
48119 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48120 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48121 eval as_val=\$$as_ac_var
48122 if test "x$as_val" = x""yes; then :
48123 cat >>confdefs.h <<_ACEOF
48124 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48125 _ACEOF
48128 done
48130 else
48131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
48132 $as_echo_n "checking for _long double round functions... " >&6; }
48133 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
48134 $as_echo_n "(cached) " >&6
48135 else
48138 ac_ext=cpp
48139 ac_cpp='$CXXCPP $CPPFLAGS'
48140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48145 /* end confdefs.h. */
48146 #include <math.h>
48148 main ()
48150 _ceill (0); _floorl (0);
48152 return 0;
48154 _ACEOF
48155 if ac_fn_cxx_try_compile "$LINENO"; then :
48156 glibcxx_cv_func__long_double_round_use=yes
48157 else
48158 glibcxx_cv_func__long_double_round_use=no
48160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48161 ac_ext=c
48162 ac_cpp='$CPP $CPPFLAGS'
48163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
48170 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
48171 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
48172 for ac_func in _ceill _floorl
48173 do :
48174 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48175 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48176 eval as_val=\$$as_ac_var
48177 if test "x$as_val" = x""yes; then :
48178 cat >>confdefs.h <<_ACEOF
48179 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48180 _ACEOF
48183 done
48193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
48194 $as_echo_n "checking for isnanl declaration... " >&6; }
48195 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
48196 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
48197 $as_echo_n "(cached) " >&6
48198 else
48201 ac_ext=cpp
48202 ac_cpp='$CXXCPP $CPPFLAGS'
48203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48208 /* end confdefs.h. */
48209 #include <math.h>
48210 #ifdef HAVE_IEEEFP_H
48211 #include <ieeefp.h>
48212 #endif
48215 main ()
48217 isnanl(0);
48219 return 0;
48221 _ACEOF
48222 if ac_fn_cxx_try_compile "$LINENO"; then :
48223 glibcxx_cv_func_isnanl_use=yes
48224 else
48225 glibcxx_cv_func_isnanl_use=no
48227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48228 ac_ext=c
48229 ac_cpp='$CPP $CPPFLAGS'
48230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
48239 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
48241 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
48242 for ac_func in isnanl
48243 do :
48244 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
48245 if test "x$ac_cv_func_isnanl" = x""yes; then :
48246 cat >>confdefs.h <<_ACEOF
48247 #define HAVE_ISNANL 1
48248 _ACEOF
48251 done
48253 else
48255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
48256 $as_echo_n "checking for _isnanl declaration... " >&6; }
48257 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
48258 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
48259 $as_echo_n "(cached) " >&6
48260 else
48263 ac_ext=cpp
48264 ac_cpp='$CXXCPP $CPPFLAGS'
48265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48270 /* end confdefs.h. */
48271 #include <math.h>
48272 #ifdef HAVE_IEEEFP_H
48273 #include <ieeefp.h>
48274 #endif
48277 main ()
48279 _isnanl(0);
48281 return 0;
48283 _ACEOF
48284 if ac_fn_cxx_try_compile "$LINENO"; then :
48285 glibcxx_cv_func__isnanl_use=yes
48286 else
48287 glibcxx_cv_func__isnanl_use=no
48289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48290 ac_ext=c
48291 ac_cpp='$CPP $CPPFLAGS'
48292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
48301 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
48303 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
48304 for ac_func in _isnanl
48305 do :
48306 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
48307 if test "x$ac_cv_func__isnanl" = x""yes; then :
48308 cat >>confdefs.h <<_ACEOF
48309 #define HAVE__ISNANL 1
48310 _ACEOF
48313 done
48322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
48323 $as_echo_n "checking for isinfl declaration... " >&6; }
48324 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
48325 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
48326 $as_echo_n "(cached) " >&6
48327 else
48330 ac_ext=cpp
48331 ac_cpp='$CXXCPP $CPPFLAGS'
48332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48337 /* end confdefs.h. */
48338 #include <math.h>
48339 #ifdef HAVE_IEEEFP_H
48340 #include <ieeefp.h>
48341 #endif
48344 main ()
48346 isinfl(0);
48348 return 0;
48350 _ACEOF
48351 if ac_fn_cxx_try_compile "$LINENO"; then :
48352 glibcxx_cv_func_isinfl_use=yes
48353 else
48354 glibcxx_cv_func_isinfl_use=no
48356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48357 ac_ext=c
48358 ac_cpp='$CPP $CPPFLAGS'
48359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
48368 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
48370 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
48371 for ac_func in isinfl
48372 do :
48373 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
48374 if test "x$ac_cv_func_isinfl" = x""yes; then :
48375 cat >>confdefs.h <<_ACEOF
48376 #define HAVE_ISINFL 1
48377 _ACEOF
48380 done
48382 else
48384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
48385 $as_echo_n "checking for _isinfl declaration... " >&6; }
48386 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
48387 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
48388 $as_echo_n "(cached) " >&6
48389 else
48392 ac_ext=cpp
48393 ac_cpp='$CXXCPP $CPPFLAGS'
48394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48399 /* end confdefs.h. */
48400 #include <math.h>
48401 #ifdef HAVE_IEEEFP_H
48402 #include <ieeefp.h>
48403 #endif
48406 main ()
48408 _isinfl(0);
48410 return 0;
48412 _ACEOF
48413 if ac_fn_cxx_try_compile "$LINENO"; then :
48414 glibcxx_cv_func__isinfl_use=yes
48415 else
48416 glibcxx_cv_func__isinfl_use=no
48418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48419 ac_ext=c
48420 ac_cpp='$CPP $CPPFLAGS'
48421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
48430 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
48432 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
48433 for ac_func in _isinfl
48434 do :
48435 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
48436 if test "x$ac_cv_func__isinfl" = x""yes; then :
48437 cat >>confdefs.h <<_ACEOF
48438 #define HAVE__ISINFL 1
48439 _ACEOF
48442 done
48451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
48452 $as_echo_n "checking for atan2l declaration... " >&6; }
48453 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
48454 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
48455 $as_echo_n "(cached) " >&6
48456 else
48459 ac_ext=cpp
48460 ac_cpp='$CXXCPP $CPPFLAGS'
48461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48466 /* end confdefs.h. */
48467 #include <math.h>
48469 main ()
48471 atan2l(0, 0);
48473 return 0;
48475 _ACEOF
48476 if ac_fn_cxx_try_compile "$LINENO"; then :
48477 glibcxx_cv_func_atan2l_use=yes
48478 else
48479 glibcxx_cv_func_atan2l_use=no
48481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48482 ac_ext=c
48483 ac_cpp='$CPP $CPPFLAGS'
48484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
48493 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
48495 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
48496 for ac_func in atan2l
48497 do :
48498 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
48499 if test "x$ac_cv_func_atan2l" = x""yes; then :
48500 cat >>confdefs.h <<_ACEOF
48501 #define HAVE_ATAN2L 1
48502 _ACEOF
48505 done
48507 else
48509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
48510 $as_echo_n "checking for _atan2l declaration... " >&6; }
48511 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
48512 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
48513 $as_echo_n "(cached) " >&6
48514 else
48517 ac_ext=cpp
48518 ac_cpp='$CXXCPP $CPPFLAGS'
48519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48524 /* end confdefs.h. */
48525 #include <math.h>
48527 main ()
48529 _atan2l(0, 0);
48531 return 0;
48533 _ACEOF
48534 if ac_fn_cxx_try_compile "$LINENO"; then :
48535 glibcxx_cv_func__atan2l_use=yes
48536 else
48537 glibcxx_cv_func__atan2l_use=no
48539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48540 ac_ext=c
48541 ac_cpp='$CPP $CPPFLAGS'
48542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
48551 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
48553 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
48554 for ac_func in _atan2l
48555 do :
48556 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
48557 if test "x$ac_cv_func__atan2l" = x""yes; then :
48558 cat >>confdefs.h <<_ACEOF
48559 #define HAVE__ATAN2L 1
48560 _ACEOF
48563 done
48572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
48573 $as_echo_n "checking for expl declaration... " >&6; }
48574 if test x${glibcxx_cv_func_expl_use+set} != xset; then
48575 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
48576 $as_echo_n "(cached) " >&6
48577 else
48580 ac_ext=cpp
48581 ac_cpp='$CXXCPP $CPPFLAGS'
48582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48587 /* end confdefs.h. */
48588 #include <math.h>
48589 #ifdef HAVE_IEEEFP_H
48590 #include <ieeefp.h>
48591 #endif
48594 main ()
48596 expl(0);
48598 return 0;
48600 _ACEOF
48601 if ac_fn_cxx_try_compile "$LINENO"; then :
48602 glibcxx_cv_func_expl_use=yes
48603 else
48604 glibcxx_cv_func_expl_use=no
48606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48607 ac_ext=c
48608 ac_cpp='$CPP $CPPFLAGS'
48609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
48618 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
48620 if test x$glibcxx_cv_func_expl_use = x"yes"; then
48621 for ac_func in expl
48622 do :
48623 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
48624 if test "x$ac_cv_func_expl" = x""yes; then :
48625 cat >>confdefs.h <<_ACEOF
48626 #define HAVE_EXPL 1
48627 _ACEOF
48630 done
48632 else
48634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
48635 $as_echo_n "checking for _expl declaration... " >&6; }
48636 if test x${glibcxx_cv_func__expl_use+set} != xset; then
48637 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
48638 $as_echo_n "(cached) " >&6
48639 else
48642 ac_ext=cpp
48643 ac_cpp='$CXXCPP $CPPFLAGS'
48644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48649 /* end confdefs.h. */
48650 #include <math.h>
48651 #ifdef HAVE_IEEEFP_H
48652 #include <ieeefp.h>
48653 #endif
48656 main ()
48658 _expl(0);
48660 return 0;
48662 _ACEOF
48663 if ac_fn_cxx_try_compile "$LINENO"; then :
48664 glibcxx_cv_func__expl_use=yes
48665 else
48666 glibcxx_cv_func__expl_use=no
48668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48669 ac_ext=c
48670 ac_cpp='$CPP $CPPFLAGS'
48671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
48680 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
48682 if test x$glibcxx_cv_func__expl_use = x"yes"; then
48683 for ac_func in _expl
48684 do :
48685 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
48686 if test "x$ac_cv_func__expl" = x""yes; then :
48687 cat >>confdefs.h <<_ACEOF
48688 #define HAVE__EXPL 1
48689 _ACEOF
48692 done
48701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
48702 $as_echo_n "checking for fabsl declaration... " >&6; }
48703 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
48704 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
48705 $as_echo_n "(cached) " >&6
48706 else
48709 ac_ext=cpp
48710 ac_cpp='$CXXCPP $CPPFLAGS'
48711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48716 /* end confdefs.h. */
48717 #include <math.h>
48718 #ifdef HAVE_IEEEFP_H
48719 #include <ieeefp.h>
48720 #endif
48723 main ()
48725 fabsl(0);
48727 return 0;
48729 _ACEOF
48730 if ac_fn_cxx_try_compile "$LINENO"; then :
48731 glibcxx_cv_func_fabsl_use=yes
48732 else
48733 glibcxx_cv_func_fabsl_use=no
48735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48736 ac_ext=c
48737 ac_cpp='$CPP $CPPFLAGS'
48738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
48747 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
48749 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
48750 for ac_func in fabsl
48751 do :
48752 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
48753 if test "x$ac_cv_func_fabsl" = x""yes; then :
48754 cat >>confdefs.h <<_ACEOF
48755 #define HAVE_FABSL 1
48756 _ACEOF
48759 done
48761 else
48763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
48764 $as_echo_n "checking for _fabsl declaration... " >&6; }
48765 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
48766 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
48767 $as_echo_n "(cached) " >&6
48768 else
48771 ac_ext=cpp
48772 ac_cpp='$CXXCPP $CPPFLAGS'
48773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48778 /* end confdefs.h. */
48779 #include <math.h>
48780 #ifdef HAVE_IEEEFP_H
48781 #include <ieeefp.h>
48782 #endif
48785 main ()
48787 _fabsl(0);
48789 return 0;
48791 _ACEOF
48792 if ac_fn_cxx_try_compile "$LINENO"; then :
48793 glibcxx_cv_func__fabsl_use=yes
48794 else
48795 glibcxx_cv_func__fabsl_use=no
48797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48798 ac_ext=c
48799 ac_cpp='$CPP $CPPFLAGS'
48800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
48809 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
48811 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
48812 for ac_func in _fabsl
48813 do :
48814 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
48815 if test "x$ac_cv_func__fabsl" = x""yes; then :
48816 cat >>confdefs.h <<_ACEOF
48817 #define HAVE__FABSL 1
48818 _ACEOF
48821 done
48830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
48831 $as_echo_n "checking for fmodl declaration... " >&6; }
48832 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
48833 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
48834 $as_echo_n "(cached) " >&6
48835 else
48838 ac_ext=cpp
48839 ac_cpp='$CXXCPP $CPPFLAGS'
48840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48845 /* end confdefs.h. */
48846 #include <math.h>
48848 main ()
48850 fmodl(0, 0);
48852 return 0;
48854 _ACEOF
48855 if ac_fn_cxx_try_compile "$LINENO"; then :
48856 glibcxx_cv_func_fmodl_use=yes
48857 else
48858 glibcxx_cv_func_fmodl_use=no
48860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48861 ac_ext=c
48862 ac_cpp='$CPP $CPPFLAGS'
48863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
48872 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
48874 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
48875 for ac_func in fmodl
48876 do :
48877 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
48878 if test "x$ac_cv_func_fmodl" = x""yes; then :
48879 cat >>confdefs.h <<_ACEOF
48880 #define HAVE_FMODL 1
48881 _ACEOF
48884 done
48886 else
48888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
48889 $as_echo_n "checking for _fmodl declaration... " >&6; }
48890 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
48891 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
48892 $as_echo_n "(cached) " >&6
48893 else
48896 ac_ext=cpp
48897 ac_cpp='$CXXCPP $CPPFLAGS'
48898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48903 /* end confdefs.h. */
48904 #include <math.h>
48906 main ()
48908 _fmodl(0, 0);
48910 return 0;
48912 _ACEOF
48913 if ac_fn_cxx_try_compile "$LINENO"; then :
48914 glibcxx_cv_func__fmodl_use=yes
48915 else
48916 glibcxx_cv_func__fmodl_use=no
48918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48919 ac_ext=c
48920 ac_cpp='$CPP $CPPFLAGS'
48921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
48930 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
48932 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
48933 for ac_func in _fmodl
48934 do :
48935 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
48936 if test "x$ac_cv_func__fmodl" = x""yes; then :
48937 cat >>confdefs.h <<_ACEOF
48938 #define HAVE__FMODL 1
48939 _ACEOF
48942 done
48951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
48952 $as_echo_n "checking for frexpl declaration... " >&6; }
48953 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
48954 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
48955 $as_echo_n "(cached) " >&6
48956 else
48959 ac_ext=cpp
48960 ac_cpp='$CXXCPP $CPPFLAGS'
48961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48966 /* end confdefs.h. */
48967 #include <math.h>
48969 main ()
48971 frexpl(0, 0);
48973 return 0;
48975 _ACEOF
48976 if ac_fn_cxx_try_compile "$LINENO"; then :
48977 glibcxx_cv_func_frexpl_use=yes
48978 else
48979 glibcxx_cv_func_frexpl_use=no
48981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48982 ac_ext=c
48983 ac_cpp='$CPP $CPPFLAGS'
48984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
48993 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
48995 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
48996 for ac_func in frexpl
48997 do :
48998 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
48999 if test "x$ac_cv_func_frexpl" = x""yes; then :
49000 cat >>confdefs.h <<_ACEOF
49001 #define HAVE_FREXPL 1
49002 _ACEOF
49005 done
49007 else
49009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
49010 $as_echo_n "checking for _frexpl declaration... " >&6; }
49011 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
49012 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
49013 $as_echo_n "(cached) " >&6
49014 else
49017 ac_ext=cpp
49018 ac_cpp='$CXXCPP $CPPFLAGS'
49019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49024 /* end confdefs.h. */
49025 #include <math.h>
49027 main ()
49029 _frexpl(0, 0);
49031 return 0;
49033 _ACEOF
49034 if ac_fn_cxx_try_compile "$LINENO"; then :
49035 glibcxx_cv_func__frexpl_use=yes
49036 else
49037 glibcxx_cv_func__frexpl_use=no
49039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49040 ac_ext=c
49041 ac_cpp='$CPP $CPPFLAGS'
49042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
49051 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
49053 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
49054 for ac_func in _frexpl
49055 do :
49056 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
49057 if test "x$ac_cv_func__frexpl" = x""yes; then :
49058 cat >>confdefs.h <<_ACEOF
49059 #define HAVE__FREXPL 1
49060 _ACEOF
49063 done
49072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
49073 $as_echo_n "checking for hypotl declaration... " >&6; }
49074 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
49075 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
49076 $as_echo_n "(cached) " >&6
49077 else
49080 ac_ext=cpp
49081 ac_cpp='$CXXCPP $CPPFLAGS'
49082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49087 /* end confdefs.h. */
49088 #include <math.h>
49090 main ()
49092 hypotl(0, 0);
49094 return 0;
49096 _ACEOF
49097 if ac_fn_cxx_try_compile "$LINENO"; then :
49098 glibcxx_cv_func_hypotl_use=yes
49099 else
49100 glibcxx_cv_func_hypotl_use=no
49102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49103 ac_ext=c
49104 ac_cpp='$CPP $CPPFLAGS'
49105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
49114 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
49116 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
49117 for ac_func in hypotl
49118 do :
49119 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
49120 if test "x$ac_cv_func_hypotl" = x""yes; then :
49121 cat >>confdefs.h <<_ACEOF
49122 #define HAVE_HYPOTL 1
49123 _ACEOF
49126 done
49128 else
49130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
49131 $as_echo_n "checking for _hypotl declaration... " >&6; }
49132 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
49133 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
49134 $as_echo_n "(cached) " >&6
49135 else
49138 ac_ext=cpp
49139 ac_cpp='$CXXCPP $CPPFLAGS'
49140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49145 /* end confdefs.h. */
49146 #include <math.h>
49148 main ()
49150 _hypotl(0, 0);
49152 return 0;
49154 _ACEOF
49155 if ac_fn_cxx_try_compile "$LINENO"; then :
49156 glibcxx_cv_func__hypotl_use=yes
49157 else
49158 glibcxx_cv_func__hypotl_use=no
49160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49161 ac_ext=c
49162 ac_cpp='$CPP $CPPFLAGS'
49163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
49172 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
49174 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
49175 for ac_func in _hypotl
49176 do :
49177 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
49178 if test "x$ac_cv_func__hypotl" = x""yes; then :
49179 cat >>confdefs.h <<_ACEOF
49180 #define HAVE__HYPOTL 1
49181 _ACEOF
49184 done
49193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
49194 $as_echo_n "checking for ldexpl declaration... " >&6; }
49195 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
49196 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
49197 $as_echo_n "(cached) " >&6
49198 else
49201 ac_ext=cpp
49202 ac_cpp='$CXXCPP $CPPFLAGS'
49203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49208 /* end confdefs.h. */
49209 #include <math.h>
49211 main ()
49213 ldexpl(0, 0);
49215 return 0;
49217 _ACEOF
49218 if ac_fn_cxx_try_compile "$LINENO"; then :
49219 glibcxx_cv_func_ldexpl_use=yes
49220 else
49221 glibcxx_cv_func_ldexpl_use=no
49223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49224 ac_ext=c
49225 ac_cpp='$CPP $CPPFLAGS'
49226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
49235 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
49237 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
49238 for ac_func in ldexpl
49239 do :
49240 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
49241 if test "x$ac_cv_func_ldexpl" = x""yes; then :
49242 cat >>confdefs.h <<_ACEOF
49243 #define HAVE_LDEXPL 1
49244 _ACEOF
49247 done
49249 else
49251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
49252 $as_echo_n "checking for _ldexpl declaration... " >&6; }
49253 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
49254 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
49255 $as_echo_n "(cached) " >&6
49256 else
49259 ac_ext=cpp
49260 ac_cpp='$CXXCPP $CPPFLAGS'
49261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49266 /* end confdefs.h. */
49267 #include <math.h>
49269 main ()
49271 _ldexpl(0, 0);
49273 return 0;
49275 _ACEOF
49276 if ac_fn_cxx_try_compile "$LINENO"; then :
49277 glibcxx_cv_func__ldexpl_use=yes
49278 else
49279 glibcxx_cv_func__ldexpl_use=no
49281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49282 ac_ext=c
49283 ac_cpp='$CPP $CPPFLAGS'
49284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
49293 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
49295 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
49296 for ac_func in _ldexpl
49297 do :
49298 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
49299 if test "x$ac_cv_func__ldexpl" = x""yes; then :
49300 cat >>confdefs.h <<_ACEOF
49301 #define HAVE__LDEXPL 1
49302 _ACEOF
49305 done
49314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
49315 $as_echo_n "checking for logl declaration... " >&6; }
49316 if test x${glibcxx_cv_func_logl_use+set} != xset; then
49317 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
49318 $as_echo_n "(cached) " >&6
49319 else
49322 ac_ext=cpp
49323 ac_cpp='$CXXCPP $CPPFLAGS'
49324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49329 /* end confdefs.h. */
49330 #include <math.h>
49331 #ifdef HAVE_IEEEFP_H
49332 #include <ieeefp.h>
49333 #endif
49336 main ()
49338 logl(0);
49340 return 0;
49342 _ACEOF
49343 if ac_fn_cxx_try_compile "$LINENO"; then :
49344 glibcxx_cv_func_logl_use=yes
49345 else
49346 glibcxx_cv_func_logl_use=no
49348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49349 ac_ext=c
49350 ac_cpp='$CPP $CPPFLAGS'
49351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
49360 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
49362 if test x$glibcxx_cv_func_logl_use = x"yes"; then
49363 for ac_func in logl
49364 do :
49365 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
49366 if test "x$ac_cv_func_logl" = x""yes; then :
49367 cat >>confdefs.h <<_ACEOF
49368 #define HAVE_LOGL 1
49369 _ACEOF
49372 done
49374 else
49376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
49377 $as_echo_n "checking for _logl declaration... " >&6; }
49378 if test x${glibcxx_cv_func__logl_use+set} != xset; then
49379 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
49380 $as_echo_n "(cached) " >&6
49381 else
49384 ac_ext=cpp
49385 ac_cpp='$CXXCPP $CPPFLAGS'
49386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49391 /* end confdefs.h. */
49392 #include <math.h>
49393 #ifdef HAVE_IEEEFP_H
49394 #include <ieeefp.h>
49395 #endif
49398 main ()
49400 _logl(0);
49402 return 0;
49404 _ACEOF
49405 if ac_fn_cxx_try_compile "$LINENO"; then :
49406 glibcxx_cv_func__logl_use=yes
49407 else
49408 glibcxx_cv_func__logl_use=no
49410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49411 ac_ext=c
49412 ac_cpp='$CPP $CPPFLAGS'
49413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
49422 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
49424 if test x$glibcxx_cv_func__logl_use = x"yes"; then
49425 for ac_func in _logl
49426 do :
49427 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
49428 if test "x$ac_cv_func__logl" = x""yes; then :
49429 cat >>confdefs.h <<_ACEOF
49430 #define HAVE__LOGL 1
49431 _ACEOF
49434 done
49443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
49444 $as_echo_n "checking for log10l declaration... " >&6; }
49445 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
49446 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
49447 $as_echo_n "(cached) " >&6
49448 else
49451 ac_ext=cpp
49452 ac_cpp='$CXXCPP $CPPFLAGS'
49453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49458 /* end confdefs.h. */
49459 #include <math.h>
49460 #ifdef HAVE_IEEEFP_H
49461 #include <ieeefp.h>
49462 #endif
49465 main ()
49467 log10l(0);
49469 return 0;
49471 _ACEOF
49472 if ac_fn_cxx_try_compile "$LINENO"; then :
49473 glibcxx_cv_func_log10l_use=yes
49474 else
49475 glibcxx_cv_func_log10l_use=no
49477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49478 ac_ext=c
49479 ac_cpp='$CPP $CPPFLAGS'
49480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
49489 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
49491 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
49492 for ac_func in log10l
49493 do :
49494 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
49495 if test "x$ac_cv_func_log10l" = x""yes; then :
49496 cat >>confdefs.h <<_ACEOF
49497 #define HAVE_LOG10L 1
49498 _ACEOF
49501 done
49503 else
49505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
49506 $as_echo_n "checking for _log10l declaration... " >&6; }
49507 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
49508 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
49509 $as_echo_n "(cached) " >&6
49510 else
49513 ac_ext=cpp
49514 ac_cpp='$CXXCPP $CPPFLAGS'
49515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49520 /* end confdefs.h. */
49521 #include <math.h>
49522 #ifdef HAVE_IEEEFP_H
49523 #include <ieeefp.h>
49524 #endif
49527 main ()
49529 _log10l(0);
49531 return 0;
49533 _ACEOF
49534 if ac_fn_cxx_try_compile "$LINENO"; then :
49535 glibcxx_cv_func__log10l_use=yes
49536 else
49537 glibcxx_cv_func__log10l_use=no
49539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49540 ac_ext=c
49541 ac_cpp='$CPP $CPPFLAGS'
49542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
49551 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
49553 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
49554 for ac_func in _log10l
49555 do :
49556 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
49557 if test "x$ac_cv_func__log10l" = x""yes; then :
49558 cat >>confdefs.h <<_ACEOF
49559 #define HAVE__LOG10L 1
49560 _ACEOF
49563 done
49572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
49573 $as_echo_n "checking for modfl declaration... " >&6; }
49574 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
49575 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
49576 $as_echo_n "(cached) " >&6
49577 else
49580 ac_ext=cpp
49581 ac_cpp='$CXXCPP $CPPFLAGS'
49582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49587 /* end confdefs.h. */
49588 #include <math.h>
49590 main ()
49592 modfl(0, 0);
49594 return 0;
49596 _ACEOF
49597 if ac_fn_cxx_try_compile "$LINENO"; then :
49598 glibcxx_cv_func_modfl_use=yes
49599 else
49600 glibcxx_cv_func_modfl_use=no
49602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49603 ac_ext=c
49604 ac_cpp='$CPP $CPPFLAGS'
49605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
49614 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
49616 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
49617 for ac_func in modfl
49618 do :
49619 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
49620 if test "x$ac_cv_func_modfl" = x""yes; then :
49621 cat >>confdefs.h <<_ACEOF
49622 #define HAVE_MODFL 1
49623 _ACEOF
49626 done
49628 else
49630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
49631 $as_echo_n "checking for _modfl declaration... " >&6; }
49632 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
49633 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
49634 $as_echo_n "(cached) " >&6
49635 else
49638 ac_ext=cpp
49639 ac_cpp='$CXXCPP $CPPFLAGS'
49640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49645 /* end confdefs.h. */
49646 #include <math.h>
49648 main ()
49650 _modfl(0, 0);
49652 return 0;
49654 _ACEOF
49655 if ac_fn_cxx_try_compile "$LINENO"; then :
49656 glibcxx_cv_func__modfl_use=yes
49657 else
49658 glibcxx_cv_func__modfl_use=no
49660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49661 ac_ext=c
49662 ac_cpp='$CPP $CPPFLAGS'
49663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
49672 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
49674 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
49675 for ac_func in _modfl
49676 do :
49677 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
49678 if test "x$ac_cv_func__modfl" = x""yes; then :
49679 cat >>confdefs.h <<_ACEOF
49680 #define HAVE__MODFL 1
49681 _ACEOF
49684 done
49693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
49694 $as_echo_n "checking for powl declaration... " >&6; }
49695 if test x${glibcxx_cv_func_powl_use+set} != xset; then
49696 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
49697 $as_echo_n "(cached) " >&6
49698 else
49701 ac_ext=cpp
49702 ac_cpp='$CXXCPP $CPPFLAGS'
49703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49708 /* end confdefs.h. */
49709 #include <math.h>
49711 main ()
49713 powl(0, 0);
49715 return 0;
49717 _ACEOF
49718 if ac_fn_cxx_try_compile "$LINENO"; then :
49719 glibcxx_cv_func_powl_use=yes
49720 else
49721 glibcxx_cv_func_powl_use=no
49723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49724 ac_ext=c
49725 ac_cpp='$CPP $CPPFLAGS'
49726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
49735 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
49737 if test x$glibcxx_cv_func_powl_use = x"yes"; then
49738 for ac_func in powl
49739 do :
49740 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
49741 if test "x$ac_cv_func_powl" = x""yes; then :
49742 cat >>confdefs.h <<_ACEOF
49743 #define HAVE_POWL 1
49744 _ACEOF
49747 done
49749 else
49751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
49752 $as_echo_n "checking for _powl declaration... " >&6; }
49753 if test x${glibcxx_cv_func__powl_use+set} != xset; then
49754 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
49755 $as_echo_n "(cached) " >&6
49756 else
49759 ac_ext=cpp
49760 ac_cpp='$CXXCPP $CPPFLAGS'
49761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49766 /* end confdefs.h. */
49767 #include <math.h>
49769 main ()
49771 _powl(0, 0);
49773 return 0;
49775 _ACEOF
49776 if ac_fn_cxx_try_compile "$LINENO"; then :
49777 glibcxx_cv_func__powl_use=yes
49778 else
49779 glibcxx_cv_func__powl_use=no
49781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49782 ac_ext=c
49783 ac_cpp='$CPP $CPPFLAGS'
49784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
49793 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
49795 if test x$glibcxx_cv_func__powl_use = x"yes"; then
49796 for ac_func in _powl
49797 do :
49798 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
49799 if test "x$ac_cv_func__powl" = x""yes; then :
49800 cat >>confdefs.h <<_ACEOF
49801 #define HAVE__POWL 1
49802 _ACEOF
49805 done
49814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
49815 $as_echo_n "checking for sqrtl declaration... " >&6; }
49816 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
49817 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
49818 $as_echo_n "(cached) " >&6
49819 else
49822 ac_ext=cpp
49823 ac_cpp='$CXXCPP $CPPFLAGS'
49824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49829 /* end confdefs.h. */
49830 #include <math.h>
49831 #ifdef HAVE_IEEEFP_H
49832 #include <ieeefp.h>
49833 #endif
49836 main ()
49838 sqrtl(0);
49840 return 0;
49842 _ACEOF
49843 if ac_fn_cxx_try_compile "$LINENO"; then :
49844 glibcxx_cv_func_sqrtl_use=yes
49845 else
49846 glibcxx_cv_func_sqrtl_use=no
49848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49849 ac_ext=c
49850 ac_cpp='$CPP $CPPFLAGS'
49851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
49860 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
49862 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
49863 for ac_func in sqrtl
49864 do :
49865 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
49866 if test "x$ac_cv_func_sqrtl" = x""yes; then :
49867 cat >>confdefs.h <<_ACEOF
49868 #define HAVE_SQRTL 1
49869 _ACEOF
49872 done
49874 else
49876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
49877 $as_echo_n "checking for _sqrtl declaration... " >&6; }
49878 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
49879 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
49880 $as_echo_n "(cached) " >&6
49881 else
49884 ac_ext=cpp
49885 ac_cpp='$CXXCPP $CPPFLAGS'
49886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49891 /* end confdefs.h. */
49892 #include <math.h>
49893 #ifdef HAVE_IEEEFP_H
49894 #include <ieeefp.h>
49895 #endif
49898 main ()
49900 _sqrtl(0);
49902 return 0;
49904 _ACEOF
49905 if ac_fn_cxx_try_compile "$LINENO"; then :
49906 glibcxx_cv_func__sqrtl_use=yes
49907 else
49908 glibcxx_cv_func__sqrtl_use=no
49910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49911 ac_ext=c
49912 ac_cpp='$CPP $CPPFLAGS'
49913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
49922 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
49924 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
49925 for ac_func in _sqrtl
49926 do :
49927 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
49928 if test "x$ac_cv_func__sqrtl" = x""yes; then :
49929 cat >>confdefs.h <<_ACEOF
49930 #define HAVE__SQRTL 1
49931 _ACEOF
49934 done
49943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
49944 $as_echo_n "checking for sincosl declaration... " >&6; }
49945 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
49946 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
49947 $as_echo_n "(cached) " >&6
49948 else
49951 ac_ext=cpp
49952 ac_cpp='$CXXCPP $CPPFLAGS'
49953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49958 /* end confdefs.h. */
49959 #include <math.h>
49961 main ()
49963 sincosl(0, 0, 0);
49965 return 0;
49967 _ACEOF
49968 if ac_fn_cxx_try_compile "$LINENO"; then :
49969 glibcxx_cv_func_sincosl_use=yes
49970 else
49971 glibcxx_cv_func_sincosl_use=no
49973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49974 ac_ext=c
49975 ac_cpp='$CPP $CPPFLAGS'
49976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
49985 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
49987 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
49988 for ac_func in sincosl
49989 do :
49990 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
49991 if test "x$ac_cv_func_sincosl" = x""yes; then :
49992 cat >>confdefs.h <<_ACEOF
49993 #define HAVE_SINCOSL 1
49994 _ACEOF
49997 done
49999 else
50001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
50002 $as_echo_n "checking for _sincosl declaration... " >&6; }
50003 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
50004 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
50005 $as_echo_n "(cached) " >&6
50006 else
50009 ac_ext=cpp
50010 ac_cpp='$CXXCPP $CPPFLAGS'
50011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50016 /* end confdefs.h. */
50017 #include <math.h>
50019 main ()
50021 _sincosl(0, 0, 0);
50023 return 0;
50025 _ACEOF
50026 if ac_fn_cxx_try_compile "$LINENO"; then :
50027 glibcxx_cv_func__sincosl_use=yes
50028 else
50029 glibcxx_cv_func__sincosl_use=no
50031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50032 ac_ext=c
50033 ac_cpp='$CPP $CPPFLAGS'
50034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
50043 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
50045 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
50046 for ac_func in _sincosl
50047 do :
50048 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
50049 if test "x$ac_cv_func__sincosl" = x""yes; then :
50050 cat >>confdefs.h <<_ACEOF
50051 #define HAVE__SINCOSL 1
50052 _ACEOF
50055 done
50064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
50065 $as_echo_n "checking for finitel declaration... " >&6; }
50066 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
50067 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
50068 $as_echo_n "(cached) " >&6
50069 else
50072 ac_ext=cpp
50073 ac_cpp='$CXXCPP $CPPFLAGS'
50074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50079 /* end confdefs.h. */
50080 #include <math.h>
50081 #ifdef HAVE_IEEEFP_H
50082 #include <ieeefp.h>
50083 #endif
50086 main ()
50088 finitel(0);
50090 return 0;
50092 _ACEOF
50093 if ac_fn_cxx_try_compile "$LINENO"; then :
50094 glibcxx_cv_func_finitel_use=yes
50095 else
50096 glibcxx_cv_func_finitel_use=no
50098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50099 ac_ext=c
50100 ac_cpp='$CPP $CPPFLAGS'
50101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
50110 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
50112 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
50113 for ac_func in finitel
50114 do :
50115 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
50116 if test "x$ac_cv_func_finitel" = x""yes; then :
50117 cat >>confdefs.h <<_ACEOF
50118 #define HAVE_FINITEL 1
50119 _ACEOF
50122 done
50124 else
50126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
50127 $as_echo_n "checking for _finitel declaration... " >&6; }
50128 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
50129 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
50130 $as_echo_n "(cached) " >&6
50131 else
50134 ac_ext=cpp
50135 ac_cpp='$CXXCPP $CPPFLAGS'
50136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50141 /* end confdefs.h. */
50142 #include <math.h>
50143 #ifdef HAVE_IEEEFP_H
50144 #include <ieeefp.h>
50145 #endif
50148 main ()
50150 _finitel(0);
50152 return 0;
50154 _ACEOF
50155 if ac_fn_cxx_try_compile "$LINENO"; then :
50156 glibcxx_cv_func__finitel_use=yes
50157 else
50158 glibcxx_cv_func__finitel_use=no
50160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50161 ac_ext=c
50162 ac_cpp='$CPP $CPPFLAGS'
50163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
50172 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
50174 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
50175 for ac_func in _finitel
50176 do :
50177 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
50178 if test "x$ac_cv_func__finitel" = x""yes; then :
50179 cat >>confdefs.h <<_ACEOF
50180 #define HAVE__FINITEL 1
50181 _ACEOF
50184 done
50192 LIBS="$ac_save_LIBS"
50193 CXXFLAGS="$ac_save_CXXFLAGS"
50196 ac_test_CXXFLAGS="${CXXFLAGS+set}"
50197 ac_save_CXXFLAGS="$CXXFLAGS"
50198 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
50201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
50202 $as_echo_n "checking for strtold declaration... " >&6; }
50203 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
50204 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
50205 $as_echo_n "(cached) " >&6
50206 else
50209 ac_ext=cpp
50210 ac_cpp='$CXXCPP $CPPFLAGS'
50211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50216 /* end confdefs.h. */
50217 #include <stdlib.h>
50219 main ()
50221 strtold(0, 0);
50223 return 0;
50225 _ACEOF
50226 if ac_fn_cxx_try_compile "$LINENO"; then :
50227 glibcxx_cv_func_strtold_use=yes
50228 else
50229 glibcxx_cv_func_strtold_use=no
50231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50232 ac_ext=c
50233 ac_cpp='$CPP $CPPFLAGS'
50234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
50243 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
50244 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
50245 for ac_func in strtold
50246 do :
50247 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
50248 if test "x$ac_cv_func_strtold" = x""yes; then :
50249 cat >>confdefs.h <<_ACEOF
50250 #define HAVE_STRTOLD 1
50251 _ACEOF
50254 done
50261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
50262 $as_echo_n "checking for strtof declaration... " >&6; }
50263 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
50264 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
50265 $as_echo_n "(cached) " >&6
50266 else
50269 ac_ext=cpp
50270 ac_cpp='$CXXCPP $CPPFLAGS'
50271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50276 /* end confdefs.h. */
50277 #include <stdlib.h>
50279 main ()
50281 strtof(0, 0);
50283 return 0;
50285 _ACEOF
50286 if ac_fn_cxx_try_compile "$LINENO"; then :
50287 glibcxx_cv_func_strtof_use=yes
50288 else
50289 glibcxx_cv_func_strtof_use=no
50291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50292 ac_ext=c
50293 ac_cpp='$CPP $CPPFLAGS'
50294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
50303 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
50304 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
50305 for ac_func in strtof
50306 do :
50307 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
50308 if test "x$ac_cv_func_strtof" = x""yes; then :
50309 cat >>confdefs.h <<_ACEOF
50310 #define HAVE_STRTOF 1
50311 _ACEOF
50314 done
50321 CXXFLAGS="$ac_save_CXXFLAGS"
50323 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
50327 # Check whether --enable-tls was given.
50328 if test "${enable_tls+set}" = set; then :
50329 enableval=$enable_tls;
50330 case "$enableval" in
50331 yes|no) ;;
50332 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
50333 esac
50335 else
50336 enable_tls=yes
50340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
50341 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
50342 if test "${gcc_cv_have_tls+set}" = set; then :
50343 $as_echo_n "(cached) " >&6
50344 else
50346 if test "$cross_compiling" = yes; then :
50347 if test x$gcc_no_link = xyes; then
50348 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50351 /* end confdefs.h. */
50352 __thread int a; int b; int main() { return a = b; }
50353 _ACEOF
50354 if ac_fn_c_try_link "$LINENO"; then :
50355 chktls_save_LDFLAGS="$LDFLAGS"
50356 case $host in
50357 *-*-linux*)
50358 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
50360 esac
50361 chktls_save_CFLAGS="$CFLAGS"
50362 CFLAGS="-fPIC $CFLAGS"
50363 if test x$gcc_no_link = xyes; then
50364 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50367 /* end confdefs.h. */
50368 int f() { return 0; }
50369 _ACEOF
50370 if ac_fn_c_try_link "$LINENO"; then :
50371 if test x$gcc_no_link = xyes; then
50372 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50375 /* end confdefs.h. */
50376 __thread int a; int b; int f() { return a = b; }
50377 _ACEOF
50378 if ac_fn_c_try_link "$LINENO"; then :
50379 gcc_cv_have_tls=yes
50380 else
50381 gcc_cv_have_tls=no
50383 rm -f core conftest.err conftest.$ac_objext \
50384 conftest$ac_exeext conftest.$ac_ext
50385 else
50386 gcc_cv_have_tls=yes
50388 rm -f core conftest.err conftest.$ac_objext \
50389 conftest$ac_exeext conftest.$ac_ext
50390 CFLAGS="$chktls_save_CFLAGS"
50391 LDFLAGS="$chktls_save_LDFLAGS"
50392 else
50393 gcc_cv_have_tls=no
50395 rm -f core conftest.err conftest.$ac_objext \
50396 conftest$ac_exeext conftest.$ac_ext
50399 else
50400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50401 /* end confdefs.h. */
50402 __thread int a; int b; int main() { return a = b; }
50403 _ACEOF
50404 if ac_fn_c_try_run "$LINENO"; then :
50405 chktls_save_LDFLAGS="$LDFLAGS"
50406 LDFLAGS="-static $LDFLAGS"
50407 if test x$gcc_no_link = xyes; then
50408 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50411 /* end confdefs.h. */
50412 int main() { return 0; }
50413 _ACEOF
50414 if ac_fn_c_try_link "$LINENO"; then :
50415 if test "$cross_compiling" = yes; then :
50416 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
50417 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
50418 as_fn_error "cannot run test program while cross compiling
50419 See \`config.log' for more details." "$LINENO" 5; }
50420 else
50421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50422 /* end confdefs.h. */
50423 __thread int a; int b; int main() { return a = b; }
50424 _ACEOF
50425 if ac_fn_c_try_run "$LINENO"; then :
50426 gcc_cv_have_tls=yes
50427 else
50428 gcc_cv_have_tls=no
50430 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50431 conftest.$ac_objext conftest.beam conftest.$ac_ext
50434 else
50435 gcc_cv_have_tls=yes
50437 rm -f core conftest.err conftest.$ac_objext \
50438 conftest$ac_exeext conftest.$ac_ext
50439 LDFLAGS="$chktls_save_LDFLAGS"
50440 if test $gcc_cv_have_tls = yes; then
50441 chktls_save_CFLAGS="$CFLAGS"
50442 thread_CFLAGS=failed
50443 for flag in '' '-pthread' '-lpthread'; do
50444 CFLAGS="$flag $chktls_save_CFLAGS"
50445 if test x$gcc_no_link = xyes; then
50446 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50449 /* end confdefs.h. */
50450 #include <pthread.h>
50451 void *g(void *d) { return NULL; }
50453 main ()
50455 pthread_t t; pthread_create(&t,NULL,g,NULL);
50457 return 0;
50459 _ACEOF
50460 if ac_fn_c_try_link "$LINENO"; then :
50461 thread_CFLAGS="$flag"
50463 rm -f core conftest.err conftest.$ac_objext \
50464 conftest$ac_exeext conftest.$ac_ext
50465 if test "X$thread_CFLAGS" != Xfailed; then
50466 break
50468 done
50469 CFLAGS="$chktls_save_CFLAGS"
50470 if test "X$thread_CFLAGS" != Xfailed; then
50471 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
50472 if test "$cross_compiling" = yes; then :
50473 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
50474 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
50475 as_fn_error "cannot run test program while cross compiling
50476 See \`config.log' for more details." "$LINENO" 5; }
50477 else
50478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50479 /* end confdefs.h. */
50480 #include <pthread.h>
50481 __thread int a;
50482 static int *a_in_other_thread;
50483 static void *
50484 thread_func (void *arg)
50486 a_in_other_thread = &a;
50487 return (void *)0;
50490 main ()
50492 pthread_t thread;
50493 void *thread_retval;
50494 int *a_in_main_thread;
50495 if (pthread_create (&thread, (pthread_attr_t *)0,
50496 thread_func, (void *)0))
50497 return 0;
50498 a_in_main_thread = &a;
50499 if (pthread_join (thread, &thread_retval))
50500 return 0;
50501 return (a_in_other_thread == a_in_main_thread);
50503 return 0;
50505 _ACEOF
50506 if ac_fn_c_try_run "$LINENO"; then :
50507 gcc_cv_have_tls=yes
50508 else
50509 gcc_cv_have_tls=no
50511 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50512 conftest.$ac_objext conftest.beam conftest.$ac_ext
50515 CFLAGS="$chktls_save_CFLAGS"
50518 else
50519 gcc_cv_have_tls=no
50521 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50522 conftest.$ac_objext conftest.beam conftest.$ac_ext
50526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
50527 $as_echo "$gcc_cv_have_tls" >&6; }
50528 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
50530 $as_echo "#define HAVE_TLS 1" >>confdefs.h
50538 am_save_CPPFLAGS="$CPPFLAGS"
50540 for element in $INCICONV; do
50541 haveit=
50542 for x in $CPPFLAGS; do
50544 acl_save_prefix="$prefix"
50545 prefix="$acl_final_prefix"
50546 acl_save_exec_prefix="$exec_prefix"
50547 exec_prefix="$acl_final_exec_prefix"
50548 eval x=\"$x\"
50549 exec_prefix="$acl_save_exec_prefix"
50550 prefix="$acl_save_prefix"
50552 if test "X$x" = "X$element"; then
50553 haveit=yes
50554 break
50556 done
50557 if test -z "$haveit"; then
50558 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
50560 done
50563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
50564 $as_echo_n "checking for iconv... " >&6; }
50565 if test "${am_cv_func_iconv+set}" = set; then :
50566 $as_echo_n "(cached) " >&6
50567 else
50569 am_cv_func_iconv="no, consider installing GNU libiconv"
50570 am_cv_lib_iconv=no
50571 if test x$gcc_no_link = xyes; then
50572 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50575 /* end confdefs.h. */
50576 #include <stdlib.h>
50577 #include <iconv.h>
50579 main ()
50581 iconv_t cd = iconv_open("","");
50582 iconv(cd,NULL,NULL,NULL,NULL);
50583 iconv_close(cd);
50585 return 0;
50587 _ACEOF
50588 if ac_fn_c_try_link "$LINENO"; then :
50589 am_cv_func_iconv=yes
50591 rm -f core conftest.err conftest.$ac_objext \
50592 conftest$ac_exeext conftest.$ac_ext
50593 if test "$am_cv_func_iconv" != yes; then
50594 am_save_LIBS="$LIBS"
50595 LIBS="$LIBS $LIBICONV"
50596 if test x$gcc_no_link = xyes; then
50597 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50600 /* end confdefs.h. */
50601 #include <stdlib.h>
50602 #include <iconv.h>
50604 main ()
50606 iconv_t cd = iconv_open("","");
50607 iconv(cd,NULL,NULL,NULL,NULL);
50608 iconv_close(cd);
50610 return 0;
50612 _ACEOF
50613 if ac_fn_c_try_link "$LINENO"; then :
50614 am_cv_lib_iconv=yes
50615 am_cv_func_iconv=yes
50617 rm -f core conftest.err conftest.$ac_objext \
50618 conftest$ac_exeext conftest.$ac_ext
50619 LIBS="$am_save_LIBS"
50623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
50624 $as_echo "$am_cv_func_iconv" >&6; }
50625 if test "$am_cv_func_iconv" = yes; then
50627 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
50630 if test "$am_cv_lib_iconv" = yes; then
50631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
50632 $as_echo_n "checking how to link with libiconv... " >&6; }
50633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
50634 $as_echo "$LIBICONV" >&6; }
50635 else
50636 CPPFLAGS="$am_save_CPPFLAGS"
50637 LIBICONV=
50638 LTLIBICONV=
50643 if test "$am_cv_func_iconv" = yes; then
50644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
50645 $as_echo_n "checking for iconv declaration... " >&6; }
50646 if test "${am_cv_proto_iconv+set}" = set; then :
50647 $as_echo_n "(cached) " >&6
50648 else
50650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50651 /* end confdefs.h. */
50653 #include <stdlib.h>
50654 #include <iconv.h>
50655 extern
50656 #ifdef __cplusplus
50658 #endif
50659 #if defined(__STDC__) || defined(__cplusplus)
50660 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
50661 #else
50662 size_t iconv();
50663 #endif
50666 main ()
50670 return 0;
50672 _ACEOF
50673 if ac_fn_c_try_compile "$LINENO"; then :
50674 am_cv_proto_iconv_arg1=""
50675 else
50676 am_cv_proto_iconv_arg1="const"
50678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50679 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);"
50682 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
50683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
50684 }$am_cv_proto_iconv" >&5
50685 $as_echo "${ac_t:-
50686 }$am_cv_proto_iconv" >&6; }
50688 cat >>confdefs.h <<_ACEOF
50689 #define ICONV_CONST $am_cv_proto_iconv_arg1
50690 _ACEOF
50695 *-mingw32*)
50697 # If we're not using GNU ld, then there's no point in even trying these
50698 # tests. Check for that first. We should have already tested for gld
50699 # by now (in libtool), but require it now just to be safe...
50700 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
50701 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
50705 # The name set by libtool depends on the version of libtool. Shame on us
50706 # for depending on an impl detail, but c'est la vie. Older versions used
50707 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
50708 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
50709 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
50710 # set (hence we're using an older libtool), then set it.
50711 if test x${with_gnu_ld+set} != xset; then
50712 if test x${ac_cv_prog_gnu_ld+set} != xset; then
50713 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
50714 with_gnu_ld=no
50715 else
50716 with_gnu_ld=$ac_cv_prog_gnu_ld
50720 # Start by getting the version number. I think the libtool test already
50721 # does some of this, but throws away the result.
50722 glibcxx_ld_is_gold=no
50723 if test x"$with_gnu_ld" = x"yes"; then
50724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
50725 $as_echo_n "checking for ld version... " >&6; }
50727 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
50728 glibcxx_ld_is_gold=yes
50730 ldver=`$LD --version 2>/dev/null | head -1 | \
50731 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
50733 glibcxx_gnu_ld_version=`echo $ldver | \
50734 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
50735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
50736 $as_echo "$glibcxx_gnu_ld_version" >&6; }
50739 # Set --gc-sections.
50740 glibcxx_have_gc_sections=no
50741 if test "$glibcxx_ld_is_gold" = "yes"; then
50742 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
50743 glibcxx_have_gc_sections=yes
50745 else
50746 glibcxx_gcsections_min_ld=21602
50747 if test x"$with_gnu_ld" = x"yes" &&
50748 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
50749 glibcxx_have_gc_sections=yes
50752 if test "$glibcxx_have_gc_sections" = "yes"; then
50753 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
50754 # NB: This flag only works reliably after 2.16.1. Configure tests
50755 # for this are difficult, so hard wire a value that should work.
50757 ac_test_CFLAGS="${CFLAGS+set}"
50758 ac_save_CFLAGS="$CFLAGS"
50759 CFLAGS='-Wl,--gc-sections'
50761 # Check for -Wl,--gc-sections
50762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
50763 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
50764 if test x$gcc_no_link = xyes; then
50765 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50768 /* end confdefs.h. */
50769 int one(void) { return 1; }
50770 int two(void) { return 2; }
50773 main ()
50775 two();
50777 return 0;
50779 _ACEOF
50780 if ac_fn_c_try_link "$LINENO"; then :
50781 ac_gcsections=yes
50782 else
50783 ac_gcsections=no
50785 rm -f core conftest.err conftest.$ac_objext \
50786 conftest$ac_exeext conftest.$ac_ext
50787 if test "$ac_gcsections" = "yes"; then
50788 rm -f conftest.c
50789 touch conftest.c
50790 if $CC -c conftest.c; then
50791 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
50792 grep "Warning: gc-sections option ignored" > /dev/null; then
50793 ac_gcsections=no
50796 rm -f conftest.c conftest.o conftest
50798 if test "$ac_gcsections" = "yes"; then
50799 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
50801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
50802 $as_echo "$ac_gcsections" >&6; }
50804 if test "$ac_test_CFLAGS" = set; then
50805 CFLAGS="$ac_save_CFLAGS"
50806 else
50807 # this is the suspicious part
50808 CFLAGS=''
50812 # Set -z,relro.
50813 # Note this is only for shared objects.
50814 ac_ld_relro=no
50815 if test x"$with_gnu_ld" = x"yes"; then
50816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
50817 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
50818 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
50819 if test -n "$cxx_z_relo"; then
50820 OPT_LDFLAGS="-Wl,-z,relro"
50821 ac_ld_relro=yes
50823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
50824 $as_echo "$ac_ld_relro" >&6; }
50827 # Set linker optimization flags.
50828 if test x"$with_gnu_ld" = x"yes"; then
50829 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
50836 ac_test_CXXFLAGS="${CXXFLAGS+set}"
50837 ac_save_CXXFLAGS="$CXXFLAGS"
50838 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
50840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
50841 $as_echo_n "checking for sin in -lm... " >&6; }
50842 if test "${ac_cv_lib_m_sin+set}" = set; then :
50843 $as_echo_n "(cached) " >&6
50844 else
50845 ac_check_lib_save_LIBS=$LIBS
50846 LIBS="-lm $LIBS"
50847 if test x$gcc_no_link = xyes; then
50848 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50851 /* end confdefs.h. */
50853 /* Override any GCC internal prototype to avoid an error.
50854 Use char because int might match the return type of a GCC
50855 builtin and then its argument prototype would still apply. */
50856 #ifdef __cplusplus
50857 extern "C"
50858 #endif
50859 char sin ();
50861 main ()
50863 return sin ();
50865 return 0;
50867 _ACEOF
50868 if ac_fn_c_try_link "$LINENO"; then :
50869 ac_cv_lib_m_sin=yes
50870 else
50871 ac_cv_lib_m_sin=no
50873 rm -f core conftest.err conftest.$ac_objext \
50874 conftest$ac_exeext conftest.$ac_ext
50875 LIBS=$ac_check_lib_save_LIBS
50877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
50878 $as_echo "$ac_cv_lib_m_sin" >&6; }
50879 if test "x$ac_cv_lib_m_sin" = x""yes; then :
50880 libm="-lm"
50883 ac_save_LIBS="$LIBS"
50884 LIBS="$LIBS $libm"
50888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
50889 $as_echo_n "checking for isinf declaration... " >&6; }
50890 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
50891 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
50892 $as_echo_n "(cached) " >&6
50893 else
50896 ac_ext=cpp
50897 ac_cpp='$CXXCPP $CPPFLAGS'
50898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50903 /* end confdefs.h. */
50904 #include <math.h>
50905 #ifdef HAVE_IEEEFP_H
50906 #include <ieeefp.h>
50907 #endif
50910 main ()
50912 isinf(0);
50914 return 0;
50916 _ACEOF
50917 if ac_fn_cxx_try_compile "$LINENO"; then :
50918 glibcxx_cv_func_isinf_use=yes
50919 else
50920 glibcxx_cv_func_isinf_use=no
50922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50923 ac_ext=c
50924 ac_cpp='$CPP $CPPFLAGS'
50925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
50934 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
50936 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
50937 for ac_func in isinf
50938 do :
50939 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
50940 if test "x$ac_cv_func_isinf" = x""yes; then :
50941 cat >>confdefs.h <<_ACEOF
50942 #define HAVE_ISINF 1
50943 _ACEOF
50946 done
50948 else
50950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
50951 $as_echo_n "checking for _isinf declaration... " >&6; }
50952 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
50953 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
50954 $as_echo_n "(cached) " >&6
50955 else
50958 ac_ext=cpp
50959 ac_cpp='$CXXCPP $CPPFLAGS'
50960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50965 /* end confdefs.h. */
50966 #include <math.h>
50967 #ifdef HAVE_IEEEFP_H
50968 #include <ieeefp.h>
50969 #endif
50972 main ()
50974 _isinf(0);
50976 return 0;
50978 _ACEOF
50979 if ac_fn_cxx_try_compile "$LINENO"; then :
50980 glibcxx_cv_func__isinf_use=yes
50981 else
50982 glibcxx_cv_func__isinf_use=no
50984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50985 ac_ext=c
50986 ac_cpp='$CPP $CPPFLAGS'
50987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
50996 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
50998 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
50999 for ac_func in _isinf
51000 do :
51001 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
51002 if test "x$ac_cv_func__isinf" = x""yes; then :
51003 cat >>confdefs.h <<_ACEOF
51004 #define HAVE__ISINF 1
51005 _ACEOF
51008 done
51017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
51018 $as_echo_n "checking for isnan declaration... " >&6; }
51019 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
51020 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
51021 $as_echo_n "(cached) " >&6
51022 else
51025 ac_ext=cpp
51026 ac_cpp='$CXXCPP $CPPFLAGS'
51027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51032 /* end confdefs.h. */
51033 #include <math.h>
51034 #ifdef HAVE_IEEEFP_H
51035 #include <ieeefp.h>
51036 #endif
51039 main ()
51041 isnan(0);
51043 return 0;
51045 _ACEOF
51046 if ac_fn_cxx_try_compile "$LINENO"; then :
51047 glibcxx_cv_func_isnan_use=yes
51048 else
51049 glibcxx_cv_func_isnan_use=no
51051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51052 ac_ext=c
51053 ac_cpp='$CPP $CPPFLAGS'
51054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
51063 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
51065 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
51066 for ac_func in isnan
51067 do :
51068 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
51069 if test "x$ac_cv_func_isnan" = x""yes; then :
51070 cat >>confdefs.h <<_ACEOF
51071 #define HAVE_ISNAN 1
51072 _ACEOF
51075 done
51077 else
51079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
51080 $as_echo_n "checking for _isnan declaration... " >&6; }
51081 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
51082 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
51083 $as_echo_n "(cached) " >&6
51084 else
51087 ac_ext=cpp
51088 ac_cpp='$CXXCPP $CPPFLAGS'
51089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51094 /* end confdefs.h. */
51095 #include <math.h>
51096 #ifdef HAVE_IEEEFP_H
51097 #include <ieeefp.h>
51098 #endif
51101 main ()
51103 _isnan(0);
51105 return 0;
51107 _ACEOF
51108 if ac_fn_cxx_try_compile "$LINENO"; then :
51109 glibcxx_cv_func__isnan_use=yes
51110 else
51111 glibcxx_cv_func__isnan_use=no
51113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51114 ac_ext=c
51115 ac_cpp='$CPP $CPPFLAGS'
51116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
51125 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
51127 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
51128 for ac_func in _isnan
51129 do :
51130 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
51131 if test "x$ac_cv_func__isnan" = x""yes; then :
51132 cat >>confdefs.h <<_ACEOF
51133 #define HAVE__ISNAN 1
51134 _ACEOF
51137 done
51146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
51147 $as_echo_n "checking for finite declaration... " >&6; }
51148 if test x${glibcxx_cv_func_finite_use+set} != xset; then
51149 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
51150 $as_echo_n "(cached) " >&6
51151 else
51154 ac_ext=cpp
51155 ac_cpp='$CXXCPP $CPPFLAGS'
51156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51161 /* end confdefs.h. */
51162 #include <math.h>
51163 #ifdef HAVE_IEEEFP_H
51164 #include <ieeefp.h>
51165 #endif
51168 main ()
51170 finite(0);
51172 return 0;
51174 _ACEOF
51175 if ac_fn_cxx_try_compile "$LINENO"; then :
51176 glibcxx_cv_func_finite_use=yes
51177 else
51178 glibcxx_cv_func_finite_use=no
51180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51181 ac_ext=c
51182 ac_cpp='$CPP $CPPFLAGS'
51183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
51192 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
51194 if test x$glibcxx_cv_func_finite_use = x"yes"; then
51195 for ac_func in finite
51196 do :
51197 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
51198 if test "x$ac_cv_func_finite" = x""yes; then :
51199 cat >>confdefs.h <<_ACEOF
51200 #define HAVE_FINITE 1
51201 _ACEOF
51204 done
51206 else
51208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
51209 $as_echo_n "checking for _finite declaration... " >&6; }
51210 if test x${glibcxx_cv_func__finite_use+set} != xset; then
51211 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
51212 $as_echo_n "(cached) " >&6
51213 else
51216 ac_ext=cpp
51217 ac_cpp='$CXXCPP $CPPFLAGS'
51218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51223 /* end confdefs.h. */
51224 #include <math.h>
51225 #ifdef HAVE_IEEEFP_H
51226 #include <ieeefp.h>
51227 #endif
51230 main ()
51232 _finite(0);
51234 return 0;
51236 _ACEOF
51237 if ac_fn_cxx_try_compile "$LINENO"; then :
51238 glibcxx_cv_func__finite_use=yes
51239 else
51240 glibcxx_cv_func__finite_use=no
51242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51243 ac_ext=c
51244 ac_cpp='$CPP $CPPFLAGS'
51245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
51254 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
51256 if test x$glibcxx_cv_func__finite_use = x"yes"; then
51257 for ac_func in _finite
51258 do :
51259 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
51260 if test "x$ac_cv_func__finite" = x""yes; then :
51261 cat >>confdefs.h <<_ACEOF
51262 #define HAVE__FINITE 1
51263 _ACEOF
51266 done
51275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
51276 $as_echo_n "checking for sincos declaration... " >&6; }
51277 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
51278 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
51279 $as_echo_n "(cached) " >&6
51280 else
51283 ac_ext=cpp
51284 ac_cpp='$CXXCPP $CPPFLAGS'
51285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51290 /* end confdefs.h. */
51291 #include <math.h>
51293 main ()
51295 sincos(0, 0, 0);
51297 return 0;
51299 _ACEOF
51300 if ac_fn_cxx_try_compile "$LINENO"; then :
51301 glibcxx_cv_func_sincos_use=yes
51302 else
51303 glibcxx_cv_func_sincos_use=no
51305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51306 ac_ext=c
51307 ac_cpp='$CPP $CPPFLAGS'
51308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
51317 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
51319 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
51320 for ac_func in sincos
51321 do :
51322 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
51323 if test "x$ac_cv_func_sincos" = x""yes; then :
51324 cat >>confdefs.h <<_ACEOF
51325 #define HAVE_SINCOS 1
51326 _ACEOF
51329 done
51331 else
51333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
51334 $as_echo_n "checking for _sincos declaration... " >&6; }
51335 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
51336 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
51337 $as_echo_n "(cached) " >&6
51338 else
51341 ac_ext=cpp
51342 ac_cpp='$CXXCPP $CPPFLAGS'
51343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51348 /* end confdefs.h. */
51349 #include <math.h>
51351 main ()
51353 _sincos(0, 0, 0);
51355 return 0;
51357 _ACEOF
51358 if ac_fn_cxx_try_compile "$LINENO"; then :
51359 glibcxx_cv_func__sincos_use=yes
51360 else
51361 glibcxx_cv_func__sincos_use=no
51363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51364 ac_ext=c
51365 ac_cpp='$CPP $CPPFLAGS'
51366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
51375 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
51377 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
51378 for ac_func in _sincos
51379 do :
51380 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
51381 if test "x$ac_cv_func__sincos" = x""yes; then :
51382 cat >>confdefs.h <<_ACEOF
51383 #define HAVE__SINCOS 1
51384 _ACEOF
51387 done
51396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
51397 $as_echo_n "checking for fpclass declaration... " >&6; }
51398 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
51399 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
51400 $as_echo_n "(cached) " >&6
51401 else
51404 ac_ext=cpp
51405 ac_cpp='$CXXCPP $CPPFLAGS'
51406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51411 /* end confdefs.h. */
51412 #include <math.h>
51413 #ifdef HAVE_IEEEFP_H
51414 #include <ieeefp.h>
51415 #endif
51418 main ()
51420 fpclass(0);
51422 return 0;
51424 _ACEOF
51425 if ac_fn_cxx_try_compile "$LINENO"; then :
51426 glibcxx_cv_func_fpclass_use=yes
51427 else
51428 glibcxx_cv_func_fpclass_use=no
51430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51431 ac_ext=c
51432 ac_cpp='$CPP $CPPFLAGS'
51433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
51442 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
51444 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
51445 for ac_func in fpclass
51446 do :
51447 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
51448 if test "x$ac_cv_func_fpclass" = x""yes; then :
51449 cat >>confdefs.h <<_ACEOF
51450 #define HAVE_FPCLASS 1
51451 _ACEOF
51454 done
51456 else
51458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
51459 $as_echo_n "checking for _fpclass declaration... " >&6; }
51460 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
51461 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
51462 $as_echo_n "(cached) " >&6
51463 else
51466 ac_ext=cpp
51467 ac_cpp='$CXXCPP $CPPFLAGS'
51468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51473 /* end confdefs.h. */
51474 #include <math.h>
51475 #ifdef HAVE_IEEEFP_H
51476 #include <ieeefp.h>
51477 #endif
51480 main ()
51482 _fpclass(0);
51484 return 0;
51486 _ACEOF
51487 if ac_fn_cxx_try_compile "$LINENO"; then :
51488 glibcxx_cv_func__fpclass_use=yes
51489 else
51490 glibcxx_cv_func__fpclass_use=no
51492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51493 ac_ext=c
51494 ac_cpp='$CPP $CPPFLAGS'
51495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
51504 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
51506 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
51507 for ac_func in _fpclass
51508 do :
51509 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
51510 if test "x$ac_cv_func__fpclass" = x""yes; then :
51511 cat >>confdefs.h <<_ACEOF
51512 #define HAVE__FPCLASS 1
51513 _ACEOF
51516 done
51525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
51526 $as_echo_n "checking for qfpclass declaration... " >&6; }
51527 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
51528 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
51529 $as_echo_n "(cached) " >&6
51530 else
51533 ac_ext=cpp
51534 ac_cpp='$CXXCPP $CPPFLAGS'
51535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51540 /* end confdefs.h. */
51541 #include <math.h>
51542 #ifdef HAVE_IEEEFP_H
51543 #include <ieeefp.h>
51544 #endif
51547 main ()
51549 qfpclass(0);
51551 return 0;
51553 _ACEOF
51554 if ac_fn_cxx_try_compile "$LINENO"; then :
51555 glibcxx_cv_func_qfpclass_use=yes
51556 else
51557 glibcxx_cv_func_qfpclass_use=no
51559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51560 ac_ext=c
51561 ac_cpp='$CPP $CPPFLAGS'
51562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
51571 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
51573 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
51574 for ac_func in qfpclass
51575 do :
51576 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
51577 if test "x$ac_cv_func_qfpclass" = x""yes; then :
51578 cat >>confdefs.h <<_ACEOF
51579 #define HAVE_QFPCLASS 1
51580 _ACEOF
51583 done
51585 else
51587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
51588 $as_echo_n "checking for _qfpclass declaration... " >&6; }
51589 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
51590 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
51591 $as_echo_n "(cached) " >&6
51592 else
51595 ac_ext=cpp
51596 ac_cpp='$CXXCPP $CPPFLAGS'
51597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51602 /* end confdefs.h. */
51603 #include <math.h>
51604 #ifdef HAVE_IEEEFP_H
51605 #include <ieeefp.h>
51606 #endif
51609 main ()
51611 _qfpclass(0);
51613 return 0;
51615 _ACEOF
51616 if ac_fn_cxx_try_compile "$LINENO"; then :
51617 glibcxx_cv_func__qfpclass_use=yes
51618 else
51619 glibcxx_cv_func__qfpclass_use=no
51621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51622 ac_ext=c
51623 ac_cpp='$CPP $CPPFLAGS'
51624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
51633 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
51635 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
51636 for ac_func in _qfpclass
51637 do :
51638 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
51639 if test "x$ac_cv_func__qfpclass" = x""yes; then :
51640 cat >>confdefs.h <<_ACEOF
51641 #define HAVE__QFPCLASS 1
51642 _ACEOF
51645 done
51654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
51655 $as_echo_n "checking for hypot declaration... " >&6; }
51656 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
51657 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
51658 $as_echo_n "(cached) " >&6
51659 else
51662 ac_ext=cpp
51663 ac_cpp='$CXXCPP $CPPFLAGS'
51664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51669 /* end confdefs.h. */
51670 #include <math.h>
51672 main ()
51674 hypot(0, 0);
51676 return 0;
51678 _ACEOF
51679 if ac_fn_cxx_try_compile "$LINENO"; then :
51680 glibcxx_cv_func_hypot_use=yes
51681 else
51682 glibcxx_cv_func_hypot_use=no
51684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51685 ac_ext=c
51686 ac_cpp='$CPP $CPPFLAGS'
51687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
51696 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
51698 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
51699 for ac_func in hypot
51700 do :
51701 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
51702 if test "x$ac_cv_func_hypot" = x""yes; then :
51703 cat >>confdefs.h <<_ACEOF
51704 #define HAVE_HYPOT 1
51705 _ACEOF
51708 done
51710 else
51712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
51713 $as_echo_n "checking for _hypot declaration... " >&6; }
51714 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
51715 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
51716 $as_echo_n "(cached) " >&6
51717 else
51720 ac_ext=cpp
51721 ac_cpp='$CXXCPP $CPPFLAGS'
51722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51727 /* end confdefs.h. */
51728 #include <math.h>
51730 main ()
51732 _hypot(0, 0);
51734 return 0;
51736 _ACEOF
51737 if ac_fn_cxx_try_compile "$LINENO"; then :
51738 glibcxx_cv_func__hypot_use=yes
51739 else
51740 glibcxx_cv_func__hypot_use=no
51742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51743 ac_ext=c
51744 ac_cpp='$CPP $CPPFLAGS'
51745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
51754 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
51756 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
51757 for ac_func in _hypot
51758 do :
51759 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
51760 if test "x$ac_cv_func__hypot" = x""yes; then :
51761 cat >>confdefs.h <<_ACEOF
51762 #define HAVE__HYPOT 1
51763 _ACEOF
51766 done
51775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
51776 $as_echo_n "checking for float trig functions... " >&6; }
51777 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
51778 $as_echo_n "(cached) " >&6
51779 else
51782 ac_ext=cpp
51783 ac_cpp='$CXXCPP $CPPFLAGS'
51784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51789 /* end confdefs.h. */
51790 #include <math.h>
51792 main ()
51794 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
51796 return 0;
51798 _ACEOF
51799 if ac_fn_cxx_try_compile "$LINENO"; then :
51800 glibcxx_cv_func_float_trig_use=yes
51801 else
51802 glibcxx_cv_func_float_trig_use=no
51804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51805 ac_ext=c
51806 ac_cpp='$CPP $CPPFLAGS'
51807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
51814 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
51815 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
51816 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
51817 do :
51818 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51819 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51820 eval as_val=\$$as_ac_var
51821 if test "x$as_val" = x""yes; then :
51822 cat >>confdefs.h <<_ACEOF
51823 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51824 _ACEOF
51827 done
51829 else
51830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
51831 $as_echo_n "checking for _float trig functions... " >&6; }
51832 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
51833 $as_echo_n "(cached) " >&6
51834 else
51837 ac_ext=cpp
51838 ac_cpp='$CXXCPP $CPPFLAGS'
51839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51844 /* end confdefs.h. */
51845 #include <math.h>
51847 main ()
51849 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
51851 return 0;
51853 _ACEOF
51854 if ac_fn_cxx_try_compile "$LINENO"; then :
51855 glibcxx_cv_func__float_trig_use=yes
51856 else
51857 glibcxx_cv_func__float_trig_use=no
51859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51860 ac_ext=c
51861 ac_cpp='$CPP $CPPFLAGS'
51862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
51869 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
51870 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
51871 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
51872 do :
51873 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51874 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51875 eval as_val=\$$as_ac_var
51876 if test "x$as_val" = x""yes; then :
51877 cat >>confdefs.h <<_ACEOF
51878 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51879 _ACEOF
51882 done
51891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
51892 $as_echo_n "checking for float round functions... " >&6; }
51893 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
51894 $as_echo_n "(cached) " >&6
51895 else
51898 ac_ext=cpp
51899 ac_cpp='$CXXCPP $CPPFLAGS'
51900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51905 /* end confdefs.h. */
51906 #include <math.h>
51908 main ()
51910 ceilf (0); floorf (0);
51912 return 0;
51914 _ACEOF
51915 if ac_fn_cxx_try_compile "$LINENO"; then :
51916 glibcxx_cv_func_float_round_use=yes
51917 else
51918 glibcxx_cv_func_float_round_use=no
51920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51921 ac_ext=c
51922 ac_cpp='$CPP $CPPFLAGS'
51923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
51930 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
51931 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
51932 for ac_func in ceilf floorf
51933 do :
51934 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51935 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51936 eval as_val=\$$as_ac_var
51937 if test "x$as_val" = x""yes; then :
51938 cat >>confdefs.h <<_ACEOF
51939 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51940 _ACEOF
51943 done
51945 else
51946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
51947 $as_echo_n "checking for _float round functions... " >&6; }
51948 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
51949 $as_echo_n "(cached) " >&6
51950 else
51953 ac_ext=cpp
51954 ac_cpp='$CXXCPP $CPPFLAGS'
51955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51960 /* end confdefs.h. */
51961 #include <math.h>
51963 main ()
51965 _ceilf (0); _floorf (0);
51967 return 0;
51969 _ACEOF
51970 if ac_fn_cxx_try_compile "$LINENO"; then :
51971 glibcxx_cv_func__float_round_use=yes
51972 else
51973 glibcxx_cv_func__float_round_use=no
51975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51976 ac_ext=c
51977 ac_cpp='$CPP $CPPFLAGS'
51978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
51985 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
51986 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
51987 for ac_func in _ceilf _floorf
51988 do :
51989 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51990 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51991 eval as_val=\$$as_ac_var
51992 if test "x$as_val" = x""yes; then :
51993 cat >>confdefs.h <<_ACEOF
51994 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51995 _ACEOF
51998 done
52008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
52009 $as_echo_n "checking for expf declaration... " >&6; }
52010 if test x${glibcxx_cv_func_expf_use+set} != xset; then
52011 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
52012 $as_echo_n "(cached) " >&6
52013 else
52016 ac_ext=cpp
52017 ac_cpp='$CXXCPP $CPPFLAGS'
52018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52023 /* end confdefs.h. */
52024 #include <math.h>
52025 #ifdef HAVE_IEEEFP_H
52026 #include <ieeefp.h>
52027 #endif
52030 main ()
52032 expf(0);
52034 return 0;
52036 _ACEOF
52037 if ac_fn_cxx_try_compile "$LINENO"; then :
52038 glibcxx_cv_func_expf_use=yes
52039 else
52040 glibcxx_cv_func_expf_use=no
52042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52043 ac_ext=c
52044 ac_cpp='$CPP $CPPFLAGS'
52045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
52054 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
52056 if test x$glibcxx_cv_func_expf_use = x"yes"; then
52057 for ac_func in expf
52058 do :
52059 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
52060 if test "x$ac_cv_func_expf" = x""yes; then :
52061 cat >>confdefs.h <<_ACEOF
52062 #define HAVE_EXPF 1
52063 _ACEOF
52066 done
52068 else
52070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
52071 $as_echo_n "checking for _expf declaration... " >&6; }
52072 if test x${glibcxx_cv_func__expf_use+set} != xset; then
52073 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
52074 $as_echo_n "(cached) " >&6
52075 else
52078 ac_ext=cpp
52079 ac_cpp='$CXXCPP $CPPFLAGS'
52080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52085 /* end confdefs.h. */
52086 #include <math.h>
52087 #ifdef HAVE_IEEEFP_H
52088 #include <ieeefp.h>
52089 #endif
52092 main ()
52094 _expf(0);
52096 return 0;
52098 _ACEOF
52099 if ac_fn_cxx_try_compile "$LINENO"; then :
52100 glibcxx_cv_func__expf_use=yes
52101 else
52102 glibcxx_cv_func__expf_use=no
52104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52105 ac_ext=c
52106 ac_cpp='$CPP $CPPFLAGS'
52107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
52116 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
52118 if test x$glibcxx_cv_func__expf_use = x"yes"; then
52119 for ac_func in _expf
52120 do :
52121 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
52122 if test "x$ac_cv_func__expf" = x""yes; then :
52123 cat >>confdefs.h <<_ACEOF
52124 #define HAVE__EXPF 1
52125 _ACEOF
52128 done
52137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
52138 $as_echo_n "checking for isnanf declaration... " >&6; }
52139 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
52140 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
52141 $as_echo_n "(cached) " >&6
52142 else
52145 ac_ext=cpp
52146 ac_cpp='$CXXCPP $CPPFLAGS'
52147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52152 /* end confdefs.h. */
52153 #include <math.h>
52154 #ifdef HAVE_IEEEFP_H
52155 #include <ieeefp.h>
52156 #endif
52159 main ()
52161 isnanf(0);
52163 return 0;
52165 _ACEOF
52166 if ac_fn_cxx_try_compile "$LINENO"; then :
52167 glibcxx_cv_func_isnanf_use=yes
52168 else
52169 glibcxx_cv_func_isnanf_use=no
52171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52172 ac_ext=c
52173 ac_cpp='$CPP $CPPFLAGS'
52174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
52183 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
52185 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
52186 for ac_func in isnanf
52187 do :
52188 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
52189 if test "x$ac_cv_func_isnanf" = x""yes; then :
52190 cat >>confdefs.h <<_ACEOF
52191 #define HAVE_ISNANF 1
52192 _ACEOF
52195 done
52197 else
52199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
52200 $as_echo_n "checking for _isnanf declaration... " >&6; }
52201 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
52202 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
52203 $as_echo_n "(cached) " >&6
52204 else
52207 ac_ext=cpp
52208 ac_cpp='$CXXCPP $CPPFLAGS'
52209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52214 /* end confdefs.h. */
52215 #include <math.h>
52216 #ifdef HAVE_IEEEFP_H
52217 #include <ieeefp.h>
52218 #endif
52221 main ()
52223 _isnanf(0);
52225 return 0;
52227 _ACEOF
52228 if ac_fn_cxx_try_compile "$LINENO"; then :
52229 glibcxx_cv_func__isnanf_use=yes
52230 else
52231 glibcxx_cv_func__isnanf_use=no
52233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52234 ac_ext=c
52235 ac_cpp='$CPP $CPPFLAGS'
52236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
52245 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
52247 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
52248 for ac_func in _isnanf
52249 do :
52250 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
52251 if test "x$ac_cv_func__isnanf" = x""yes; then :
52252 cat >>confdefs.h <<_ACEOF
52253 #define HAVE__ISNANF 1
52254 _ACEOF
52257 done
52266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
52267 $as_echo_n "checking for isinff declaration... " >&6; }
52268 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
52269 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
52270 $as_echo_n "(cached) " >&6
52271 else
52274 ac_ext=cpp
52275 ac_cpp='$CXXCPP $CPPFLAGS'
52276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52281 /* end confdefs.h. */
52282 #include <math.h>
52283 #ifdef HAVE_IEEEFP_H
52284 #include <ieeefp.h>
52285 #endif
52288 main ()
52290 isinff(0);
52292 return 0;
52294 _ACEOF
52295 if ac_fn_cxx_try_compile "$LINENO"; then :
52296 glibcxx_cv_func_isinff_use=yes
52297 else
52298 glibcxx_cv_func_isinff_use=no
52300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52301 ac_ext=c
52302 ac_cpp='$CPP $CPPFLAGS'
52303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
52312 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
52314 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
52315 for ac_func in isinff
52316 do :
52317 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
52318 if test "x$ac_cv_func_isinff" = x""yes; then :
52319 cat >>confdefs.h <<_ACEOF
52320 #define HAVE_ISINFF 1
52321 _ACEOF
52324 done
52326 else
52328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
52329 $as_echo_n "checking for _isinff declaration... " >&6; }
52330 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
52331 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
52332 $as_echo_n "(cached) " >&6
52333 else
52336 ac_ext=cpp
52337 ac_cpp='$CXXCPP $CPPFLAGS'
52338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52343 /* end confdefs.h. */
52344 #include <math.h>
52345 #ifdef HAVE_IEEEFP_H
52346 #include <ieeefp.h>
52347 #endif
52350 main ()
52352 _isinff(0);
52354 return 0;
52356 _ACEOF
52357 if ac_fn_cxx_try_compile "$LINENO"; then :
52358 glibcxx_cv_func__isinff_use=yes
52359 else
52360 glibcxx_cv_func__isinff_use=no
52362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52363 ac_ext=c
52364 ac_cpp='$CPP $CPPFLAGS'
52365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
52374 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
52376 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
52377 for ac_func in _isinff
52378 do :
52379 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
52380 if test "x$ac_cv_func__isinff" = x""yes; then :
52381 cat >>confdefs.h <<_ACEOF
52382 #define HAVE__ISINFF 1
52383 _ACEOF
52386 done
52395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
52396 $as_echo_n "checking for atan2f declaration... " >&6; }
52397 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
52398 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
52399 $as_echo_n "(cached) " >&6
52400 else
52403 ac_ext=cpp
52404 ac_cpp='$CXXCPP $CPPFLAGS'
52405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52410 /* end confdefs.h. */
52411 #include <math.h>
52413 main ()
52415 atan2f(0, 0);
52417 return 0;
52419 _ACEOF
52420 if ac_fn_cxx_try_compile "$LINENO"; then :
52421 glibcxx_cv_func_atan2f_use=yes
52422 else
52423 glibcxx_cv_func_atan2f_use=no
52425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52426 ac_ext=c
52427 ac_cpp='$CPP $CPPFLAGS'
52428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
52437 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
52439 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
52440 for ac_func in atan2f
52441 do :
52442 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
52443 if test "x$ac_cv_func_atan2f" = x""yes; then :
52444 cat >>confdefs.h <<_ACEOF
52445 #define HAVE_ATAN2F 1
52446 _ACEOF
52449 done
52451 else
52453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
52454 $as_echo_n "checking for _atan2f declaration... " >&6; }
52455 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
52456 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
52457 $as_echo_n "(cached) " >&6
52458 else
52461 ac_ext=cpp
52462 ac_cpp='$CXXCPP $CPPFLAGS'
52463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52468 /* end confdefs.h. */
52469 #include <math.h>
52471 main ()
52473 _atan2f(0, 0);
52475 return 0;
52477 _ACEOF
52478 if ac_fn_cxx_try_compile "$LINENO"; then :
52479 glibcxx_cv_func__atan2f_use=yes
52480 else
52481 glibcxx_cv_func__atan2f_use=no
52483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52484 ac_ext=c
52485 ac_cpp='$CPP $CPPFLAGS'
52486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
52495 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
52497 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
52498 for ac_func in _atan2f
52499 do :
52500 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
52501 if test "x$ac_cv_func__atan2f" = x""yes; then :
52502 cat >>confdefs.h <<_ACEOF
52503 #define HAVE__ATAN2F 1
52504 _ACEOF
52507 done
52516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
52517 $as_echo_n "checking for fabsf declaration... " >&6; }
52518 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
52519 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
52520 $as_echo_n "(cached) " >&6
52521 else
52524 ac_ext=cpp
52525 ac_cpp='$CXXCPP $CPPFLAGS'
52526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52531 /* end confdefs.h. */
52532 #include <math.h>
52533 #ifdef HAVE_IEEEFP_H
52534 #include <ieeefp.h>
52535 #endif
52538 main ()
52540 fabsf(0);
52542 return 0;
52544 _ACEOF
52545 if ac_fn_cxx_try_compile "$LINENO"; then :
52546 glibcxx_cv_func_fabsf_use=yes
52547 else
52548 glibcxx_cv_func_fabsf_use=no
52550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52551 ac_ext=c
52552 ac_cpp='$CPP $CPPFLAGS'
52553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
52562 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
52564 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
52565 for ac_func in fabsf
52566 do :
52567 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
52568 if test "x$ac_cv_func_fabsf" = x""yes; then :
52569 cat >>confdefs.h <<_ACEOF
52570 #define HAVE_FABSF 1
52571 _ACEOF
52574 done
52576 else
52578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
52579 $as_echo_n "checking for _fabsf declaration... " >&6; }
52580 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
52581 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
52582 $as_echo_n "(cached) " >&6
52583 else
52586 ac_ext=cpp
52587 ac_cpp='$CXXCPP $CPPFLAGS'
52588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52593 /* end confdefs.h. */
52594 #include <math.h>
52595 #ifdef HAVE_IEEEFP_H
52596 #include <ieeefp.h>
52597 #endif
52600 main ()
52602 _fabsf(0);
52604 return 0;
52606 _ACEOF
52607 if ac_fn_cxx_try_compile "$LINENO"; then :
52608 glibcxx_cv_func__fabsf_use=yes
52609 else
52610 glibcxx_cv_func__fabsf_use=no
52612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52613 ac_ext=c
52614 ac_cpp='$CPP $CPPFLAGS'
52615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
52624 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
52626 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
52627 for ac_func in _fabsf
52628 do :
52629 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
52630 if test "x$ac_cv_func__fabsf" = x""yes; then :
52631 cat >>confdefs.h <<_ACEOF
52632 #define HAVE__FABSF 1
52633 _ACEOF
52636 done
52645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
52646 $as_echo_n "checking for fmodf declaration... " >&6; }
52647 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
52648 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
52649 $as_echo_n "(cached) " >&6
52650 else
52653 ac_ext=cpp
52654 ac_cpp='$CXXCPP $CPPFLAGS'
52655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52660 /* end confdefs.h. */
52661 #include <math.h>
52663 main ()
52665 fmodf(0, 0);
52667 return 0;
52669 _ACEOF
52670 if ac_fn_cxx_try_compile "$LINENO"; then :
52671 glibcxx_cv_func_fmodf_use=yes
52672 else
52673 glibcxx_cv_func_fmodf_use=no
52675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52676 ac_ext=c
52677 ac_cpp='$CPP $CPPFLAGS'
52678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
52687 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
52689 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
52690 for ac_func in fmodf
52691 do :
52692 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
52693 if test "x$ac_cv_func_fmodf" = x""yes; then :
52694 cat >>confdefs.h <<_ACEOF
52695 #define HAVE_FMODF 1
52696 _ACEOF
52699 done
52701 else
52703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
52704 $as_echo_n "checking for _fmodf declaration... " >&6; }
52705 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
52706 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
52707 $as_echo_n "(cached) " >&6
52708 else
52711 ac_ext=cpp
52712 ac_cpp='$CXXCPP $CPPFLAGS'
52713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52718 /* end confdefs.h. */
52719 #include <math.h>
52721 main ()
52723 _fmodf(0, 0);
52725 return 0;
52727 _ACEOF
52728 if ac_fn_cxx_try_compile "$LINENO"; then :
52729 glibcxx_cv_func__fmodf_use=yes
52730 else
52731 glibcxx_cv_func__fmodf_use=no
52733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52734 ac_ext=c
52735 ac_cpp='$CPP $CPPFLAGS'
52736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
52745 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
52747 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
52748 for ac_func in _fmodf
52749 do :
52750 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
52751 if test "x$ac_cv_func__fmodf" = x""yes; then :
52752 cat >>confdefs.h <<_ACEOF
52753 #define HAVE__FMODF 1
52754 _ACEOF
52757 done
52766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
52767 $as_echo_n "checking for frexpf declaration... " >&6; }
52768 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
52769 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
52770 $as_echo_n "(cached) " >&6
52771 else
52774 ac_ext=cpp
52775 ac_cpp='$CXXCPP $CPPFLAGS'
52776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52781 /* end confdefs.h. */
52782 #include <math.h>
52784 main ()
52786 frexpf(0, 0);
52788 return 0;
52790 _ACEOF
52791 if ac_fn_cxx_try_compile "$LINENO"; then :
52792 glibcxx_cv_func_frexpf_use=yes
52793 else
52794 glibcxx_cv_func_frexpf_use=no
52796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52797 ac_ext=c
52798 ac_cpp='$CPP $CPPFLAGS'
52799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
52808 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
52810 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
52811 for ac_func in frexpf
52812 do :
52813 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
52814 if test "x$ac_cv_func_frexpf" = x""yes; then :
52815 cat >>confdefs.h <<_ACEOF
52816 #define HAVE_FREXPF 1
52817 _ACEOF
52820 done
52822 else
52824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
52825 $as_echo_n "checking for _frexpf declaration... " >&6; }
52826 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
52827 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
52828 $as_echo_n "(cached) " >&6
52829 else
52832 ac_ext=cpp
52833 ac_cpp='$CXXCPP $CPPFLAGS'
52834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52839 /* end confdefs.h. */
52840 #include <math.h>
52842 main ()
52844 _frexpf(0, 0);
52846 return 0;
52848 _ACEOF
52849 if ac_fn_cxx_try_compile "$LINENO"; then :
52850 glibcxx_cv_func__frexpf_use=yes
52851 else
52852 glibcxx_cv_func__frexpf_use=no
52854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52855 ac_ext=c
52856 ac_cpp='$CPP $CPPFLAGS'
52857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
52866 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
52868 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
52869 for ac_func in _frexpf
52870 do :
52871 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
52872 if test "x$ac_cv_func__frexpf" = x""yes; then :
52873 cat >>confdefs.h <<_ACEOF
52874 #define HAVE__FREXPF 1
52875 _ACEOF
52878 done
52887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
52888 $as_echo_n "checking for hypotf declaration... " >&6; }
52889 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
52890 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
52891 $as_echo_n "(cached) " >&6
52892 else
52895 ac_ext=cpp
52896 ac_cpp='$CXXCPP $CPPFLAGS'
52897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52902 /* end confdefs.h. */
52903 #include <math.h>
52905 main ()
52907 hypotf(0, 0);
52909 return 0;
52911 _ACEOF
52912 if ac_fn_cxx_try_compile "$LINENO"; then :
52913 glibcxx_cv_func_hypotf_use=yes
52914 else
52915 glibcxx_cv_func_hypotf_use=no
52917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52918 ac_ext=c
52919 ac_cpp='$CPP $CPPFLAGS'
52920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
52929 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
52931 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
52932 for ac_func in hypotf
52933 do :
52934 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
52935 if test "x$ac_cv_func_hypotf" = x""yes; then :
52936 cat >>confdefs.h <<_ACEOF
52937 #define HAVE_HYPOTF 1
52938 _ACEOF
52941 done
52943 else
52945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
52946 $as_echo_n "checking for _hypotf declaration... " >&6; }
52947 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
52948 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
52949 $as_echo_n "(cached) " >&6
52950 else
52953 ac_ext=cpp
52954 ac_cpp='$CXXCPP $CPPFLAGS'
52955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52960 /* end confdefs.h. */
52961 #include <math.h>
52963 main ()
52965 _hypotf(0, 0);
52967 return 0;
52969 _ACEOF
52970 if ac_fn_cxx_try_compile "$LINENO"; then :
52971 glibcxx_cv_func__hypotf_use=yes
52972 else
52973 glibcxx_cv_func__hypotf_use=no
52975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52976 ac_ext=c
52977 ac_cpp='$CPP $CPPFLAGS'
52978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
52987 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
52989 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
52990 for ac_func in _hypotf
52991 do :
52992 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
52993 if test "x$ac_cv_func__hypotf" = x""yes; then :
52994 cat >>confdefs.h <<_ACEOF
52995 #define HAVE__HYPOTF 1
52996 _ACEOF
52999 done
53008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
53009 $as_echo_n "checking for ldexpf declaration... " >&6; }
53010 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
53011 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
53012 $as_echo_n "(cached) " >&6
53013 else
53016 ac_ext=cpp
53017 ac_cpp='$CXXCPP $CPPFLAGS'
53018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53023 /* end confdefs.h. */
53024 #include <math.h>
53026 main ()
53028 ldexpf(0, 0);
53030 return 0;
53032 _ACEOF
53033 if ac_fn_cxx_try_compile "$LINENO"; then :
53034 glibcxx_cv_func_ldexpf_use=yes
53035 else
53036 glibcxx_cv_func_ldexpf_use=no
53038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53039 ac_ext=c
53040 ac_cpp='$CPP $CPPFLAGS'
53041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
53050 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
53052 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
53053 for ac_func in ldexpf
53054 do :
53055 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
53056 if test "x$ac_cv_func_ldexpf" = x""yes; then :
53057 cat >>confdefs.h <<_ACEOF
53058 #define HAVE_LDEXPF 1
53059 _ACEOF
53062 done
53064 else
53066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
53067 $as_echo_n "checking for _ldexpf declaration... " >&6; }
53068 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
53069 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
53070 $as_echo_n "(cached) " >&6
53071 else
53074 ac_ext=cpp
53075 ac_cpp='$CXXCPP $CPPFLAGS'
53076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53081 /* end confdefs.h. */
53082 #include <math.h>
53084 main ()
53086 _ldexpf(0, 0);
53088 return 0;
53090 _ACEOF
53091 if ac_fn_cxx_try_compile "$LINENO"; then :
53092 glibcxx_cv_func__ldexpf_use=yes
53093 else
53094 glibcxx_cv_func__ldexpf_use=no
53096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53097 ac_ext=c
53098 ac_cpp='$CPP $CPPFLAGS'
53099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
53108 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
53110 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
53111 for ac_func in _ldexpf
53112 do :
53113 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
53114 if test "x$ac_cv_func__ldexpf" = x""yes; then :
53115 cat >>confdefs.h <<_ACEOF
53116 #define HAVE__LDEXPF 1
53117 _ACEOF
53120 done
53129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
53130 $as_echo_n "checking for logf declaration... " >&6; }
53131 if test x${glibcxx_cv_func_logf_use+set} != xset; then
53132 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
53133 $as_echo_n "(cached) " >&6
53134 else
53137 ac_ext=cpp
53138 ac_cpp='$CXXCPP $CPPFLAGS'
53139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53144 /* end confdefs.h. */
53145 #include <math.h>
53146 #ifdef HAVE_IEEEFP_H
53147 #include <ieeefp.h>
53148 #endif
53151 main ()
53153 logf(0);
53155 return 0;
53157 _ACEOF
53158 if ac_fn_cxx_try_compile "$LINENO"; then :
53159 glibcxx_cv_func_logf_use=yes
53160 else
53161 glibcxx_cv_func_logf_use=no
53163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53164 ac_ext=c
53165 ac_cpp='$CPP $CPPFLAGS'
53166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
53175 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
53177 if test x$glibcxx_cv_func_logf_use = x"yes"; then
53178 for ac_func in logf
53179 do :
53180 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
53181 if test "x$ac_cv_func_logf" = x""yes; then :
53182 cat >>confdefs.h <<_ACEOF
53183 #define HAVE_LOGF 1
53184 _ACEOF
53187 done
53189 else
53191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
53192 $as_echo_n "checking for _logf declaration... " >&6; }
53193 if test x${glibcxx_cv_func__logf_use+set} != xset; then
53194 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
53195 $as_echo_n "(cached) " >&6
53196 else
53199 ac_ext=cpp
53200 ac_cpp='$CXXCPP $CPPFLAGS'
53201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53206 /* end confdefs.h. */
53207 #include <math.h>
53208 #ifdef HAVE_IEEEFP_H
53209 #include <ieeefp.h>
53210 #endif
53213 main ()
53215 _logf(0);
53217 return 0;
53219 _ACEOF
53220 if ac_fn_cxx_try_compile "$LINENO"; then :
53221 glibcxx_cv_func__logf_use=yes
53222 else
53223 glibcxx_cv_func__logf_use=no
53225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53226 ac_ext=c
53227 ac_cpp='$CPP $CPPFLAGS'
53228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
53237 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
53239 if test x$glibcxx_cv_func__logf_use = x"yes"; then
53240 for ac_func in _logf
53241 do :
53242 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
53243 if test "x$ac_cv_func__logf" = x""yes; then :
53244 cat >>confdefs.h <<_ACEOF
53245 #define HAVE__LOGF 1
53246 _ACEOF
53249 done
53258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
53259 $as_echo_n "checking for log10f declaration... " >&6; }
53260 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
53261 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
53262 $as_echo_n "(cached) " >&6
53263 else
53266 ac_ext=cpp
53267 ac_cpp='$CXXCPP $CPPFLAGS'
53268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53273 /* end confdefs.h. */
53274 #include <math.h>
53275 #ifdef HAVE_IEEEFP_H
53276 #include <ieeefp.h>
53277 #endif
53280 main ()
53282 log10f(0);
53284 return 0;
53286 _ACEOF
53287 if ac_fn_cxx_try_compile "$LINENO"; then :
53288 glibcxx_cv_func_log10f_use=yes
53289 else
53290 glibcxx_cv_func_log10f_use=no
53292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53293 ac_ext=c
53294 ac_cpp='$CPP $CPPFLAGS'
53295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
53304 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
53306 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
53307 for ac_func in log10f
53308 do :
53309 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
53310 if test "x$ac_cv_func_log10f" = x""yes; then :
53311 cat >>confdefs.h <<_ACEOF
53312 #define HAVE_LOG10F 1
53313 _ACEOF
53316 done
53318 else
53320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
53321 $as_echo_n "checking for _log10f declaration... " >&6; }
53322 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
53323 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
53324 $as_echo_n "(cached) " >&6
53325 else
53328 ac_ext=cpp
53329 ac_cpp='$CXXCPP $CPPFLAGS'
53330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53335 /* end confdefs.h. */
53336 #include <math.h>
53337 #ifdef HAVE_IEEEFP_H
53338 #include <ieeefp.h>
53339 #endif
53342 main ()
53344 _log10f(0);
53346 return 0;
53348 _ACEOF
53349 if ac_fn_cxx_try_compile "$LINENO"; then :
53350 glibcxx_cv_func__log10f_use=yes
53351 else
53352 glibcxx_cv_func__log10f_use=no
53354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53355 ac_ext=c
53356 ac_cpp='$CPP $CPPFLAGS'
53357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
53366 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
53368 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
53369 for ac_func in _log10f
53370 do :
53371 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
53372 if test "x$ac_cv_func__log10f" = x""yes; then :
53373 cat >>confdefs.h <<_ACEOF
53374 #define HAVE__LOG10F 1
53375 _ACEOF
53378 done
53387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
53388 $as_echo_n "checking for modff declaration... " >&6; }
53389 if test x${glibcxx_cv_func_modff_use+set} != xset; then
53390 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
53391 $as_echo_n "(cached) " >&6
53392 else
53395 ac_ext=cpp
53396 ac_cpp='$CXXCPP $CPPFLAGS'
53397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53402 /* end confdefs.h. */
53403 #include <math.h>
53405 main ()
53407 modff(0, 0);
53409 return 0;
53411 _ACEOF
53412 if ac_fn_cxx_try_compile "$LINENO"; then :
53413 glibcxx_cv_func_modff_use=yes
53414 else
53415 glibcxx_cv_func_modff_use=no
53417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53418 ac_ext=c
53419 ac_cpp='$CPP $CPPFLAGS'
53420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
53429 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
53431 if test x$glibcxx_cv_func_modff_use = x"yes"; then
53432 for ac_func in modff
53433 do :
53434 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
53435 if test "x$ac_cv_func_modff" = x""yes; then :
53436 cat >>confdefs.h <<_ACEOF
53437 #define HAVE_MODFF 1
53438 _ACEOF
53441 done
53443 else
53445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
53446 $as_echo_n "checking for _modff declaration... " >&6; }
53447 if test x${glibcxx_cv_func__modff_use+set} != xset; then
53448 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
53449 $as_echo_n "(cached) " >&6
53450 else
53453 ac_ext=cpp
53454 ac_cpp='$CXXCPP $CPPFLAGS'
53455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53460 /* end confdefs.h. */
53461 #include <math.h>
53463 main ()
53465 _modff(0, 0);
53467 return 0;
53469 _ACEOF
53470 if ac_fn_cxx_try_compile "$LINENO"; then :
53471 glibcxx_cv_func__modff_use=yes
53472 else
53473 glibcxx_cv_func__modff_use=no
53475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53476 ac_ext=c
53477 ac_cpp='$CPP $CPPFLAGS'
53478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
53487 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
53489 if test x$glibcxx_cv_func__modff_use = x"yes"; then
53490 for ac_func in _modff
53491 do :
53492 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
53493 if test "x$ac_cv_func__modff" = x""yes; then :
53494 cat >>confdefs.h <<_ACEOF
53495 #define HAVE__MODFF 1
53496 _ACEOF
53499 done
53508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
53509 $as_echo_n "checking for modf declaration... " >&6; }
53510 if test x${glibcxx_cv_func_modf_use+set} != xset; then
53511 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
53512 $as_echo_n "(cached) " >&6
53513 else
53516 ac_ext=cpp
53517 ac_cpp='$CXXCPP $CPPFLAGS'
53518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53523 /* end confdefs.h. */
53524 #include <math.h>
53526 main ()
53528 modf(0, 0);
53530 return 0;
53532 _ACEOF
53533 if ac_fn_cxx_try_compile "$LINENO"; then :
53534 glibcxx_cv_func_modf_use=yes
53535 else
53536 glibcxx_cv_func_modf_use=no
53538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53539 ac_ext=c
53540 ac_cpp='$CPP $CPPFLAGS'
53541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
53550 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
53552 if test x$glibcxx_cv_func_modf_use = x"yes"; then
53553 for ac_func in modf
53554 do :
53555 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
53556 if test "x$ac_cv_func_modf" = x""yes; then :
53557 cat >>confdefs.h <<_ACEOF
53558 #define HAVE_MODF 1
53559 _ACEOF
53562 done
53564 else
53566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
53567 $as_echo_n "checking for _modf declaration... " >&6; }
53568 if test x${glibcxx_cv_func__modf_use+set} != xset; then
53569 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
53570 $as_echo_n "(cached) " >&6
53571 else
53574 ac_ext=cpp
53575 ac_cpp='$CXXCPP $CPPFLAGS'
53576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53581 /* end confdefs.h. */
53582 #include <math.h>
53584 main ()
53586 _modf(0, 0);
53588 return 0;
53590 _ACEOF
53591 if ac_fn_cxx_try_compile "$LINENO"; then :
53592 glibcxx_cv_func__modf_use=yes
53593 else
53594 glibcxx_cv_func__modf_use=no
53596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53597 ac_ext=c
53598 ac_cpp='$CPP $CPPFLAGS'
53599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
53608 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
53610 if test x$glibcxx_cv_func__modf_use = x"yes"; then
53611 for ac_func in _modf
53612 do :
53613 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
53614 if test "x$ac_cv_func__modf" = x""yes; then :
53615 cat >>confdefs.h <<_ACEOF
53616 #define HAVE__MODF 1
53617 _ACEOF
53620 done
53629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
53630 $as_echo_n "checking for powf declaration... " >&6; }
53631 if test x${glibcxx_cv_func_powf_use+set} != xset; then
53632 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
53633 $as_echo_n "(cached) " >&6
53634 else
53637 ac_ext=cpp
53638 ac_cpp='$CXXCPP $CPPFLAGS'
53639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53644 /* end confdefs.h. */
53645 #include <math.h>
53647 main ()
53649 powf(0, 0);
53651 return 0;
53653 _ACEOF
53654 if ac_fn_cxx_try_compile "$LINENO"; then :
53655 glibcxx_cv_func_powf_use=yes
53656 else
53657 glibcxx_cv_func_powf_use=no
53659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53660 ac_ext=c
53661 ac_cpp='$CPP $CPPFLAGS'
53662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
53671 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
53673 if test x$glibcxx_cv_func_powf_use = x"yes"; then
53674 for ac_func in powf
53675 do :
53676 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
53677 if test "x$ac_cv_func_powf" = x""yes; then :
53678 cat >>confdefs.h <<_ACEOF
53679 #define HAVE_POWF 1
53680 _ACEOF
53683 done
53685 else
53687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
53688 $as_echo_n "checking for _powf declaration... " >&6; }
53689 if test x${glibcxx_cv_func__powf_use+set} != xset; then
53690 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
53691 $as_echo_n "(cached) " >&6
53692 else
53695 ac_ext=cpp
53696 ac_cpp='$CXXCPP $CPPFLAGS'
53697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53702 /* end confdefs.h. */
53703 #include <math.h>
53705 main ()
53707 _powf(0, 0);
53709 return 0;
53711 _ACEOF
53712 if ac_fn_cxx_try_compile "$LINENO"; then :
53713 glibcxx_cv_func__powf_use=yes
53714 else
53715 glibcxx_cv_func__powf_use=no
53717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53718 ac_ext=c
53719 ac_cpp='$CPP $CPPFLAGS'
53720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
53729 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
53731 if test x$glibcxx_cv_func__powf_use = x"yes"; then
53732 for ac_func in _powf
53733 do :
53734 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
53735 if test "x$ac_cv_func__powf" = x""yes; then :
53736 cat >>confdefs.h <<_ACEOF
53737 #define HAVE__POWF 1
53738 _ACEOF
53741 done
53750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
53751 $as_echo_n "checking for sqrtf declaration... " >&6; }
53752 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
53753 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
53754 $as_echo_n "(cached) " >&6
53755 else
53758 ac_ext=cpp
53759 ac_cpp='$CXXCPP $CPPFLAGS'
53760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53765 /* end confdefs.h. */
53766 #include <math.h>
53767 #ifdef HAVE_IEEEFP_H
53768 #include <ieeefp.h>
53769 #endif
53772 main ()
53774 sqrtf(0);
53776 return 0;
53778 _ACEOF
53779 if ac_fn_cxx_try_compile "$LINENO"; then :
53780 glibcxx_cv_func_sqrtf_use=yes
53781 else
53782 glibcxx_cv_func_sqrtf_use=no
53784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53785 ac_ext=c
53786 ac_cpp='$CPP $CPPFLAGS'
53787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
53796 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
53798 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
53799 for ac_func in sqrtf
53800 do :
53801 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
53802 if test "x$ac_cv_func_sqrtf" = x""yes; then :
53803 cat >>confdefs.h <<_ACEOF
53804 #define HAVE_SQRTF 1
53805 _ACEOF
53808 done
53810 else
53812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
53813 $as_echo_n "checking for _sqrtf declaration... " >&6; }
53814 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
53815 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
53816 $as_echo_n "(cached) " >&6
53817 else
53820 ac_ext=cpp
53821 ac_cpp='$CXXCPP $CPPFLAGS'
53822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53827 /* end confdefs.h. */
53828 #include <math.h>
53829 #ifdef HAVE_IEEEFP_H
53830 #include <ieeefp.h>
53831 #endif
53834 main ()
53836 _sqrtf(0);
53838 return 0;
53840 _ACEOF
53841 if ac_fn_cxx_try_compile "$LINENO"; then :
53842 glibcxx_cv_func__sqrtf_use=yes
53843 else
53844 glibcxx_cv_func__sqrtf_use=no
53846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53847 ac_ext=c
53848 ac_cpp='$CPP $CPPFLAGS'
53849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
53858 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
53860 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
53861 for ac_func in _sqrtf
53862 do :
53863 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
53864 if test "x$ac_cv_func__sqrtf" = x""yes; then :
53865 cat >>confdefs.h <<_ACEOF
53866 #define HAVE__SQRTF 1
53867 _ACEOF
53870 done
53879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
53880 $as_echo_n "checking for sincosf declaration... " >&6; }
53881 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
53882 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
53883 $as_echo_n "(cached) " >&6
53884 else
53887 ac_ext=cpp
53888 ac_cpp='$CXXCPP $CPPFLAGS'
53889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53894 /* end confdefs.h. */
53895 #include <math.h>
53897 main ()
53899 sincosf(0, 0, 0);
53901 return 0;
53903 _ACEOF
53904 if ac_fn_cxx_try_compile "$LINENO"; then :
53905 glibcxx_cv_func_sincosf_use=yes
53906 else
53907 glibcxx_cv_func_sincosf_use=no
53909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53910 ac_ext=c
53911 ac_cpp='$CPP $CPPFLAGS'
53912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
53921 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
53923 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
53924 for ac_func in sincosf
53925 do :
53926 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
53927 if test "x$ac_cv_func_sincosf" = x""yes; then :
53928 cat >>confdefs.h <<_ACEOF
53929 #define HAVE_SINCOSF 1
53930 _ACEOF
53933 done
53935 else
53937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
53938 $as_echo_n "checking for _sincosf declaration... " >&6; }
53939 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
53940 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
53941 $as_echo_n "(cached) " >&6
53942 else
53945 ac_ext=cpp
53946 ac_cpp='$CXXCPP $CPPFLAGS'
53947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53952 /* end confdefs.h. */
53953 #include <math.h>
53955 main ()
53957 _sincosf(0, 0, 0);
53959 return 0;
53961 _ACEOF
53962 if ac_fn_cxx_try_compile "$LINENO"; then :
53963 glibcxx_cv_func__sincosf_use=yes
53964 else
53965 glibcxx_cv_func__sincosf_use=no
53967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53968 ac_ext=c
53969 ac_cpp='$CPP $CPPFLAGS'
53970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
53979 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
53981 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
53982 for ac_func in _sincosf
53983 do :
53984 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
53985 if test "x$ac_cv_func__sincosf" = x""yes; then :
53986 cat >>confdefs.h <<_ACEOF
53987 #define HAVE__SINCOSF 1
53988 _ACEOF
53991 done
54000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
54001 $as_echo_n "checking for finitef declaration... " >&6; }
54002 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
54003 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
54004 $as_echo_n "(cached) " >&6
54005 else
54008 ac_ext=cpp
54009 ac_cpp='$CXXCPP $CPPFLAGS'
54010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54015 /* end confdefs.h. */
54016 #include <math.h>
54017 #ifdef HAVE_IEEEFP_H
54018 #include <ieeefp.h>
54019 #endif
54022 main ()
54024 finitef(0);
54026 return 0;
54028 _ACEOF
54029 if ac_fn_cxx_try_compile "$LINENO"; then :
54030 glibcxx_cv_func_finitef_use=yes
54031 else
54032 glibcxx_cv_func_finitef_use=no
54034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54035 ac_ext=c
54036 ac_cpp='$CPP $CPPFLAGS'
54037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
54046 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
54048 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
54049 for ac_func in finitef
54050 do :
54051 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
54052 if test "x$ac_cv_func_finitef" = x""yes; then :
54053 cat >>confdefs.h <<_ACEOF
54054 #define HAVE_FINITEF 1
54055 _ACEOF
54058 done
54060 else
54062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
54063 $as_echo_n "checking for _finitef declaration... " >&6; }
54064 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
54065 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
54066 $as_echo_n "(cached) " >&6
54067 else
54070 ac_ext=cpp
54071 ac_cpp='$CXXCPP $CPPFLAGS'
54072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54077 /* end confdefs.h. */
54078 #include <math.h>
54079 #ifdef HAVE_IEEEFP_H
54080 #include <ieeefp.h>
54081 #endif
54084 main ()
54086 _finitef(0);
54088 return 0;
54090 _ACEOF
54091 if ac_fn_cxx_try_compile "$LINENO"; then :
54092 glibcxx_cv_func__finitef_use=yes
54093 else
54094 glibcxx_cv_func__finitef_use=no
54096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54097 ac_ext=c
54098 ac_cpp='$CPP $CPPFLAGS'
54099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
54108 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
54110 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
54111 for ac_func in _finitef
54112 do :
54113 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
54114 if test "x$ac_cv_func__finitef" = x""yes; then :
54115 cat >>confdefs.h <<_ACEOF
54116 #define HAVE__FINITEF 1
54117 _ACEOF
54120 done
54129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
54130 $as_echo_n "checking for long double trig functions... " >&6; }
54131 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
54132 $as_echo_n "(cached) " >&6
54133 else
54136 ac_ext=cpp
54137 ac_cpp='$CXXCPP $CPPFLAGS'
54138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54143 /* end confdefs.h. */
54144 #include <math.h>
54146 main ()
54148 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
54150 return 0;
54152 _ACEOF
54153 if ac_fn_cxx_try_compile "$LINENO"; then :
54154 glibcxx_cv_func_long_double_trig_use=yes
54155 else
54156 glibcxx_cv_func_long_double_trig_use=no
54158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54159 ac_ext=c
54160 ac_cpp='$CPP $CPPFLAGS'
54161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
54168 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
54169 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
54170 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
54171 do :
54172 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54173 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54174 eval as_val=\$$as_ac_var
54175 if test "x$as_val" = x""yes; then :
54176 cat >>confdefs.h <<_ACEOF
54177 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54178 _ACEOF
54181 done
54183 else
54184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
54185 $as_echo_n "checking for _long double trig functions... " >&6; }
54186 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
54187 $as_echo_n "(cached) " >&6
54188 else
54191 ac_ext=cpp
54192 ac_cpp='$CXXCPP $CPPFLAGS'
54193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54198 /* end confdefs.h. */
54199 #include <math.h>
54201 main ()
54203 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
54205 return 0;
54207 _ACEOF
54208 if ac_fn_cxx_try_compile "$LINENO"; then :
54209 glibcxx_cv_func__long_double_trig_use=yes
54210 else
54211 glibcxx_cv_func__long_double_trig_use=no
54213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54214 ac_ext=c
54215 ac_cpp='$CPP $CPPFLAGS'
54216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
54223 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
54224 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
54225 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
54226 do :
54227 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54228 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54229 eval as_val=\$$as_ac_var
54230 if test "x$as_val" = x""yes; then :
54231 cat >>confdefs.h <<_ACEOF
54232 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54233 _ACEOF
54236 done
54245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
54246 $as_echo_n "checking for long double round functions... " >&6; }
54247 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
54248 $as_echo_n "(cached) " >&6
54249 else
54252 ac_ext=cpp
54253 ac_cpp='$CXXCPP $CPPFLAGS'
54254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54259 /* end confdefs.h. */
54260 #include <math.h>
54262 main ()
54264 ceill (0); floorl (0);
54266 return 0;
54268 _ACEOF
54269 if ac_fn_cxx_try_compile "$LINENO"; then :
54270 glibcxx_cv_func_long_double_round_use=yes
54271 else
54272 glibcxx_cv_func_long_double_round_use=no
54274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54275 ac_ext=c
54276 ac_cpp='$CPP $CPPFLAGS'
54277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
54284 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
54285 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
54286 for ac_func in ceill floorl
54287 do :
54288 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54289 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54290 eval as_val=\$$as_ac_var
54291 if test "x$as_val" = x""yes; then :
54292 cat >>confdefs.h <<_ACEOF
54293 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54294 _ACEOF
54297 done
54299 else
54300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
54301 $as_echo_n "checking for _long double round functions... " >&6; }
54302 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
54303 $as_echo_n "(cached) " >&6
54304 else
54307 ac_ext=cpp
54308 ac_cpp='$CXXCPP $CPPFLAGS'
54309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54314 /* end confdefs.h. */
54315 #include <math.h>
54317 main ()
54319 _ceill (0); _floorl (0);
54321 return 0;
54323 _ACEOF
54324 if ac_fn_cxx_try_compile "$LINENO"; then :
54325 glibcxx_cv_func__long_double_round_use=yes
54326 else
54327 glibcxx_cv_func__long_double_round_use=no
54329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54330 ac_ext=c
54331 ac_cpp='$CPP $CPPFLAGS'
54332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
54339 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
54340 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
54341 for ac_func in _ceill _floorl
54342 do :
54343 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54344 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54345 eval as_val=\$$as_ac_var
54346 if test "x$as_val" = x""yes; then :
54347 cat >>confdefs.h <<_ACEOF
54348 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54349 _ACEOF
54352 done
54362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
54363 $as_echo_n "checking for isnanl declaration... " >&6; }
54364 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
54365 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
54366 $as_echo_n "(cached) " >&6
54367 else
54370 ac_ext=cpp
54371 ac_cpp='$CXXCPP $CPPFLAGS'
54372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54377 /* end confdefs.h. */
54378 #include <math.h>
54379 #ifdef HAVE_IEEEFP_H
54380 #include <ieeefp.h>
54381 #endif
54384 main ()
54386 isnanl(0);
54388 return 0;
54390 _ACEOF
54391 if ac_fn_cxx_try_compile "$LINENO"; then :
54392 glibcxx_cv_func_isnanl_use=yes
54393 else
54394 glibcxx_cv_func_isnanl_use=no
54396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54397 ac_ext=c
54398 ac_cpp='$CPP $CPPFLAGS'
54399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
54408 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
54410 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
54411 for ac_func in isnanl
54412 do :
54413 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
54414 if test "x$ac_cv_func_isnanl" = x""yes; then :
54415 cat >>confdefs.h <<_ACEOF
54416 #define HAVE_ISNANL 1
54417 _ACEOF
54420 done
54422 else
54424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
54425 $as_echo_n "checking for _isnanl declaration... " >&6; }
54426 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
54427 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
54428 $as_echo_n "(cached) " >&6
54429 else
54432 ac_ext=cpp
54433 ac_cpp='$CXXCPP $CPPFLAGS'
54434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54439 /* end confdefs.h. */
54440 #include <math.h>
54441 #ifdef HAVE_IEEEFP_H
54442 #include <ieeefp.h>
54443 #endif
54446 main ()
54448 _isnanl(0);
54450 return 0;
54452 _ACEOF
54453 if ac_fn_cxx_try_compile "$LINENO"; then :
54454 glibcxx_cv_func__isnanl_use=yes
54455 else
54456 glibcxx_cv_func__isnanl_use=no
54458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54459 ac_ext=c
54460 ac_cpp='$CPP $CPPFLAGS'
54461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
54470 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
54472 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
54473 for ac_func in _isnanl
54474 do :
54475 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
54476 if test "x$ac_cv_func__isnanl" = x""yes; then :
54477 cat >>confdefs.h <<_ACEOF
54478 #define HAVE__ISNANL 1
54479 _ACEOF
54482 done
54491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
54492 $as_echo_n "checking for isinfl declaration... " >&6; }
54493 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
54494 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
54495 $as_echo_n "(cached) " >&6
54496 else
54499 ac_ext=cpp
54500 ac_cpp='$CXXCPP $CPPFLAGS'
54501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54506 /* end confdefs.h. */
54507 #include <math.h>
54508 #ifdef HAVE_IEEEFP_H
54509 #include <ieeefp.h>
54510 #endif
54513 main ()
54515 isinfl(0);
54517 return 0;
54519 _ACEOF
54520 if ac_fn_cxx_try_compile "$LINENO"; then :
54521 glibcxx_cv_func_isinfl_use=yes
54522 else
54523 glibcxx_cv_func_isinfl_use=no
54525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54526 ac_ext=c
54527 ac_cpp='$CPP $CPPFLAGS'
54528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
54537 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
54539 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
54540 for ac_func in isinfl
54541 do :
54542 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
54543 if test "x$ac_cv_func_isinfl" = x""yes; then :
54544 cat >>confdefs.h <<_ACEOF
54545 #define HAVE_ISINFL 1
54546 _ACEOF
54549 done
54551 else
54553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
54554 $as_echo_n "checking for _isinfl declaration... " >&6; }
54555 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
54556 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
54557 $as_echo_n "(cached) " >&6
54558 else
54561 ac_ext=cpp
54562 ac_cpp='$CXXCPP $CPPFLAGS'
54563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54568 /* end confdefs.h. */
54569 #include <math.h>
54570 #ifdef HAVE_IEEEFP_H
54571 #include <ieeefp.h>
54572 #endif
54575 main ()
54577 _isinfl(0);
54579 return 0;
54581 _ACEOF
54582 if ac_fn_cxx_try_compile "$LINENO"; then :
54583 glibcxx_cv_func__isinfl_use=yes
54584 else
54585 glibcxx_cv_func__isinfl_use=no
54587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54588 ac_ext=c
54589 ac_cpp='$CPP $CPPFLAGS'
54590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
54599 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
54601 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
54602 for ac_func in _isinfl
54603 do :
54604 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
54605 if test "x$ac_cv_func__isinfl" = x""yes; then :
54606 cat >>confdefs.h <<_ACEOF
54607 #define HAVE__ISINFL 1
54608 _ACEOF
54611 done
54620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
54621 $as_echo_n "checking for atan2l declaration... " >&6; }
54622 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
54623 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
54624 $as_echo_n "(cached) " >&6
54625 else
54628 ac_ext=cpp
54629 ac_cpp='$CXXCPP $CPPFLAGS'
54630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54635 /* end confdefs.h. */
54636 #include <math.h>
54638 main ()
54640 atan2l(0, 0);
54642 return 0;
54644 _ACEOF
54645 if ac_fn_cxx_try_compile "$LINENO"; then :
54646 glibcxx_cv_func_atan2l_use=yes
54647 else
54648 glibcxx_cv_func_atan2l_use=no
54650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54651 ac_ext=c
54652 ac_cpp='$CPP $CPPFLAGS'
54653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
54662 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
54664 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
54665 for ac_func in atan2l
54666 do :
54667 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
54668 if test "x$ac_cv_func_atan2l" = x""yes; then :
54669 cat >>confdefs.h <<_ACEOF
54670 #define HAVE_ATAN2L 1
54671 _ACEOF
54674 done
54676 else
54678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
54679 $as_echo_n "checking for _atan2l declaration... " >&6; }
54680 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
54681 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
54682 $as_echo_n "(cached) " >&6
54683 else
54686 ac_ext=cpp
54687 ac_cpp='$CXXCPP $CPPFLAGS'
54688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54693 /* end confdefs.h. */
54694 #include <math.h>
54696 main ()
54698 _atan2l(0, 0);
54700 return 0;
54702 _ACEOF
54703 if ac_fn_cxx_try_compile "$LINENO"; then :
54704 glibcxx_cv_func__atan2l_use=yes
54705 else
54706 glibcxx_cv_func__atan2l_use=no
54708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54709 ac_ext=c
54710 ac_cpp='$CPP $CPPFLAGS'
54711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
54720 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
54722 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
54723 for ac_func in _atan2l
54724 do :
54725 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
54726 if test "x$ac_cv_func__atan2l" = x""yes; then :
54727 cat >>confdefs.h <<_ACEOF
54728 #define HAVE__ATAN2L 1
54729 _ACEOF
54732 done
54741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
54742 $as_echo_n "checking for expl declaration... " >&6; }
54743 if test x${glibcxx_cv_func_expl_use+set} != xset; then
54744 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
54745 $as_echo_n "(cached) " >&6
54746 else
54749 ac_ext=cpp
54750 ac_cpp='$CXXCPP $CPPFLAGS'
54751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54756 /* end confdefs.h. */
54757 #include <math.h>
54758 #ifdef HAVE_IEEEFP_H
54759 #include <ieeefp.h>
54760 #endif
54763 main ()
54765 expl(0);
54767 return 0;
54769 _ACEOF
54770 if ac_fn_cxx_try_compile "$LINENO"; then :
54771 glibcxx_cv_func_expl_use=yes
54772 else
54773 glibcxx_cv_func_expl_use=no
54775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54776 ac_ext=c
54777 ac_cpp='$CPP $CPPFLAGS'
54778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
54787 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
54789 if test x$glibcxx_cv_func_expl_use = x"yes"; then
54790 for ac_func in expl
54791 do :
54792 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
54793 if test "x$ac_cv_func_expl" = x""yes; then :
54794 cat >>confdefs.h <<_ACEOF
54795 #define HAVE_EXPL 1
54796 _ACEOF
54799 done
54801 else
54803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
54804 $as_echo_n "checking for _expl declaration... " >&6; }
54805 if test x${glibcxx_cv_func__expl_use+set} != xset; then
54806 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
54807 $as_echo_n "(cached) " >&6
54808 else
54811 ac_ext=cpp
54812 ac_cpp='$CXXCPP $CPPFLAGS'
54813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54818 /* end confdefs.h. */
54819 #include <math.h>
54820 #ifdef HAVE_IEEEFP_H
54821 #include <ieeefp.h>
54822 #endif
54825 main ()
54827 _expl(0);
54829 return 0;
54831 _ACEOF
54832 if ac_fn_cxx_try_compile "$LINENO"; then :
54833 glibcxx_cv_func__expl_use=yes
54834 else
54835 glibcxx_cv_func__expl_use=no
54837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54838 ac_ext=c
54839 ac_cpp='$CPP $CPPFLAGS'
54840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
54849 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
54851 if test x$glibcxx_cv_func__expl_use = x"yes"; then
54852 for ac_func in _expl
54853 do :
54854 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
54855 if test "x$ac_cv_func__expl" = x""yes; then :
54856 cat >>confdefs.h <<_ACEOF
54857 #define HAVE__EXPL 1
54858 _ACEOF
54861 done
54870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
54871 $as_echo_n "checking for fabsl declaration... " >&6; }
54872 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
54873 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
54874 $as_echo_n "(cached) " >&6
54875 else
54878 ac_ext=cpp
54879 ac_cpp='$CXXCPP $CPPFLAGS'
54880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54885 /* end confdefs.h. */
54886 #include <math.h>
54887 #ifdef HAVE_IEEEFP_H
54888 #include <ieeefp.h>
54889 #endif
54892 main ()
54894 fabsl(0);
54896 return 0;
54898 _ACEOF
54899 if ac_fn_cxx_try_compile "$LINENO"; then :
54900 glibcxx_cv_func_fabsl_use=yes
54901 else
54902 glibcxx_cv_func_fabsl_use=no
54904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54905 ac_ext=c
54906 ac_cpp='$CPP $CPPFLAGS'
54907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
54916 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
54918 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
54919 for ac_func in fabsl
54920 do :
54921 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
54922 if test "x$ac_cv_func_fabsl" = x""yes; then :
54923 cat >>confdefs.h <<_ACEOF
54924 #define HAVE_FABSL 1
54925 _ACEOF
54928 done
54930 else
54932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
54933 $as_echo_n "checking for _fabsl declaration... " >&6; }
54934 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
54935 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
54936 $as_echo_n "(cached) " >&6
54937 else
54940 ac_ext=cpp
54941 ac_cpp='$CXXCPP $CPPFLAGS'
54942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54947 /* end confdefs.h. */
54948 #include <math.h>
54949 #ifdef HAVE_IEEEFP_H
54950 #include <ieeefp.h>
54951 #endif
54954 main ()
54956 _fabsl(0);
54958 return 0;
54960 _ACEOF
54961 if ac_fn_cxx_try_compile "$LINENO"; then :
54962 glibcxx_cv_func__fabsl_use=yes
54963 else
54964 glibcxx_cv_func__fabsl_use=no
54966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54967 ac_ext=c
54968 ac_cpp='$CPP $CPPFLAGS'
54969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
54978 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
54980 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
54981 for ac_func in _fabsl
54982 do :
54983 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
54984 if test "x$ac_cv_func__fabsl" = x""yes; then :
54985 cat >>confdefs.h <<_ACEOF
54986 #define HAVE__FABSL 1
54987 _ACEOF
54990 done
54999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
55000 $as_echo_n "checking for fmodl declaration... " >&6; }
55001 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
55002 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
55003 $as_echo_n "(cached) " >&6
55004 else
55007 ac_ext=cpp
55008 ac_cpp='$CXXCPP $CPPFLAGS'
55009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55014 /* end confdefs.h. */
55015 #include <math.h>
55017 main ()
55019 fmodl(0, 0);
55021 return 0;
55023 _ACEOF
55024 if ac_fn_cxx_try_compile "$LINENO"; then :
55025 glibcxx_cv_func_fmodl_use=yes
55026 else
55027 glibcxx_cv_func_fmodl_use=no
55029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55030 ac_ext=c
55031 ac_cpp='$CPP $CPPFLAGS'
55032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
55041 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
55043 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
55044 for ac_func in fmodl
55045 do :
55046 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
55047 if test "x$ac_cv_func_fmodl" = x""yes; then :
55048 cat >>confdefs.h <<_ACEOF
55049 #define HAVE_FMODL 1
55050 _ACEOF
55053 done
55055 else
55057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
55058 $as_echo_n "checking for _fmodl declaration... " >&6; }
55059 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
55060 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
55061 $as_echo_n "(cached) " >&6
55062 else
55065 ac_ext=cpp
55066 ac_cpp='$CXXCPP $CPPFLAGS'
55067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55072 /* end confdefs.h. */
55073 #include <math.h>
55075 main ()
55077 _fmodl(0, 0);
55079 return 0;
55081 _ACEOF
55082 if ac_fn_cxx_try_compile "$LINENO"; then :
55083 glibcxx_cv_func__fmodl_use=yes
55084 else
55085 glibcxx_cv_func__fmodl_use=no
55087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55088 ac_ext=c
55089 ac_cpp='$CPP $CPPFLAGS'
55090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
55099 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
55101 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
55102 for ac_func in _fmodl
55103 do :
55104 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
55105 if test "x$ac_cv_func__fmodl" = x""yes; then :
55106 cat >>confdefs.h <<_ACEOF
55107 #define HAVE__FMODL 1
55108 _ACEOF
55111 done
55120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
55121 $as_echo_n "checking for frexpl declaration... " >&6; }
55122 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
55123 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
55124 $as_echo_n "(cached) " >&6
55125 else
55128 ac_ext=cpp
55129 ac_cpp='$CXXCPP $CPPFLAGS'
55130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55135 /* end confdefs.h. */
55136 #include <math.h>
55138 main ()
55140 frexpl(0, 0);
55142 return 0;
55144 _ACEOF
55145 if ac_fn_cxx_try_compile "$LINENO"; then :
55146 glibcxx_cv_func_frexpl_use=yes
55147 else
55148 glibcxx_cv_func_frexpl_use=no
55150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55151 ac_ext=c
55152 ac_cpp='$CPP $CPPFLAGS'
55153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
55162 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
55164 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
55165 for ac_func in frexpl
55166 do :
55167 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
55168 if test "x$ac_cv_func_frexpl" = x""yes; then :
55169 cat >>confdefs.h <<_ACEOF
55170 #define HAVE_FREXPL 1
55171 _ACEOF
55174 done
55176 else
55178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
55179 $as_echo_n "checking for _frexpl declaration... " >&6; }
55180 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
55181 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
55182 $as_echo_n "(cached) " >&6
55183 else
55186 ac_ext=cpp
55187 ac_cpp='$CXXCPP $CPPFLAGS'
55188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55193 /* end confdefs.h. */
55194 #include <math.h>
55196 main ()
55198 _frexpl(0, 0);
55200 return 0;
55202 _ACEOF
55203 if ac_fn_cxx_try_compile "$LINENO"; then :
55204 glibcxx_cv_func__frexpl_use=yes
55205 else
55206 glibcxx_cv_func__frexpl_use=no
55208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55209 ac_ext=c
55210 ac_cpp='$CPP $CPPFLAGS'
55211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
55220 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
55222 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
55223 for ac_func in _frexpl
55224 do :
55225 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
55226 if test "x$ac_cv_func__frexpl" = x""yes; then :
55227 cat >>confdefs.h <<_ACEOF
55228 #define HAVE__FREXPL 1
55229 _ACEOF
55232 done
55241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
55242 $as_echo_n "checking for hypotl declaration... " >&6; }
55243 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
55244 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
55245 $as_echo_n "(cached) " >&6
55246 else
55249 ac_ext=cpp
55250 ac_cpp='$CXXCPP $CPPFLAGS'
55251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55256 /* end confdefs.h. */
55257 #include <math.h>
55259 main ()
55261 hypotl(0, 0);
55263 return 0;
55265 _ACEOF
55266 if ac_fn_cxx_try_compile "$LINENO"; then :
55267 glibcxx_cv_func_hypotl_use=yes
55268 else
55269 glibcxx_cv_func_hypotl_use=no
55271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55272 ac_ext=c
55273 ac_cpp='$CPP $CPPFLAGS'
55274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
55283 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
55285 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
55286 for ac_func in hypotl
55287 do :
55288 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
55289 if test "x$ac_cv_func_hypotl" = x""yes; then :
55290 cat >>confdefs.h <<_ACEOF
55291 #define HAVE_HYPOTL 1
55292 _ACEOF
55295 done
55297 else
55299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
55300 $as_echo_n "checking for _hypotl declaration... " >&6; }
55301 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
55302 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
55303 $as_echo_n "(cached) " >&6
55304 else
55307 ac_ext=cpp
55308 ac_cpp='$CXXCPP $CPPFLAGS'
55309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55314 /* end confdefs.h. */
55315 #include <math.h>
55317 main ()
55319 _hypotl(0, 0);
55321 return 0;
55323 _ACEOF
55324 if ac_fn_cxx_try_compile "$LINENO"; then :
55325 glibcxx_cv_func__hypotl_use=yes
55326 else
55327 glibcxx_cv_func__hypotl_use=no
55329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55330 ac_ext=c
55331 ac_cpp='$CPP $CPPFLAGS'
55332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
55341 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
55343 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
55344 for ac_func in _hypotl
55345 do :
55346 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
55347 if test "x$ac_cv_func__hypotl" = x""yes; then :
55348 cat >>confdefs.h <<_ACEOF
55349 #define HAVE__HYPOTL 1
55350 _ACEOF
55353 done
55362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
55363 $as_echo_n "checking for ldexpl declaration... " >&6; }
55364 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
55365 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
55366 $as_echo_n "(cached) " >&6
55367 else
55370 ac_ext=cpp
55371 ac_cpp='$CXXCPP $CPPFLAGS'
55372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55377 /* end confdefs.h. */
55378 #include <math.h>
55380 main ()
55382 ldexpl(0, 0);
55384 return 0;
55386 _ACEOF
55387 if ac_fn_cxx_try_compile "$LINENO"; then :
55388 glibcxx_cv_func_ldexpl_use=yes
55389 else
55390 glibcxx_cv_func_ldexpl_use=no
55392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55393 ac_ext=c
55394 ac_cpp='$CPP $CPPFLAGS'
55395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
55404 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
55406 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
55407 for ac_func in ldexpl
55408 do :
55409 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
55410 if test "x$ac_cv_func_ldexpl" = x""yes; then :
55411 cat >>confdefs.h <<_ACEOF
55412 #define HAVE_LDEXPL 1
55413 _ACEOF
55416 done
55418 else
55420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
55421 $as_echo_n "checking for _ldexpl declaration... " >&6; }
55422 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
55423 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
55424 $as_echo_n "(cached) " >&6
55425 else
55428 ac_ext=cpp
55429 ac_cpp='$CXXCPP $CPPFLAGS'
55430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55435 /* end confdefs.h. */
55436 #include <math.h>
55438 main ()
55440 _ldexpl(0, 0);
55442 return 0;
55444 _ACEOF
55445 if ac_fn_cxx_try_compile "$LINENO"; then :
55446 glibcxx_cv_func__ldexpl_use=yes
55447 else
55448 glibcxx_cv_func__ldexpl_use=no
55450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55451 ac_ext=c
55452 ac_cpp='$CPP $CPPFLAGS'
55453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
55462 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
55464 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
55465 for ac_func in _ldexpl
55466 do :
55467 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
55468 if test "x$ac_cv_func__ldexpl" = x""yes; then :
55469 cat >>confdefs.h <<_ACEOF
55470 #define HAVE__LDEXPL 1
55471 _ACEOF
55474 done
55483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
55484 $as_echo_n "checking for logl declaration... " >&6; }
55485 if test x${glibcxx_cv_func_logl_use+set} != xset; then
55486 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
55487 $as_echo_n "(cached) " >&6
55488 else
55491 ac_ext=cpp
55492 ac_cpp='$CXXCPP $CPPFLAGS'
55493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55498 /* end confdefs.h. */
55499 #include <math.h>
55500 #ifdef HAVE_IEEEFP_H
55501 #include <ieeefp.h>
55502 #endif
55505 main ()
55507 logl(0);
55509 return 0;
55511 _ACEOF
55512 if ac_fn_cxx_try_compile "$LINENO"; then :
55513 glibcxx_cv_func_logl_use=yes
55514 else
55515 glibcxx_cv_func_logl_use=no
55517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55518 ac_ext=c
55519 ac_cpp='$CPP $CPPFLAGS'
55520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
55529 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
55531 if test x$glibcxx_cv_func_logl_use = x"yes"; then
55532 for ac_func in logl
55533 do :
55534 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
55535 if test "x$ac_cv_func_logl" = x""yes; then :
55536 cat >>confdefs.h <<_ACEOF
55537 #define HAVE_LOGL 1
55538 _ACEOF
55541 done
55543 else
55545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
55546 $as_echo_n "checking for _logl declaration... " >&6; }
55547 if test x${glibcxx_cv_func__logl_use+set} != xset; then
55548 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
55549 $as_echo_n "(cached) " >&6
55550 else
55553 ac_ext=cpp
55554 ac_cpp='$CXXCPP $CPPFLAGS'
55555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55560 /* end confdefs.h. */
55561 #include <math.h>
55562 #ifdef HAVE_IEEEFP_H
55563 #include <ieeefp.h>
55564 #endif
55567 main ()
55569 _logl(0);
55571 return 0;
55573 _ACEOF
55574 if ac_fn_cxx_try_compile "$LINENO"; then :
55575 glibcxx_cv_func__logl_use=yes
55576 else
55577 glibcxx_cv_func__logl_use=no
55579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55580 ac_ext=c
55581 ac_cpp='$CPP $CPPFLAGS'
55582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
55591 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
55593 if test x$glibcxx_cv_func__logl_use = x"yes"; then
55594 for ac_func in _logl
55595 do :
55596 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
55597 if test "x$ac_cv_func__logl" = x""yes; then :
55598 cat >>confdefs.h <<_ACEOF
55599 #define HAVE__LOGL 1
55600 _ACEOF
55603 done
55612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
55613 $as_echo_n "checking for log10l declaration... " >&6; }
55614 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
55615 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
55616 $as_echo_n "(cached) " >&6
55617 else
55620 ac_ext=cpp
55621 ac_cpp='$CXXCPP $CPPFLAGS'
55622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55627 /* end confdefs.h. */
55628 #include <math.h>
55629 #ifdef HAVE_IEEEFP_H
55630 #include <ieeefp.h>
55631 #endif
55634 main ()
55636 log10l(0);
55638 return 0;
55640 _ACEOF
55641 if ac_fn_cxx_try_compile "$LINENO"; then :
55642 glibcxx_cv_func_log10l_use=yes
55643 else
55644 glibcxx_cv_func_log10l_use=no
55646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55647 ac_ext=c
55648 ac_cpp='$CPP $CPPFLAGS'
55649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
55658 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
55660 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
55661 for ac_func in log10l
55662 do :
55663 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
55664 if test "x$ac_cv_func_log10l" = x""yes; then :
55665 cat >>confdefs.h <<_ACEOF
55666 #define HAVE_LOG10L 1
55667 _ACEOF
55670 done
55672 else
55674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
55675 $as_echo_n "checking for _log10l declaration... " >&6; }
55676 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
55677 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
55678 $as_echo_n "(cached) " >&6
55679 else
55682 ac_ext=cpp
55683 ac_cpp='$CXXCPP $CPPFLAGS'
55684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55689 /* end confdefs.h. */
55690 #include <math.h>
55691 #ifdef HAVE_IEEEFP_H
55692 #include <ieeefp.h>
55693 #endif
55696 main ()
55698 _log10l(0);
55700 return 0;
55702 _ACEOF
55703 if ac_fn_cxx_try_compile "$LINENO"; then :
55704 glibcxx_cv_func__log10l_use=yes
55705 else
55706 glibcxx_cv_func__log10l_use=no
55708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55709 ac_ext=c
55710 ac_cpp='$CPP $CPPFLAGS'
55711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
55720 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
55722 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
55723 for ac_func in _log10l
55724 do :
55725 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
55726 if test "x$ac_cv_func__log10l" = x""yes; then :
55727 cat >>confdefs.h <<_ACEOF
55728 #define HAVE__LOG10L 1
55729 _ACEOF
55732 done
55741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
55742 $as_echo_n "checking for modfl declaration... " >&6; }
55743 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
55744 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
55745 $as_echo_n "(cached) " >&6
55746 else
55749 ac_ext=cpp
55750 ac_cpp='$CXXCPP $CPPFLAGS'
55751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55756 /* end confdefs.h. */
55757 #include <math.h>
55759 main ()
55761 modfl(0, 0);
55763 return 0;
55765 _ACEOF
55766 if ac_fn_cxx_try_compile "$LINENO"; then :
55767 glibcxx_cv_func_modfl_use=yes
55768 else
55769 glibcxx_cv_func_modfl_use=no
55771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55772 ac_ext=c
55773 ac_cpp='$CPP $CPPFLAGS'
55774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
55783 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
55785 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
55786 for ac_func in modfl
55787 do :
55788 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
55789 if test "x$ac_cv_func_modfl" = x""yes; then :
55790 cat >>confdefs.h <<_ACEOF
55791 #define HAVE_MODFL 1
55792 _ACEOF
55795 done
55797 else
55799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
55800 $as_echo_n "checking for _modfl declaration... " >&6; }
55801 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
55802 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
55803 $as_echo_n "(cached) " >&6
55804 else
55807 ac_ext=cpp
55808 ac_cpp='$CXXCPP $CPPFLAGS'
55809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55814 /* end confdefs.h. */
55815 #include <math.h>
55817 main ()
55819 _modfl(0, 0);
55821 return 0;
55823 _ACEOF
55824 if ac_fn_cxx_try_compile "$LINENO"; then :
55825 glibcxx_cv_func__modfl_use=yes
55826 else
55827 glibcxx_cv_func__modfl_use=no
55829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55830 ac_ext=c
55831 ac_cpp='$CPP $CPPFLAGS'
55832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
55841 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
55843 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
55844 for ac_func in _modfl
55845 do :
55846 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
55847 if test "x$ac_cv_func__modfl" = x""yes; then :
55848 cat >>confdefs.h <<_ACEOF
55849 #define HAVE__MODFL 1
55850 _ACEOF
55853 done
55862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
55863 $as_echo_n "checking for powl declaration... " >&6; }
55864 if test x${glibcxx_cv_func_powl_use+set} != xset; then
55865 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
55866 $as_echo_n "(cached) " >&6
55867 else
55870 ac_ext=cpp
55871 ac_cpp='$CXXCPP $CPPFLAGS'
55872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55877 /* end confdefs.h. */
55878 #include <math.h>
55880 main ()
55882 powl(0, 0);
55884 return 0;
55886 _ACEOF
55887 if ac_fn_cxx_try_compile "$LINENO"; then :
55888 glibcxx_cv_func_powl_use=yes
55889 else
55890 glibcxx_cv_func_powl_use=no
55892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55893 ac_ext=c
55894 ac_cpp='$CPP $CPPFLAGS'
55895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
55904 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
55906 if test x$glibcxx_cv_func_powl_use = x"yes"; then
55907 for ac_func in powl
55908 do :
55909 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
55910 if test "x$ac_cv_func_powl" = x""yes; then :
55911 cat >>confdefs.h <<_ACEOF
55912 #define HAVE_POWL 1
55913 _ACEOF
55916 done
55918 else
55920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
55921 $as_echo_n "checking for _powl declaration... " >&6; }
55922 if test x${glibcxx_cv_func__powl_use+set} != xset; then
55923 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
55924 $as_echo_n "(cached) " >&6
55925 else
55928 ac_ext=cpp
55929 ac_cpp='$CXXCPP $CPPFLAGS'
55930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55935 /* end confdefs.h. */
55936 #include <math.h>
55938 main ()
55940 _powl(0, 0);
55942 return 0;
55944 _ACEOF
55945 if ac_fn_cxx_try_compile "$LINENO"; then :
55946 glibcxx_cv_func__powl_use=yes
55947 else
55948 glibcxx_cv_func__powl_use=no
55950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55951 ac_ext=c
55952 ac_cpp='$CPP $CPPFLAGS'
55953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
55962 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
55964 if test x$glibcxx_cv_func__powl_use = x"yes"; then
55965 for ac_func in _powl
55966 do :
55967 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
55968 if test "x$ac_cv_func__powl" = x""yes; then :
55969 cat >>confdefs.h <<_ACEOF
55970 #define HAVE__POWL 1
55971 _ACEOF
55974 done
55983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
55984 $as_echo_n "checking for sqrtl declaration... " >&6; }
55985 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
55986 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
55987 $as_echo_n "(cached) " >&6
55988 else
55991 ac_ext=cpp
55992 ac_cpp='$CXXCPP $CPPFLAGS'
55993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55998 /* end confdefs.h. */
55999 #include <math.h>
56000 #ifdef HAVE_IEEEFP_H
56001 #include <ieeefp.h>
56002 #endif
56005 main ()
56007 sqrtl(0);
56009 return 0;
56011 _ACEOF
56012 if ac_fn_cxx_try_compile "$LINENO"; then :
56013 glibcxx_cv_func_sqrtl_use=yes
56014 else
56015 glibcxx_cv_func_sqrtl_use=no
56017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56018 ac_ext=c
56019 ac_cpp='$CPP $CPPFLAGS'
56020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
56029 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
56031 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
56032 for ac_func in sqrtl
56033 do :
56034 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
56035 if test "x$ac_cv_func_sqrtl" = x""yes; then :
56036 cat >>confdefs.h <<_ACEOF
56037 #define HAVE_SQRTL 1
56038 _ACEOF
56041 done
56043 else
56045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
56046 $as_echo_n "checking for _sqrtl declaration... " >&6; }
56047 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
56048 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
56049 $as_echo_n "(cached) " >&6
56050 else
56053 ac_ext=cpp
56054 ac_cpp='$CXXCPP $CPPFLAGS'
56055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56060 /* end confdefs.h. */
56061 #include <math.h>
56062 #ifdef HAVE_IEEEFP_H
56063 #include <ieeefp.h>
56064 #endif
56067 main ()
56069 _sqrtl(0);
56071 return 0;
56073 _ACEOF
56074 if ac_fn_cxx_try_compile "$LINENO"; then :
56075 glibcxx_cv_func__sqrtl_use=yes
56076 else
56077 glibcxx_cv_func__sqrtl_use=no
56079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56080 ac_ext=c
56081 ac_cpp='$CPP $CPPFLAGS'
56082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
56091 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
56093 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
56094 for ac_func in _sqrtl
56095 do :
56096 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
56097 if test "x$ac_cv_func__sqrtl" = x""yes; then :
56098 cat >>confdefs.h <<_ACEOF
56099 #define HAVE__SQRTL 1
56100 _ACEOF
56103 done
56112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
56113 $as_echo_n "checking for sincosl declaration... " >&6; }
56114 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
56115 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
56116 $as_echo_n "(cached) " >&6
56117 else
56120 ac_ext=cpp
56121 ac_cpp='$CXXCPP $CPPFLAGS'
56122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56127 /* end confdefs.h. */
56128 #include <math.h>
56130 main ()
56132 sincosl(0, 0, 0);
56134 return 0;
56136 _ACEOF
56137 if ac_fn_cxx_try_compile "$LINENO"; then :
56138 glibcxx_cv_func_sincosl_use=yes
56139 else
56140 glibcxx_cv_func_sincosl_use=no
56142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56143 ac_ext=c
56144 ac_cpp='$CPP $CPPFLAGS'
56145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
56154 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
56156 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
56157 for ac_func in sincosl
56158 do :
56159 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
56160 if test "x$ac_cv_func_sincosl" = x""yes; then :
56161 cat >>confdefs.h <<_ACEOF
56162 #define HAVE_SINCOSL 1
56163 _ACEOF
56166 done
56168 else
56170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
56171 $as_echo_n "checking for _sincosl declaration... " >&6; }
56172 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
56173 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
56174 $as_echo_n "(cached) " >&6
56175 else
56178 ac_ext=cpp
56179 ac_cpp='$CXXCPP $CPPFLAGS'
56180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56185 /* end confdefs.h. */
56186 #include <math.h>
56188 main ()
56190 _sincosl(0, 0, 0);
56192 return 0;
56194 _ACEOF
56195 if ac_fn_cxx_try_compile "$LINENO"; then :
56196 glibcxx_cv_func__sincosl_use=yes
56197 else
56198 glibcxx_cv_func__sincosl_use=no
56200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56201 ac_ext=c
56202 ac_cpp='$CPP $CPPFLAGS'
56203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
56212 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
56214 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
56215 for ac_func in _sincosl
56216 do :
56217 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
56218 if test "x$ac_cv_func__sincosl" = x""yes; then :
56219 cat >>confdefs.h <<_ACEOF
56220 #define HAVE__SINCOSL 1
56221 _ACEOF
56224 done
56233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
56234 $as_echo_n "checking for finitel declaration... " >&6; }
56235 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
56236 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
56237 $as_echo_n "(cached) " >&6
56238 else
56241 ac_ext=cpp
56242 ac_cpp='$CXXCPP $CPPFLAGS'
56243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56248 /* end confdefs.h. */
56249 #include <math.h>
56250 #ifdef HAVE_IEEEFP_H
56251 #include <ieeefp.h>
56252 #endif
56255 main ()
56257 finitel(0);
56259 return 0;
56261 _ACEOF
56262 if ac_fn_cxx_try_compile "$LINENO"; then :
56263 glibcxx_cv_func_finitel_use=yes
56264 else
56265 glibcxx_cv_func_finitel_use=no
56267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56268 ac_ext=c
56269 ac_cpp='$CPP $CPPFLAGS'
56270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
56279 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
56281 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
56282 for ac_func in finitel
56283 do :
56284 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
56285 if test "x$ac_cv_func_finitel" = x""yes; then :
56286 cat >>confdefs.h <<_ACEOF
56287 #define HAVE_FINITEL 1
56288 _ACEOF
56291 done
56293 else
56295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
56296 $as_echo_n "checking for _finitel declaration... " >&6; }
56297 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
56298 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
56299 $as_echo_n "(cached) " >&6
56300 else
56303 ac_ext=cpp
56304 ac_cpp='$CXXCPP $CPPFLAGS'
56305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56310 /* end confdefs.h. */
56311 #include <math.h>
56312 #ifdef HAVE_IEEEFP_H
56313 #include <ieeefp.h>
56314 #endif
56317 main ()
56319 _finitel(0);
56321 return 0;
56323 _ACEOF
56324 if ac_fn_cxx_try_compile "$LINENO"; then :
56325 glibcxx_cv_func__finitel_use=yes
56326 else
56327 glibcxx_cv_func__finitel_use=no
56329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56330 ac_ext=c
56331 ac_cpp='$CPP $CPPFLAGS'
56332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
56341 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
56343 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
56344 for ac_func in _finitel
56345 do :
56346 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
56347 if test "x$ac_cv_func__finitel" = x""yes; then :
56348 cat >>confdefs.h <<_ACEOF
56349 #define HAVE__FINITEL 1
56350 _ACEOF
56353 done
56361 LIBS="$ac_save_LIBS"
56362 CXXFLAGS="$ac_save_CXXFLAGS"
56365 ac_test_CXXFLAGS="${CXXFLAGS+set}"
56366 ac_save_CXXFLAGS="$CXXFLAGS"
56367 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
56370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
56371 $as_echo_n "checking for strtold declaration... " >&6; }
56372 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
56373 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
56374 $as_echo_n "(cached) " >&6
56375 else
56378 ac_ext=cpp
56379 ac_cpp='$CXXCPP $CPPFLAGS'
56380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56385 /* end confdefs.h. */
56386 #include <stdlib.h>
56388 main ()
56390 strtold(0, 0);
56392 return 0;
56394 _ACEOF
56395 if ac_fn_cxx_try_compile "$LINENO"; then :
56396 glibcxx_cv_func_strtold_use=yes
56397 else
56398 glibcxx_cv_func_strtold_use=no
56400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56401 ac_ext=c
56402 ac_cpp='$CPP $CPPFLAGS'
56403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
56412 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
56413 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
56414 for ac_func in strtold
56415 do :
56416 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
56417 if test "x$ac_cv_func_strtold" = x""yes; then :
56418 cat >>confdefs.h <<_ACEOF
56419 #define HAVE_STRTOLD 1
56420 _ACEOF
56423 done
56430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
56431 $as_echo_n "checking for strtof declaration... " >&6; }
56432 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
56433 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
56434 $as_echo_n "(cached) " >&6
56435 else
56438 ac_ext=cpp
56439 ac_cpp='$CXXCPP $CPPFLAGS'
56440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56445 /* end confdefs.h. */
56446 #include <stdlib.h>
56448 main ()
56450 strtof(0, 0);
56452 return 0;
56454 _ACEOF
56455 if ac_fn_cxx_try_compile "$LINENO"; then :
56456 glibcxx_cv_func_strtof_use=yes
56457 else
56458 glibcxx_cv_func_strtof_use=no
56460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56461 ac_ext=c
56462 ac_cpp='$CPP $CPPFLAGS'
56463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
56472 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
56473 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
56474 for ac_func in strtof
56475 do :
56476 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
56477 if test "x$ac_cv_func_strtof" = x""yes; then :
56478 cat >>confdefs.h <<_ACEOF
56479 #define HAVE_STRTOF 1
56480 _ACEOF
56483 done
56490 CXXFLAGS="$ac_save_CXXFLAGS"
56493 *-netbsd*)
56494 SECTION_FLAGS='-ffunction-sections -fdata-sections'
56497 # If we're not using GNU ld, then there's no point in even trying these
56498 # tests. Check for that first. We should have already tested for gld
56499 # by now (in libtool), but require it now just to be safe...
56500 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56501 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56505 # The name set by libtool depends on the version of libtool. Shame on us
56506 # for depending on an impl detail, but c'est la vie. Older versions used
56507 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56508 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56509 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
56510 # set (hence we're using an older libtool), then set it.
56511 if test x${with_gnu_ld+set} != xset; then
56512 if test x${ac_cv_prog_gnu_ld+set} != xset; then
56513 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
56514 with_gnu_ld=no
56515 else
56516 with_gnu_ld=$ac_cv_prog_gnu_ld
56520 # Start by getting the version number. I think the libtool test already
56521 # does some of this, but throws away the result.
56522 glibcxx_ld_is_gold=no
56523 if test x"$with_gnu_ld" = x"yes"; then
56524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56525 $as_echo_n "checking for ld version... " >&6; }
56527 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56528 glibcxx_ld_is_gold=yes
56530 ldver=`$LD --version 2>/dev/null | head -1 | \
56531 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
56533 glibcxx_gnu_ld_version=`echo $ldver | \
56534 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56536 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56539 # Set --gc-sections.
56540 glibcxx_have_gc_sections=no
56541 if test "$glibcxx_ld_is_gold" = "yes"; then
56542 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56543 glibcxx_have_gc_sections=yes
56545 else
56546 glibcxx_gcsections_min_ld=21602
56547 if test x"$with_gnu_ld" = x"yes" &&
56548 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56549 glibcxx_have_gc_sections=yes
56552 if test "$glibcxx_have_gc_sections" = "yes"; then
56553 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
56554 # NB: This flag only works reliably after 2.16.1. Configure tests
56555 # for this are difficult, so hard wire a value that should work.
56557 ac_test_CFLAGS="${CFLAGS+set}"
56558 ac_save_CFLAGS="$CFLAGS"
56559 CFLAGS='-Wl,--gc-sections'
56561 # Check for -Wl,--gc-sections
56562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56563 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56564 if test x$gcc_no_link = xyes; then
56565 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56568 /* end confdefs.h. */
56569 int one(void) { return 1; }
56570 int two(void) { return 2; }
56573 main ()
56575 two();
56577 return 0;
56579 _ACEOF
56580 if ac_fn_c_try_link "$LINENO"; then :
56581 ac_gcsections=yes
56582 else
56583 ac_gcsections=no
56585 rm -f core conftest.err conftest.$ac_objext \
56586 conftest$ac_exeext conftest.$ac_ext
56587 if test "$ac_gcsections" = "yes"; then
56588 rm -f conftest.c
56589 touch conftest.c
56590 if $CC -c conftest.c; then
56591 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56592 grep "Warning: gc-sections option ignored" > /dev/null; then
56593 ac_gcsections=no
56596 rm -f conftest.c conftest.o conftest
56598 if test "$ac_gcsections" = "yes"; then
56599 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
56602 $as_echo "$ac_gcsections" >&6; }
56604 if test "$ac_test_CFLAGS" = set; then
56605 CFLAGS="$ac_save_CFLAGS"
56606 else
56607 # this is the suspicious part
56608 CFLAGS=''
56612 # Set -z,relro.
56613 # Note this is only for shared objects.
56614 ac_ld_relro=no
56615 if test x"$with_gnu_ld" = x"yes"; then
56616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
56617 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
56618 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
56619 if test -n "$cxx_z_relo"; then
56620 OPT_LDFLAGS="-Wl,-z,relro"
56621 ac_ld_relro=yes
56623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
56624 $as_echo "$ac_ld_relro" >&6; }
56627 # Set linker optimization flags.
56628 if test x"$with_gnu_ld" = x"yes"; then
56629 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
56635 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
56637 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
56639 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
56641 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
56643 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
56645 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
56647 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
56649 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
56651 if test x"long_double_math_on_this_cpu" = x"yes"; then
56652 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
56654 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
56656 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
56660 *-netware)
56661 SECTION_FLAGS='-ffunction-sections -fdata-sections'
56664 # If we're not using GNU ld, then there's no point in even trying these
56665 # tests. Check for that first. We should have already tested for gld
56666 # by now (in libtool), but require it now just to be safe...
56667 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56668 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56672 # The name set by libtool depends on the version of libtool. Shame on us
56673 # for depending on an impl detail, but c'est la vie. Older versions used
56674 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56675 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56676 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
56677 # set (hence we're using an older libtool), then set it.
56678 if test x${with_gnu_ld+set} != xset; then
56679 if test x${ac_cv_prog_gnu_ld+set} != xset; then
56680 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
56681 with_gnu_ld=no
56682 else
56683 with_gnu_ld=$ac_cv_prog_gnu_ld
56687 # Start by getting the version number. I think the libtool test already
56688 # does some of this, but throws away the result.
56689 glibcxx_ld_is_gold=no
56690 if test x"$with_gnu_ld" = x"yes"; then
56691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56692 $as_echo_n "checking for ld version... " >&6; }
56694 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56695 glibcxx_ld_is_gold=yes
56697 ldver=`$LD --version 2>/dev/null | head -1 | \
56698 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
56700 glibcxx_gnu_ld_version=`echo $ldver | \
56701 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56703 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56706 # Set --gc-sections.
56707 glibcxx_have_gc_sections=no
56708 if test "$glibcxx_ld_is_gold" = "yes"; then
56709 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56710 glibcxx_have_gc_sections=yes
56712 else
56713 glibcxx_gcsections_min_ld=21602
56714 if test x"$with_gnu_ld" = x"yes" &&
56715 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56716 glibcxx_have_gc_sections=yes
56719 if test "$glibcxx_have_gc_sections" = "yes"; then
56720 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
56721 # NB: This flag only works reliably after 2.16.1. Configure tests
56722 # for this are difficult, so hard wire a value that should work.
56724 ac_test_CFLAGS="${CFLAGS+set}"
56725 ac_save_CFLAGS="$CFLAGS"
56726 CFLAGS='-Wl,--gc-sections'
56728 # Check for -Wl,--gc-sections
56729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56730 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56731 if test x$gcc_no_link = xyes; then
56732 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56735 /* end confdefs.h. */
56736 int one(void) { return 1; }
56737 int two(void) { return 2; }
56740 main ()
56742 two();
56744 return 0;
56746 _ACEOF
56747 if ac_fn_c_try_link "$LINENO"; then :
56748 ac_gcsections=yes
56749 else
56750 ac_gcsections=no
56752 rm -f core conftest.err conftest.$ac_objext \
56753 conftest$ac_exeext conftest.$ac_ext
56754 if test "$ac_gcsections" = "yes"; then
56755 rm -f conftest.c
56756 touch conftest.c
56757 if $CC -c conftest.c; then
56758 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56759 grep "Warning: gc-sections option ignored" > /dev/null; then
56760 ac_gcsections=no
56763 rm -f conftest.c conftest.o conftest
56765 if test "$ac_gcsections" = "yes"; then
56766 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
56769 $as_echo "$ac_gcsections" >&6; }
56771 if test "$ac_test_CFLAGS" = set; then
56772 CFLAGS="$ac_save_CFLAGS"
56773 else
56774 # this is the suspicious part
56775 CFLAGS=''
56779 # Set -z,relro.
56780 # Note this is only for shared objects.
56781 ac_ld_relro=no
56782 if test x"$with_gnu_ld" = x"yes"; then
56783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
56784 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
56785 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
56786 if test -n "$cxx_z_relo"; then
56787 OPT_LDFLAGS="-Wl,-z,relro"
56788 ac_ld_relro=yes
56790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
56791 $as_echo "$ac_ld_relro" >&6; }
56794 # Set linker optimization flags.
56795 if test x"$with_gnu_ld" = x"yes"; then
56796 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
56802 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
56804 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
56806 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
56809 *-qnx6.1* | *-qnx6.2*)
56810 SECTION_FLAGS='-ffunction-sections -fdata-sections'
56813 # If we're not using GNU ld, then there's no point in even trying these
56814 # tests. Check for that first. We should have already tested for gld
56815 # by now (in libtool), but require it now just to be safe...
56816 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56817 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56821 # The name set by libtool depends on the version of libtool. Shame on us
56822 # for depending on an impl detail, but c'est la vie. Older versions used
56823 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56824 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56825 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
56826 # set (hence we're using an older libtool), then set it.
56827 if test x${with_gnu_ld+set} != xset; then
56828 if test x${ac_cv_prog_gnu_ld+set} != xset; then
56829 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
56830 with_gnu_ld=no
56831 else
56832 with_gnu_ld=$ac_cv_prog_gnu_ld
56836 # Start by getting the version number. I think the libtool test already
56837 # does some of this, but throws away the result.
56838 glibcxx_ld_is_gold=no
56839 if test x"$with_gnu_ld" = x"yes"; then
56840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56841 $as_echo_n "checking for ld version... " >&6; }
56843 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56844 glibcxx_ld_is_gold=yes
56846 ldver=`$LD --version 2>/dev/null | head -1 | \
56847 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
56849 glibcxx_gnu_ld_version=`echo $ldver | \
56850 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56852 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56855 # Set --gc-sections.
56856 glibcxx_have_gc_sections=no
56857 if test "$glibcxx_ld_is_gold" = "yes"; then
56858 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56859 glibcxx_have_gc_sections=yes
56861 else
56862 glibcxx_gcsections_min_ld=21602
56863 if test x"$with_gnu_ld" = x"yes" &&
56864 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56865 glibcxx_have_gc_sections=yes
56868 if test "$glibcxx_have_gc_sections" = "yes"; then
56869 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
56870 # NB: This flag only works reliably after 2.16.1. Configure tests
56871 # for this are difficult, so hard wire a value that should work.
56873 ac_test_CFLAGS="${CFLAGS+set}"
56874 ac_save_CFLAGS="$CFLAGS"
56875 CFLAGS='-Wl,--gc-sections'
56877 # Check for -Wl,--gc-sections
56878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56879 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56880 if test x$gcc_no_link = xyes; then
56881 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56884 /* end confdefs.h. */
56885 int one(void) { return 1; }
56886 int two(void) { return 2; }
56889 main ()
56891 two();
56893 return 0;
56895 _ACEOF
56896 if ac_fn_c_try_link "$LINENO"; then :
56897 ac_gcsections=yes
56898 else
56899 ac_gcsections=no
56901 rm -f core conftest.err conftest.$ac_objext \
56902 conftest$ac_exeext conftest.$ac_ext
56903 if test "$ac_gcsections" = "yes"; then
56904 rm -f conftest.c
56905 touch conftest.c
56906 if $CC -c conftest.c; then
56907 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56908 grep "Warning: gc-sections option ignored" > /dev/null; then
56909 ac_gcsections=no
56912 rm -f conftest.c conftest.o conftest
56914 if test "$ac_gcsections" = "yes"; then
56915 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
56918 $as_echo "$ac_gcsections" >&6; }
56920 if test "$ac_test_CFLAGS" = set; then
56921 CFLAGS="$ac_save_CFLAGS"
56922 else
56923 # this is the suspicious part
56924 CFLAGS=''
56928 # Set -z,relro.
56929 # Note this is only for shared objects.
56930 ac_ld_relro=no
56931 if test x"$with_gnu_ld" = x"yes"; then
56932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
56933 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
56934 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
56935 if test -n "$cxx_z_relo"; then
56936 OPT_LDFLAGS="-Wl,-z,relro"
56937 ac_ld_relro=yes
56939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
56940 $as_echo "$ac_ld_relro" >&6; }
56943 # Set linker optimization flags.
56944 if test x"$with_gnu_ld" = x"yes"; then
56945 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
56951 $as_echo "#define HAVE_COSF 1" >>confdefs.h
56953 $as_echo "#define HAVE_COSL 1" >>confdefs.h
56955 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
56957 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
56959 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
56961 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
56963 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
56965 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
56967 $as_echo "#define HAVE_SINF 1" >>confdefs.h
56969 $as_echo "#define HAVE_SINL 1" >>confdefs.h
56971 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
56973 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
56976 *-solaris*)
56977 case "$target" in
56978 *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
56980 # If we're not using GNU ld, then there's no point in even trying these
56981 # tests. Check for that first. We should have already tested for gld
56982 # by now (in libtool), but require it now just to be safe...
56983 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56984 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56988 # The name set by libtool depends on the version of libtool. Shame on us
56989 # for depending on an impl detail, but c'est la vie. Older versions used
56990 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56991 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56992 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
56993 # set (hence we're using an older libtool), then set it.
56994 if test x${with_gnu_ld+set} != xset; then
56995 if test x${ac_cv_prog_gnu_ld+set} != xset; then
56996 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
56997 with_gnu_ld=no
56998 else
56999 with_gnu_ld=$ac_cv_prog_gnu_ld
57003 # Start by getting the version number. I think the libtool test already
57004 # does some of this, but throws away the result.
57005 glibcxx_ld_is_gold=no
57006 if test x"$with_gnu_ld" = x"yes"; then
57007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57008 $as_echo_n "checking for ld version... " >&6; }
57010 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57011 glibcxx_ld_is_gold=yes
57013 ldver=`$LD --version 2>/dev/null | head -1 | \
57014 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
57016 glibcxx_gnu_ld_version=`echo $ldver | \
57017 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57019 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57022 # Set --gc-sections.
57023 glibcxx_have_gc_sections=no
57024 if test "$glibcxx_ld_is_gold" = "yes"; then
57025 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57026 glibcxx_have_gc_sections=yes
57028 else
57029 glibcxx_gcsections_min_ld=21602
57030 if test x"$with_gnu_ld" = x"yes" &&
57031 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57032 glibcxx_have_gc_sections=yes
57035 if test "$glibcxx_have_gc_sections" = "yes"; then
57036 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57037 # NB: This flag only works reliably after 2.16.1. Configure tests
57038 # for this are difficult, so hard wire a value that should work.
57040 ac_test_CFLAGS="${CFLAGS+set}"
57041 ac_save_CFLAGS="$CFLAGS"
57042 CFLAGS='-Wl,--gc-sections'
57044 # Check for -Wl,--gc-sections
57045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57046 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57047 if test x$gcc_no_link = xyes; then
57048 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57051 /* end confdefs.h. */
57052 int one(void) { return 1; }
57053 int two(void) { return 2; }
57056 main ()
57058 two();
57060 return 0;
57062 _ACEOF
57063 if ac_fn_c_try_link "$LINENO"; then :
57064 ac_gcsections=yes
57065 else
57066 ac_gcsections=no
57068 rm -f core conftest.err conftest.$ac_objext \
57069 conftest$ac_exeext conftest.$ac_ext
57070 if test "$ac_gcsections" = "yes"; then
57071 rm -f conftest.c
57072 touch conftest.c
57073 if $CC -c conftest.c; then
57074 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57075 grep "Warning: gc-sections option ignored" > /dev/null; then
57076 ac_gcsections=no
57079 rm -f conftest.c conftest.o conftest
57081 if test "$ac_gcsections" = "yes"; then
57082 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57085 $as_echo "$ac_gcsections" >&6; }
57087 if test "$ac_test_CFLAGS" = set; then
57088 CFLAGS="$ac_save_CFLAGS"
57089 else
57090 # this is the suspicious part
57091 CFLAGS=''
57095 # Set -z,relro.
57096 # Note this is only for shared objects.
57097 ac_ld_relro=no
57098 if test x"$with_gnu_ld" = x"yes"; then
57099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57100 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57101 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57102 if test -n "$cxx_z_relo"; then
57103 OPT_LDFLAGS="-Wl,-z,relro"
57104 ac_ld_relro=yes
57106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57107 $as_echo "$ac_ld_relro" >&6; }
57110 # Set linker optimization flags.
57111 if test x"$with_gnu_ld" = x"yes"; then
57112 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57118 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
57120 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57122 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
57124 # All of the dependencies for wide character support are here, so
57125 # turn it on.
57126 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
57129 esac
57130 case "$target" in
57131 *-*-solaris2.10)
57132 # These two C99 functions are present only in Solaris >= 10
57133 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
57135 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
57138 esac
57139 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57141 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57143 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
57145 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
57148 *-tpf)
57149 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57152 # If we're not using GNU ld, then there's no point in even trying these
57153 # tests. Check for that first. We should have already tested for gld
57154 # by now (in libtool), but require it now just to be safe...
57155 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57156 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57160 # The name set by libtool depends on the version of libtool. Shame on us
57161 # for depending on an impl detail, but c'est la vie. Older versions used
57162 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57163 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57164 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57165 # set (hence we're using an older libtool), then set it.
57166 if test x${with_gnu_ld+set} != xset; then
57167 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57168 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57169 with_gnu_ld=no
57170 else
57171 with_gnu_ld=$ac_cv_prog_gnu_ld
57175 # Start by getting the version number. I think the libtool test already
57176 # does some of this, but throws away the result.
57177 glibcxx_ld_is_gold=no
57178 if test x"$with_gnu_ld" = x"yes"; then
57179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57180 $as_echo_n "checking for ld version... " >&6; }
57182 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57183 glibcxx_ld_is_gold=yes
57185 ldver=`$LD --version 2>/dev/null | head -1 | \
57186 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
57188 glibcxx_gnu_ld_version=`echo $ldver | \
57189 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57191 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57194 # Set --gc-sections.
57195 glibcxx_have_gc_sections=no
57196 if test "$glibcxx_ld_is_gold" = "yes"; then
57197 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57198 glibcxx_have_gc_sections=yes
57200 else
57201 glibcxx_gcsections_min_ld=21602
57202 if test x"$with_gnu_ld" = x"yes" &&
57203 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57204 glibcxx_have_gc_sections=yes
57207 if test "$glibcxx_have_gc_sections" = "yes"; then
57208 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57209 # NB: This flag only works reliably after 2.16.1. Configure tests
57210 # for this are difficult, so hard wire a value that should work.
57212 ac_test_CFLAGS="${CFLAGS+set}"
57213 ac_save_CFLAGS="$CFLAGS"
57214 CFLAGS='-Wl,--gc-sections'
57216 # Check for -Wl,--gc-sections
57217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57218 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57219 if test x$gcc_no_link = xyes; then
57220 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57223 /* end confdefs.h. */
57224 int one(void) { return 1; }
57225 int two(void) { return 2; }
57228 main ()
57230 two();
57232 return 0;
57234 _ACEOF
57235 if ac_fn_c_try_link "$LINENO"; then :
57236 ac_gcsections=yes
57237 else
57238 ac_gcsections=no
57240 rm -f core conftest.err conftest.$ac_objext \
57241 conftest$ac_exeext conftest.$ac_ext
57242 if test "$ac_gcsections" = "yes"; then
57243 rm -f conftest.c
57244 touch conftest.c
57245 if $CC -c conftest.c; then
57246 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57247 grep "Warning: gc-sections option ignored" > /dev/null; then
57248 ac_gcsections=no
57251 rm -f conftest.c conftest.o conftest
57253 if test "$ac_gcsections" = "yes"; then
57254 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57257 $as_echo "$ac_gcsections" >&6; }
57259 if test "$ac_test_CFLAGS" = set; then
57260 CFLAGS="$ac_save_CFLAGS"
57261 else
57262 # this is the suspicious part
57263 CFLAGS=''
57267 # Set -z,relro.
57268 # Note this is only for shared objects.
57269 ac_ld_relro=no
57270 if test x"$with_gnu_ld" = x"yes"; then
57271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57272 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57273 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57274 if test -n "$cxx_z_relo"; then
57275 OPT_LDFLAGS="-Wl,-z,relro"
57276 ac_ld_relro=yes
57278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57279 $as_echo "$ac_ld_relro" >&6; }
57282 # Set linker optimization flags.
57283 if test x"$with_gnu_ld" = x"yes"; then
57284 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57290 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57292 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
57294 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
57296 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
57298 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
57300 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
57302 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57304 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57306 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
57308 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
57310 if test x"long_double_math_on_this_cpu" = x"yes"; then
57311 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
57313 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
57315 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
57317 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
57321 *-vxworks)
57322 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
57324 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
57326 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
57328 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
57330 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
57332 $as_echo "#define HAVE_COSF 1" >>confdefs.h
57334 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57336 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
57338 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
57340 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
57342 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
57344 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
57346 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57348 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57350 $as_echo "#define HAVE_POWF 1" >>confdefs.h
57352 $as_echo "#define HAVE_SINF 1" >>confdefs.h
57354 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57356 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
57358 $as_echo "#define HAVE_TANF 1" >>confdefs.h
57360 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
57364 as_fn_error "No support for this host/target combination." "$LINENO" 5
57366 esac
57370 # At some point, we should differentiate between architectures
57371 # like x86, which have long double versions, and alpha/powerpc/etc.,
57372 # which don't. For the time being, punt.
57373 if test x"long_double_math_on_this_cpu" = x"yes"; then
57374 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
57376 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
57378 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
57380 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
57382 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
57384 $as_echo "#define HAVE_COSL 1" >>confdefs.h
57386 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57388 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
57390 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
57392 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
57394 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
57396 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
57398 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
57400 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57402 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57404 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
57406 $as_echo "#define HAVE_POWL 1" >>confdefs.h
57408 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
57410 $as_echo "#define HAVE_SINL 1" >>confdefs.h
57412 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57414 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
57416 $as_echo "#define HAVE_TANL 1" >>confdefs.h
57418 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
57423 # Check for _Unwind_GetIPInfo.
57426 # Check whether --with-system-libunwind was given.
57427 if test "${with_system_libunwind+set}" = set; then :
57428 withval=$with_system_libunwind;
57431 # If system-libunwind was not specifically set, pick a default setting.
57432 if test x$with_system_libunwind = x; then
57433 case ${target} in
57434 ia64-*-hpux*) with_system_libunwind=yes ;;
57435 *) with_system_libunwind=no ;;
57436 esac
57438 # Based on system-libunwind and target, do we have ipinfo?
57439 if test x$with_system_libunwind = xyes; then
57440 case ${target} in
57441 ia64-*-*) have_unwind_getipinfo=no ;;
57442 *) have_unwind_getipinfo=yes ;;
57443 esac
57444 else
57445 # Darwin before version 9 does not have _Unwind_GetIPInfo.
57447 case ${target} in
57448 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
57449 *) have_unwind_getipinfo=yes ;;
57450 esac
57454 if test x$have_unwind_getipinfo = xyes; then
57456 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
57462 # Check whether --enable-linux-futex was given.
57463 if test "${enable_linux_futex+set}" = set; then :
57464 enableval=$enable_linux_futex;
57465 case "$enableval" in
57466 yes|no|default) ;;
57467 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
57468 esac
57470 else
57471 enable_linux_futex=default
57475 case "$target" in
57476 *-linux*)
57477 case "$enable_linux_futex" in
57478 default)
57479 # If headers don't have gettid/futex syscalls definition, then
57480 # default to no, otherwise there will be compile time failures.
57481 # Otherwise, default to yes. If we don't detect we are
57482 # compiled/linked against NPTL and not cross-compiling, check
57483 # if programs are run by default against NPTL and if not, issue
57484 # a warning.
57485 enable_linux_futex=no
57486 if test x$gcc_no_link = xyes; then
57487 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57490 /* end confdefs.h. */
57491 #include <sys/syscall.h>
57492 int lk;
57494 main ()
57496 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
57498 return 0;
57500 _ACEOF
57501 if ac_fn_c_try_link "$LINENO"; then :
57502 save_LIBS="$LIBS"
57503 LIBS="-lpthread $LIBS"
57504 if test x$gcc_no_link = xyes; then
57505 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57508 /* end confdefs.h. */
57509 #ifndef _GNU_SOURCE
57510 #define _GNU_SOURCE 1
57511 #endif
57512 #include <pthread.h>
57513 pthread_t th; void *status;
57515 main ()
57517 pthread_tryjoin_np (th, &status);
57519 return 0;
57521 _ACEOF
57522 if ac_fn_c_try_link "$LINENO"; then :
57523 enable_linux_futex=yes
57524 else
57525 if test x$cross_compiling = xno; then
57526 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
57527 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
57528 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
57529 If so, please configure with --disable-linux-futex" >&5
57530 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
57531 If so, please configure with --disable-linux-futex" >&2;}
57534 enable_linux_futex=yes
57536 rm -f core conftest.err conftest.$ac_objext \
57537 conftest$ac_exeext conftest.$ac_ext
57538 LIBS="$save_LIBS"
57540 rm -f core conftest.err conftest.$ac_objext \
57541 conftest$ac_exeext conftest.$ac_ext
57543 yes)
57544 if test x$gcc_no_link = xyes; then
57545 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57548 /* end confdefs.h. */
57549 #include <sys/syscall.h>
57550 int lk;
57552 main ()
57554 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
57556 return 0;
57558 _ACEOF
57559 if ac_fn_c_try_link "$LINENO"; then :
57561 else
57562 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
57564 rm -f core conftest.err conftest.$ac_objext \
57565 conftest$ac_exeext conftest.$ac_ext
57567 esac
57570 enable_linux_futex=no
57572 esac
57573 if test x$enable_linux_futex = xyes; then
57575 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
57582 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
57584 acx_cv_header_stdint=stddef.h
57585 acx_cv_header_stdint_kind="(already complete)"
57586 for i in stdint.h $inttype_headers; do
57587 unset ac_cv_type_uintptr_t
57588 unset ac_cv_type_uintmax_t
57589 unset ac_cv_type_int_least32_t
57590 unset ac_cv_type_int_fast32_t
57591 unset ac_cv_type_uint64_t
57592 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
57593 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
57594 #include <$i>
57596 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
57597 acx_cv_header_stdint=$i
57598 else
57599 continue
57602 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
57603 #include <$i>
57605 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
57607 else
57608 acx_cv_header_stdint_kind="(mostly complete)"
57611 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
57612 #include <$i>
57614 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
57616 else
57617 acx_cv_header_stdint_kind="(mostly complete)"
57620 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
57621 #include <$i>
57623 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
57625 else
57626 acx_cv_header_stdint_kind="(mostly complete)"
57629 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
57630 #include <$i>
57632 if test "x$ac_cv_type_uint64_t" = x""yes; then :
57634 else
57635 acx_cv_header_stdint_kind="(lacks uint64_t)"
57638 break
57639 done
57640 if test "$acx_cv_header_stdint" = stddef.h; then
57641 acx_cv_header_stdint_kind="(lacks uintmax_t)"
57642 for i in stdint.h $inttype_headers; do
57643 unset ac_cv_type_uintptr_t
57644 unset ac_cv_type_uint32_t
57645 unset ac_cv_type_uint64_t
57646 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
57647 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
57648 #include <$i>
57650 if test "x$ac_cv_type_uint32_t" = x""yes; then :
57651 acx_cv_header_stdint=$i
57652 else
57653 continue
57656 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
57657 #include <$i>
57659 if test "x$ac_cv_type_uint64_t" = x""yes; then :
57663 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
57664 #include <$i>
57666 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
57670 break
57671 done
57673 if test "$acx_cv_header_stdint" = stddef.h; then
57674 acx_cv_header_stdint_kind="(u_intXX_t style)"
57675 for i in sys/types.h $inttype_headers; do
57676 unset ac_cv_type_u_int32_t
57677 unset ac_cv_type_u_int64_t
57678 $as_echo_n "looking for u_intXX_t types in $i, " >&6
57679 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
57680 #include <$i>
57682 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
57683 acx_cv_header_stdint=$i
57684 else
57685 continue
57688 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
57689 #include <$i>
57691 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
57695 break
57696 done
57698 if test "$acx_cv_header_stdint" = stddef.h; then
57699 acx_cv_header_stdint_kind="(using manual detection)"
57702 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
57703 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
57704 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
57705 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
57706 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
57708 # ----------------- Summarize what we found so far
57710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
57711 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
57713 case `$as_basename -- include/gstdint.h ||
57714 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
57715 Xinclude/gstdint.h : 'X\(//\)$' \| \
57716 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
57717 $as_echo X/include/gstdint.h |
57718 sed '/^.*\/\([^/][^/]*\)\/*$/{
57719 s//\1/
57722 /^X\/\(\/\/\)$/{
57723 s//\1/
57726 /^X\/\(\/\).*/{
57727 s//\1/
57730 s/.*/./; q'` in
57731 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
57732 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
57733 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
57734 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
57735 *) ;;
57736 esac
57738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
57739 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
57741 # ----------------- done included file, check C basic types --------
57743 # Lacking an uintptr_t? Test size of void *
57744 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
57745 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
57746 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57747 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57748 # This bug is HP SR number 8606223364.
57749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
57750 $as_echo_n "checking size of void *... " >&6; }
57751 if test "${ac_cv_sizeof_void_p+set}" = set; then :
57752 $as_echo_n "(cached) " >&6
57753 else
57754 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
57756 else
57757 if test "$ac_cv_type_void_p" = yes; then
57758 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57759 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57760 { as_fn_set_status 77
57761 as_fn_error "cannot compute sizeof (void *)
57762 See \`config.log' for more details." "$LINENO" 5; }; }
57763 else
57764 ac_cv_sizeof_void_p=0
57769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
57770 $as_echo "$ac_cv_sizeof_void_p" >&6; }
57774 cat >>confdefs.h <<_ACEOF
57775 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
57776 _ACEOF
57779 esac
57781 # Lacking an uint64_t? Test size of long
57782 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
57783 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
57784 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57785 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57786 # This bug is HP SR number 8606223364.
57787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
57788 $as_echo_n "checking size of long... " >&6; }
57789 if test "${ac_cv_sizeof_long+set}" = set; then :
57790 $as_echo_n "(cached) " >&6
57791 else
57792 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
57794 else
57795 if test "$ac_cv_type_long" = yes; then
57796 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57797 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57798 { as_fn_set_status 77
57799 as_fn_error "cannot compute sizeof (long)
57800 See \`config.log' for more details." "$LINENO" 5; }; }
57801 else
57802 ac_cv_sizeof_long=0
57807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
57808 $as_echo "$ac_cv_sizeof_long" >&6; }
57812 cat >>confdefs.h <<_ACEOF
57813 #define SIZEOF_LONG $ac_cv_sizeof_long
57814 _ACEOF
57817 esac
57819 if test $acx_cv_header_stdint = stddef.h; then
57820 # Lacking a good header? Test size of everything and deduce all types.
57821 # The cast to long int works around a bug in the HP C Compiler
57822 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57823 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57824 # This bug is HP SR number 8606223364.
57825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
57826 $as_echo_n "checking size of int... " >&6; }
57827 if test "${ac_cv_sizeof_int+set}" = set; then :
57828 $as_echo_n "(cached) " >&6
57829 else
57830 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
57832 else
57833 if test "$ac_cv_type_int" = yes; then
57834 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57835 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57836 { as_fn_set_status 77
57837 as_fn_error "cannot compute sizeof (int)
57838 See \`config.log' for more details." "$LINENO" 5; }; }
57839 else
57840 ac_cv_sizeof_int=0
57845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
57846 $as_echo "$ac_cv_sizeof_int" >&6; }
57850 cat >>confdefs.h <<_ACEOF
57851 #define SIZEOF_INT $ac_cv_sizeof_int
57852 _ACEOF
57855 # The cast to long int works around a bug in the HP C Compiler
57856 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57857 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57858 # This bug is HP SR number 8606223364.
57859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
57860 $as_echo_n "checking size of short... " >&6; }
57861 if test "${ac_cv_sizeof_short+set}" = set; then :
57862 $as_echo_n "(cached) " >&6
57863 else
57864 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
57866 else
57867 if test "$ac_cv_type_short" = yes; then
57868 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57869 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57870 { as_fn_set_status 77
57871 as_fn_error "cannot compute sizeof (short)
57872 See \`config.log' for more details." "$LINENO" 5; }; }
57873 else
57874 ac_cv_sizeof_short=0
57879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
57880 $as_echo "$ac_cv_sizeof_short" >&6; }
57884 cat >>confdefs.h <<_ACEOF
57885 #define SIZEOF_SHORT $ac_cv_sizeof_short
57886 _ACEOF
57889 # The cast to long int works around a bug in the HP C Compiler
57890 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57891 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57892 # This bug is HP SR number 8606223364.
57893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
57894 $as_echo_n "checking size of char... " >&6; }
57895 if test "${ac_cv_sizeof_char+set}" = set; then :
57896 $as_echo_n "(cached) " >&6
57897 else
57898 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
57900 else
57901 if test "$ac_cv_type_char" = yes; then
57902 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57903 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57904 { as_fn_set_status 77
57905 as_fn_error "cannot compute sizeof (char)
57906 See \`config.log' for more details." "$LINENO" 5; }; }
57907 else
57908 ac_cv_sizeof_char=0
57913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
57914 $as_echo "$ac_cv_sizeof_char" >&6; }
57918 cat >>confdefs.h <<_ACEOF
57919 #define SIZEOF_CHAR $ac_cv_sizeof_char
57920 _ACEOF
57924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
57925 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
57926 case "$ac_cv_sizeof_char" in
57927 1) acx_cv_type_int8_t=char ;;
57928 *) { as_fn_set_status please report a bug
57929 as_fn_error "no 8-bit type" "$LINENO" 5; }
57930 esac
57931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
57932 $as_echo "$acx_cv_type_int8_t" >&6; }
57934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
57935 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
57936 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
57937 2:*) acx_cv_type_int16_t=int ;;
57938 *:2) acx_cv_type_int16_t=short ;;
57939 *) { as_fn_set_status please report a bug
57940 as_fn_error "no 16-bit type" "$LINENO" 5; }
57941 esac
57942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
57943 $as_echo "$acx_cv_type_int16_t" >&6; }
57945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
57946 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
57947 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
57948 4:*) acx_cv_type_int32_t=int ;;
57949 *:4) acx_cv_type_int32_t=long ;;
57950 *) { as_fn_set_status please report a bug
57951 as_fn_error "no 32-bit type" "$LINENO" 5; }
57952 esac
57953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
57954 $as_echo "$acx_cv_type_int32_t" >&6; }
57957 # These tests are here to make the output prettier
57959 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
57960 case "$ac_cv_sizeof_long" in
57961 8) acx_cv_type_int64_t=long ;;
57962 esac
57963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
57964 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
57965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
57966 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
57969 # Now we can use the above types
57971 if test "$ac_cv_type_uintptr_t" != yes; then
57972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
57973 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
57974 case $ac_cv_sizeof_void_p in
57975 2) acx_cv_type_intptr_t=int16_t ;;
57976 4) acx_cv_type_intptr_t=int32_t ;;
57977 8) acx_cv_type_intptr_t=int64_t ;;
57978 *) { as_fn_set_status please report a bug
57979 as_fn_error "no equivalent for intptr_t" "$LINENO" 5; }
57980 esac
57981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
57982 $as_echo "$acx_cv_type_intptr_t" >&6; }
57985 # ----------------- done all checks, emit header -------------
57986 ac_config_commands="$ac_config_commands include/gstdint.h"
57991 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
57994 # Check whether --enable-symvers was given.
57995 if test "${enable_symvers+set}" = set; then :
57996 enableval=$enable_symvers;
57997 case "$enableval" in
57998 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export) ;;
57999 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
58000 esac
58002 else
58003 enable_symvers=yes
58008 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
58009 # don't know enough about $LD to do tricks...
58012 # Turn a 'yes' into a suitable default.
58013 if test x$enable_symvers = xyes ; then
58014 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
58015 enable_symvers=no
58016 else
58017 if test $with_gnu_ld = yes ; then
58018 case ${target_os} in
58019 cygwin* | pe | mingw32* | hpux*)
58020 enable_symvers=no ;;
58022 enable_symvers=gnu ;;
58023 esac
58024 else
58025 case ${target_os} in
58026 darwin*)
58027 enable_symvers=darwin ;;
58029 enable_symvers=no ;;
58030 esac
58035 # Check to see if 'darwin' or 'darwin-export' can win.
58036 if test x$enable_symvers = xdarwin-export ; then
58037 enable_symvers=darwin
58040 # Check to see if 'gnu' can win.
58041 if test $enable_symvers = gnu || test $enable_symvers = gnu-versioned-namespace; then
58042 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
58043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
58044 $as_echo_n "checking for shared libgcc... " >&6; }
58045 ac_save_CFLAGS="$CFLAGS"
58046 CFLAGS=' -lgcc_s'
58047 if test x$gcc_no_link = xyes; then
58048 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58051 /* end confdefs.h. */
58054 main ()
58056 return 0;
58058 return 0;
58060 _ACEOF
58061 if ac_fn_c_try_link "$LINENO"; then :
58062 glibcxx_shared_libgcc=yes
58063 else
58064 glibcxx_shared_libgcc=no
58066 rm -f core conftest.err conftest.$ac_objext \
58067 conftest$ac_exeext conftest.$ac_ext
58068 CFLAGS="$ac_save_CFLAGS"
58069 if test $glibcxx_shared_libgcc = no; then
58070 cat > conftest.c <<EOF
58071 int main (void) { return 0; }
58073 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
58074 -shared -shared-libgcc -o conftest.so \
58075 conftest.c -v 2>&1 >/dev/null \
58076 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
58077 rm -f conftest.c conftest.so
58078 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
58079 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
58080 if test x$gcc_no_link = xyes; then
58081 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58084 /* end confdefs.h. */
58087 main ()
58089 return 0;
58091 return 0;
58093 _ACEOF
58094 if ac_fn_c_try_link "$LINENO"; then :
58095 glibcxx_shared_libgcc=yes
58097 rm -f core conftest.err conftest.$ac_objext \
58098 conftest$ac_exeext conftest.$ac_ext
58099 CFLAGS="$ac_save_CFLAGS"
58102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
58103 $as_echo "$glibcxx_shared_libgcc" >&6; }
58105 # For GNU ld, we need at least this version. The format is described in
58106 # GLIBCXX_CHECK_LINKER_FEATURES above.
58107 glibcxx_min_gnu_ld_version=21400
58109 # If no shared libgcc, can't win.
58110 if test $glibcxx_shared_libgcc != yes; then
58111 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
58112 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
58113 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
58114 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
58115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58116 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58117 enable_symvers=no
58118 elif test $with_gnu_ld != yes ; then
58119 # just fail for now
58120 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
58121 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
58122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
58123 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
58124 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58125 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58126 enable_symvers=no
58127 elif test $glibcxx_ld_is_gold = yes ; then
58128 : All versions of gold support symbol versioning.
58129 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
58130 # The right tools, the right setup, but too old. Fallbacks?
58131 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
58132 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
58133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
58134 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
58135 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
58136 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
58137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
58138 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
58139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58140 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58141 enable_symvers=no
58145 # Everything parsed; figure out what file to use.
58146 case $enable_symvers in
58148 SYMVER_FILE=config/abi/pre/none.ver
58150 gnu)
58151 SYMVER_FILE=config/abi/pre/gnu.ver
58153 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
58156 gnu-versioned-namespace)
58157 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
58159 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
58162 darwin)
58163 SYMVER_FILE=config/abi/pre/gnu.ver
58165 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
58168 esac
58170 if test x$enable_symvers != xno ; then
58172 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
58176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
58177 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
58178 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
58179 $as_echo_n "(cached) " >&6
58180 else
58182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58183 /* end confdefs.h. */
58184 void foo (void); __asm (".symver foo, bar@SYMVER");
58186 main ()
58190 return 0;
58192 _ACEOF
58193 if ac_fn_c_try_compile "$LINENO"; then :
58194 glibcxx_cv_have_as_symver_directive=yes
58195 else
58196 glibcxx_cv_have_as_symver_directive=no
58198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
58201 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
58202 if test $glibcxx_cv_have_as_symver_directive = yes; then
58204 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
58214 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
58215 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
58217 # Now, set up compatibility support, if any.
58218 # In addition, need this to deal with std::size_t mangling in
58219 # src/compatibility.cc. In a perfect world, could use
58220 # typeid(std::size_t).name()[0] to do direct substitution.
58221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
58222 $as_echo_n "checking for size_t as unsigned int... " >&6; }
58223 ac_save_CFLAGS="$CFLAGS"
58224 CFLAGS="-Werror"
58225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58226 /* end confdefs.h. */
58229 main ()
58231 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
58233 return 0;
58235 _ACEOF
58236 if ac_fn_c_try_compile "$LINENO"; then :
58237 glibcxx_size_t_is_i=yes
58238 else
58239 glibcxx_size_t_is_i=no
58241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58242 CFLAGS=$ac_save_CFLAGS
58243 if test "$glibcxx_size_t_is_i" = yes; then
58245 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
58248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
58249 $as_echo "$glibcxx_size_t_is_i" >&6; }
58251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
58252 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
58253 ac_save_CFLAGS="$CFLAGS"
58254 CFLAGS="-Werror"
58255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58256 /* end confdefs.h. */
58259 main ()
58261 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
58263 return 0;
58265 _ACEOF
58266 if ac_fn_c_try_compile "$LINENO"; then :
58267 glibcxx_ptrdiff_t_is_i=yes
58268 else
58269 glibcxx_ptrdiff_t_is_i=no
58271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58272 CFLAGS=$ac_save_CFLAGS
58273 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
58275 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
58278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
58279 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
58282 # Check whether --enable-visibility was given.
58283 if test "${enable_visibility+set}" = set; then :
58284 enableval=$enable_visibility;
58285 case "$enableval" in
58286 yes|no) ;;
58287 *) as_fn_error "Argument to enable/disable visibility must be yes or no" "$LINENO" 5 ;;
58288 esac
58290 else
58291 enable_visibility=yes
58296 if test x$enable_visibility = xyes ; then
58297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
58298 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
58299 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
58300 $as_echo_n "(cached) " >&6
58301 else
58303 save_CFLAGS="$CFLAGS"
58304 CFLAGS="$CFLAGS -Werror"
58305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58306 /* end confdefs.h. */
58307 void __attribute__((visibility("hidden"))) foo(void) { }
58309 main ()
58313 return 0;
58315 _ACEOF
58316 if ac_fn_c_try_compile "$LINENO"; then :
58317 glibcxx_cv_have_attribute_visibility=yes
58318 else
58319 glibcxx_cv_have_attribute_visibility=no
58321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58322 CFLAGS="$save_CFLAGS"
58324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
58325 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
58326 if test $glibcxx_cv_have_attribute_visibility = no; then
58327 enable_visibility=no
58332 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_visibility" >&5
58333 $as_echo "$as_me: visibility supported: $enable_visibility" >&6;}
58336 ac_ldbl_compat=no
58337 case "$target" in
58338 powerpc*-*-linux* | \
58339 powerpc*-*-gnu* | \
58340 sparc*-*-linux* | \
58341 s390*-*-linux* | \
58342 alpha*-*-linux*)
58343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58344 /* end confdefs.h. */
58347 main ()
58350 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
58351 #error no need for long double compatibility
58352 #endif
58355 return 0;
58357 _ACEOF
58358 if ac_fn_c_try_compile "$LINENO"; then :
58359 ac_ldbl_compat=yes
58360 else
58361 ac_ldbl_compat=no
58363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58364 if test "$ac_ldbl_compat" = yes; then
58366 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
58368 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
58370 esac
58373 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
58375 if $GLIBCXX_IS_NATIVE ; then
58376 # Do checks for resource limit functions.
58378 setrlimit_have_headers=yes
58379 for ac_header in unistd.h sys/time.h sys/resource.h
58380 do :
58381 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
58382 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
58383 eval as_val=\$$as_ac_Header
58384 if test "x$as_val" = x""yes; then :
58385 cat >>confdefs.h <<_ACEOF
58386 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
58387 _ACEOF
58389 else
58390 setrlimit_have_headers=no
58393 done
58395 # If don't have the headers, then we can't run the tests now, and we
58396 # won't be seeing any of these during testsuite compilation.
58397 if test $setrlimit_have_headers = yes; then
58398 # Can't do these in a loop, else the resulting syntax is wrong.
58400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
58401 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
58402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58403 /* end confdefs.h. */
58404 #include <unistd.h>
58405 #include <sys/time.h>
58406 #include <sys/resource.h>
58409 main ()
58411 int f = RLIMIT_DATA ;
58413 return 0;
58415 _ACEOF
58416 if ac_fn_c_try_compile "$LINENO"; then :
58417 glibcxx_mresult=1
58418 else
58419 glibcxx_mresult=0
58421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58423 cat >>confdefs.h <<_ACEOF
58424 #define HAVE_LIMIT_DATA $glibcxx_mresult
58425 _ACEOF
58427 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58429 $as_echo "$res" >&6; }
58432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
58433 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
58434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58435 /* end confdefs.h. */
58436 #include <unistd.h>
58437 #include <sys/time.h>
58438 #include <sys/resource.h>
58441 main ()
58443 int f = RLIMIT_RSS ;
58445 return 0;
58447 _ACEOF
58448 if ac_fn_c_try_compile "$LINENO"; then :
58449 glibcxx_mresult=1
58450 else
58451 glibcxx_mresult=0
58453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58455 cat >>confdefs.h <<_ACEOF
58456 #define HAVE_LIMIT_RSS $glibcxx_mresult
58457 _ACEOF
58459 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58461 $as_echo "$res" >&6; }
58464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
58465 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
58466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58467 /* end confdefs.h. */
58468 #include <unistd.h>
58469 #include <sys/time.h>
58470 #include <sys/resource.h>
58473 main ()
58475 int f = RLIMIT_VMEM ;
58477 return 0;
58479 _ACEOF
58480 if ac_fn_c_try_compile "$LINENO"; then :
58481 glibcxx_mresult=1
58482 else
58483 glibcxx_mresult=0
58485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58487 cat >>confdefs.h <<_ACEOF
58488 #define HAVE_LIMIT_VMEM $glibcxx_mresult
58489 _ACEOF
58491 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58493 $as_echo "$res" >&6; }
58496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
58497 $as_echo_n "checking for RLIMIT_AS... " >&6; }
58498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58499 /* end confdefs.h. */
58500 #include <unistd.h>
58501 #include <sys/time.h>
58502 #include <sys/resource.h>
58505 main ()
58507 int f = RLIMIT_AS ;
58509 return 0;
58511 _ACEOF
58512 if ac_fn_c_try_compile "$LINENO"; then :
58513 glibcxx_mresult=1
58514 else
58515 glibcxx_mresult=0
58517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58519 cat >>confdefs.h <<_ACEOF
58520 #define HAVE_LIMIT_AS $glibcxx_mresult
58521 _ACEOF
58523 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58525 $as_echo "$res" >&6; }
58528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
58529 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
58530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58531 /* end confdefs.h. */
58532 #include <unistd.h>
58533 #include <sys/time.h>
58534 #include <sys/resource.h>
58537 main ()
58539 int f = RLIMIT_FSIZE ;
58541 return 0;
58543 _ACEOF
58544 if ac_fn_c_try_compile "$LINENO"; then :
58545 glibcxx_mresult=1
58546 else
58547 glibcxx_mresult=0
58549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58551 cat >>confdefs.h <<_ACEOF
58552 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
58553 _ACEOF
58555 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58557 $as_echo "$res" >&6; }
58560 # Check for rlimit, setrlimit.
58561 if test "${glibcxx_cv_setrlimit+set}" = set; then :
58562 $as_echo_n "(cached) " >&6
58563 else
58565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58566 /* end confdefs.h. */
58567 #include <unistd.h>
58568 #include <sys/time.h>
58569 #include <sys/resource.h>
58572 main ()
58574 struct rlimit r;
58575 setrlimit(0, &r);
58577 return 0;
58579 _ACEOF
58580 if ac_fn_c_try_compile "$LINENO"; then :
58581 glibcxx_cv_setrlimit=yes
58582 else
58583 glibcxx_cv_setrlimit=no
58585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
58592 $as_echo_n "checking for testsuite resource limits support... " >&6; }
58593 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
58594 ac_res_limits=yes
58596 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
58598 else
58599 ac_res_limits=no
58601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
58602 $as_echo "$ac_res_limits" >&6; }
58605 # Look for setenv, so that extended locale tests can be performed.
58607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
58608 $as_echo_n "checking for setenv declaration... " >&6; }
58609 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
58610 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
58611 $as_echo_n "(cached) " >&6
58612 else
58615 ac_ext=cpp
58616 ac_cpp='$CXXCPP $CPPFLAGS'
58617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58622 /* end confdefs.h. */
58623 #include <stdlib.h>
58625 main ()
58627 setenv(0, 0, 0);
58629 return 0;
58631 _ACEOF
58632 if ac_fn_cxx_try_compile "$LINENO"; then :
58633 glibcxx_cv_func_setenv_use=yes
58634 else
58635 glibcxx_cv_func_setenv_use=no
58637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58638 ac_ext=c
58639 ac_cpp='$CPP $CPPFLAGS'
58640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
58649 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
58650 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
58651 for ac_func in setenv
58652 do :
58653 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
58654 if test "x$ac_cv_func_setenv" = x""yes; then :
58655 cat >>confdefs.h <<_ACEOF
58656 #define HAVE_SETENV 1
58657 _ACEOF
58660 done
58666 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
58667 test $enable_symvers != no; then
58668 case "$host" in
58669 *-*-cygwin*)
58670 enable_abi_check=no ;;
58672 enable_abi_check=yes ;;
58673 esac
58674 else
58675 # Only build this as native, since automake does not understand
58676 # CXX_FOR_BUILD.
58677 enable_abi_check=no
58680 # Export file names for ABI checking.
58681 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
58685 # Propagate the target-specific source directories through the build chain.
58686 ATOMICITY_SRCDIR=config/${atomicity_dir}
58687 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
58688 ATOMIC_FLAGS=${atomic_flags}
58689 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
58690 OS_INC_SRCDIR=config/${os_include_dir}
58691 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
58692 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
58702 # Determine cross-compile flags and AM_CONDITIONALs.
58703 #AC_SUBST(GLIBCXX_IS_NATIVE)
58704 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
58705 if test $is_hosted = yes; then
58706 GLIBCXX_HOSTED_TRUE=
58707 GLIBCXX_HOSTED_FALSE='#'
58708 else
58709 GLIBCXX_HOSTED_TRUE='#'
58710 GLIBCXX_HOSTED_FALSE=
58714 if test $enable_libstdcxx_pch = yes; then
58715 GLIBCXX_BUILD_PCH_TRUE=
58716 GLIBCXX_BUILD_PCH_FALSE='#'
58717 else
58718 GLIBCXX_BUILD_PCH_TRUE='#'
58719 GLIBCXX_BUILD_PCH_FALSE=
58723 if test $enable_cheaders = c; then
58724 GLIBCXX_C_HEADERS_C_TRUE=
58725 GLIBCXX_C_HEADERS_C_FALSE='#'
58726 else
58727 GLIBCXX_C_HEADERS_C_TRUE='#'
58728 GLIBCXX_C_HEADERS_C_FALSE=
58732 if test $enable_cheaders = c_std; then
58733 GLIBCXX_C_HEADERS_C_STD_TRUE=
58734 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
58735 else
58736 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
58737 GLIBCXX_C_HEADERS_C_STD_FALSE=
58741 if test $enable_cheaders = c_global; then
58742 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
58743 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
58744 else
58745 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
58746 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
58750 if test $c_compatibility = yes; then
58751 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
58752 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
58753 else
58754 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
58755 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
58759 if test $c_extra = yes; then
58760 GLIBCXX_C_HEADERS_EXTRA_TRUE=
58761 GLIBCXX_C_HEADERS_EXTRA_FALSE='#'
58762 else
58763 GLIBCXX_C_HEADERS_EXTRA_TRUE='#'
58764 GLIBCXX_C_HEADERS_EXTRA_FALSE=
58768 if test $enable_libstdcxx_debug = yes; then
58769 GLIBCXX_BUILD_DEBUG_TRUE=
58770 GLIBCXX_BUILD_DEBUG_FALSE='#'
58771 else
58772 GLIBCXX_BUILD_DEBUG_TRUE='#'
58773 GLIBCXX_BUILD_DEBUG_FALSE=
58777 if test $enable_parallel = yes; then
58778 ENABLE_PARALLEL_TRUE=
58779 ENABLE_PARALLEL_FALSE='#'
58780 else
58781 ENABLE_PARALLEL_TRUE='#'
58782 ENABLE_PARALLEL_FALSE=
58786 if test $enable_symvers != no; then
58787 ENABLE_SYMVERS_TRUE=
58788 ENABLE_SYMVERS_FALSE='#'
58789 else
58790 ENABLE_SYMVERS_TRUE='#'
58791 ENABLE_SYMVERS_FALSE=
58795 if test $enable_symvers = gnu; then
58796 ENABLE_SYMVERS_GNU_TRUE=
58797 ENABLE_SYMVERS_GNU_FALSE='#'
58798 else
58799 ENABLE_SYMVERS_GNU_TRUE='#'
58800 ENABLE_SYMVERS_GNU_FALSE=
58804 if test $enable_symvers = gnu-versioned-namespace; then
58805 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
58806 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
58807 else
58808 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
58809 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
58813 if test $enable_symvers = darwin; then
58814 ENABLE_SYMVERS_DARWIN_TRUE=
58815 ENABLE_SYMVERS_DARWIN_FALSE='#'
58816 else
58817 ENABLE_SYMVERS_DARWIN_TRUE='#'
58818 ENABLE_SYMVERS_DARWIN_FALSE=
58822 if test $enable_visibility = yes; then
58823 ENABLE_VISIBILITY_TRUE=
58824 ENABLE_VISIBILITY_FALSE='#'
58825 else
58826 ENABLE_VISIBILITY_TRUE='#'
58827 ENABLE_VISIBILITY_FALSE=
58831 if test $ac_ldbl_compat = yes; then
58832 GLIBCXX_LDBL_COMPAT_TRUE=
58833 GLIBCXX_LDBL_COMPAT_FALSE='#'
58834 else
58835 GLIBCXX_LDBL_COMPAT_TRUE='#'
58836 GLIBCXX_LDBL_COMPAT_FALSE=
58842 cat >confcache <<\_ACEOF
58843 # This file is a shell script that caches the results of configure
58844 # tests run on this system so they can be shared between configure
58845 # scripts and configure runs, see configure's option --config-cache.
58846 # It is not useful on other systems. If it contains results you don't
58847 # want to keep, you may remove or edit it.
58849 # config.status only pays attention to the cache file if you give it
58850 # the --recheck option to rerun configure.
58852 # `ac_cv_env_foo' variables (set or unset) will be overridden when
58853 # loading this file, other *unset* `ac_cv_foo' will be assigned the
58854 # following values.
58856 _ACEOF
58858 # The following way of writing the cache mishandles newlines in values,
58859 # but we know of no workaround that is simple, portable, and efficient.
58860 # So, we kill variables containing newlines.
58861 # Ultrix sh set writes to stderr and can't be redirected directly,
58862 # and sets the high bit in the cache file unless we assign to the vars.
58864 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
58865 eval ac_val=\$$ac_var
58866 case $ac_val in #(
58867 *${as_nl}*)
58868 case $ac_var in #(
58869 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
58870 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
58871 esac
58872 case $ac_var in #(
58873 _ | IFS | as_nl) ;; #(
58874 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
58875 *) { eval $ac_var=; unset $ac_var;} ;;
58876 esac ;;
58877 esac
58878 done
58880 (set) 2>&1 |
58881 case $as_nl`(ac_space=' '; set) 2>&1` in #(
58882 *${as_nl}ac_space=\ *)
58883 # `set' does not quote correctly, so add quotes: double-quote
58884 # substitution turns \\\\ into \\, and sed turns \\ into \.
58885 sed -n \
58886 "s/'/'\\\\''/g;
58887 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
58888 ;; #(
58890 # `set' quotes correctly as required by POSIX, so do not add quotes.
58891 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
58893 esac |
58894 sort
58896 sed '
58897 /^ac_cv_env_/b end
58898 t clear
58899 :clear
58900 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
58901 t end
58902 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
58903 :end' >>confcache
58904 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
58905 if test -w "$cache_file"; then
58906 test "x$cache_file" != "x/dev/null" &&
58907 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
58908 $as_echo "$as_me: updating cache $cache_file" >&6;}
58909 cat confcache >$cache_file
58910 else
58911 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
58912 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
58915 rm -f confcache
58917 if test ${multilib} = yes; then
58918 multilib_arg="--enable-multilib"
58919 else
58920 multilib_arg=
58923 # Export all the install information.
58925 glibcxx_toolexecdir=no
58926 glibcxx_toolexeclibdir=no
58927 glibcxx_prefixdir=$prefix
58929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
58930 $as_echo_n "checking for gxx-include-dir... " >&6; }
58932 # Check whether --with-gxx-include-dir was given.
58933 if test "${with_gxx_include_dir+set}" = set; then :
58934 withval=$with_gxx_include_dir; case "$withval" in
58935 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
58936 no) gxx_include_dir=no ;;
58937 *) gxx_include_dir=$withval ;;
58938 esac
58939 else
58940 gxx_include_dir=no
58943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
58944 $as_echo "$gxx_include_dir" >&6; }
58946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
58947 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
58948 # Check whether --enable-version-specific-runtime-libs was given.
58949 if test "${enable_version_specific_runtime_libs+set}" = set; then :
58950 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
58951 yes) version_specific_libs=yes ;;
58952 no) version_specific_libs=no ;;
58953 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
58954 esac
58955 else
58956 version_specific_libs=no
58959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
58960 $as_echo "$version_specific_libs" >&6; }
58962 # Default case for install directory for include files.
58963 if test $version_specific_libs = no && test $gxx_include_dir = no; then
58964 gxx_include_dir='include/c++/${gcc_version}'
58965 if test -n "$with_cross_host" &&
58966 test x"$with_cross_host" != x"no"; then
58967 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
58968 else
58969 gxx_include_dir='${prefix}/'"$gxx_include_dir"
58973 # Version-specific runtime libs processing.
58974 if test $version_specific_libs = yes; then
58975 # Need the gcc compiler version to know where to install libraries
58976 # and header files if --enable-version-specific-runtime-libs option
58977 # is selected. FIXME: these variables are misnamed, there are
58978 # no executables installed in _toolexecdir or _toolexeclibdir.
58979 if test x"$gxx_include_dir" = x"no"; then
58980 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
58982 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
58983 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
58986 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
58987 # Install a library built with a cross compiler in tooldir, not libdir.
58988 if test x"$glibcxx_toolexecdir" = x"no"; then
58989 if test -n "$with_cross_host" &&
58990 test x"$with_cross_host" != x"no"; then
58991 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
58992 glibcxx_toolexeclibdir='${toolexecdir}/lib'
58993 else
58994 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
58995 glibcxx_toolexeclibdir='${libdir}'
58997 multi_os_directory=`$CXX -print-multi-os-directory`
58998 case $multi_os_directory in
58999 .) ;; # Avoid trailing /.
59000 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
59001 esac
59004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
59005 $as_echo_n "checking for install location... " >&6; }
59006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
59007 $as_echo "$gxx_include_dir" >&6; }
59015 # Export all the include and flag information to Makefiles.
59017 # Used for every C++ compile we perform.
59018 GLIBCXX_INCLUDES="\
59019 -I$glibcxx_builddir/include/$host_alias \
59020 -I$glibcxx_builddir/include \
59021 -I$glibcxx_srcdir/libsupc++"
59023 # For Canadian crosses, pick this up too.
59024 if test $CANADIAN = yes; then
59025 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
59028 # Stuff in the actual top level. Currently only used by libsupc++ to
59029 # get unwind* headers from the gcc dir.
59030 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
59031 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
59033 # Now, export this to all the little Makefiles....
59038 # Optimization flags that are probably a good idea for thrill-seekers. Just
59039 # uncomment the lines below and make, everything else is ready to go...
59040 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
59041 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
59044 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
59048 if test "$enable_shared" = yes; then
59049 LIBSUPCXX_PICFLAGS="-prefer-pic"
59050 else
59051 LIBSUPCXX_PICFLAGS=
59055 ac_config_files="$ac_config_files Makefile"
59057 ac_config_files="$ac_config_files scripts/testsuite_flags"
59060 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
59061 # that multilib installs will end up installed in the correct place.
59062 # The testsuite needs it for multilib-aware ABI baseline files.
59063 # To work around this not being passed down from config-ml.in ->
59064 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
59065 # append it here. Only modify Makefiles that have just been created.
59067 # Also, get rid of this simulated-VPATH thing that automake does.
59068 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile python/Makefile src/Makefile doc/Makefile po/Makefile testsuite/Makefile"
59071 ac_config_commands="$ac_config_commands generate-headers"
59074 cat >confcache <<\_ACEOF
59075 # This file is a shell script that caches the results of configure
59076 # tests run on this system so they can be shared between configure
59077 # scripts and configure runs, see configure's option --config-cache.
59078 # It is not useful on other systems. If it contains results you don't
59079 # want to keep, you may remove or edit it.
59081 # config.status only pays attention to the cache file if you give it
59082 # the --recheck option to rerun configure.
59084 # `ac_cv_env_foo' variables (set or unset) will be overridden when
59085 # loading this file, other *unset* `ac_cv_foo' will be assigned the
59086 # following values.
59088 _ACEOF
59090 # The following way of writing the cache mishandles newlines in values,
59091 # but we know of no workaround that is simple, portable, and efficient.
59092 # So, we kill variables containing newlines.
59093 # Ultrix sh set writes to stderr and can't be redirected directly,
59094 # and sets the high bit in the cache file unless we assign to the vars.
59096 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
59097 eval ac_val=\$$ac_var
59098 case $ac_val in #(
59099 *${as_nl}*)
59100 case $ac_var in #(
59101 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
59102 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
59103 esac
59104 case $ac_var in #(
59105 _ | IFS | as_nl) ;; #(
59106 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
59107 *) { eval $ac_var=; unset $ac_var;} ;;
59108 esac ;;
59109 esac
59110 done
59112 (set) 2>&1 |
59113 case $as_nl`(ac_space=' '; set) 2>&1` in #(
59114 *${as_nl}ac_space=\ *)
59115 # `set' does not quote correctly, so add quotes: double-quote
59116 # substitution turns \\\\ into \\, and sed turns \\ into \.
59117 sed -n \
59118 "s/'/'\\\\''/g;
59119 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
59120 ;; #(
59122 # `set' quotes correctly as required by POSIX, so do not add quotes.
59123 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
59125 esac |
59126 sort
59128 sed '
59129 /^ac_cv_env_/b end
59130 t clear
59131 :clear
59132 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
59133 t end
59134 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
59135 :end' >>confcache
59136 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
59137 if test -w "$cache_file"; then
59138 test "x$cache_file" != "x/dev/null" &&
59139 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
59140 $as_echo "$as_me: updating cache $cache_file" >&6;}
59141 cat confcache >$cache_file
59142 else
59143 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
59144 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
59147 rm -f confcache
59149 test "x$prefix" = xNONE && prefix=$ac_default_prefix
59150 # Let make expand exec_prefix.
59151 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
59153 DEFS=-DHAVE_CONFIG_H
59155 ac_libobjs=
59156 ac_ltlibobjs=
59157 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
59158 # 1. Remove the extension, and $U if already installed.
59159 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
59160 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
59161 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
59162 # will be set to the directory where LIBOBJS objects are built.
59163 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
59164 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
59165 done
59166 LIBOBJS=$ac_libobjs
59168 LTLIBOBJS=$ac_ltlibobjs
59171 if test -n "$EXEEXT"; then
59172 am__EXEEXT_TRUE=
59173 am__EXEEXT_FALSE='#'
59174 else
59175 am__EXEEXT_TRUE='#'
59176 am__EXEEXT_FALSE=
59179 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
59180 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
59181 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59183 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
59184 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
59185 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59187 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
59188 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
59189 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59191 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
59192 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
59193 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59195 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
59196 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
59197 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59199 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
59200 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
59201 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59203 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
59204 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
59205 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59207 if test -z "${GLIBCXX_C_HEADERS_EXTRA_TRUE}" && test -z "${GLIBCXX_C_HEADERS_EXTRA_FALSE}"; then
59208 as_fn_error "conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
59209 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59211 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
59212 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
59213 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59215 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
59216 as_fn_error "conditional \"ENABLE_PARALLEL\" was never defined.
59217 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59219 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
59220 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
59221 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59223 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
59224 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
59225 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59227 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
59228 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
59229 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59231 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
59232 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
59233 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59235 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
59236 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
59237 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59239 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
59240 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
59241 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59244 : ${CONFIG_STATUS=./config.status}
59245 ac_write_fail=0
59246 ac_clean_files_save=$ac_clean_files
59247 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
59248 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
59249 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
59250 as_write_fail=0
59251 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
59252 #! $SHELL
59253 # Generated by $as_me.
59254 # Run this file to recreate the current configuration.
59255 # Compiler output produced by configure, useful for debugging
59256 # configure, is in config.log if it exists.
59258 debug=false
59259 ac_cs_recheck=false
59260 ac_cs_silent=false
59262 SHELL=\${CONFIG_SHELL-$SHELL}
59263 export SHELL
59264 _ASEOF
59265 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
59266 ## -------------------- ##
59267 ## M4sh Initialization. ##
59268 ## -------------------- ##
59270 # Be more Bourne compatible
59271 DUALCASE=1; export DUALCASE # for MKS sh
59272 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
59273 emulate sh
59274 NULLCMD=:
59275 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
59276 # is contrary to our usage. Disable this feature.
59277 alias -g '${1+"$@"}'='"$@"'
59278 setopt NO_GLOB_SUBST
59279 else
59280 case `(set -o) 2>/dev/null` in #(
59281 *posix*) :
59282 set -o posix ;; #(
59283 *) :
59285 esac
59289 as_nl='
59291 export as_nl
59292 # Printing a long string crashes Solaris 7 /usr/bin/printf.
59293 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
59294 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
59295 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
59296 # Prefer a ksh shell builtin over an external printf program on Solaris,
59297 # but without wasting forks for bash or zsh.
59298 if test -z "$BASH_VERSION$ZSH_VERSION" \
59299 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
59300 as_echo='print -r --'
59301 as_echo_n='print -rn --'
59302 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
59303 as_echo='printf %s\n'
59304 as_echo_n='printf %s'
59305 else
59306 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
59307 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
59308 as_echo_n='/usr/ucb/echo -n'
59309 else
59310 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
59311 as_echo_n_body='eval
59312 arg=$1;
59313 case $arg in #(
59314 *"$as_nl"*)
59315 expr "X$arg" : "X\\(.*\\)$as_nl";
59316 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
59317 esac;
59318 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
59320 export as_echo_n_body
59321 as_echo_n='sh -c $as_echo_n_body as_echo'
59323 export as_echo_body
59324 as_echo='sh -c $as_echo_body as_echo'
59327 # The user is always right.
59328 if test "${PATH_SEPARATOR+set}" != set; then
59329 PATH_SEPARATOR=:
59330 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
59331 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
59332 PATH_SEPARATOR=';'
59337 # IFS
59338 # We need space, tab and new line, in precisely that order. Quoting is
59339 # there to prevent editors from complaining about space-tab.
59340 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
59341 # splitting by setting IFS to empty value.)
59342 IFS=" "" $as_nl"
59344 # Find who we are. Look in the path if we contain no directory separator.
59345 case $0 in #((
59346 *[\\/]* ) as_myself=$0 ;;
59347 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
59348 for as_dir in $PATH
59350 IFS=$as_save_IFS
59351 test -z "$as_dir" && as_dir=.
59352 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
59353 done
59354 IFS=$as_save_IFS
59357 esac
59358 # We did not find ourselves, most probably we were run as `sh COMMAND'
59359 # in which case we are not to be found in the path.
59360 if test "x$as_myself" = x; then
59361 as_myself=$0
59363 if test ! -f "$as_myself"; then
59364 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
59365 exit 1
59368 # Unset variables that we do not need and which cause bugs (e.g. in
59369 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
59370 # suppresses any "Segmentation fault" message there. '((' could
59371 # trigger a bug in pdksh 5.2.14.
59372 for as_var in BASH_ENV ENV MAIL MAILPATH
59373 do eval test x\${$as_var+set} = xset \
59374 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
59375 done
59376 PS1='$ '
59377 PS2='> '
59378 PS4='+ '
59380 # NLS nuisances.
59381 LC_ALL=C
59382 export LC_ALL
59383 LANGUAGE=C
59384 export LANGUAGE
59386 # CDPATH.
59387 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
59390 # as_fn_error ERROR [LINENO LOG_FD]
59391 # ---------------------------------
59392 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
59393 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
59394 # script with status $?, using 1 if that was 0.
59395 as_fn_error ()
59397 as_status=$?; test $as_status -eq 0 && as_status=1
59398 if test "$3"; then
59399 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
59400 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
59402 $as_echo "$as_me: error: $1" >&2
59403 as_fn_exit $as_status
59404 } # as_fn_error
59407 # as_fn_set_status STATUS
59408 # -----------------------
59409 # Set $? to STATUS, without forking.
59410 as_fn_set_status ()
59412 return $1
59413 } # as_fn_set_status
59415 # as_fn_exit STATUS
59416 # -----------------
59417 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
59418 as_fn_exit ()
59420 set +e
59421 as_fn_set_status $1
59422 exit $1
59423 } # as_fn_exit
59425 # as_fn_unset VAR
59426 # ---------------
59427 # Portably unset VAR.
59428 as_fn_unset ()
59430 { eval $1=; unset $1;}
59432 as_unset=as_fn_unset
59433 # as_fn_append VAR VALUE
59434 # ----------------------
59435 # Append the text in VALUE to the end of the definition contained in VAR. Take
59436 # advantage of any shell optimizations that allow amortized linear growth over
59437 # repeated appends, instead of the typical quadratic growth present in naive
59438 # implementations.
59439 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
59440 eval 'as_fn_append ()
59442 eval $1+=\$2
59444 else
59445 as_fn_append ()
59447 eval $1=\$$1\$2
59449 fi # as_fn_append
59451 # as_fn_arith ARG...
59452 # ------------------
59453 # Perform arithmetic evaluation on the ARGs, and store the result in the
59454 # global $as_val. Take advantage of shells that can avoid forks. The arguments
59455 # must be portable across $(()) and expr.
59456 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
59457 eval 'as_fn_arith ()
59459 as_val=$(( $* ))
59461 else
59462 as_fn_arith ()
59464 as_val=`expr "$@" || test $? -eq 1`
59466 fi # as_fn_arith
59469 if expr a : '\(a\)' >/dev/null 2>&1 &&
59470 test "X`expr 00001 : '.*\(...\)'`" = X001; then
59471 as_expr=expr
59472 else
59473 as_expr=false
59476 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
59477 as_basename=basename
59478 else
59479 as_basename=false
59482 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
59483 as_dirname=dirname
59484 else
59485 as_dirname=false
59488 as_me=`$as_basename -- "$0" ||
59489 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
59490 X"$0" : 'X\(//\)$' \| \
59491 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
59492 $as_echo X/"$0" |
59493 sed '/^.*\/\([^/][^/]*\)\/*$/{
59494 s//\1/
59497 /^X\/\(\/\/\)$/{
59498 s//\1/
59501 /^X\/\(\/\).*/{
59502 s//\1/
59505 s/.*/./; q'`
59507 # Avoid depending upon Character Ranges.
59508 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
59509 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
59510 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
59511 as_cr_digits='0123456789'
59512 as_cr_alnum=$as_cr_Letters$as_cr_digits
59514 ECHO_C= ECHO_N= ECHO_T=
59515 case `echo -n x` in #(((((
59516 -n*)
59517 case `echo 'xy\c'` in
59518 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
59519 xy) ECHO_C='\c';;
59520 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
59521 ECHO_T=' ';;
59522 esac;;
59524 ECHO_N='-n';;
59525 esac
59527 rm -f conf$$ conf$$.exe conf$$.file
59528 if test -d conf$$.dir; then
59529 rm -f conf$$.dir/conf$$.file
59530 else
59531 rm -f conf$$.dir
59532 mkdir conf$$.dir 2>/dev/null
59534 if (echo >conf$$.file) 2>/dev/null; then
59535 if ln -s conf$$.file conf$$ 2>/dev/null; then
59536 as_ln_s='ln -s'
59537 # ... but there are two gotchas:
59538 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
59539 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
59540 # In both cases, we have to default to `cp -p'.
59541 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
59542 as_ln_s='cp -p'
59543 elif ln conf$$.file conf$$ 2>/dev/null; then
59544 as_ln_s=ln
59545 else
59546 as_ln_s='cp -p'
59548 else
59549 as_ln_s='cp -p'
59551 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
59552 rmdir conf$$.dir 2>/dev/null
59555 # as_fn_mkdir_p
59556 # -------------
59557 # Create "$as_dir" as a directory, including parents if necessary.
59558 as_fn_mkdir_p ()
59561 case $as_dir in #(
59562 -*) as_dir=./$as_dir;;
59563 esac
59564 test -d "$as_dir" || eval $as_mkdir_p || {
59565 as_dirs=
59566 while :; do
59567 case $as_dir in #(
59568 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
59569 *) as_qdir=$as_dir;;
59570 esac
59571 as_dirs="'$as_qdir' $as_dirs"
59572 as_dir=`$as_dirname -- "$as_dir" ||
59573 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
59574 X"$as_dir" : 'X\(//\)[^/]' \| \
59575 X"$as_dir" : 'X\(//\)$' \| \
59576 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
59577 $as_echo X"$as_dir" |
59578 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
59579 s//\1/
59582 /^X\(\/\/\)[^/].*/{
59583 s//\1/
59586 /^X\(\/\/\)$/{
59587 s//\1/
59590 /^X\(\/\).*/{
59591 s//\1/
59594 s/.*/./; q'`
59595 test -d "$as_dir" && break
59596 done
59597 test -z "$as_dirs" || eval "mkdir $as_dirs"
59598 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
59601 } # as_fn_mkdir_p
59602 if mkdir -p . 2>/dev/null; then
59603 as_mkdir_p='mkdir -p "$as_dir"'
59604 else
59605 test -d ./-p && rmdir ./-p
59606 as_mkdir_p=false
59609 if test -x / >/dev/null 2>&1; then
59610 as_test_x='test -x'
59611 else
59612 if ls -dL / >/dev/null 2>&1; then
59613 as_ls_L_option=L
59614 else
59615 as_ls_L_option=
59617 as_test_x='
59618 eval sh -c '\''
59619 if test -d "$1"; then
59620 test -d "$1/.";
59621 else
59622 case $1 in #(
59623 -*)set "./$1";;
59624 esac;
59625 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
59626 ???[sx]*):;;*)false;;esac;fi
59627 '\'' sh
59630 as_executable_p=$as_test_x
59632 # Sed expression to map a string onto a valid CPP name.
59633 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
59635 # Sed expression to map a string onto a valid variable name.
59636 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
59639 exec 6>&1
59640 ## ----------------------------------- ##
59641 ## Main body of $CONFIG_STATUS script. ##
59642 ## ----------------------------------- ##
59643 _ASEOF
59644 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
59646 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59647 # Save the log message, to keep $0 and so on meaningful, and to
59648 # report actual input values of CONFIG_FILES etc. instead of their
59649 # values after options handling.
59650 ac_log="
59651 This file was extended by package-unused $as_me version-unused, which was
59652 generated by GNU Autoconf 2.64. Invocation command line was
59654 CONFIG_FILES = $CONFIG_FILES
59655 CONFIG_HEADERS = $CONFIG_HEADERS
59656 CONFIG_LINKS = $CONFIG_LINKS
59657 CONFIG_COMMANDS = $CONFIG_COMMANDS
59658 $ $0 $@
59660 on `(hostname || uname -n) 2>/dev/null | sed 1q`
59663 _ACEOF
59665 case $ac_config_files in *"
59666 "*) set x $ac_config_files; shift; ac_config_files=$*;;
59667 esac
59669 case $ac_config_headers in *"
59670 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
59671 esac
59674 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59675 # Files that config.status was made for.
59676 config_files="$ac_config_files"
59677 config_headers="$ac_config_headers"
59678 config_commands="$ac_config_commands"
59680 _ACEOF
59682 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59683 ac_cs_usage="\
59684 \`$as_me' instantiates files and other configuration actions
59685 from templates according to the current configuration. Unless the files
59686 and actions are specified as TAGs, all are instantiated by default.
59688 Usage: $0 [OPTION]... [TAG]...
59690 -h, --help print this help, then exit
59691 -V, --version print version number and configuration settings, then exit
59692 -q, --quiet, --silent
59693 do not print progress messages
59694 -d, --debug don't remove temporary files
59695 --recheck update $as_me by reconfiguring in the same conditions
59696 --file=FILE[:TEMPLATE]
59697 instantiate the configuration file FILE
59698 --header=FILE[:TEMPLATE]
59699 instantiate the configuration header FILE
59701 Configuration files:
59702 $config_files
59704 Configuration headers:
59705 $config_headers
59707 Configuration commands:
59708 $config_commands
59710 Report bugs to the package provider."
59712 _ACEOF
59713 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59714 ac_cs_version="\\
59715 package-unused config.status version-unused
59716 configured by $0, generated by GNU Autoconf 2.64,
59717 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
59719 Copyright (C) 2009 Free Software Foundation, Inc.
59720 This config.status script is free software; the Free Software Foundation
59721 gives unlimited permission to copy, distribute and modify it."
59723 ac_pwd='$ac_pwd'
59724 srcdir='$srcdir'
59725 INSTALL='$INSTALL'
59726 MKDIR_P='$MKDIR_P'
59727 AWK='$AWK'
59728 test -n "\$AWK" || AWK=awk
59729 _ACEOF
59731 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59732 # The default lists apply if the user does not specify any file.
59733 ac_need_defaults=:
59734 while test $# != 0
59736 case $1 in
59737 --*=*)
59738 ac_option=`expr "X$1" : 'X\([^=]*\)='`
59739 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
59740 ac_shift=:
59743 ac_option=$1
59744 ac_optarg=$2
59745 ac_shift=shift
59747 esac
59749 case $ac_option in
59750 # Handling of the options.
59751 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
59752 ac_cs_recheck=: ;;
59753 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
59754 $as_echo "$ac_cs_version"; exit ;;
59755 --debug | --debu | --deb | --de | --d | -d )
59756 debug=: ;;
59757 --file | --fil | --fi | --f )
59758 $ac_shift
59759 case $ac_optarg in
59760 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
59761 esac
59762 as_fn_append CONFIG_FILES " '$ac_optarg'"
59763 ac_need_defaults=false;;
59764 --header | --heade | --head | --hea )
59765 $ac_shift
59766 case $ac_optarg in
59767 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
59768 esac
59769 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
59770 ac_need_defaults=false;;
59771 --he | --h)
59772 # Conflict between --help and --header
59773 as_fn_error "ambiguous option: \`$1'
59774 Try \`$0 --help' for more information.";;
59775 --help | --hel | -h )
59776 $as_echo "$ac_cs_usage"; exit ;;
59777 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
59778 | -silent | --silent | --silen | --sile | --sil | --si | --s)
59779 ac_cs_silent=: ;;
59781 # This is an error.
59782 -*) as_fn_error "unrecognized option: \`$1'
59783 Try \`$0 --help' for more information." ;;
59785 *) as_fn_append ac_config_targets " $1"
59786 ac_need_defaults=false ;;
59788 esac
59789 shift
59790 done
59792 ac_configure_extra_args=
59794 if $ac_cs_silent; then
59795 exec 6>/dev/null
59796 ac_configure_extra_args="$ac_configure_extra_args --silent"
59799 _ACEOF
59800 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59801 if \$ac_cs_recheck; then
59802 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
59803 shift
59804 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
59805 CONFIG_SHELL='$SHELL'
59806 export CONFIG_SHELL
59807 exec "\$@"
59810 _ACEOF
59811 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59812 exec 5>>config.log
59814 echo
59815 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
59816 ## Running $as_me. ##
59817 _ASBOX
59818 $as_echo "$ac_log"
59819 } >&5
59821 _ACEOF
59822 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59824 # INIT-COMMANDS
59827 srcdir="$srcdir"
59828 host="$host"
59829 target="$target"
59830 with_multisubdir="$with_multisubdir"
59831 with_multisrctop="$with_multisrctop"
59832 with_target_subdir="$with_target_subdir"
59833 ac_configure_args="${multilib_arg} ${ac_configure_args}"
59834 multi_basedir="$multi_basedir"
59835 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
59836 CC="$CC"
59837 CXX="$CXX"
59838 GFORTRAN="$GFORTRAN"
59839 GCJ="$GCJ"
59842 # The HP-UX ksh and POSIX shell print the target directory to stdout
59843 # if CDPATH is set.
59844 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
59846 sed_quote_subst='$sed_quote_subst'
59847 double_quote_subst='$double_quote_subst'
59848 delay_variable_subst='$delay_variable_subst'
59849 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
59850 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
59851 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
59852 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
59853 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
59854 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
59855 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
59856 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
59857 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
59858 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
59859 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
59860 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
59861 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
59862 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
59863 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
59864 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
59865 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
59866 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
59867 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
59868 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
59869 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
59870 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
59871 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
59872 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
59873 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
59874 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
59875 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
59876 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
59877 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
59878 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
59879 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
59880 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
59881 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
59882 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
59883 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
59884 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
59885 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
59886 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
59887 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
59888 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
59889 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
59890 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
59891 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
59892 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
59893 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
59894 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
59895 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
59896 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
59897 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
59898 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
59899 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
59900 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
59901 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
59902 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
59903 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
59904 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
59905 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
59906 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
59907 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
59908 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
59909 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
59910 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
59911 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
59912 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
59913 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
59914 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
59915 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
59916 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
59917 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
59918 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
59919 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
59920 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
59921 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
59922 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
59923 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
59924 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
59925 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
59926 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
59927 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
59928 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
59929 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
59930 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
59931 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
59932 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
59933 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
59934 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
59935 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
59936 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
59937 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
59938 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
59939 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
59940 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
59941 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
59942 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
59943 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
59944 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
59945 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
59946 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
59947 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
59948 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
59949 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
59950 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
59951 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
59952 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
59953 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
59954 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
59955 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
59956 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
59957 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
59958 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
59959 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
59960 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
59961 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
59962 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
59963 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
59964 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
59965 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
59966 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
59967 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
59968 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
59969 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
59970 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
59971 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
59972 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
59973 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
59974 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
59975 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
59976 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
59977 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
59978 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
59979 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
59980 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
59981 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
59982 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
59983 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
59984 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
59985 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
59986 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
59987 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
59988 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
59989 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
59990 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
59991 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
59992 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
59993 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
59994 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
59995 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
59996 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
59997 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
59998 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
59999 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60000 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60001 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60002 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60003 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60004 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60005 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60006 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60007 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60008 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60009 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60010 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60011 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60012 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60013 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60014 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60015 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60016 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60017 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60018 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60019 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60021 LTCC='$LTCC'
60022 LTCFLAGS='$LTCFLAGS'
60023 compiler='$compiler_DEFAULT'
60025 # Quote evaled strings.
60026 for var in SED \
60027 GREP \
60028 EGREP \
60029 FGREP \
60030 LD \
60031 NM \
60032 LN_S \
60033 lt_SP2NL \
60034 lt_NL2SP \
60035 reload_flag \
60036 OBJDUMP \
60037 deplibs_check_method \
60038 file_magic_cmd \
60039 AR \
60040 AR_FLAGS \
60041 STRIP \
60042 RANLIB \
60043 CC \
60044 CFLAGS \
60045 compiler \
60046 lt_cv_sys_global_symbol_pipe \
60047 lt_cv_sys_global_symbol_to_cdecl \
60048 lt_cv_sys_global_symbol_to_c_name_address \
60049 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
60050 SHELL \
60051 ECHO \
60052 lt_prog_compiler_no_builtin_flag \
60053 lt_prog_compiler_wl \
60054 lt_prog_compiler_pic \
60055 lt_prog_compiler_static \
60056 lt_cv_prog_compiler_c_o \
60057 need_locks \
60058 DSYMUTIL \
60059 NMEDIT \
60060 LIPO \
60061 OTOOL \
60062 OTOOL64 \
60063 shrext_cmds \
60064 export_dynamic_flag_spec \
60065 whole_archive_flag_spec \
60066 compiler_needs_object \
60067 with_gnu_ld \
60068 allow_undefined_flag \
60069 no_undefined_flag \
60070 hardcode_libdir_flag_spec \
60071 hardcode_libdir_flag_spec_ld \
60072 hardcode_libdir_separator \
60073 fix_srcfile_path \
60074 exclude_expsyms \
60075 include_expsyms \
60076 file_list_spec \
60077 variables_saved_for_relink \
60078 libname_spec \
60079 library_names_spec \
60080 soname_spec \
60081 finish_eval \
60082 old_striplib \
60083 striplib \
60084 compiler_lib_search_dirs \
60085 predep_objects \
60086 postdep_objects \
60087 predeps \
60088 postdeps \
60089 compiler_lib_search_path \
60090 LD_CXX \
60091 compiler_CXX \
60092 lt_prog_compiler_no_builtin_flag_CXX \
60093 lt_prog_compiler_wl_CXX \
60094 lt_prog_compiler_pic_CXX \
60095 lt_prog_compiler_static_CXX \
60096 lt_cv_prog_compiler_c_o_CXX \
60097 export_dynamic_flag_spec_CXX \
60098 whole_archive_flag_spec_CXX \
60099 compiler_needs_object_CXX \
60100 with_gnu_ld_CXX \
60101 allow_undefined_flag_CXX \
60102 no_undefined_flag_CXX \
60103 hardcode_libdir_flag_spec_CXX \
60104 hardcode_libdir_flag_spec_ld_CXX \
60105 hardcode_libdir_separator_CXX \
60106 fix_srcfile_path_CXX \
60107 exclude_expsyms_CXX \
60108 include_expsyms_CXX \
60109 file_list_spec_CXX \
60110 compiler_lib_search_dirs_CXX \
60111 predep_objects_CXX \
60112 postdep_objects_CXX \
60113 predeps_CXX \
60114 postdeps_CXX \
60115 compiler_lib_search_path_CXX; do
60116 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
60117 *[\\\\\\\`\\"\\\$]*)
60118 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
60121 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
60123 esac
60124 done
60126 # Double-quote double-evaled strings.
60127 for var in reload_cmds \
60128 old_postinstall_cmds \
60129 old_postuninstall_cmds \
60130 old_archive_cmds \
60131 extract_expsyms_cmds \
60132 old_archive_from_new_cmds \
60133 old_archive_from_expsyms_cmds \
60134 archive_cmds \
60135 archive_expsym_cmds \
60136 module_cmds \
60137 module_expsym_cmds \
60138 export_symbols_cmds \
60139 prelink_cmds \
60140 postinstall_cmds \
60141 postuninstall_cmds \
60142 finish_cmds \
60143 sys_lib_search_path_spec \
60144 sys_lib_dlsearch_path_spec \
60145 old_archive_cmds_CXX \
60146 old_archive_from_new_cmds_CXX \
60147 old_archive_from_expsyms_cmds_CXX \
60148 archive_cmds_CXX \
60149 archive_expsym_cmds_CXX \
60150 module_cmds_CXX \
60151 module_expsym_cmds_CXX \
60152 export_symbols_cmds_CXX \
60153 prelink_cmds_CXX; do
60154 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
60155 *[\\\\\\\`\\"\\\$]*)
60156 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
60159 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
60161 esac
60162 done
60164 # Fix-up fallback echo if it was mangled by the above quoting rules.
60165 case \$lt_ECHO in
60166 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
60168 esac
60170 ac_aux_dir='$ac_aux_dir'
60171 xsi_shell='$xsi_shell'
60172 lt_shell_append='$lt_shell_append'
60174 # See if we are running on zsh, and set the options which allow our
60175 # commands through without removal of \ escapes INIT.
60176 if test -n "\${ZSH_VERSION+set}" ; then
60177 setopt NO_GLOB_SUBST
60181 PACKAGE='$PACKAGE'
60182 VERSION='$VERSION'
60183 TIMESTAMP='$TIMESTAMP'
60184 RM='$RM'
60185 ofile='$ofile'
60192 GCC="$GCC"
60193 CC="$CC"
60194 acx_cv_header_stdint="$acx_cv_header_stdint"
60195 acx_cv_type_int8_t="$acx_cv_type_int8_t"
60196 acx_cv_type_int16_t="$acx_cv_type_int16_t"
60197 acx_cv_type_int32_t="$acx_cv_type_int32_t"
60198 acx_cv_type_int64_t="$acx_cv_type_int64_t"
60199 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
60200 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
60201 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
60202 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
60203 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
60204 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
60205 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
60206 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
60207 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
60210 _ACEOF
60212 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60214 # Handling of arguments.
60215 for ac_config_target in $ac_config_targets
60217 case $ac_config_target in
60218 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
60219 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
60220 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
60221 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
60222 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
60223 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
60224 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
60225 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
60226 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
60227 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
60228 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
60229 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
60230 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
60231 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
60233 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
60234 esac
60235 done
60238 # If the user did not use the arguments to specify the items to instantiate,
60239 # then the envvar interface is used. Set only those that are not.
60240 # We use the long form for the default assignment because of an extremely
60241 # bizarre bug on SunOS 4.1.3.
60242 if $ac_need_defaults; then
60243 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
60244 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
60245 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
60248 # Have a temporary directory for convenience. Make it in the build tree
60249 # simply because there is no reason against having it here, and in addition,
60250 # creating and moving files from /tmp can sometimes cause problems.
60251 # Hook for its removal unless debugging.
60252 # Note that there is a small window in which the directory will not be cleaned:
60253 # after its creation but before its name has been assigned to `$tmp'.
60254 $debug ||
60256 tmp=
60257 trap 'exit_status=$?
60258 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
60260 trap 'as_fn_exit 1' 1 2 13 15
60262 # Create a (secure) tmp directory for tmp files.
60265 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
60266 test -n "$tmp" && test -d "$tmp"
60267 } ||
60269 tmp=./conf$$-$RANDOM
60270 (umask 077 && mkdir "$tmp")
60271 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
60273 # Set up the scripts for CONFIG_FILES section.
60274 # No need to generate them if there are no CONFIG_FILES.
60275 # This happens for instance with `./config.status config.h'.
60276 if test -n "$CONFIG_FILES"; then
60279 ac_cr=`echo X | tr X '\015'`
60280 # On cygwin, bash can eat \r inside `` if the user requested igncr.
60281 # But we know of no other shell where ac_cr would be empty at this
60282 # point, so we can use a bashism as a fallback.
60283 if test "x$ac_cr" = x; then
60284 eval ac_cr=\$\'\\r\'
60286 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
60287 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
60288 ac_cs_awk_cr='\r'
60289 else
60290 ac_cs_awk_cr=$ac_cr
60293 echo 'BEGIN {' >"$tmp/subs1.awk" &&
60294 _ACEOF
60298 echo "cat >conf$$subs.awk <<_ACEOF" &&
60299 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
60300 echo "_ACEOF"
60301 } >conf$$subs.sh ||
60302 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
60303 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
60304 ac_delim='%!_!# '
60305 for ac_last_try in false false false false false :; do
60306 . ./conf$$subs.sh ||
60307 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
60309 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
60310 if test $ac_delim_n = $ac_delim_num; then
60311 break
60312 elif $ac_last_try; then
60313 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
60314 else
60315 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
60317 done
60318 rm -f conf$$subs.sh
60320 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60321 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
60322 _ACEOF
60323 sed -n '
60325 s/^/S["/; s/!.*/"]=/
60328 s/^[^!]*!//
60329 :repl
60330 t repl
60331 s/'"$ac_delim"'$//
60332 t delim
60335 s/\(.\{148\}\).*/\1/
60336 t more1
60337 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
60340 b repl
60341 :more1
60342 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
60345 s/.\{148\}//
60346 t nl
60347 :delim
60349 s/\(.\{148\}\).*/\1/
60350 t more2
60351 s/["\\]/\\&/g; s/^/"/; s/$/"/
60354 :more2
60355 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
60358 s/.\{148\}//
60359 t delim
60360 ' <conf$$subs.awk | sed '
60361 /^[^""]/{
60363 s/\n//
60365 ' >>$CONFIG_STATUS || ac_write_fail=1
60366 rm -f conf$$subs.awk
60367 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60368 _ACAWK
60369 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
60370 for (key in S) S_is_set[key] = 1
60371 FS = "\a"
60375 line = $ 0
60376 nfields = split(line, field, "@")
60377 substed = 0
60378 len = length(field[1])
60379 for (i = 2; i < nfields; i++) {
60380 key = field[i]
60381 keylen = length(key)
60382 if (S_is_set[key]) {
60383 value = S[key]
60384 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
60385 len += length(value) + length(field[++i])
60386 substed = 1
60387 } else
60388 len += 1 + keylen
60391 print line
60394 _ACAWK
60395 _ACEOF
60396 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60397 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
60398 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
60399 else
60401 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
60402 || as_fn_error "could not setup config files machinery" "$LINENO" 5
60403 _ACEOF
60405 # VPATH may cause trouble with some makes, so we remove $(srcdir),
60406 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
60407 # trailing colons and then remove the whole line if VPATH becomes empty
60408 # (actually we leave an empty line to preserve line numbers).
60409 if test "x$srcdir" = x.; then
60410 ac_vpsub='/^[ ]*VPATH[ ]*=/{
60411 s/:*\$(srcdir):*/:/
60412 s/:*\${srcdir}:*/:/
60413 s/:*@srcdir@:*/:/
60414 s/^\([^=]*=[ ]*\):*/\1/
60415 s/:*$//
60416 s/^[^=]*=[ ]*$//
60420 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60421 fi # test -n "$CONFIG_FILES"
60423 # Set up the scripts for CONFIG_HEADERS section.
60424 # No need to generate them if there are no CONFIG_HEADERS.
60425 # This happens for instance with `./config.status Makefile'.
60426 if test -n "$CONFIG_HEADERS"; then
60427 cat >"$tmp/defines.awk" <<\_ACAWK ||
60428 BEGIN {
60429 _ACEOF
60431 # Transform confdefs.h into an awk script `defines.awk', embedded as
60432 # here-document in config.status, that substitutes the proper values into
60433 # config.h.in to produce config.h.
60435 # Create a delimiter string that does not exist in confdefs.h, to ease
60436 # handling of long lines.
60437 ac_delim='%!_!# '
60438 for ac_last_try in false false :; do
60439 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
60440 if test -z "$ac_t"; then
60441 break
60442 elif $ac_last_try; then
60443 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
60444 else
60445 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
60447 done
60449 # For the awk script, D is an array of macro values keyed by name,
60450 # likewise P contains macro parameters if any. Preserve backslash
60451 # newline sequences.
60453 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
60454 sed -n '
60455 s/.\{148\}/&'"$ac_delim"'/g
60456 t rset
60457 :rset
60458 s/^[ ]*#[ ]*define[ ][ ]*/ /
60459 t def
60461 :def
60462 s/\\$//
60463 t bsnl
60464 s/["\\]/\\&/g
60465 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
60466 D["\1"]=" \3"/p
60467 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
60469 :bsnl
60470 s/["\\]/\\&/g
60471 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
60472 D["\1"]=" \3\\\\\\n"\\/p
60473 t cont
60474 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
60475 t cont
60477 :cont
60479 s/.\{148\}/&'"$ac_delim"'/g
60480 t clear
60481 :clear
60482 s/\\$//
60483 t bsnlc
60484 s/["\\]/\\&/g; s/^/"/; s/$/"/p
60486 :bsnlc
60487 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
60488 b cont
60489 ' <confdefs.h | sed '
60490 s/'"$ac_delim"'/"\\\
60491 "/g' >>$CONFIG_STATUS || ac_write_fail=1
60493 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60494 for (key in D) D_is_set[key] = 1
60495 FS = "\a"
60497 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
60498 line = \$ 0
60499 split(line, arg, " ")
60500 if (arg[1] == "#") {
60501 defundef = arg[2]
60502 mac1 = arg[3]
60503 } else {
60504 defundef = substr(arg[1], 2)
60505 mac1 = arg[2]
60507 split(mac1, mac2, "(") #)
60508 macro = mac2[1]
60509 prefix = substr(line, 1, index(line, defundef) - 1)
60510 if (D_is_set[macro]) {
60511 # Preserve the white space surrounding the "#".
60512 print prefix "define", macro P[macro] D[macro]
60513 next
60514 } else {
60515 # Replace #undef with comments. This is necessary, for example,
60516 # in the case of _POSIX_SOURCE, which is predefined and required
60517 # on some systems where configure will not decide to define it.
60518 if (defundef == "undef") {
60519 print "/*", prefix defundef, macro, "*/"
60520 next
60524 { print }
60525 _ACAWK
60526 _ACEOF
60527 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60528 as_fn_error "could not setup config headers machinery" "$LINENO" 5
60529 fi # test -n "$CONFIG_HEADERS"
60532 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
60533 shift
60534 for ac_tag
60536 case $ac_tag in
60537 :[FHLC]) ac_mode=$ac_tag; continue;;
60538 esac
60539 case $ac_mode$ac_tag in
60540 :[FHL]*:*);;
60541 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
60542 :[FH]-) ac_tag=-:-;;
60543 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
60544 esac
60545 ac_save_IFS=$IFS
60546 IFS=:
60547 set x $ac_tag
60548 IFS=$ac_save_IFS
60549 shift
60550 ac_file=$1
60551 shift
60553 case $ac_mode in
60554 :L) ac_source=$1;;
60555 :[FH])
60556 ac_file_inputs=
60557 for ac_f
60559 case $ac_f in
60560 -) ac_f="$tmp/stdin";;
60561 *) # Look for the file first in the build tree, then in the source tree
60562 # (if the path is not absolute). The absolute path cannot be DOS-style,
60563 # because $ac_f cannot contain `:'.
60564 test -f "$ac_f" ||
60565 case $ac_f in
60566 [\\/$]*) false;;
60567 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
60568 esac ||
60569 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
60570 esac
60571 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
60572 as_fn_append ac_file_inputs " '$ac_f'"
60573 done
60575 # Let's still pretend it is `configure' which instantiates (i.e., don't
60576 # use $as_me), people would be surprised to read:
60577 # /* config.h. Generated by config.status. */
60578 configure_input='Generated from '`
60579 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
60580 `' by configure.'
60581 if test x"$ac_file" != x-; then
60582 configure_input="$ac_file. $configure_input"
60583 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
60584 $as_echo "$as_me: creating $ac_file" >&6;}
60586 # Neutralize special characters interpreted by sed in replacement strings.
60587 case $configure_input in #(
60588 *\&* | *\|* | *\\* )
60589 ac_sed_conf_input=`$as_echo "$configure_input" |
60590 sed 's/[\\\\&|]/\\\\&/g'`;; #(
60591 *) ac_sed_conf_input=$configure_input;;
60592 esac
60594 case $ac_tag in
60595 *:-:* | *:-) cat >"$tmp/stdin" \
60596 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
60597 esac
60599 esac
60601 ac_dir=`$as_dirname -- "$ac_file" ||
60602 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
60603 X"$ac_file" : 'X\(//\)[^/]' \| \
60604 X"$ac_file" : 'X\(//\)$' \| \
60605 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
60606 $as_echo X"$ac_file" |
60607 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
60608 s//\1/
60611 /^X\(\/\/\)[^/].*/{
60612 s//\1/
60615 /^X\(\/\/\)$/{
60616 s//\1/
60619 /^X\(\/\).*/{
60620 s//\1/
60623 s/.*/./; q'`
60624 as_dir="$ac_dir"; as_fn_mkdir_p
60625 ac_builddir=.
60627 case "$ac_dir" in
60628 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
60630 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
60631 # A ".." for each directory in $ac_dir_suffix.
60632 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
60633 case $ac_top_builddir_sub in
60634 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
60635 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
60636 esac ;;
60637 esac
60638 ac_abs_top_builddir=$ac_pwd
60639 ac_abs_builddir=$ac_pwd$ac_dir_suffix
60640 # for backward compatibility:
60641 ac_top_builddir=$ac_top_build_prefix
60643 case $srcdir in
60644 .) # We are building in place.
60645 ac_srcdir=.
60646 ac_top_srcdir=$ac_top_builddir_sub
60647 ac_abs_top_srcdir=$ac_pwd ;;
60648 [\\/]* | ?:[\\/]* ) # Absolute name.
60649 ac_srcdir=$srcdir$ac_dir_suffix;
60650 ac_top_srcdir=$srcdir
60651 ac_abs_top_srcdir=$srcdir ;;
60652 *) # Relative name.
60653 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
60654 ac_top_srcdir=$ac_top_build_prefix$srcdir
60655 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
60656 esac
60657 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
60660 case $ac_mode in
60663 # CONFIG_FILE
60666 case $INSTALL in
60667 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
60668 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
60669 esac
60670 ac_MKDIR_P=$MKDIR_P
60671 case $MKDIR_P in
60672 [\\/$]* | ?:[\\/]* ) ;;
60673 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
60674 esac
60675 _ACEOF
60677 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60678 # If the template does not know about datarootdir, expand it.
60679 # FIXME: This hack should be removed a few years after 2.60.
60680 ac_datarootdir_hack=; ac_datarootdir_seen=
60681 ac_sed_dataroot='
60682 /datarootdir/ {
60686 /@datadir@/p
60687 /@docdir@/p
60688 /@infodir@/p
60689 /@localedir@/p
60690 /@mandir@/p'
60691 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
60692 *datarootdir*) ac_datarootdir_seen=yes;;
60693 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
60694 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
60695 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
60696 _ACEOF
60697 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60698 ac_datarootdir_hack='
60699 s&@datadir@&$datadir&g
60700 s&@docdir@&$docdir&g
60701 s&@infodir@&$infodir&g
60702 s&@localedir@&$localedir&g
60703 s&@mandir@&$mandir&g
60704 s&\\\${datarootdir}&$datarootdir&g' ;;
60705 esac
60706 _ACEOF
60708 # Neutralize VPATH when `$srcdir' = `.'.
60709 # Shell code in configure.ac might set extrasub.
60710 # FIXME: do we really want to maintain this feature?
60711 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60712 ac_sed_extra="$ac_vpsub
60713 $extrasub
60714 _ACEOF
60715 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60717 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
60718 s|@configure_input@|$ac_sed_conf_input|;t t
60719 s&@top_builddir@&$ac_top_builddir_sub&;t t
60720 s&@top_build_prefix@&$ac_top_build_prefix&;t t
60721 s&@srcdir@&$ac_srcdir&;t t
60722 s&@abs_srcdir@&$ac_abs_srcdir&;t t
60723 s&@top_srcdir@&$ac_top_srcdir&;t t
60724 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
60725 s&@builddir@&$ac_builddir&;t t
60726 s&@abs_builddir@&$ac_abs_builddir&;t t
60727 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
60728 s&@INSTALL@&$ac_INSTALL&;t t
60729 s&@MKDIR_P@&$ac_MKDIR_P&;t t
60730 $ac_datarootdir_hack
60732 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
60733 || as_fn_error "could not create $ac_file" "$LINENO" 5
60735 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
60736 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
60737 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
60738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
60739 which seems to be undefined. Please make sure it is defined." >&5
60740 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
60741 which seems to be undefined. Please make sure it is defined." >&2;}
60743 rm -f "$tmp/stdin"
60744 case $ac_file in
60745 -) cat "$tmp/out" && rm -f "$tmp/out";;
60746 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
60747 esac \
60748 || as_fn_error "could not create $ac_file" "$LINENO" 5
60752 # CONFIG_HEADER
60754 if test x"$ac_file" != x-; then
60756 $as_echo "/* $configure_input */" \
60757 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
60758 } >"$tmp/config.h" \
60759 || as_fn_error "could not create $ac_file" "$LINENO" 5
60760 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
60761 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
60762 $as_echo "$as_me: $ac_file is unchanged" >&6;}
60763 else
60764 rm -f "$ac_file"
60765 mv "$tmp/config.h" "$ac_file" \
60766 || as_fn_error "could not create $ac_file" "$LINENO" 5
60768 else
60769 $as_echo "/* $configure_input */" \
60770 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
60771 || as_fn_error "could not create -" "$LINENO" 5
60773 # Compute "$ac_file"'s index in $config_headers.
60774 _am_arg="$ac_file"
60775 _am_stamp_count=1
60776 for _am_header in $config_headers :; do
60777 case $_am_header in
60778 $_am_arg | $_am_arg:* )
60779 break ;;
60781 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
60782 esac
60783 done
60784 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
60785 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
60786 X"$_am_arg" : 'X\(//\)[^/]' \| \
60787 X"$_am_arg" : 'X\(//\)$' \| \
60788 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
60789 $as_echo X"$_am_arg" |
60790 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
60791 s//\1/
60794 /^X\(\/\/\)[^/].*/{
60795 s//\1/
60798 /^X\(\/\/\)$/{
60799 s//\1/
60802 /^X\(\/\).*/{
60803 s//\1/
60806 s/.*/./; q'`/stamp-h$_am_stamp_count
60809 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
60810 $as_echo "$as_me: executing $ac_file commands" >&6;}
60812 esac
60815 case $ac_file$ac_mode in
60816 "default-1":C)
60817 # Only add multilib support code if we just rebuilt the top-level
60818 # Makefile.
60819 case " $CONFIG_FILES " in
60820 *" Makefile "*)
60821 ac_file=Makefile . ${multi_basedir}/config-ml.in
60823 esac ;;
60824 "libtool":C)
60826 # See if we are running on zsh, and set the options which allow our
60827 # commands through without removal of \ escapes.
60828 if test -n "${ZSH_VERSION+set}" ; then
60829 setopt NO_GLOB_SUBST
60832 cfgfile="${ofile}T"
60833 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
60834 $RM "$cfgfile"
60836 cat <<_LT_EOF >> "$cfgfile"
60837 #! $SHELL
60839 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
60840 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
60841 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
60842 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
60844 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
60845 # 2006, 2007, 2008 Free Software Foundation, Inc.
60846 # Written by Gordon Matzigkeit, 1996
60848 # This file is part of GNU Libtool.
60850 # GNU Libtool is free software; you can redistribute it and/or
60851 # modify it under the terms of the GNU General Public License as
60852 # published by the Free Software Foundation; either version 2 of
60853 # the License, or (at your option) any later version.
60855 # As a special exception to the GNU General Public License,
60856 # if you distribute this file as part of a program or library that
60857 # is built using GNU Libtool, you may include this file under the
60858 # same distribution terms that you use for the rest of that program.
60860 # GNU Libtool is distributed in the hope that it will be useful,
60861 # but WITHOUT ANY WARRANTY; without even the implied warranty of
60862 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
60863 # GNU General Public License for more details.
60865 # You should have received a copy of the GNU General Public License
60866 # along with GNU Libtool; see the file COPYING. If not, a copy
60867 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
60868 # obtained by writing to the Free Software Foundation, Inc.,
60869 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
60872 # The names of the tagged configurations supported by this script.
60873 available_tags="CXX "
60875 # ### BEGIN LIBTOOL CONFIG
60877 # Which release of libtool.m4 was used?
60878 macro_version=$macro_version
60879 macro_revision=$macro_revision
60881 # Whether or not to build shared libraries.
60882 build_libtool_libs=$enable_shared
60884 # Whether or not to build static libraries.
60885 build_old_libs=$enable_static
60887 # What type of objects to build.
60888 pic_mode=$pic_mode
60890 # Whether or not to optimize for fast installation.
60891 fast_install=$enable_fast_install
60893 # The host system.
60894 host_alias=$host_alias
60895 host=$host
60896 host_os=$host_os
60898 # The build system.
60899 build_alias=$build_alias
60900 build=$build
60901 build_os=$build_os
60903 # A sed program that does not truncate output.
60904 SED=$lt_SED
60906 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
60907 Xsed="\$SED -e 1s/^X//"
60909 # A grep program that handles long lines.
60910 GREP=$lt_GREP
60912 # An ERE matcher.
60913 EGREP=$lt_EGREP
60915 # A literal string matcher.
60916 FGREP=$lt_FGREP
60918 # A BSD- or MS-compatible name lister.
60919 NM=$lt_NM
60921 # Whether we need soft or hard links.
60922 LN_S=$lt_LN_S
60924 # What is the maximum length of a command?
60925 max_cmd_len=$max_cmd_len
60927 # Object file suffix (normally "o").
60928 objext=$ac_objext
60930 # Executable file suffix (normally "").
60931 exeext=$exeext
60933 # whether the shell understands "unset".
60934 lt_unset=$lt_unset
60936 # turn spaces into newlines.
60937 SP2NL=$lt_lt_SP2NL
60939 # turn newlines into spaces.
60940 NL2SP=$lt_lt_NL2SP
60942 # How to create reloadable object files.
60943 reload_flag=$lt_reload_flag
60944 reload_cmds=$lt_reload_cmds
60946 # An object symbol dumper.
60947 OBJDUMP=$lt_OBJDUMP
60949 # Method to check whether dependent libraries are shared objects.
60950 deplibs_check_method=$lt_deplibs_check_method
60952 # Command to use when deplibs_check_method == "file_magic".
60953 file_magic_cmd=$lt_file_magic_cmd
60955 # The archiver.
60956 AR=$lt_AR
60957 AR_FLAGS=$lt_AR_FLAGS
60959 # A symbol stripping program.
60960 STRIP=$lt_STRIP
60962 # Commands used to install an old-style archive.
60963 RANLIB=$lt_RANLIB
60964 old_postinstall_cmds=$lt_old_postinstall_cmds
60965 old_postuninstall_cmds=$lt_old_postuninstall_cmds
60967 # A C compiler.
60968 LTCC=$lt_CC
60970 # LTCC compiler flags.
60971 LTCFLAGS=$lt_CFLAGS
60973 # Take the output of nm and produce a listing of raw symbols and C names.
60974 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
60976 # Transform the output of nm in a proper C declaration.
60977 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
60979 # Transform the output of nm in a C name address pair.
60980 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
60982 # Transform the output of nm in a C name address pair when lib prefix is needed.
60983 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
60985 # The name of the directory that contains temporary libtool files.
60986 objdir=$objdir
60988 # Shell to use when invoking shell scripts.
60989 SHELL=$lt_SHELL
60991 # An echo program that does not interpret backslashes.
60992 ECHO=$lt_ECHO
60994 # Used to examine libraries when file_magic_cmd begins with "file".
60995 MAGIC_CMD=$MAGIC_CMD
60997 # Must we lock files when doing compilation?
60998 need_locks=$lt_need_locks
61000 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
61001 DSYMUTIL=$lt_DSYMUTIL
61003 # Tool to change global to local symbols on Mac OS X.
61004 NMEDIT=$lt_NMEDIT
61006 # Tool to manipulate fat objects and archives on Mac OS X.
61007 LIPO=$lt_LIPO
61009 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
61010 OTOOL=$lt_OTOOL
61012 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
61013 OTOOL64=$lt_OTOOL64
61015 # Old archive suffix (normally "a").
61016 libext=$libext
61018 # Shared library suffix (normally ".so").
61019 shrext_cmds=$lt_shrext_cmds
61021 # The commands to extract the exported symbol list from a shared archive.
61022 extract_expsyms_cmds=$lt_extract_expsyms_cmds
61024 # Variables whose values should be saved in libtool wrapper scripts and
61025 # restored at link time.
61026 variables_saved_for_relink=$lt_variables_saved_for_relink
61028 # Do we need the "lib" prefix for modules?
61029 need_lib_prefix=$need_lib_prefix
61031 # Do we need a version for libraries?
61032 need_version=$need_version
61034 # Library versioning type.
61035 version_type=$version_type
61037 # Shared library runtime path variable.
61038 runpath_var=$runpath_var
61040 # Shared library path variable.
61041 shlibpath_var=$shlibpath_var
61043 # Is shlibpath searched before the hard-coded library search path?
61044 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
61046 # Format of library name prefix.
61047 libname_spec=$lt_libname_spec
61049 # List of archive names. First name is the real one, the rest are links.
61050 # The last name is the one that the linker finds with -lNAME
61051 library_names_spec=$lt_library_names_spec
61053 # The coded name of the library, if different from the real name.
61054 soname_spec=$lt_soname_spec
61056 # Command to use after installation of a shared archive.
61057 postinstall_cmds=$lt_postinstall_cmds
61059 # Command to use after uninstallation of a shared archive.
61060 postuninstall_cmds=$lt_postuninstall_cmds
61062 # Commands used to finish a libtool library installation in a directory.
61063 finish_cmds=$lt_finish_cmds
61065 # As "finish_cmds", except a single script fragment to be evaled but
61066 # not shown.
61067 finish_eval=$lt_finish_eval
61069 # Whether we should hardcode library paths into libraries.
61070 hardcode_into_libs=$hardcode_into_libs
61072 # Compile-time system search path for libraries.
61073 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
61075 # Run-time system search path for libraries.
61076 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
61078 # Whether dlopen is supported.
61079 dlopen_support=$enable_dlopen
61081 # Whether dlopen of programs is supported.
61082 dlopen_self=$enable_dlopen_self
61084 # Whether dlopen of statically linked programs is supported.
61085 dlopen_self_static=$enable_dlopen_self_static
61087 # Commands to strip libraries.
61088 old_striplib=$lt_old_striplib
61089 striplib=$lt_striplib
61092 # The linker used to build libraries.
61093 LD=$lt_LD
61095 # Commands used to build an old-style archive.
61096 old_archive_cmds=$lt_old_archive_cmds
61098 # A language specific compiler.
61099 CC=$lt_compiler
61101 # Is the compiler the GNU compiler?
61102 with_gcc=$GCC
61104 # Compiler flag to turn off builtin functions.
61105 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
61107 # How to pass a linker flag through the compiler.
61108 wl=$lt_lt_prog_compiler_wl
61110 # Additional compiler flags for building library objects.
61111 pic_flag=$lt_lt_prog_compiler_pic
61113 # Compiler flag to prevent dynamic linking.
61114 link_static_flag=$lt_lt_prog_compiler_static
61116 # Does compiler simultaneously support -c and -o options?
61117 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
61119 # Whether or not to add -lc for building shared libraries.
61120 build_libtool_need_lc=$archive_cmds_need_lc
61122 # Whether or not to disallow shared libs when runtime libs are static.
61123 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
61125 # Compiler flag to allow reflexive dlopens.
61126 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
61128 # Compiler flag to generate shared objects directly from archives.
61129 whole_archive_flag_spec=$lt_whole_archive_flag_spec
61131 # Whether the compiler copes with passing no objects directly.
61132 compiler_needs_object=$lt_compiler_needs_object
61134 # Create an old-style archive from a shared archive.
61135 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
61137 # Create a temporary old-style archive to link instead of a shared archive.
61138 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
61140 # Commands used to build a shared archive.
61141 archive_cmds=$lt_archive_cmds
61142 archive_expsym_cmds=$lt_archive_expsym_cmds
61144 # Commands used to build a loadable module if different from building
61145 # a shared archive.
61146 module_cmds=$lt_module_cmds
61147 module_expsym_cmds=$lt_module_expsym_cmds
61149 # Whether we are building with GNU ld or not.
61150 with_gnu_ld=$lt_with_gnu_ld
61152 # Flag that allows shared libraries with undefined symbols to be built.
61153 allow_undefined_flag=$lt_allow_undefined_flag
61155 # Flag that enforces no undefined symbols.
61156 no_undefined_flag=$lt_no_undefined_flag
61158 # Flag to hardcode \$libdir into a binary during linking.
61159 # This must work even if \$libdir does not exist
61160 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
61162 # If ld is used when linking, flag to hardcode \$libdir into a binary
61163 # during linking. This must work even if \$libdir does not exist.
61164 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
61166 # Whether we need a single "-rpath" flag with a separated argument.
61167 hardcode_libdir_separator=$lt_hardcode_libdir_separator
61169 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61170 # DIR into the resulting binary.
61171 hardcode_direct=$hardcode_direct
61173 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61174 # DIR into the resulting binary and the resulting library dependency is
61175 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
61176 # library is relocated.
61177 hardcode_direct_absolute=$hardcode_direct_absolute
61179 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
61180 # into the resulting binary.
61181 hardcode_minus_L=$hardcode_minus_L
61183 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
61184 # into the resulting binary.
61185 hardcode_shlibpath_var=$hardcode_shlibpath_var
61187 # Set to "yes" if building a shared library automatically hardcodes DIR
61188 # into the library and all subsequent libraries and executables linked
61189 # against it.
61190 hardcode_automatic=$hardcode_automatic
61192 # Set to yes if linker adds runtime paths of dependent libraries
61193 # to runtime path list.
61194 inherit_rpath=$inherit_rpath
61196 # Whether libtool must link a program against all its dependency libraries.
61197 link_all_deplibs=$link_all_deplibs
61199 # Fix the shell variable \$srcfile for the compiler.
61200 fix_srcfile_path=$lt_fix_srcfile_path
61202 # Set to "yes" if exported symbols are required.
61203 always_export_symbols=$always_export_symbols
61205 # The commands to list exported symbols.
61206 export_symbols_cmds=$lt_export_symbols_cmds
61208 # Symbols that should not be listed in the preloaded symbols.
61209 exclude_expsyms=$lt_exclude_expsyms
61211 # Symbols that must always be exported.
61212 include_expsyms=$lt_include_expsyms
61214 # Commands necessary for linking programs (against libraries) with templates.
61215 prelink_cmds=$lt_prelink_cmds
61217 # Specify filename containing input files.
61218 file_list_spec=$lt_file_list_spec
61220 # How to hardcode a shared library path into an executable.
61221 hardcode_action=$hardcode_action
61223 # The directories searched by this compiler when creating a shared library.
61224 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
61226 # Dependencies to place before and after the objects being linked to
61227 # create a shared library.
61228 predep_objects=$lt_predep_objects
61229 postdep_objects=$lt_postdep_objects
61230 predeps=$lt_predeps
61231 postdeps=$lt_postdeps
61233 # The library search path used internally by the compiler when linking
61234 # a shared library.
61235 compiler_lib_search_path=$lt_compiler_lib_search_path
61237 # ### END LIBTOOL CONFIG
61239 _LT_EOF
61241 case $host_os in
61242 aix3*)
61243 cat <<\_LT_EOF >> "$cfgfile"
61244 # AIX sometimes has problems with the GCC collect2 program. For some
61245 # reason, if we set the COLLECT_NAMES environment variable, the problems
61246 # vanish in a puff of smoke.
61247 if test "X${COLLECT_NAMES+set}" != Xset; then
61248 COLLECT_NAMES=
61249 export COLLECT_NAMES
61251 _LT_EOF
61253 esac
61256 ltmain="$ac_aux_dir/ltmain.sh"
61259 # We use sed instead of cat because bash on DJGPP gets confused if
61260 # if finds mixed CR/LF and LF-only lines. Since sed operates in
61261 # text mode, it properly converts lines to CR/LF. This bash problem
61262 # is reportedly fixed, but why not run on old versions too?
61263 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
61264 || (rm -f "$cfgfile"; exit 1)
61266 case $xsi_shell in
61267 yes)
61268 cat << \_LT_EOF >> "$cfgfile"
61270 # func_dirname file append nondir_replacement
61271 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
61272 # otherwise set result to NONDIR_REPLACEMENT.
61273 func_dirname ()
61275 case ${1} in
61276 */*) func_dirname_result="${1%/*}${2}" ;;
61277 * ) func_dirname_result="${3}" ;;
61278 esac
61281 # func_basename file
61282 func_basename ()
61284 func_basename_result="${1##*/}"
61287 # func_dirname_and_basename file append nondir_replacement
61288 # perform func_basename and func_dirname in a single function
61289 # call:
61290 # dirname: Compute the dirname of FILE. If nonempty,
61291 # add APPEND to the result, otherwise set result
61292 # to NONDIR_REPLACEMENT.
61293 # value returned in "$func_dirname_result"
61294 # basename: Compute filename of FILE.
61295 # value retuned in "$func_basename_result"
61296 # Implementation must be kept synchronized with func_dirname
61297 # and func_basename. For efficiency, we do not delegate to
61298 # those functions but instead duplicate the functionality here.
61299 func_dirname_and_basename ()
61301 case ${1} in
61302 */*) func_dirname_result="${1%/*}${2}" ;;
61303 * ) func_dirname_result="${3}" ;;
61304 esac
61305 func_basename_result="${1##*/}"
61308 # func_stripname prefix suffix name
61309 # strip PREFIX and SUFFIX off of NAME.
61310 # PREFIX and SUFFIX must not contain globbing or regex special
61311 # characters, hashes, percent signs, but SUFFIX may contain a leading
61312 # dot (in which case that matches only a dot).
61313 func_stripname ()
61315 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
61316 # positional parameters, so assign one to ordinary parameter first.
61317 func_stripname_result=${3}
61318 func_stripname_result=${func_stripname_result#"${1}"}
61319 func_stripname_result=${func_stripname_result%"${2}"}
61322 # func_opt_split
61323 func_opt_split ()
61325 func_opt_split_opt=${1%%=*}
61326 func_opt_split_arg=${1#*=}
61329 # func_lo2o object
61330 func_lo2o ()
61332 case ${1} in
61333 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
61334 *) func_lo2o_result=${1} ;;
61335 esac
61338 # func_xform libobj-or-source
61339 func_xform ()
61341 func_xform_result=${1%.*}.lo
61344 # func_arith arithmetic-term...
61345 func_arith ()
61347 func_arith_result=$(( $* ))
61350 # func_len string
61351 # STRING may not start with a hyphen.
61352 func_len ()
61354 func_len_result=${#1}
61357 _LT_EOF
61359 *) # Bourne compatible functions.
61360 cat << \_LT_EOF >> "$cfgfile"
61362 # func_dirname file append nondir_replacement
61363 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
61364 # otherwise set result to NONDIR_REPLACEMENT.
61365 func_dirname ()
61367 # Extract subdirectory from the argument.
61368 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
61369 if test "X$func_dirname_result" = "X${1}"; then
61370 func_dirname_result="${3}"
61371 else
61372 func_dirname_result="$func_dirname_result${2}"
61376 # func_basename file
61377 func_basename ()
61379 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
61383 # func_stripname prefix suffix name
61384 # strip PREFIX and SUFFIX off of NAME.
61385 # PREFIX and SUFFIX must not contain globbing or regex special
61386 # characters, hashes, percent signs, but SUFFIX may contain a leading
61387 # dot (in which case that matches only a dot).
61388 # func_strip_suffix prefix name
61389 func_stripname ()
61391 case ${2} in
61392 .*) func_stripname_result=`$ECHO "X${3}" \
61393 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
61394 *) func_stripname_result=`$ECHO "X${3}" \
61395 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
61396 esac
61399 # sed scripts:
61400 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
61401 my_sed_long_arg='1s/^-[^=]*=//'
61403 # func_opt_split
61404 func_opt_split ()
61406 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
61407 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
61410 # func_lo2o object
61411 func_lo2o ()
61413 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
61416 # func_xform libobj-or-source
61417 func_xform ()
61419 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
61422 # func_arith arithmetic-term...
61423 func_arith ()
61425 func_arith_result=`expr "$@"`
61428 # func_len string
61429 # STRING may not start with a hyphen.
61430 func_len ()
61432 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
61435 _LT_EOF
61436 esac
61438 case $lt_shell_append in
61439 yes)
61440 cat << \_LT_EOF >> "$cfgfile"
61442 # func_append var value
61443 # Append VALUE to the end of shell variable VAR.
61444 func_append ()
61446 eval "$1+=\$2"
61448 _LT_EOF
61451 cat << \_LT_EOF >> "$cfgfile"
61453 # func_append var value
61454 # Append VALUE to the end of shell variable VAR.
61455 func_append ()
61457 eval "$1=\$$1\$2"
61460 _LT_EOF
61462 esac
61465 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
61466 || (rm -f "$cfgfile"; exit 1)
61468 mv -f "$cfgfile" "$ofile" ||
61469 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
61470 chmod +x "$ofile"
61473 cat <<_LT_EOF >> "$ofile"
61475 # ### BEGIN LIBTOOL TAG CONFIG: CXX
61477 # The linker used to build libraries.
61478 LD=$lt_LD_CXX
61480 # Commands used to build an old-style archive.
61481 old_archive_cmds=$lt_old_archive_cmds_CXX
61483 # A language specific compiler.
61484 CC=$lt_compiler_CXX
61486 # Is the compiler the GNU compiler?
61487 with_gcc=$GCC_CXX
61489 # Compiler flag to turn off builtin functions.
61490 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
61492 # How to pass a linker flag through the compiler.
61493 wl=$lt_lt_prog_compiler_wl_CXX
61495 # Additional compiler flags for building library objects.
61496 pic_flag=$lt_lt_prog_compiler_pic_CXX
61498 # Compiler flag to prevent dynamic linking.
61499 link_static_flag=$lt_lt_prog_compiler_static_CXX
61501 # Does compiler simultaneously support -c and -o options?
61502 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
61504 # Whether or not to add -lc for building shared libraries.
61505 build_libtool_need_lc=$archive_cmds_need_lc_CXX
61507 # Whether or not to disallow shared libs when runtime libs are static.
61508 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
61510 # Compiler flag to allow reflexive dlopens.
61511 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
61513 # Compiler flag to generate shared objects directly from archives.
61514 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
61516 # Whether the compiler copes with passing no objects directly.
61517 compiler_needs_object=$lt_compiler_needs_object_CXX
61519 # Create an old-style archive from a shared archive.
61520 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
61522 # Create a temporary old-style archive to link instead of a shared archive.
61523 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
61525 # Commands used to build a shared archive.
61526 archive_cmds=$lt_archive_cmds_CXX
61527 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
61529 # Commands used to build a loadable module if different from building
61530 # a shared archive.
61531 module_cmds=$lt_module_cmds_CXX
61532 module_expsym_cmds=$lt_module_expsym_cmds_CXX
61534 # Whether we are building with GNU ld or not.
61535 with_gnu_ld=$lt_with_gnu_ld_CXX
61537 # Flag that allows shared libraries with undefined symbols to be built.
61538 allow_undefined_flag=$lt_allow_undefined_flag_CXX
61540 # Flag that enforces no undefined symbols.
61541 no_undefined_flag=$lt_no_undefined_flag_CXX
61543 # Flag to hardcode \$libdir into a binary during linking.
61544 # This must work even if \$libdir does not exist
61545 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
61547 # If ld is used when linking, flag to hardcode \$libdir into a binary
61548 # during linking. This must work even if \$libdir does not exist.
61549 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
61551 # Whether we need a single "-rpath" flag with a separated argument.
61552 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
61554 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61555 # DIR into the resulting binary.
61556 hardcode_direct=$hardcode_direct_CXX
61558 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61559 # DIR into the resulting binary and the resulting library dependency is
61560 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
61561 # library is relocated.
61562 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
61564 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
61565 # into the resulting binary.
61566 hardcode_minus_L=$hardcode_minus_L_CXX
61568 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
61569 # into the resulting binary.
61570 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
61572 # Set to "yes" if building a shared library automatically hardcodes DIR
61573 # into the library and all subsequent libraries and executables linked
61574 # against it.
61575 hardcode_automatic=$hardcode_automatic_CXX
61577 # Set to yes if linker adds runtime paths of dependent libraries
61578 # to runtime path list.
61579 inherit_rpath=$inherit_rpath_CXX
61581 # Whether libtool must link a program against all its dependency libraries.
61582 link_all_deplibs=$link_all_deplibs_CXX
61584 # Fix the shell variable \$srcfile for the compiler.
61585 fix_srcfile_path=$lt_fix_srcfile_path_CXX
61587 # Set to "yes" if exported symbols are required.
61588 always_export_symbols=$always_export_symbols_CXX
61590 # The commands to list exported symbols.
61591 export_symbols_cmds=$lt_export_symbols_cmds_CXX
61593 # Symbols that should not be listed in the preloaded symbols.
61594 exclude_expsyms=$lt_exclude_expsyms_CXX
61596 # Symbols that must always be exported.
61597 include_expsyms=$lt_include_expsyms_CXX
61599 # Commands necessary for linking programs (against libraries) with templates.
61600 prelink_cmds=$lt_prelink_cmds_CXX
61602 # Specify filename containing input files.
61603 file_list_spec=$lt_file_list_spec_CXX
61605 # How to hardcode a shared library path into an executable.
61606 hardcode_action=$hardcode_action_CXX
61608 # The directories searched by this compiler when creating a shared library.
61609 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
61611 # Dependencies to place before and after the objects being linked to
61612 # create a shared library.
61613 predep_objects=$lt_predep_objects_CXX
61614 postdep_objects=$lt_postdep_objects_CXX
61615 predeps=$lt_predeps_CXX
61616 postdeps=$lt_postdeps_CXX
61618 # The library search path used internally by the compiler when linking
61619 # a shared library.
61620 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
61622 # ### END LIBTOOL TAG CONFIG: CXX
61623 _LT_EOF
61626 "include/gstdint.h":C)
61627 if test "$GCC" = yes; then
61628 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
61629 else
61630 echo "/* generated for $CC */" > tmp-stdint.h
61633 sed 's/^ *//' >> tmp-stdint.h <<EOF
61635 #ifndef GCC_GENERATED_STDINT_H
61636 #define GCC_GENERATED_STDINT_H 1
61638 #include <sys/types.h>
61641 if test "$acx_cv_header_stdint" != stdint.h; then
61642 echo "#include <stddef.h>" >> tmp-stdint.h
61644 if test "$acx_cv_header_stdint" != stddef.h; then
61645 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
61648 sed 's/^ *//' >> tmp-stdint.h <<EOF
61649 /* glibc uses these symbols as guards to prevent redefinitions. */
61650 #ifdef __int8_t_defined
61651 #define _INT8_T
61652 #define _INT16_T
61653 #define _INT32_T
61654 #endif
61655 #ifdef __uint32_t_defined
61656 #define _UINT32_T
61657 #endif
61661 # ----------------- done header, emit basic int types -------------
61662 if test "$acx_cv_header_stdint" = stddef.h; then
61663 sed 's/^ *//' >> tmp-stdint.h <<EOF
61665 #ifndef _UINT8_T
61666 #define _UINT8_T
61667 #ifndef __uint8_t_defined
61668 #define __uint8_t_defined
61669 typedef unsigned $acx_cv_type_int8_t uint8_t;
61670 #endif
61671 #endif
61673 #ifndef _UINT16_T
61674 #define _UINT16_T
61675 #ifndef __uint16_t_defined
61676 #define __uint16_t_defined
61677 typedef unsigned $acx_cv_type_int16_t uint16_t;
61678 #endif
61679 #endif
61681 #ifndef _UINT32_T
61682 #define _UINT32_T
61683 #ifndef __uint32_t_defined
61684 #define __uint32_t_defined
61685 typedef unsigned $acx_cv_type_int32_t uint32_t;
61686 #endif
61687 #endif
61689 #ifndef _INT8_T
61690 #define _INT8_T
61691 #ifndef __int8_t_defined
61692 #define __int8_t_defined
61693 typedef $acx_cv_type_int8_t int8_t;
61694 #endif
61695 #endif
61697 #ifndef _INT16_T
61698 #define _INT16_T
61699 #ifndef __int16_t_defined
61700 #define __int16_t_defined
61701 typedef $acx_cv_type_int16_t int16_t;
61702 #endif
61703 #endif
61705 #ifndef _INT32_T
61706 #define _INT32_T
61707 #ifndef __int32_t_defined
61708 #define __int32_t_defined
61709 typedef $acx_cv_type_int32_t int32_t;
61710 #endif
61711 #endif
61713 elif test "$ac_cv_type_u_int32_t" = yes; then
61714 sed 's/^ *//' >> tmp-stdint.h <<EOF
61716 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
61717 #ifndef _INT8_T
61718 #define _INT8_T
61719 #endif
61720 #ifndef _INT16_T
61721 #define _INT16_T
61722 #endif
61723 #ifndef _INT32_T
61724 #define _INT32_T
61725 #endif
61727 #ifndef _UINT8_T
61728 #define _UINT8_T
61729 #ifndef __uint8_t_defined
61730 #define __uint8_t_defined
61731 typedef u_int8_t uint8_t;
61732 #endif
61733 #endif
61735 #ifndef _UINT16_T
61736 #define _UINT16_T
61737 #ifndef __uint16_t_defined
61738 #define __uint16_t_defined
61739 typedef u_int16_t uint16_t;
61740 #endif
61741 #endif
61743 #ifndef _UINT32_T
61744 #define _UINT32_T
61745 #ifndef __uint32_t_defined
61746 #define __uint32_t_defined
61747 typedef u_int32_t uint32_t;
61748 #endif
61749 #endif
61751 else
61752 sed 's/^ *//' >> tmp-stdint.h <<EOF
61754 /* Some systems have guard macros to prevent redefinitions, define them. */
61755 #ifndef _INT8_T
61756 #define _INT8_T
61757 #endif
61758 #ifndef _INT16_T
61759 #define _INT16_T
61760 #endif
61761 #ifndef _INT32_T
61762 #define _INT32_T
61763 #endif
61764 #ifndef _UINT8_T
61765 #define _UINT8_T
61766 #endif
61767 #ifndef _UINT16_T
61768 #define _UINT16_T
61769 #endif
61770 #ifndef _UINT32_T
61771 #define _UINT32_T
61772 #endif
61776 # ------------- done basic int types, emit int64_t types ------------
61777 if test "$ac_cv_type_uint64_t" = yes; then
61778 sed 's/^ *//' >> tmp-stdint.h <<EOF
61780 /* system headers have good uint64_t and int64_t */
61781 #ifndef _INT64_T
61782 #define _INT64_T
61783 #endif
61784 #ifndef _UINT64_T
61785 #define _UINT64_T
61786 #endif
61788 elif test "$ac_cv_type_u_int64_t" = yes; then
61789 sed 's/^ *//' >> tmp-stdint.h <<EOF
61791 /* system headers have an u_int64_t (and int64_t) */
61792 #ifndef _INT64_T
61793 #define _INT64_T
61794 #endif
61795 #ifndef _UINT64_T
61796 #define _UINT64_T
61797 #ifndef __uint64_t_defined
61798 #define __uint64_t_defined
61799 typedef u_int64_t uint64_t;
61800 #endif
61801 #endif
61803 elif test -n "$acx_cv_type_int64_t"; then
61804 sed 's/^ *//' >> tmp-stdint.h <<EOF
61806 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
61807 #ifndef _INT64_T
61808 #define _INT64_T
61809 typedef $acx_cv_type_int64_t int64_t;
61810 #endif
61811 #ifndef _UINT64_T
61812 #define _UINT64_T
61813 #ifndef __uint64_t_defined
61814 #define __uint64_t_defined
61815 typedef unsigned $acx_cv_type_int64_t uint64_t;
61816 #endif
61817 #endif
61819 else
61820 sed 's/^ *//' >> tmp-stdint.h <<EOF
61822 /* some common heuristics for int64_t, using compiler-specific tests */
61823 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
61824 #ifndef _INT64_T
61825 #define _INT64_T
61826 #ifndef __int64_t_defined
61827 typedef long long int64_t;
61828 #endif
61829 #endif
61830 #ifndef _UINT64_T
61831 #define _UINT64_T
61832 typedef unsigned long long uint64_t;
61833 #endif
61835 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
61836 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
61837 does not implement __extension__. But that compiler doesn't define
61838 __GNUC_MINOR__. */
61839 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
61840 # define __extension__
61841 # endif
61843 # ifndef _INT64_T
61844 # define _INT64_T
61845 __extension__ typedef long long int64_t;
61846 # endif
61847 # ifndef _UINT64_T
61848 # define _UINT64_T
61849 __extension__ typedef unsigned long long uint64_t;
61850 # endif
61852 #elif !defined __STRICT_ANSI__
61853 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
61855 # ifndef _INT64_T
61856 # define _INT64_T
61857 typedef __int64 int64_t;
61858 # endif
61859 # ifndef _UINT64_T
61860 # define _UINT64_T
61861 typedef unsigned __int64 uint64_t;
61862 # endif
61863 # endif /* compiler */
61865 #endif /* ANSI version */
61869 # ------------- done int64_t types, emit intptr types ------------
61870 if test "$ac_cv_type_uintptr_t" != yes; then
61871 sed 's/^ *//' >> tmp-stdint.h <<EOF
61873 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
61874 #ifndef __uintptr_t_defined
61875 typedef u$acx_cv_type_intptr_t uintptr_t;
61876 #endif
61877 #ifndef __intptr_t_defined
61878 typedef $acx_cv_type_intptr_t intptr_t;
61879 #endif
61883 # ------------- done intptr types, emit int_least types ------------
61884 if test "$ac_cv_type_int_least32_t" != yes; then
61885 sed 's/^ *//' >> tmp-stdint.h <<EOF
61887 /* Define int_least types */
61888 typedef int8_t int_least8_t;
61889 typedef int16_t int_least16_t;
61890 typedef int32_t int_least32_t;
61891 #ifdef _INT64_T
61892 typedef int64_t int_least64_t;
61893 #endif
61895 typedef uint8_t uint_least8_t;
61896 typedef uint16_t uint_least16_t;
61897 typedef uint32_t uint_least32_t;
61898 #ifdef _UINT64_T
61899 typedef uint64_t uint_least64_t;
61900 #endif
61904 # ------------- done intptr types, emit int_fast types ------------
61905 if test "$ac_cv_type_int_fast32_t" != yes; then
61906 sed 's/^ *//' >> tmp-stdint.h <<EOF
61908 /* Define int_fast types. short is often slow */
61909 typedef int8_t int_fast8_t;
61910 typedef int int_fast16_t;
61911 typedef int32_t int_fast32_t;
61912 #ifdef _INT64_T
61913 typedef int64_t int_fast64_t;
61914 #endif
61916 typedef uint8_t uint_fast8_t;
61917 typedef unsigned int uint_fast16_t;
61918 typedef uint32_t uint_fast32_t;
61919 #ifdef _UINT64_T
61920 typedef uint64_t uint_fast64_t;
61921 #endif
61925 if test "$ac_cv_type_uintmax_t" != yes; then
61926 sed 's/^ *//' >> tmp-stdint.h <<EOF
61928 /* Define intmax based on what we found */
61929 #ifdef _INT64_T
61930 typedef int64_t intmax_t;
61931 #else
61932 typedef long intmax_t;
61933 #endif
61934 #ifdef _UINT64_T
61935 typedef uint64_t uintmax_t;
61936 #else
61937 typedef unsigned long uintmax_t;
61938 #endif
61942 sed 's/^ *//' >> tmp-stdint.h <<EOF
61944 #endif /* GCC_GENERATED_STDINT_H */
61947 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
61948 rm -f tmp-stdint.h
61949 else
61950 mv -f tmp-stdint.h include/gstdint.h
61954 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
61955 "include/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;}
61966 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
61967 s!`test -f '$<' || echo '$(srcdir)/'`!!
61968 _EOF
61969 sed -f vpsed$$ $ac_file > tmp$$
61970 mv tmp$$ $ac_file
61971 rm vpsed$$
61972 echo 'MULTISUBDIR =' >> $ac_file
61973 ml_norecursion=yes
61974 . ${multi_basedir}/config-ml.in
61975 { ml_norecursion=; unset ml_norecursion;}
61977 "python/Makefile":F) cat > vpsed$$ << \_EOF
61978 s!`test -f '$<' || echo '$(srcdir)/'`!!
61979 _EOF
61980 sed -f vpsed$$ $ac_file > tmp$$
61981 mv tmp$$ $ac_file
61982 rm vpsed$$
61983 echo 'MULTISUBDIR =' >> $ac_file
61984 ml_norecursion=yes
61985 . ${multi_basedir}/config-ml.in
61986 { ml_norecursion=; unset ml_norecursion;}
61988 "src/Makefile":F) cat > vpsed$$ << \_EOF
61989 s!`test -f '$<' || echo '$(srcdir)/'`!!
61990 _EOF
61991 sed -f vpsed$$ $ac_file > tmp$$
61992 mv tmp$$ $ac_file
61993 rm vpsed$$
61994 echo 'MULTISUBDIR =' >> $ac_file
61995 ml_norecursion=yes
61996 . ${multi_basedir}/config-ml.in
61997 { ml_norecursion=; unset ml_norecursion;}
61999 "doc/Makefile":F) cat > vpsed$$ << \_EOF
62000 s!`test -f '$<' || echo '$(srcdir)/'`!!
62001 _EOF
62002 sed -f vpsed$$ $ac_file > tmp$$
62003 mv tmp$$ $ac_file
62004 rm vpsed$$
62005 echo 'MULTISUBDIR =' >> $ac_file
62006 ml_norecursion=yes
62007 . ${multi_basedir}/config-ml.in
62008 { ml_norecursion=; unset ml_norecursion;}
62010 "po/Makefile":F) cat > vpsed$$ << \_EOF
62011 s!`test -f '$<' || echo '$(srcdir)/'`!!
62012 _EOF
62013 sed -f vpsed$$ $ac_file > tmp$$
62014 mv tmp$$ $ac_file
62015 rm vpsed$$
62016 echo 'MULTISUBDIR =' >> $ac_file
62017 ml_norecursion=yes
62018 . ${multi_basedir}/config-ml.in
62019 { ml_norecursion=; unset ml_norecursion;}
62021 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
62022 s!`test -f '$<' || echo '$(srcdir)/'`!!
62023 _EOF
62024 sed -f vpsed$$ $ac_file > tmp$$
62025 mv tmp$$ $ac_file
62026 rm vpsed$$
62027 echo 'MULTISUBDIR =' >> $ac_file
62028 ml_norecursion=yes
62029 . ${multi_basedir}/config-ml.in
62030 { ml_norecursion=; unset ml_norecursion;}
62032 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
62034 esac
62035 done # for ac_tag
62038 as_fn_exit 0
62039 _ACEOF
62040 ac_clean_files=$ac_clean_files_save
62042 test $ac_write_fail = 0 ||
62043 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
62046 # configure is writing to config.log, and then calls config.status.
62047 # config.status does its own redirection, appending to config.log.
62048 # Unfortunately, on DOS this fails, as config.log is still kept open
62049 # by configure, so config.status won't be able to write to it; its
62050 # output is simply discarded. So we exec the FD to /dev/null,
62051 # effectively closing config.log, so it can be properly (re)opened and
62052 # appended to by config.status. When coming back to configure, we
62053 # need to make the FD available again.
62054 if test "$no_create" != yes; then
62055 ac_cs_success=:
62056 ac_config_status_args=
62057 test "$silent" = yes &&
62058 ac_config_status_args="$ac_config_status_args --quiet"
62059 exec 5>/dev/null
62060 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
62061 exec 5>>config.log
62062 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
62063 # would make configure fail if this is the last instruction.
62064 $ac_cs_success || as_fn_exit $?
62066 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
62067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
62068 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}