Fix memory leaks.
[official-gcc/Ramakrishna.git] / libstdc++-v3 / configure
blob75adc589e12ceb9639978a27b48355c5ce2f15c6
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;}
15362 # Fake what AC_TRY_COMPILE does, without linking as this is
15363 # unnecessary for this test.
15365 cat > conftest.$ac_ext << EOF
15366 #line 15366 "configure"
15367 int main()
15369 _Decimal32 d1;
15370 _Decimal64 d2;
15371 _Decimal128 d3;
15372 return 0;
15376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15377 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15378 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15379 (eval $ac_compile) 2>&5
15380 ac_status=$?
15381 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15382 test $ac_status = 0; }; then
15384 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15386 enable_dfp=yes
15387 else
15388 enable_dfp=no
15390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15391 $as_echo "$enable_dfp" >&6; }
15392 rm -f conftest*
15395 # Checks for compiler support that doesn't require linking.
15397 # All these tests are for C++; save the language and the compiler flags.
15398 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15399 # found in GLIBCXX_CONFIGURE.
15401 ac_ext=cpp
15402 ac_cpp='$CXXCPP $CPPFLAGS'
15403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15407 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15408 ac_save_CXXFLAGS="$CXXFLAGS"
15410 # Check for maintainer-mode bits.
15411 if test x"$USE_MAINTAINER_MODE" = xno; then
15412 WERROR=''
15413 else
15414 WERROR='-Werror'
15417 # Check for -ffunction-sections -fdata-sections
15418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15419 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15420 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15422 /* end confdefs.h. */
15423 int foo; void bar() { };
15425 main ()
15429 return 0;
15431 _ACEOF
15432 if ac_fn_cxx_try_compile "$LINENO"; then :
15433 ac_fdsections=yes
15434 else
15435 ac_fdsections=no
15437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15438 if test "$ac_test_CXXFLAGS" = set; then
15439 CXXFLAGS="$ac_save_CXXFLAGS"
15440 else
15441 # this is the suspicious part
15442 CXXFLAGS=''
15444 if test x"$ac_fdsections" = x"yes"; then
15445 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15448 $as_echo "$ac_fdsections" >&6; }
15450 ac_ext=c
15451 ac_cpp='$CPP $CPPFLAGS'
15452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15460 # Enable all the variable C++ runtime options that don't require linking.
15462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15463 $as_echo_n "checking for underlying I/O to use... " >&6; }
15464 # Check whether --enable-cstdio was given.
15465 if test "${enable_cstdio+set}" = set; then :
15466 enableval=$enable_cstdio;
15467 case "$enableval" in
15468 stdio) ;;
15469 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15470 esac
15472 else
15473 enable_cstdio=stdio
15478 # Now that libio has been removed, you can have any color you want as long
15479 # as it's black. This is one big no-op until other packages are added, but
15480 # showing the framework never hurts.
15481 case ${enable_cstdio} in
15482 stdio)
15483 CSTDIO_H=config/io/c_io_stdio.h
15484 BASIC_FILE_H=config/io/basic_file_stdio.h
15485 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15487 $as_echo "stdio" >&6; }
15489 esac
15496 # Check whether --enable-clocale was given.
15497 if test "${enable_clocale+set}" = set; then :
15498 enableval=$enable_clocale;
15499 case "$enableval" in
15500 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
15501 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15502 esac
15504 else
15505 enable_clocale=auto
15510 # Deal with gettext issues. Default to not using it (=no) until we detect
15511 # support for it later. Let the user turn it off via --e/d, but let that
15512 # default to on for easier handling.
15513 USE_NLS=no
15514 # Check whether --enable-nls was given.
15515 if test "${enable_nls+set}" = set; then :
15516 enableval=$enable_nls;
15517 else
15518 enable_nls=yes
15522 # Either a known packaage, or "auto"
15523 if test $enable_clocale = no || test $enable_clocale = yes; then
15524 enable_clocale=auto
15526 enable_clocale_flag=$enable_clocale
15528 # Probe for locale model to use if none specified.
15529 # Default to "generic".
15530 if test $enable_clocale_flag = auto; then
15531 case ${target_os} in
15532 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15533 enable_clocale_flag=gnu
15535 darwin* | freebsd*)
15536 enable_clocale_flag=darwin
15539 enable_clocale_flag=generic
15541 esac
15544 # Sanity check model, and test for special functionality.
15545 if test $enable_clocale_flag = gnu; then
15546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15547 /* end confdefs.h. */
15549 #include <features.h>
15550 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
15551 _GLIBCXX_ok
15552 #endif
15554 _ACEOF
15555 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15556 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15557 enable_clocale_flag=gnu
15558 else
15559 enable_clocale_flag=generic
15561 rm -f conftest*
15564 if test $enable_clocale = auto; then
15565 # Test for bugs early in glibc-2.2.x series
15566 if test "$cross_compiling" = yes; then :
15567 enable_clocale_flag=generic
15568 else
15569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15570 /* end confdefs.h. */
15572 #define _GNU_SOURCE 1
15573 #include <locale.h>
15574 #include <string.h>
15575 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
15576 extern __typeof(newlocale) __newlocale;
15577 extern __typeof(duplocale) __duplocale;
15578 extern __typeof(strcoll_l) __strcoll_l;
15579 #endif
15580 int main()
15582 const char __one[] = "Äuglein Augmen";
15583 const char __two[] = "Äuglein";
15584 int i;
15585 int j;
15586 __locale_t loc;
15587 __locale_t loc_dup;
15588 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
15589 loc_dup = __duplocale(loc);
15590 i = __strcoll_l(__one, __two, loc);
15591 j = __strcoll_l(__one, __two, loc_dup);
15592 return 0;
15595 _ACEOF
15596 if ac_fn_c_try_run "$LINENO"; then :
15597 enable_clocale_flag=gnu
15598 else
15599 enable_clocale_flag=generic
15601 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15602 conftest.$ac_objext conftest.beam conftest.$ac_ext
15607 # Set it to scream when it hurts.
15608 ac_save_CFLAGS="$CFLAGS"
15609 CFLAGS="-Wimplicit-function-declaration -Werror"
15611 # Use strxfrm_l if available.
15612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15613 /* end confdefs.h. */
15614 #define _GNU_SOURCE 1
15615 #include <string.h>
15616 #include <locale.h>
15618 main ()
15620 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15622 return 0;
15624 _ACEOF
15625 if ac_fn_c_try_compile "$LINENO"; then :
15627 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15632 # Use strerror_l if available.
15633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15634 /* end confdefs.h. */
15635 #define _GNU_SOURCE 1
15636 #include <string.h>
15637 #include <locale.h>
15639 main ()
15641 __locale_t loc; strerror_l(5, loc);
15643 return 0;
15645 _ACEOF
15646 if ac_fn_c_try_compile "$LINENO"; then :
15648 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15653 CFLAGS="$ac_save_CFLAGS"
15656 # Perhaps use strerror_r if available, and strerror_l isn't.
15657 ac_save_CFLAGS="$CFLAGS"
15658 CFLAGS="-Wimplicit-function-declaration -Werror"
15659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15660 /* end confdefs.h. */
15661 #define _GNU_SOURCE 1
15662 #include <string.h>
15663 #include <locale.h>
15665 main ()
15667 char s[128]; strerror_r(5, s, 128);
15669 return 0;
15671 _ACEOF
15672 if ac_fn_c_try_compile "$LINENO"; then :
15674 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15678 CFLAGS="$ac_save_CFLAGS"
15680 # Set configure bits for specified locale package
15681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15682 $as_echo_n "checking for C locale to use... " >&6; }
15683 case ${enable_clocale_flag} in
15684 generic)
15685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15686 $as_echo "generic" >&6; }
15688 CLOCALE_H=config/locale/generic/c_locale.h
15689 CLOCALE_CC=config/locale/generic/c_locale.cc
15690 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15691 CCOLLATE_CC=config/locale/generic/collate_members.cc
15692 CCTYPE_CC=config/locale/generic/ctype_members.cc
15693 CMESSAGES_H=config/locale/generic/messages_members.h
15694 CMESSAGES_CC=config/locale/generic/messages_members.cc
15695 CMONEY_CC=config/locale/generic/monetary_members.cc
15696 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15697 CTIME_H=config/locale/generic/time_members.h
15698 CTIME_CC=config/locale/generic/time_members.cc
15699 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15701 darwin)
15702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15703 $as_echo "darwin or freebsd" >&6; }
15705 CLOCALE_H=config/locale/generic/c_locale.h
15706 CLOCALE_CC=config/locale/generic/c_locale.cc
15707 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15708 CCOLLATE_CC=config/locale/generic/collate_members.cc
15709 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15710 CMESSAGES_H=config/locale/generic/messages_members.h
15711 CMESSAGES_CC=config/locale/generic/messages_members.cc
15712 CMONEY_CC=config/locale/generic/monetary_members.cc
15713 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15714 CTIME_H=config/locale/generic/time_members.h
15715 CTIME_CC=config/locale/generic/time_members.cc
15716 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15719 gnu)
15720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15721 $as_echo "gnu" >&6; }
15723 # Declare intention to use gettext, and add support for specific
15724 # languages.
15725 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15726 ALL_LINGUAS="de fr"
15728 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15729 # Extract the first word of "msgfmt", so it can be a program name with args.
15730 set dummy msgfmt; ac_word=$2
15731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15732 $as_echo_n "checking for $ac_word... " >&6; }
15733 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
15734 $as_echo_n "(cached) " >&6
15735 else
15736 if test -n "$check_msgfmt"; then
15737 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15738 else
15739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15740 for as_dir in $PATH
15742 IFS=$as_save_IFS
15743 test -z "$as_dir" && as_dir=.
15744 for ac_exec_ext in '' $ac_executable_extensions; do
15745 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15746 ac_cv_prog_check_msgfmt="yes"
15747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15748 break 2
15750 done
15751 done
15752 IFS=$as_save_IFS
15754 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
15757 check_msgfmt=$ac_cv_prog_check_msgfmt
15758 if test -n "$check_msgfmt"; then
15759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
15760 $as_echo "$check_msgfmt" >&6; }
15761 else
15762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15763 $as_echo "no" >&6; }
15767 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
15768 USE_NLS=yes
15770 # Export the build objects.
15771 for ling in $ALL_LINGUAS; do \
15772 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
15773 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
15774 done
15778 CLOCALE_H=config/locale/gnu/c_locale.h
15779 CLOCALE_CC=config/locale/gnu/c_locale.cc
15780 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
15781 CCOLLATE_CC=config/locale/gnu/collate_members.cc
15782 CCTYPE_CC=config/locale/gnu/ctype_members.cc
15783 CMESSAGES_H=config/locale/gnu/messages_members.h
15784 CMESSAGES_CC=config/locale/gnu/messages_members.cc
15785 CMONEY_CC=config/locale/gnu/monetary_members.cc
15786 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
15787 CTIME_H=config/locale/gnu/time_members.h
15788 CTIME_CC=config/locale/gnu/time_members.cc
15789 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
15791 ieee_1003.1-2001)
15792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
15793 $as_echo "IEEE 1003.1" >&6; }
15795 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
15796 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
15797 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15798 CCOLLATE_CC=config/locale/generic/collate_members.cc
15799 CCTYPE_CC=config/locale/generic/ctype_members.cc
15800 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
15801 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
15802 CMONEY_CC=config/locale/generic/monetary_members.cc
15803 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15804 CTIME_H=config/locale/generic/time_members.h
15805 CTIME_CC=config/locale/generic/time_members.cc
15806 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15808 esac
15810 # This is where the testsuite looks for locale catalogs, using the
15811 # -DLOCALEDIR define during testsuite compilation.
15812 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
15815 # A standalone libintl (e.g., GNU libintl) may be in use.
15816 if test $USE_NLS = yes; then
15817 for ac_header in libintl.h
15818 do :
15819 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
15820 if test "x$ac_cv_header_libintl_h" = x""yes; then :
15821 cat >>confdefs.h <<_ACEOF
15822 #define HAVE_LIBINTL_H 1
15823 _ACEOF
15825 else
15826 USE_NLS=no
15829 done
15831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
15832 $as_echo_n "checking for library containing gettext... " >&6; }
15833 if test "${ac_cv_search_gettext+set}" = set; then :
15834 $as_echo_n "(cached) " >&6
15835 else
15836 ac_func_search_save_LIBS=$LIBS
15837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15838 /* end confdefs.h. */
15840 /* Override any GCC internal prototype to avoid an error.
15841 Use char because int might match the return type of a GCC
15842 builtin and then its argument prototype would still apply. */
15843 #ifdef __cplusplus
15844 extern "C"
15845 #endif
15846 char gettext ();
15848 main ()
15850 return gettext ();
15852 return 0;
15854 _ACEOF
15855 for ac_lib in '' intl; do
15856 if test -z "$ac_lib"; then
15857 ac_res="none required"
15858 else
15859 ac_res=-l$ac_lib
15860 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15862 if test x$gcc_no_link = xyes; then
15863 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15865 if ac_fn_c_try_link "$LINENO"; then :
15866 ac_cv_search_gettext=$ac_res
15868 rm -f core conftest.err conftest.$ac_objext \
15869 conftest$ac_exeext
15870 if test "${ac_cv_search_gettext+set}" = set; then :
15871 break
15873 done
15874 if test "${ac_cv_search_gettext+set}" = set; then :
15876 else
15877 ac_cv_search_gettext=no
15879 rm conftest.$ac_ext
15880 LIBS=$ac_func_search_save_LIBS
15882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
15883 $as_echo "$ac_cv_search_gettext" >&6; }
15884 ac_res=$ac_cv_search_gettext
15885 if test "$ac_res" != no; then :
15886 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15888 else
15889 USE_NLS=no
15893 if test $USE_NLS = yes; then
15895 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
15914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
15915 $as_echo_n "checking for std::allocator base class... " >&6; }
15916 # Check whether --enable-libstdcxx-allocator was given.
15917 if test "${enable_libstdcxx_allocator+set}" = set; then :
15918 enableval=$enable_libstdcxx_allocator;
15919 case "$enableval" in
15920 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
15921 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
15922 esac
15924 else
15925 enable_libstdcxx_allocator=auto
15930 # If they didn't use this option switch, or if they specified --enable
15931 # with no specific model, we'll have to look for one. If they
15932 # specified --disable (???), do likewise.
15933 if test $enable_libstdcxx_allocator = no ||
15934 test $enable_libstdcxx_allocator = yes;
15935 then
15936 enable_libstdcxx_allocator=auto
15939 # Either a known package, or "auto". Auto implies the default choice
15940 # for a particular platform.
15941 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
15943 # Probe for host-specific support if no specific model is specified.
15944 # Default to "new".
15945 if test $enable_libstdcxx_allocator_flag = auto; then
15946 case ${target_os} in
15947 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15948 enable_libstdcxx_allocator_flag=new
15951 enable_libstdcxx_allocator_flag=new
15953 esac
15955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
15956 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
15959 # Set configure bits for specified locale package
15960 case ${enable_libstdcxx_allocator_flag} in
15961 bitmap)
15962 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
15963 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
15965 malloc)
15966 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
15967 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
15970 ALLOCATOR_H=config/allocator/mt_allocator_base.h
15971 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
15973 new)
15974 ALLOCATOR_H=config/allocator/new_allocator_base.h
15975 ALLOCATOR_NAME=__gnu_cxx::new_allocator
15977 pool)
15978 ALLOCATOR_H=config/allocator/pool_allocator_base.h
15979 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
15981 esac
15987 # Check whether --enable-cheaders was given.
15988 if test "${enable_cheaders+set}" = set; then :
15989 enableval=$enable_cheaders;
15990 case "$enableval" in
15991 c|c_std|c_global) ;;
15992 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
15993 esac
15995 else
15996 enable_cheaders=$c_model
16000 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16001 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16003 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16005 # Allow overrides to configure.host here.
16006 if test $enable_cheaders = c_global; then
16007 c_compatibility=yes
16010 if test $enable_cheaders = c_global || test $enable_cheaders = c_std; then
16011 c_extra=yes
16021 # Check whether --enable-long-long was given.
16022 if test "${enable_long_long+set}" = set; then :
16023 enableval=$enable_long_long;
16024 case "$enableval" in
16025 yes|no) ;;
16026 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16027 esac
16029 else
16030 enable_long_long=yes
16034 if test $enable_long_long = yes; then
16036 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16040 $as_echo_n "checking for enabled long long specializations... " >&6; }
16041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16042 $as_echo "$enable_long_long" >&6; }
16045 # Check whether --enable-wchar_t was given.
16046 if test "${enable_wchar_t+set}" = set; then :
16047 enableval=$enable_wchar_t;
16048 case "$enableval" in
16049 yes|no) ;;
16050 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16051 esac
16053 else
16054 enable_wchar_t=yes
16059 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16060 for ac_header in wchar.h
16061 do :
16062 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16063 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16064 cat >>confdefs.h <<_ACEOF
16065 #define HAVE_WCHAR_H 1
16066 _ACEOF
16067 ac_has_wchar_h=yes
16068 else
16069 ac_has_wchar_h=no
16072 done
16074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16075 $as_echo_n "checking for mbstate_t... " >&6; }
16076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16077 /* end confdefs.h. */
16078 #include <wchar.h>
16080 main ()
16082 mbstate_t teststate;
16084 return 0;
16086 _ACEOF
16087 if ac_fn_c_try_compile "$LINENO"; then :
16088 have_mbstate_t=yes
16089 else
16090 have_mbstate_t=no
16092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16094 $as_echo "$have_mbstate_t" >&6; }
16095 if test x"$have_mbstate_t" = xyes; then
16097 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16101 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16102 # ac_has_wchar_h.
16103 for ac_header in wctype.h
16104 do :
16105 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16106 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16107 cat >>confdefs.h <<_ACEOF
16108 #define HAVE_WCTYPE_H 1
16109 _ACEOF
16110 ac_has_wctype_h=yes
16111 else
16112 ac_has_wctype_h=no
16115 done
16118 if test x"$enable_wchar_t" = x"yes"; then
16121 ac_ext=cpp
16122 ac_cpp='$CXXCPP $CPPFLAGS'
16123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16128 if test x"$ac_has_wchar_h" = xyes &&
16129 test x"$ac_has_wctype_h" = xyes; then
16130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16131 /* end confdefs.h. */
16132 #include <wchar.h>
16133 #include <stddef.h>
16134 wint_t i;
16135 long l = WEOF;
16136 long j = WCHAR_MIN;
16137 long k = WCHAR_MAX;
16138 namespace test
16140 using ::btowc;
16141 using ::fgetwc;
16142 using ::fgetws;
16143 using ::fputwc;
16144 using ::fputws;
16145 using ::fwide;
16146 using ::fwprintf;
16147 using ::fwscanf;
16148 using ::getwc;
16149 using ::getwchar;
16150 using ::mbrlen;
16151 using ::mbrtowc;
16152 using ::mbsinit;
16153 using ::mbsrtowcs;
16154 using ::putwc;
16155 using ::putwchar;
16156 using ::swprintf;
16157 using ::swscanf;
16158 using ::ungetwc;
16159 using ::vfwprintf;
16160 using ::vswprintf;
16161 using ::vwprintf;
16162 using ::wcrtomb;
16163 using ::wcscat;
16164 using ::wcschr;
16165 using ::wcscmp;
16166 using ::wcscoll;
16167 using ::wcscpy;
16168 using ::wcscspn;
16169 using ::wcsftime;
16170 using ::wcslen;
16171 using ::wcsncat;
16172 using ::wcsncmp;
16173 using ::wcsncpy;
16174 using ::wcspbrk;
16175 using ::wcsrchr;
16176 using ::wcsrtombs;
16177 using ::wcsspn;
16178 using ::wcsstr;
16179 using ::wcstod;
16180 using ::wcstok;
16181 using ::wcstol;
16182 using ::wcstoul;
16183 using ::wcsxfrm;
16184 using ::wctob;
16185 using ::wmemchr;
16186 using ::wmemcmp;
16187 using ::wmemcpy;
16188 using ::wmemmove;
16189 using ::wmemset;
16190 using ::wprintf;
16191 using ::wscanf;
16195 main ()
16199 return 0;
16201 _ACEOF
16202 if ac_fn_cxx_try_compile "$LINENO"; then :
16204 else
16205 enable_wchar_t=no
16207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16208 else
16209 enable_wchar_t=no
16212 ac_ext=c
16213 ac_cpp='$CPP $CPPFLAGS'
16214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16220 if test x"$enable_wchar_t" = x"yes"; then
16222 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16227 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16229 $as_echo "$enable_wchar_t" >&6; }
16233 # Check whether --enable-c99 was given.
16234 if test "${enable_c99+set}" = set; then :
16235 enableval=$enable_c99;
16236 case "$enableval" in
16237 yes|no) ;;
16238 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16239 esac
16241 else
16242 enable_c99=yes
16247 if test x"$enable_c99" = x"yes"; then
16250 ac_ext=cpp
16251 ac_cpp='$CXXCPP $CPPFLAGS'
16252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16257 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16258 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16259 # spuriously enabled.
16260 # Long term, -std=c++0x could be even better, could manage to explicitely
16261 # request C99 facilities to the underlying C headers.
16262 ac_save_CXXFLAGS="$CXXFLAGS"
16263 CXXFLAGS="$CXXFLAGS -std=c++98"
16264 ac_save_LIBS="$LIBS"
16265 ac_save_gcc_no_link="$gcc_no_link"
16267 if test x$gcc_no_link != xyes; then
16268 # Use -fno-exceptions to that the C driver can link these tests without
16269 # hitting undefined references to personality routines.
16270 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16272 $as_echo_n "checking for sin in -lm... " >&6; }
16273 if test "${ac_cv_lib_m_sin+set}" = set; then :
16274 $as_echo_n "(cached) " >&6
16275 else
16276 ac_check_lib_save_LIBS=$LIBS
16277 LIBS="-lm $LIBS"
16278 if test x$gcc_no_link = xyes; then
16279 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16282 /* end confdefs.h. */
16284 /* Override any GCC internal prototype to avoid an error.
16285 Use char because int might match the return type of a GCC
16286 builtin and then its argument prototype would still apply. */
16287 #ifdef __cplusplus
16288 extern "C"
16289 #endif
16290 char sin ();
16292 main ()
16294 return sin ();
16296 return 0;
16298 _ACEOF
16299 if ac_fn_cxx_try_link "$LINENO"; then :
16300 ac_cv_lib_m_sin=yes
16301 else
16302 ac_cv_lib_m_sin=no
16304 rm -f core conftest.err conftest.$ac_objext \
16305 conftest$ac_exeext conftest.$ac_ext
16306 LIBS=$ac_check_lib_save_LIBS
16308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16309 $as_echo "$ac_cv_lib_m_sin" >&6; }
16310 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16312 LIBS="$LIBS -lm"
16314 else
16316 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16317 gcc_no_link=yes
16323 # Check for the existence of <math.h> functions used if C99 is enabled.
16324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16325 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16326 if test "${glibcxx_cv_c99_math+set}" = set; then :
16327 $as_echo_n "(cached) " >&6
16328 else
16330 if test x$gcc_no_link = xyes; then
16331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16332 /* end confdefs.h. */
16333 #include <math.h>
16334 volatile double d1, d2;
16335 volatile int i;
16337 main ()
16339 i = fpclassify(d1);
16340 i = isfinite(d1);
16341 i = isinf(d1);
16342 i = isnan(d1);
16343 i = isnormal(d1);
16344 i = signbit(d1);
16345 i = isgreater(d1, d2);
16346 i = isgreaterequal(d1, d2);
16347 i = isless(d1, d2);
16348 i = islessequal(d1, d2);
16349 i = islessgreater(d1, d2);
16350 i = islessgreater(d1, d2);
16351 i = isunordered(d1, d2);
16354 return 0;
16356 _ACEOF
16357 if ac_fn_cxx_try_compile "$LINENO"; then :
16358 glibcxx_cv_c99_math=yes
16359 else
16360 glibcxx_cv_c99_math=no
16362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16363 else
16364 if test x$gcc_no_link = xyes; then
16365 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16368 /* end confdefs.h. */
16369 #include <math.h>
16370 volatile double d1, d2;
16371 volatile int i;
16373 main ()
16375 i = fpclassify(d1);
16376 i = isfinite(d1);
16377 i = isinf(d1);
16378 i = isnan(d1);
16379 i = isnormal(d1);
16380 i = signbit(d1);
16381 i = isgreater(d1, d2);
16382 i = isgreaterequal(d1, d2);
16383 i = isless(d1, d2);
16384 i = islessequal(d1, d2);
16385 i = islessgreater(d1, d2);
16386 i = islessgreater(d1, d2);
16387 i = isunordered(d1, d2);
16390 return 0;
16392 _ACEOF
16393 if ac_fn_cxx_try_link "$LINENO"; then :
16394 glibcxx_cv_c99_math=yes
16395 else
16396 glibcxx_cv_c99_math=no
16398 rm -f core conftest.err conftest.$ac_objext \
16399 conftest$ac_exeext conftest.$ac_ext
16404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16405 $as_echo "$glibcxx_cv_c99_math" >&6; }
16406 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16408 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16412 # Check for the existence of <complex.h> complex math functions.
16413 # This is necessary even though libstdc++ uses the builtin versions
16414 # of these functions, because if the builtin cannot be used, a reference
16415 # to the library function is emitted.
16416 for ac_header in tgmath.h
16417 do :
16418 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16419 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16420 cat >>confdefs.h <<_ACEOF
16421 #define HAVE_TGMATH_H 1
16422 _ACEOF
16423 ac_has_tgmath_h=yes
16424 else
16425 ac_has_tgmath_h=no
16428 done
16430 for ac_header in complex.h
16431 do :
16432 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16433 if test "x$ac_cv_header_complex_h" = x""yes; then :
16434 cat >>confdefs.h <<_ACEOF
16435 #define HAVE_COMPLEX_H 1
16436 _ACEOF
16437 ac_has_complex_h=yes
16438 else
16439 ac_has_complex_h=no
16442 done
16444 glibcxx_cv_c99_complex=no;
16445 if test x"$ac_has_complex_h" = x"yes"; then
16446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16447 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16448 if test x$gcc_no_link = xyes; then
16449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16450 /* end confdefs.h. */
16451 #include <complex.h>
16452 typedef __complex__ float float_type;
16453 typedef __complex__ double double_type;
16454 typedef __complex__ long double ld_type;
16455 volatile float_type tmpf;
16456 volatile double_type tmpd;
16457 volatile ld_type tmpld;
16458 volatile float f;
16459 volatile double d;
16460 volatile long double ld;
16462 main ()
16464 f = cabsf(tmpf);
16465 f = cargf(tmpf);
16466 tmpf = ccosf(tmpf);
16467 tmpf = ccoshf(tmpf);
16468 tmpf = cexpf(tmpf);
16469 tmpf = clogf(tmpf);
16470 tmpf = csinf(tmpf);
16471 tmpf = csinhf(tmpf);
16472 tmpf = csqrtf(tmpf);
16473 tmpf = ctanf(tmpf);
16474 tmpf = ctanhf(tmpf);
16475 tmpf = cpowf(tmpf, tmpf);
16476 tmpf = cprojf(tmpf);
16477 d = cabs(tmpd);
16478 d = carg(tmpd);
16479 tmpd = ccos(tmpd);
16480 tmpd = ccosh(tmpd);
16481 tmpd = cexp(tmpd);
16482 tmpd = clog(tmpd);
16483 tmpd = csin(tmpd);
16484 tmpd = csinh(tmpd);
16485 tmpd = csqrt(tmpd);
16486 tmpd = ctan(tmpd);
16487 tmpd = ctanh(tmpd);
16488 tmpd = cpow(tmpd, tmpd);
16489 tmpd = cproj(tmpd);
16490 ld = cabsl(tmpld);
16491 ld = cargl(tmpld);
16492 tmpld = ccosl(tmpld);
16493 tmpld = ccoshl(tmpld);
16494 tmpld = cexpl(tmpld);
16495 tmpld = clogl(tmpld);
16496 tmpld = csinl(tmpld);
16497 tmpld = csinhl(tmpld);
16498 tmpld = csqrtl(tmpld);
16499 tmpld = ctanl(tmpld);
16500 tmpld = ctanhl(tmpld);
16501 tmpld = cpowl(tmpld, tmpld);
16502 tmpld = cprojl(tmpld);
16505 return 0;
16507 _ACEOF
16508 if ac_fn_cxx_try_compile "$LINENO"; then :
16509 glibcxx_cv_c99_complex=yes
16510 else
16511 glibcxx_cv_c99_complex=no
16513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16514 else
16515 if test x$gcc_no_link = xyes; then
16516 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16519 /* end confdefs.h. */
16520 #include <complex.h>
16521 typedef __complex__ float float_type;
16522 typedef __complex__ double double_type;
16523 typedef __complex__ long double ld_type;
16524 volatile float_type tmpf;
16525 volatile double_type tmpd;
16526 volatile ld_type tmpld;
16527 volatile float f;
16528 volatile double d;
16529 volatile long double ld;
16531 main ()
16533 f = cabsf(tmpf);
16534 f = cargf(tmpf);
16535 tmpf = ccosf(tmpf);
16536 tmpf = ccoshf(tmpf);
16537 tmpf = cexpf(tmpf);
16538 tmpf = clogf(tmpf);
16539 tmpf = csinf(tmpf);
16540 tmpf = csinhf(tmpf);
16541 tmpf = csqrtf(tmpf);
16542 tmpf = ctanf(tmpf);
16543 tmpf = ctanhf(tmpf);
16544 tmpf = cpowf(tmpf, tmpf);
16545 tmpf = cprojf(tmpf);
16546 d = cabs(tmpd);
16547 d = carg(tmpd);
16548 tmpd = ccos(tmpd);
16549 tmpd = ccosh(tmpd);
16550 tmpd = cexp(tmpd);
16551 tmpd = clog(tmpd);
16552 tmpd = csin(tmpd);
16553 tmpd = csinh(tmpd);
16554 tmpd = csqrt(tmpd);
16555 tmpd = ctan(tmpd);
16556 tmpd = ctanh(tmpd);
16557 tmpd = cpow(tmpd, tmpd);
16558 tmpd = cproj(tmpd);
16559 ld = cabsl(tmpld);
16560 ld = cargl(tmpld);
16561 tmpld = ccosl(tmpld);
16562 tmpld = ccoshl(tmpld);
16563 tmpld = cexpl(tmpld);
16564 tmpld = clogl(tmpld);
16565 tmpld = csinl(tmpld);
16566 tmpld = csinhl(tmpld);
16567 tmpld = csqrtl(tmpld);
16568 tmpld = ctanl(tmpld);
16569 tmpld = ctanhl(tmpld);
16570 tmpld = cpowl(tmpld, tmpld);
16571 tmpld = cprojl(tmpld);
16574 return 0;
16576 _ACEOF
16577 if ac_fn_cxx_try_link "$LINENO"; then :
16578 glibcxx_cv_c99_complex=yes
16579 else
16580 glibcxx_cv_c99_complex=no
16582 rm -f core conftest.err conftest.$ac_objext \
16583 conftest$ac_exeext conftest.$ac_ext
16586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16587 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16588 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16590 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16594 # Check for the existence in <stdio.h> of vscanf, et. al.
16595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16596 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16597 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16598 $as_echo_n "(cached) " >&6
16599 else
16601 if test x$gcc_no_link = xyes; then
16602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16603 /* end confdefs.h. */
16604 #include <stdio.h>
16605 #include <stdarg.h>
16606 void foo(char* fmt, ...)
16608 va_list args; va_start(args, fmt);
16609 vfscanf(stderr, "%i", args);
16610 vscanf("%i", args);
16611 vsnprintf(fmt, 0, "%i", args);
16612 vsscanf(fmt, "%i", args);
16615 main ()
16617 snprintf("12", 0, "%i");
16619 return 0;
16621 _ACEOF
16622 if ac_fn_cxx_try_compile "$LINENO"; then :
16623 glibcxx_cv_c99_stdio=yes
16624 else
16625 glibcxx_cv_c99_stdio=no
16627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16628 else
16629 if test x$gcc_no_link = xyes; then
16630 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16633 /* end confdefs.h. */
16634 #include <stdio.h>
16635 #include <stdarg.h>
16636 void foo(char* fmt, ...)
16638 va_list args; va_start(args, fmt);
16639 vfscanf(stderr, "%i", args);
16640 vscanf("%i", args);
16641 vsnprintf(fmt, 0, "%i", args);
16642 vsscanf(fmt, "%i", args);
16645 main ()
16647 snprintf("12", 0, "%i");
16649 return 0;
16651 _ACEOF
16652 if ac_fn_cxx_try_link "$LINENO"; then :
16653 glibcxx_cv_c99_stdio=yes
16654 else
16655 glibcxx_cv_c99_stdio=no
16657 rm -f core conftest.err conftest.$ac_objext \
16658 conftest$ac_exeext conftest.$ac_ext
16663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16664 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16666 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16668 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16669 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16670 $as_echo_n "(cached) " >&6
16671 else
16673 if test x$gcc_no_link = xyes; then
16674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16675 /* end confdefs.h. */
16676 #include <stdlib.h>
16677 volatile float f;
16678 volatile long double ld;
16679 volatile unsigned long long ll;
16680 lldiv_t mydivt;
16682 main ()
16684 char* tmp;
16685 f = strtof("gnu", &tmp);
16686 ld = strtold("gnu", &tmp);
16687 ll = strtoll("gnu", &tmp, 10);
16688 ll = strtoull("gnu", &tmp, 10);
16689 ll = llabs(10);
16690 mydivt = lldiv(10,1);
16691 ll = mydivt.quot;
16692 ll = mydivt.rem;
16693 ll = atoll("10");
16694 _Exit(0);
16697 return 0;
16699 _ACEOF
16700 if ac_fn_cxx_try_compile "$LINENO"; then :
16701 glibcxx_cv_c99_stdlib=yes
16702 else
16703 glibcxx_cv_c99_stdlib=no
16705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16706 else
16707 if test x$gcc_no_link = xyes; then
16708 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16711 /* end confdefs.h. */
16712 #include <stdlib.h>
16713 volatile float f;
16714 volatile long double ld;
16715 volatile unsigned long long ll;
16716 lldiv_t mydivt;
16718 main ()
16720 char* tmp;
16721 f = strtof("gnu", &tmp);
16722 ld = strtold("gnu", &tmp);
16723 ll = strtoll("gnu", &tmp, 10);
16724 ll = strtoull("gnu", &tmp, 10);
16725 ll = llabs(10);
16726 mydivt = lldiv(10,1);
16727 ll = mydivt.quot;
16728 ll = mydivt.rem;
16729 ll = atoll("10");
16730 _Exit(0);
16733 return 0;
16735 _ACEOF
16736 if ac_fn_cxx_try_link "$LINENO"; then :
16737 glibcxx_cv_c99_stdlib=yes
16738 else
16739 glibcxx_cv_c99_stdlib=no
16741 rm -f core conftest.err conftest.$ac_objext \
16742 conftest$ac_exeext conftest.$ac_ext
16747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
16748 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
16750 # Check for the existence in <wchar.h> of wcstold, etc.
16751 glibcxx_cv_c99_wchar=no;
16752 if test x"$ac_has_wchar_h" = xyes &&
16753 test x"$ac_has_wctype_h" = xyes; then
16754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
16755 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
16756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16757 /* end confdefs.h. */
16758 #include <wchar.h>
16759 namespace test
16761 using ::wcstold;
16762 using ::wcstoll;
16763 using ::wcstoull;
16767 main ()
16771 return 0;
16773 _ACEOF
16774 if ac_fn_cxx_try_compile "$LINENO"; then :
16775 glibcxx_cv_c99_wchar=yes
16776 else
16777 glibcxx_cv_c99_wchar=no
16779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16781 # Checks for wide character functions that may not be present.
16782 # Injection of these is wrapped with guard macros.
16783 # NB: only put functions here, instead of immediately above, if
16784 # absolutely necessary.
16785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16786 /* end confdefs.h. */
16787 #include <wchar.h>
16788 namespace test { using ::vfwscanf; }
16790 main ()
16794 return 0;
16796 _ACEOF
16797 if ac_fn_cxx_try_compile "$LINENO"; then :
16799 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
16802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16805 /* end confdefs.h. */
16806 #include <wchar.h>
16807 namespace test { using ::vswscanf; }
16809 main ()
16813 return 0;
16815 _ACEOF
16816 if ac_fn_cxx_try_compile "$LINENO"; then :
16818 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
16821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16824 /* end confdefs.h. */
16825 #include <wchar.h>
16826 namespace test { using ::vwscanf; }
16828 main ()
16832 return 0;
16834 _ACEOF
16835 if ac_fn_cxx_try_compile "$LINENO"; then :
16837 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
16840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16843 /* end confdefs.h. */
16844 #include <wchar.h>
16845 namespace test { using ::wcstof; }
16847 main ()
16851 return 0;
16853 _ACEOF
16854 if ac_fn_cxx_try_compile "$LINENO"; then :
16856 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
16859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16862 /* end confdefs.h. */
16863 #include <wctype.h>
16865 main ()
16867 wint_t t; int i = iswblank(t);
16869 return 0;
16871 _ACEOF
16872 if ac_fn_cxx_try_compile "$LINENO"; then :
16874 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
16877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
16880 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
16883 # Option parsed, now set things appropriately.
16884 if test x"$glibcxx_cv_c99_math" = x"no" ||
16885 test x"$glibcxx_cv_c99_complex" = x"no" ||
16886 test x"$glibcxx_cv_c99_stdio" = x"no" ||
16887 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
16888 test x"$glibcxx_cv_c99_wchar" = x"no"; then
16889 enable_c99=no;
16890 else
16892 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
16896 gcc_no_link="$ac_save_gcc_no_link"
16897 LIBS="$ac_save_LIBS"
16898 CXXFLAGS="$ac_save_CXXFLAGS"
16899 ac_ext=c
16900 ac_cpp='$CPP $CPPFLAGS'
16901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
16908 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
16909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
16910 $as_echo "$enable_c99" >&6; }
16913 # Check whether --enable-concept-checks was given.
16914 if test "${enable_concept_checks+set}" = set; then :
16915 enableval=$enable_concept_checks;
16916 case "$enableval" in
16917 yes|no) ;;
16918 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
16919 esac
16921 else
16922 enable_concept_checks=no
16926 if test $enable_concept_checks = yes; then
16928 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
16933 # Check whether --enable-libstdcxx-debug-flags was given.
16934 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
16935 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
16936 xno | x) enable_libstdcxx_debug_flags= ;;
16937 x-*) ;;
16938 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
16939 esac
16940 else
16941 enable_libstdcxx_debug_flags="-g3 -O0"
16946 # Option parsed, now set things appropriately
16947 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
16950 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
16951 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
16954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
16955 $as_echo_n "checking for additional debug build... " >&6; }
16956 # Check whether --enable-libstdcxx-debug was given.
16957 if test "${enable_libstdcxx_debug+set}" = set; then :
16958 enableval=$enable_libstdcxx_debug;
16959 case "$enableval" in
16960 yes|no) ;;
16961 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
16962 esac
16964 else
16965 enable_libstdcxx_debug=no
16969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
16970 $as_echo "$enable_libstdcxx_debug" >&6; }
16975 enable_parallel=no;
16977 # See if configured libgomp/omp.h exists. (libgomp may be in
16978 # noconfigdirs but not explicitly disabled.)
16979 if test -f $glibcxx_builddir/../libgomp/omp.h; then
16980 enable_parallel=yes;
16981 else
16982 { $as_echo "$as_me:${as_lineno-$LINENO}: $glibcxx_builddir/../libgomp/omp.h not found" >&5
16983 $as_echo "$as_me: $glibcxx_builddir/../libgomp/omp.h not found" >&6;}
16986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
16987 $as_echo_n "checking for parallel mode support... " >&6; }
16988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
16989 $as_echo "$enable_parallel" >&6; }
16992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
16993 $as_echo_n "checking for extra compiler flags for building... " >&6; }
16994 # Check whether --enable-cxx-flags was given.
16995 if test "${enable_cxx_flags+set}" = set; then :
16996 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
16997 xno | x) enable_cxx_flags= ;;
16998 x-*) ;;
16999 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17000 esac
17001 else
17002 enable_cxx_flags=
17007 # Run through flags (either default or command-line) and set anything
17008 # extra (e.g., #defines) that must accompany particular g++ options.
17009 if test -n "$enable_cxx_flags"; then
17010 for f in $enable_cxx_flags; do
17011 case "$f" in
17012 -fhonor-std) ;;
17013 -*) ;;
17014 *) # and we're trying to pass /what/ exactly?
17015 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17016 esac
17017 done
17020 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17022 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17026 # Check whether --enable-fully-dynamic-string was given.
17027 if test "${enable_fully_dynamic_string+set}" = set; then :
17028 enableval=$enable_fully_dynamic_string;
17029 case "$enableval" in
17030 yes|no) ;;
17031 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17032 esac
17034 else
17035 enable_fully_dynamic_string=no
17039 if test $enable_fully_dynamic_string = yes; then
17041 $as_echo "#define _GLIBCXX_FULLY_DYNAMIC_STRING 1" >>confdefs.h
17046 # Checks for operating systems support that doesn't require linking.
17049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17050 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17051 if test "${glibcxx_cv_system_error1+set}" = set; then :
17052 $as_echo_n "(cached) " >&6
17053 else
17055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17056 /* end confdefs.h. */
17057 #include <errno.h>
17059 main ()
17061 int i = EOWNERDEAD;
17063 return 0;
17065 _ACEOF
17066 if ac_fn_c_try_compile "$LINENO"; then :
17067 glibcxx_cv_system_error1=yes
17068 else
17069 glibcxx_cv_system_error1=no
17071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17076 $as_echo "$glibcxx_cv_system_error1" >&6; }
17077 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17079 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17083 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17084 if test "${glibcxx_cv_system_error2+set}" = set; then :
17085 $as_echo_n "(cached) " >&6
17086 else
17088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17089 /* end confdefs.h. */
17090 #include <errno.h>
17092 main ()
17094 int i = ENOTRECOVERABLE;
17096 return 0;
17098 _ACEOF
17099 if ac_fn_c_try_compile "$LINENO"; then :
17100 glibcxx_cv_system_error2=yes
17101 else
17102 glibcxx_cv_system_error2=no
17104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17109 $as_echo "$glibcxx_cv_system_error2" >&6; }
17110 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17112 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17116 $as_echo_n "checking for ENOLINK... " >&6; }
17117 if test "${glibcxx_cv_system_error3+set}" = set; then :
17118 $as_echo_n "(cached) " >&6
17119 else
17121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17122 /* end confdefs.h. */
17123 #include <errno.h>
17125 main ()
17127 int i = ENOLINK;
17129 return 0;
17131 _ACEOF
17132 if ac_fn_c_try_compile "$LINENO"; then :
17133 glibcxx_cv_system_error3=yes
17134 else
17135 glibcxx_cv_system_error3=no
17137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17142 $as_echo "$glibcxx_cv_system_error3" >&6; }
17143 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17145 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17149 $as_echo_n "checking for EPROTO... " >&6; }
17150 if test "${glibcxx_cv_system_error4+set}" = set; then :
17151 $as_echo_n "(cached) " >&6
17152 else
17154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17155 /* end confdefs.h. */
17156 #include <errno.h>
17158 main ()
17160 int i = EPROTO;
17162 return 0;
17164 _ACEOF
17165 if ac_fn_c_try_compile "$LINENO"; then :
17166 glibcxx_cv_system_error4=yes
17167 else
17168 glibcxx_cv_system_error4=no
17170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17175 $as_echo "$glibcxx_cv_system_error4" >&6; }
17176 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17178 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17182 $as_echo_n "checking for ENODATA... " >&6; }
17183 if test "${glibcxx_cv_system_error5+set}" = set; then :
17184 $as_echo_n "(cached) " >&6
17185 else
17187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17188 /* end confdefs.h. */
17189 #include <errno.h>
17191 main ()
17193 int i = ENODATA;
17195 return 0;
17197 _ACEOF
17198 if ac_fn_c_try_compile "$LINENO"; then :
17199 glibcxx_cv_system_error5=yes
17200 else
17201 glibcxx_cv_system_error5=no
17203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17208 $as_echo "$glibcxx_cv_system_error5" >&6; }
17209 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17211 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17215 $as_echo_n "checking for ENOSR... " >&6; }
17216 if test "${glibcxx_cv_system_error6+set}" = set; then :
17217 $as_echo_n "(cached) " >&6
17218 else
17220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17221 /* end confdefs.h. */
17222 #include <errno.h>
17224 main ()
17226 int i = ENOSR;
17228 return 0;
17230 _ACEOF
17231 if ac_fn_c_try_compile "$LINENO"; then :
17232 glibcxx_cv_system_error6=yes
17233 else
17234 glibcxx_cv_system_error6=no
17236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17241 $as_echo "$glibcxx_cv_system_error6" >&6; }
17242 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17244 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17248 $as_echo_n "checking for ENOSTR... " >&6; }
17249 if test "${glibcxx_cv_system_error7+set}" = set; then :
17250 $as_echo_n "(cached) " >&6
17251 else
17253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17254 /* end confdefs.h. */
17255 #include <errno.h>
17257 main ()
17259 int i = ENOSTR;
17261 return 0;
17263 _ACEOF
17264 if ac_fn_c_try_compile "$LINENO"; then :
17265 glibcxx_cv_system_error7=yes
17266 else
17267 glibcxx_cv_system_error7=no
17269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17274 $as_echo "$glibcxx_cv_system_error7" >&6; }
17275 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17277 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17281 $as_echo_n "checking for ETIME... " >&6; }
17282 if test "${glibcxx_cv_system_error8+set}" = set; then :
17283 $as_echo_n "(cached) " >&6
17284 else
17286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17287 /* end confdefs.h. */
17288 #include <errno.h>
17290 main ()
17292 int i = ETIME;
17294 return 0;
17296 _ACEOF
17297 if ac_fn_c_try_compile "$LINENO"; then :
17298 glibcxx_cv_system_error8=yes
17299 else
17300 glibcxx_cv_system_error8=no
17302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17307 $as_echo "$glibcxx_cv_system_error8" >&6; }
17308 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17310 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17314 $as_echo_n "checking for EBADMSG... " >&6; }
17315 if test "${glibcxx_cv_system_error9+set}" = set; then :
17316 $as_echo_n "(cached) " >&6
17317 else
17319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17320 /* end confdefs.h. */
17321 #include <errno.h>
17323 main ()
17325 int i = EBADMSG;
17327 return 0;
17329 _ACEOF
17330 if ac_fn_c_try_compile "$LINENO"; then :
17331 glibcxx_cv_system_error9=yes
17332 else
17333 glibcxx_cv_system_error9=no
17335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17340 $as_echo "$glibcxx_cv_system_error9" >&6; }
17341 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17343 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17347 $as_echo_n "checking for ECANCELED... " >&6; }
17348 if test "${glibcxx_cv_system_error10+set}" = set; then :
17349 $as_echo_n "(cached) " >&6
17350 else
17352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17353 /* end confdefs.h. */
17354 #include <errno.h>
17356 main ()
17358 int i = ECANCELED;
17360 return 0;
17362 _ACEOF
17363 if ac_fn_c_try_compile "$LINENO"; then :
17364 glibcxx_cv_system_error10=yes
17365 else
17366 glibcxx_cv_system_error10=no
17368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17373 $as_echo "$glibcxx_cv_system_error10" >&6; }
17374 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17376 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17380 $as_echo_n "checking for EOVERFLOW... " >&6; }
17381 if test "${glibcxx_cv_system_error11+set}" = set; then :
17382 $as_echo_n "(cached) " >&6
17383 else
17385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17386 /* end confdefs.h. */
17387 #include <errno.h>
17389 main ()
17391 int i = EOVERFLOW;
17393 return 0;
17395 _ACEOF
17396 if ac_fn_c_try_compile "$LINENO"; then :
17397 glibcxx_cv_system_error11=yes
17398 else
17399 glibcxx_cv_system_error11=no
17401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17406 $as_echo "$glibcxx_cv_system_error11" >&6; }
17407 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17409 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17413 $as_echo_n "checking for ENOTSUP... " >&6; }
17414 if test "${glibcxx_cv_system_error12+set}" = set; then :
17415 $as_echo_n "(cached) " >&6
17416 else
17418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17419 /* end confdefs.h. */
17420 #include <errno.h>
17422 main ()
17424 int i = ENOTSUP;
17426 return 0;
17428 _ACEOF
17429 if ac_fn_c_try_compile "$LINENO"; then :
17430 glibcxx_cv_system_error12=yes
17431 else
17432 glibcxx_cv_system_error12=no
17434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17439 $as_echo "$glibcxx_cv_system_error12" >&6; }
17440 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17442 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17446 $as_echo_n "checking for EIDRM... " >&6; }
17447 if test "${glibcxx_cv_system_error13+set}" = set; then :
17448 $as_echo_n "(cached) " >&6
17449 else
17451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17452 /* end confdefs.h. */
17453 #include <errno.h>
17455 main ()
17457 int i = EIDRM;
17459 return 0;
17461 _ACEOF
17462 if ac_fn_c_try_compile "$LINENO"; then :
17463 glibcxx_cv_system_error13=yes
17464 else
17465 glibcxx_cv_system_error13=no
17467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17472 $as_echo "$glibcxx_cv_system_error13" >&6; }
17473 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17475 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17479 $as_echo_n "checking for ETXTBSY... " >&6; }
17480 if test "${glibcxx_cv_system_error14+set}" = set; then :
17481 $as_echo_n "(cached) " >&6
17482 else
17484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17485 /* end confdefs.h. */
17486 #include <errno.h>
17488 main ()
17490 int i = ETXTBSY;
17492 return 0;
17494 _ACEOF
17495 if ac_fn_c_try_compile "$LINENO"; then :
17496 glibcxx_cv_system_error14=yes
17497 else
17498 glibcxx_cv_system_error14=no
17500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17505 $as_echo "$glibcxx_cv_system_error14" >&6; }
17506 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17508 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17514 # For the streamoff typedef.
17518 ac_ext=cpp
17519 ac_cpp='$CXXCPP $CPPFLAGS'
17520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
17526 $as_echo_n "checking for int64_t... " >&6; }
17527 if test "${glibcxx_cv_INT64_T+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>
17535 main ()
17537 int64_t var;
17539 return 0;
17541 _ACEOF
17542 if ac_fn_cxx_try_compile "$LINENO"; then :
17543 glibcxx_cv_INT64_T=yes
17544 else
17545 glibcxx_cv_INT64_T=no
17547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17552 if test $glibcxx_cv_INT64_T = yes; then
17554 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
17556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
17557 $as_echo "$glibcxx_cv_INT64_T" >&6; }
17559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
17560 $as_echo_n "checking for int64_t as long... " >&6; }
17561 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
17562 $as_echo_n "(cached) " >&6
17563 else
17565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17566 /* end confdefs.h. */
17567 #include <stdint.h>
17568 template<typename, typename> struct same { enum { value = -1 }; };
17569 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
17570 int array[same<int64_t, long>::value];
17572 main ()
17576 return 0;
17578 _ACEOF
17579 if ac_fn_cxx_try_compile "$LINENO"; then :
17580 glibcxx_cv_int64_t_long=yes
17581 else
17582 glibcxx_cv_int64_t_long=no
17584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17589 if test $glibcxx_cv_int64_t_long = yes; then
17591 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
17593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
17594 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
17597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
17598 $as_echo_n "checking for int64_t as long long... " >&6; }
17599 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
17600 $as_echo_n "(cached) " >&6
17601 else
17603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17604 /* end confdefs.h. */
17605 #include <stdint.h>
17606 template<typename, typename> struct same { enum { value = -1 }; };
17607 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
17608 int array[same<int64_t, long long>::value];
17610 main ()
17614 return 0;
17616 _ACEOF
17617 if ac_fn_cxx_try_compile "$LINENO"; then :
17618 glibcxx_cv_int64_t_long_long=yes
17619 else
17620 glibcxx_cv_int64_t_long_long=no
17622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17627 if test $glibcxx_cv_int64_t_long_long = yes; then
17629 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
17631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
17632 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
17636 ac_ext=c
17637 ac_cpp='$CPP $CPPFLAGS'
17638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17644 # For LFS support.
17647 ac_ext=cpp
17648 ac_cpp='$CXXCPP $CPPFLAGS'
17649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17653 ac_save_CXXFLAGS="$CXXFLAGS"
17654 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
17656 $as_echo_n "checking for LFS support... " >&6; }
17657 if test "${glibcxx_cv_LFS+set}" = set; then :
17658 $as_echo_n "(cached) " >&6
17659 else
17661 if test x$gcc_no_link = xyes; then
17662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17663 /* end confdefs.h. */
17664 #include <unistd.h>
17665 #include <stdio.h>
17666 #include <sys/stat.h>
17669 main ()
17671 FILE* fp;
17672 fopen64("t", "w");
17673 fseeko64(fp, 0, SEEK_CUR);
17674 ftello64(fp);
17675 lseek64(1, 0, SEEK_CUR);
17676 struct stat64 buf;
17677 fstat64(1, &buf);
17679 return 0;
17681 _ACEOF
17682 if ac_fn_cxx_try_compile "$LINENO"; then :
17683 glibcxx_cv_LFS=yes
17684 else
17685 glibcxx_cv_LFS=no
17687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17688 else
17689 if test x$gcc_no_link = xyes; then
17690 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17693 /* end confdefs.h. */
17694 #include <unistd.h>
17695 #include <stdio.h>
17696 #include <sys/stat.h>
17699 main ()
17701 FILE* fp;
17702 fopen64("t", "w");
17703 fseeko64(fp, 0, SEEK_CUR);
17704 ftello64(fp);
17705 lseek64(1, 0, SEEK_CUR);
17706 struct stat64 buf;
17707 fstat64(1, &buf);
17709 return 0;
17711 _ACEOF
17712 if ac_fn_cxx_try_link "$LINENO"; then :
17713 glibcxx_cv_LFS=yes
17714 else
17715 glibcxx_cv_LFS=no
17717 rm -f core conftest.err conftest.$ac_objext \
17718 conftest$ac_exeext conftest.$ac_ext
17723 if test $glibcxx_cv_LFS = yes; then
17725 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
17728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
17729 $as_echo "$glibcxx_cv_LFS" >&6; }
17730 CXXFLAGS="$ac_save_CXXFLAGS"
17731 ac_ext=c
17732 ac_cpp='$CPP $CPPFLAGS'
17733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17739 # For showmanyc_helper().
17740 for ac_header in sys/ioctl.h sys/filio.h
17741 do :
17742 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17743 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17744 eval as_val=\$$as_ac_Header
17745 if test "x$as_val" = x""yes; then :
17746 cat >>confdefs.h <<_ACEOF
17747 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17748 _ACEOF
17752 done
17757 ac_ext=cpp
17758 ac_cpp='$CXXCPP $CPPFLAGS'
17759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17763 ac_save_CXXFLAGS="$CXXFLAGS"
17764 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
17767 $as_echo_n "checking for poll... " >&6; }
17768 if test "${glibcxx_cv_POLL+set}" = set; then :
17769 $as_echo_n "(cached) " >&6
17770 else
17772 if test x$gcc_no_link = xyes; then
17773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17774 /* end confdefs.h. */
17775 #include <poll.h>
17777 main ()
17779 struct pollfd pfd[1];
17780 pfd[0].events = POLLIN;
17781 poll(pfd, 1, 0);
17783 return 0;
17785 _ACEOF
17786 if ac_fn_cxx_try_compile "$LINENO"; then :
17787 glibcxx_cv_POLL=yes
17788 else
17789 glibcxx_cv_POLL=no
17791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17792 else
17793 if test x$gcc_no_link = xyes; then
17794 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17797 /* end confdefs.h. */
17798 #include <poll.h>
17800 main ()
17802 struct pollfd pfd[1];
17803 pfd[0].events = POLLIN;
17804 poll(pfd, 1, 0);
17806 return 0;
17808 _ACEOF
17809 if ac_fn_cxx_try_link "$LINENO"; then :
17810 glibcxx_cv_POLL=yes
17811 else
17812 glibcxx_cv_POLL=no
17814 rm -f core conftest.err conftest.$ac_objext \
17815 conftest$ac_exeext conftest.$ac_ext
17820 if test $glibcxx_cv_POLL = yes; then
17822 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
17826 $as_echo "$glibcxx_cv_POLL" >&6; }
17828 CXXFLAGS="$ac_save_CXXFLAGS"
17829 ac_ext=c
17830 ac_cpp='$CPP $CPPFLAGS'
17831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17839 ac_ext=cpp
17840 ac_cpp='$CXXCPP $CPPFLAGS'
17841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17845 ac_save_CXXFLAGS="$CXXFLAGS"
17846 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
17849 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
17850 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
17851 $as_echo_n "(cached) " >&6
17852 else
17854 if test x$gcc_no_link = xyes; then
17855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17856 /* end confdefs.h. */
17857 #include <sys/stat.h>
17859 main ()
17861 struct stat buffer;
17862 fstat(0, &buffer);
17863 S_ISREG(buffer.st_mode);
17865 return 0;
17867 _ACEOF
17868 if ac_fn_cxx_try_compile "$LINENO"; then :
17869 glibcxx_cv_S_ISREG=yes
17870 else
17871 glibcxx_cv_S_ISREG=no
17873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17874 else
17875 if test x$gcc_no_link = xyes; then
17876 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17879 /* end confdefs.h. */
17880 #include <sys/stat.h>
17882 main ()
17884 struct stat buffer;
17885 fstat(0, &buffer);
17886 S_ISREG(buffer.st_mode);
17888 return 0;
17890 _ACEOF
17891 if ac_fn_cxx_try_link "$LINENO"; then :
17892 glibcxx_cv_S_ISREG=yes
17893 else
17894 glibcxx_cv_S_ISREG=no
17896 rm -f core conftest.err conftest.$ac_objext \
17897 conftest$ac_exeext conftest.$ac_ext
17902 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
17903 $as_echo_n "(cached) " >&6
17904 else
17906 if test x$gcc_no_link = xyes; then
17907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17908 /* end confdefs.h. */
17909 #include <sys/stat.h>
17911 main ()
17913 struct stat buffer;
17914 fstat(0, &buffer);
17915 S_IFREG & buffer.st_mode;
17917 return 0;
17919 _ACEOF
17920 if ac_fn_cxx_try_compile "$LINENO"; then :
17921 glibcxx_cv_S_IFREG=yes
17922 else
17923 glibcxx_cv_S_IFREG=no
17925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17926 else
17927 if test x$gcc_no_link = xyes; then
17928 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17931 /* end confdefs.h. */
17932 #include <sys/stat.h>
17934 main ()
17936 struct stat buffer;
17937 fstat(0, &buffer);
17938 S_IFREG & buffer.st_mode;
17940 return 0;
17942 _ACEOF
17943 if ac_fn_cxx_try_link "$LINENO"; then :
17944 glibcxx_cv_S_IFREG=yes
17945 else
17946 glibcxx_cv_S_IFREG=no
17948 rm -f core conftest.err conftest.$ac_objext \
17949 conftest$ac_exeext conftest.$ac_ext
17954 res=no
17955 if test $glibcxx_cv_S_ISREG = yes; then
17957 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
17959 res=S_ISREG
17960 elif test $glibcxx_cv_S_IFREG = yes; then
17962 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
17964 res=S_IFREG
17966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
17967 $as_echo "$res" >&6; }
17969 CXXFLAGS="$ac_save_CXXFLAGS"
17970 ac_ext=c
17971 ac_cpp='$CPP $CPPFLAGS'
17972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17978 # For xsputn_2().
17979 for ac_header in sys/uio.h
17980 do :
17981 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
17982 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
17983 cat >>confdefs.h <<_ACEOF
17984 #define HAVE_SYS_UIO_H 1
17985 _ACEOF
17989 done
17994 ac_ext=cpp
17995 ac_cpp='$CXXCPP $CPPFLAGS'
17996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18000 ac_save_CXXFLAGS="$CXXFLAGS"
18001 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18004 $as_echo_n "checking for writev... " >&6; }
18005 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18006 $as_echo_n "(cached) " >&6
18007 else
18009 if test x$gcc_no_link = xyes; then
18010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18011 /* end confdefs.h. */
18012 #include <sys/uio.h>
18014 main ()
18016 struct iovec iov[2];
18017 writev(0, iov, 0);
18019 return 0;
18021 _ACEOF
18022 if ac_fn_cxx_try_compile "$LINENO"; then :
18023 glibcxx_cv_WRITEV=yes
18024 else
18025 glibcxx_cv_WRITEV=no
18027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18028 else
18029 if test x$gcc_no_link = xyes; then
18030 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18033 /* end confdefs.h. */
18034 #include <sys/uio.h>
18036 main ()
18038 struct iovec iov[2];
18039 writev(0, iov, 0);
18041 return 0;
18043 _ACEOF
18044 if ac_fn_cxx_try_link "$LINENO"; then :
18045 glibcxx_cv_WRITEV=yes
18046 else
18047 glibcxx_cv_WRITEV=no
18049 rm -f core conftest.err conftest.$ac_objext \
18050 conftest$ac_exeext conftest.$ac_ext
18055 if test $glibcxx_cv_WRITEV = yes; then
18057 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18061 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18063 CXXFLAGS="$ac_save_CXXFLAGS"
18064 ac_ext=c
18065 ac_cpp='$CPP $CPPFLAGS'
18066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18072 # For C99 support to TR1.
18076 ac_ext=cpp
18077 ac_cpp='$CXXCPP $CPPFLAGS'
18078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18083 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18084 # undefined and fake C99 facilities may be spuriously enabled.
18085 ac_save_CXXFLAGS="$CXXFLAGS"
18086 CXXFLAGS="$CXXFLAGS -std=c++98"
18088 # Check for the existence of <complex.h> complex math functions used
18089 # by tr1/complex.
18090 for ac_header in complex.h
18091 do :
18092 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18093 if test "x$ac_cv_header_complex_h" = x""yes; then :
18094 cat >>confdefs.h <<_ACEOF
18095 #define HAVE_COMPLEX_H 1
18096 _ACEOF
18097 ac_has_complex_h=yes
18098 else
18099 ac_has_complex_h=no
18102 done
18104 ac_c99_complex_tr1=no;
18105 if test x"$ac_has_complex_h" = x"yes"; then
18106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18107 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18109 /* end confdefs.h. */
18110 #include <complex.h>
18112 main ()
18114 typedef __complex__ float float_type; float_type tmpf;
18115 cacosf(tmpf);
18116 casinf(tmpf);
18117 catanf(tmpf);
18118 cacoshf(tmpf);
18119 casinhf(tmpf);
18120 catanhf(tmpf);
18121 typedef __complex__ double double_type; double_type tmpd;
18122 cacos(tmpd);
18123 casin(tmpd);
18124 catan(tmpd);
18125 cacosh(tmpd);
18126 casinh(tmpd);
18127 catanh(tmpd);
18128 typedef __complex__ long double ld_type; ld_type tmpld;
18129 cacosl(tmpld);
18130 casinl(tmpld);
18131 catanl(tmpld);
18132 cacoshl(tmpld);
18133 casinhl(tmpld);
18134 catanhl(tmpld);
18137 return 0;
18139 _ACEOF
18140 if ac_fn_cxx_try_compile "$LINENO"; then :
18141 ac_c99_complex_tr1=yes
18142 else
18143 ac_c99_complex_tr1=no
18145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18148 $as_echo "$ac_c99_complex_tr1" >&6; }
18149 if test x"$ac_c99_complex_tr1" = x"yes"; then
18151 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18155 # Check for the existence of <ctype.h> functions.
18156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18157 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18158 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18159 $as_echo_n "(cached) " >&6
18160 else
18162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18163 /* end confdefs.h. */
18164 #include <ctype.h>
18166 main ()
18168 int ch;
18169 int ret;
18170 ret = isblank(ch);
18173 return 0;
18175 _ACEOF
18176 if ac_fn_cxx_try_compile "$LINENO"; then :
18177 glibcxx_cv_c99_ctype_tr1=yes
18178 else
18179 glibcxx_cv_c99_ctype_tr1=no
18181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18186 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18187 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18189 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18193 # Check for the existence of <fenv.h> functions.
18194 for ac_header in fenv.h
18195 do :
18196 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18197 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18198 cat >>confdefs.h <<_ACEOF
18199 #define HAVE_FENV_H 1
18200 _ACEOF
18201 ac_has_fenv_h=yes
18202 else
18203 ac_has_fenv_h=no
18206 done
18208 ac_c99_fenv_tr1=no;
18209 if test x"$ac_has_fenv_h" = x"yes"; then
18210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18211 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18213 /* end confdefs.h. */
18214 #include <fenv.h>
18216 main ()
18218 int except, mode;
18219 fexcept_t* pflag;
18220 fenv_t* penv;
18221 int ret;
18222 ret = feclearexcept(except);
18223 ret = fegetexceptflag(pflag, except);
18224 ret = feraiseexcept(except);
18225 ret = fesetexceptflag(pflag, except);
18226 ret = fetestexcept(except);
18227 ret = fegetround();
18228 ret = fesetround(mode);
18229 ret = fegetenv(penv);
18230 ret = feholdexcept(penv);
18231 ret = fesetenv(penv);
18232 ret = feupdateenv(penv);
18235 return 0;
18237 _ACEOF
18238 if ac_fn_cxx_try_compile "$LINENO"; then :
18239 ac_c99_fenv_tr1=yes
18240 else
18241 ac_c99_fenv_tr1=no
18243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18246 $as_echo "$ac_c99_fenv_tr1" >&6; }
18247 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18249 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18253 # Check for the existence of <stdint.h> types.
18254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18255 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18256 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18257 $as_echo_n "(cached) " >&6
18258 else
18260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18261 /* end confdefs.h. */
18262 #define __STDC_LIMIT_MACROS
18263 #define __STDC_CONSTANT_MACROS
18264 #include <stdint.h>
18266 main ()
18268 typedef int8_t my_int8_t;
18269 my_int8_t i8 = INT8_MIN;
18270 i8 = INT8_MAX;
18271 typedef int16_t my_int16_t;
18272 my_int16_t i16 = INT16_MIN;
18273 i16 = INT16_MAX;
18274 typedef int32_t my_int32_t;
18275 my_int32_t i32 = INT32_MIN;
18276 i32 = INT32_MAX;
18277 typedef int64_t my_int64_t;
18278 my_int64_t i64 = INT64_MIN;
18279 i64 = INT64_MAX;
18280 typedef int_fast8_t my_int_fast8_t;
18281 my_int_fast8_t if8 = INT_FAST8_MIN;
18282 if8 = INT_FAST8_MAX;
18283 typedef int_fast16_t my_int_fast16_t;
18284 my_int_fast16_t if16 = INT_FAST16_MIN;
18285 if16 = INT_FAST16_MAX;
18286 typedef int_fast32_t my_int_fast32_t;
18287 my_int_fast32_t if32 = INT_FAST32_MIN;
18288 if32 = INT_FAST32_MAX;
18289 typedef int_fast64_t my_int_fast64_t;
18290 my_int_fast64_t if64 = INT_FAST64_MIN;
18291 if64 = INT_FAST64_MAX;
18292 typedef int_least8_t my_int_least8_t;
18293 my_int_least8_t il8 = INT_LEAST8_MIN;
18294 il8 = INT_LEAST8_MAX;
18295 typedef int_least16_t my_int_least16_t;
18296 my_int_least16_t il16 = INT_LEAST16_MIN;
18297 il16 = INT_LEAST16_MAX;
18298 typedef int_least32_t my_int_least32_t;
18299 my_int_least32_t il32 = INT_LEAST32_MIN;
18300 il32 = INT_LEAST32_MAX;
18301 typedef int_least64_t my_int_least64_t;
18302 my_int_least64_t il64 = INT_LEAST64_MIN;
18303 il64 = INT_LEAST64_MAX;
18304 typedef intmax_t my_intmax_t;
18305 my_intmax_t im = INTMAX_MAX;
18306 im = INTMAX_MIN;
18307 typedef intptr_t my_intptr_t;
18308 my_intptr_t ip = INTPTR_MAX;
18309 ip = INTPTR_MIN;
18310 typedef uint8_t my_uint8_t;
18311 my_uint8_t ui8 = UINT8_MAX;
18312 ui8 = UINT8_MAX;
18313 typedef uint16_t my_uint16_t;
18314 my_uint16_t ui16 = UINT16_MAX;
18315 ui16 = UINT16_MAX;
18316 typedef uint32_t my_uint32_t;
18317 my_uint32_t ui32 = UINT32_MAX;
18318 ui32 = UINT32_MAX;
18319 typedef uint64_t my_uint64_t;
18320 my_uint64_t ui64 = UINT64_MAX;
18321 ui64 = UINT64_MAX;
18322 typedef uint_fast8_t my_uint_fast8_t;
18323 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18324 uif8 = UINT_FAST8_MAX;
18325 typedef uint_fast16_t my_uint_fast16_t;
18326 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18327 uif16 = UINT_FAST16_MAX;
18328 typedef uint_fast32_t my_uint_fast32_t;
18329 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18330 uif32 = UINT_FAST32_MAX;
18331 typedef uint_fast64_t my_uint_fast64_t;
18332 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18333 uif64 = UINT_FAST64_MAX;
18334 typedef uint_least8_t my_uint_least8_t;
18335 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18336 uil8 = UINT_LEAST8_MAX;
18337 typedef uint_least16_t my_uint_least16_t;
18338 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18339 uil16 = UINT_LEAST16_MAX;
18340 typedef uint_least32_t my_uint_least32_t;
18341 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18342 uil32 = UINT_LEAST32_MAX;
18343 typedef uint_least64_t my_uint_least64_t;
18344 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
18345 uil64 = UINT_LEAST64_MAX;
18346 typedef uintmax_t my_uintmax_t;
18347 my_uintmax_t uim = UINTMAX_MAX;
18348 uim = UINTMAX_MAX;
18349 typedef uintptr_t my_uintptr_t;
18350 my_uintptr_t uip = UINTPTR_MAX;
18351 uip = UINTPTR_MAX;
18354 return 0;
18356 _ACEOF
18357 if ac_fn_cxx_try_compile "$LINENO"; then :
18358 glibcxx_cv_c99_stdint_tr1=yes
18359 else
18360 glibcxx_cv_c99_stdint_tr1=no
18362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18367 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18368 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18370 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18374 # Check for the existence of <math.h> functions.
18375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
18376 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
18377 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
18378 $as_echo_n "(cached) " >&6
18379 else
18381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18382 /* end confdefs.h. */
18383 #include <math.h>
18385 main ()
18387 typedef double_t my_double_t;
18388 typedef float_t my_float_t;
18389 acosh(0.0);
18390 acoshf(0.0f);
18391 acoshl(0.0l);
18392 asinh(0.0);
18393 asinhf(0.0f);
18394 asinhl(0.0l);
18395 atanh(0.0);
18396 atanhf(0.0f);
18397 atanhl(0.0l);
18398 cbrt(0.0);
18399 cbrtf(0.0f);
18400 cbrtl(0.0l);
18401 copysign(0.0, 0.0);
18402 copysignf(0.0f, 0.0f);
18403 copysignl(0.0l, 0.0l);
18404 erf(0.0);
18405 erff(0.0f);
18406 erfl(0.0l);
18407 erfc(0.0);
18408 erfcf(0.0f);
18409 erfcl(0.0l);
18410 exp2(0.0);
18411 exp2f(0.0f);
18412 exp2l(0.0l);
18413 expm1(0.0);
18414 expm1f(0.0f);
18415 expm1l(0.0l);
18416 fdim(0.0, 0.0);
18417 fdimf(0.0f, 0.0f);
18418 fdiml(0.0l, 0.0l);
18419 fma(0.0, 0.0, 0.0);
18420 fmaf(0.0f, 0.0f, 0.0f);
18421 fmal(0.0l, 0.0l, 0.0l);
18422 fmax(0.0, 0.0);
18423 fmaxf(0.0f, 0.0f);
18424 fmaxl(0.0l, 0.0l);
18425 fmin(0.0, 0.0);
18426 fminf(0.0f, 0.0f);
18427 fminl(0.0l, 0.0l);
18428 hypot(0.0, 0.0);
18429 hypotf(0.0f, 0.0f);
18430 hypotl(0.0l, 0.0l);
18431 ilogb(0.0);
18432 ilogbf(0.0f);
18433 ilogbl(0.0l);
18434 lgamma(0.0);
18435 lgammaf(0.0f);
18436 lgammal(0.0l);
18437 llrint(0.0);
18438 llrintf(0.0f);
18439 llrintl(0.0l);
18440 llround(0.0);
18441 llroundf(0.0f);
18442 llroundl(0.0l);
18443 log1p(0.0);
18444 log1pf(0.0f);
18445 log1pl(0.0l);
18446 log2(0.0);
18447 log2f(0.0f);
18448 log2l(0.0l);
18449 logb(0.0);
18450 logbf(0.0f);
18451 logbl(0.0l);
18452 lrint(0.0);
18453 lrintf(0.0f);
18454 lrintl(0.0l);
18455 lround(0.0);
18456 lroundf(0.0f);
18457 lroundl(0.0l);
18458 nan(0);
18459 nanf(0);
18460 nanl(0);
18461 nearbyint(0.0);
18462 nearbyintf(0.0f);
18463 nearbyintl(0.0l);
18464 nextafter(0.0, 0.0);
18465 nextafterf(0.0f, 0.0f);
18466 nextafterl(0.0l, 0.0l);
18467 nexttoward(0.0, 0.0);
18468 nexttowardf(0.0f, 0.0f);
18469 nexttowardl(0.0l, 0.0l);
18470 remainder(0.0, 0.0);
18471 remainderf(0.0f, 0.0f);
18472 remainderl(0.0l, 0.0l);
18473 remquo(0.0, 0.0, 0);
18474 remquof(0.0f, 0.0f, 0);
18475 remquol(0.0l, 0.0l, 0);
18476 rint(0.0);
18477 rintf(0.0f);
18478 rintl(0.0l);
18479 round(0.0);
18480 roundf(0.0f);
18481 roundl(0.0l);
18482 scalbln(0.0, 0l);
18483 scalblnf(0.0f, 0l);
18484 scalblnl(0.0l, 0l);
18485 scalbn(0.0, 0);
18486 scalbnf(0.0f, 0);
18487 scalbnl(0.0l, 0);
18488 tgamma(0.0);
18489 tgammaf(0.0f);
18490 tgammal(0.0l);
18491 trunc(0.0);
18492 truncf(0.0f);
18493 truncl(0.0l);
18496 return 0;
18498 _ACEOF
18499 if ac_fn_cxx_try_compile "$LINENO"; then :
18500 glibcxx_cv_c99_math_tr1=yes
18501 else
18502 glibcxx_cv_c99_math_tr1=no
18504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
18509 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
18510 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
18512 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
18516 # Check for the existence of <inttypes.h> functions (NB: doesn't make
18517 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
18518 ac_c99_inttypes_tr1=no;
18519 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
18521 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
18522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18523 /* end confdefs.h. */
18524 #include <inttypes.h>
18526 main ()
18528 intmax_t i, numer, denom, base;
18529 const char* s;
18530 char** endptr;
18531 intmax_t ret = imaxabs(i);
18532 imaxdiv_t dret = imaxdiv(numer, denom);
18533 ret = strtoimax(s, endptr, base);
18534 uintmax_t uret = strtoumax(s, endptr, base);
18537 return 0;
18539 _ACEOF
18540 if ac_fn_cxx_try_compile "$LINENO"; then :
18541 ac_c99_inttypes_tr1=yes
18542 else
18543 ac_c99_inttypes_tr1=no
18545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
18548 $as_echo "$ac_c99_inttypes_tr1" >&6; }
18549 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
18551 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
18555 # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
18556 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
18557 ac_c99_inttypes_wchar_t_tr1=no;
18558 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
18560 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
18561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18562 /* end confdefs.h. */
18563 #include <inttypes.h>
18565 main ()
18567 intmax_t base;
18568 const wchar_t* s;
18569 wchar_t** endptr;
18570 intmax_t ret = wcstoimax(s, endptr, base);
18571 uintmax_t uret = wcstoumax(s, endptr, base);
18574 return 0;
18576 _ACEOF
18577 if ac_fn_cxx_try_compile "$LINENO"; then :
18578 ac_c99_inttypes_wchar_t_tr1=yes
18579 else
18580 ac_c99_inttypes_wchar_t_tr1=no
18582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
18585 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
18586 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
18588 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
18592 # Check for the existence of the <stdbool.h> header.
18593 for ac_header in stdbool.h
18594 do :
18595 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
18596 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
18597 cat >>confdefs.h <<_ACEOF
18598 #define HAVE_STDBOOL_H 1
18599 _ACEOF
18603 done
18606 CXXFLAGS="$ac_save_CXXFLAGS"
18607 ac_ext=c
18608 ac_cpp='$CPP $CPPFLAGS'
18609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18615 # For common values of EOF, SEEK_CUR, SEEK_END.
18618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOF == -1, SEEK_CUR == 1, SEEK_END == 2" >&5
18619 $as_echo_n "checking for EOF == -1, SEEK_CUR == 1, SEEK_END == 2... " >&6; }
18620 if test "${glibcxx_cv_stdio_macros+set}" = set; then :
18621 $as_echo_n "(cached) " >&6
18622 else
18624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18625 /* end confdefs.h. */
18626 #include <stdio.h>
18628 main ()
18630 #if ((EOF != -1) || (SEEK_CUR != 1) || (SEEK_END != 2))
18631 unusual values...
18632 #endif
18635 return 0;
18637 _ACEOF
18638 if ac_fn_c_try_compile "$LINENO"; then :
18639 glibcxx_cv_stdio_macros=yes
18640 else
18641 glibcxx_cv_stdio_macros=no
18643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_macros" >&5
18648 $as_echo "$glibcxx_cv_stdio_macros" >&6; }
18649 if test x"$glibcxx_cv_stdio_macros" = x"yes"; then
18651 $as_echo "#define _GLIBCXX_STDIO_MACROS 1" >>confdefs.h
18657 # For gettimeofday support.
18660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
18661 $as_echo_n "checking for gettimeofday... " >&6; }
18664 ac_ext=cpp
18665 ac_cpp='$CXXCPP $CPPFLAGS'
18666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18670 ac_save_CXXFLAGS="$CXXFLAGS"
18671 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18673 ac_has_gettimeofday=no;
18674 for ac_header in sys/time.h
18675 do :
18676 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
18677 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
18678 cat >>confdefs.h <<_ACEOF
18679 #define HAVE_SYS_TIME_H 1
18680 _ACEOF
18681 ac_has_sys_time_h=yes
18682 else
18683 ac_has_sys_time_h=no
18686 done
18688 if test x"$ac_has_sys_time_h" = x"yes"; then
18689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
18690 $as_echo_n "checking for gettimeofday... " >&6; }
18691 if test x$gcc_no_link = xyes; then
18692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18693 /* end confdefs.h. */
18694 #include <sys/time.h>
18696 main ()
18698 timeval tv; gettimeofday(&tv, 0);
18700 return 0;
18702 _ACEOF
18703 if ac_fn_cxx_try_compile "$LINENO"; then :
18704 ac_has_gettimeofday=yes
18705 else
18706 ac_has_gettimeofday=no
18708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18709 else
18710 if test x$gcc_no_link = xyes; then
18711 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18714 /* end confdefs.h. */
18715 #include <sys/time.h>
18717 main ()
18719 timeval tv; gettimeofday(&tv, 0);
18721 return 0;
18723 _ACEOF
18724 if ac_fn_cxx_try_link "$LINENO"; then :
18725 ac_has_gettimeofday=yes
18726 else
18727 ac_has_gettimeofday=no
18729 rm -f core conftest.err conftest.$ac_objext \
18730 conftest$ac_exeext conftest.$ac_ext
18733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
18734 $as_echo "$ac_has_gettimeofday" >&6; }
18737 if test x"$ac_has_gettimeofday" = x"yes"; then
18739 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
18743 CXXFLAGS="$ac_save_CXXFLAGS"
18744 ac_ext=c
18745 ac_cpp='$CPP $CPPFLAGS'
18746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18752 # For clock_gettime, nanosleep and sched_yield support.
18753 # NB: The default is [no], because otherwise it requires linking.
18756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime, nanosleep and sched_yield" >&5
18757 $as_echo_n "checking for clock_gettime, nanosleep and sched_yield... " >&6; }
18758 # Check whether --enable-libstdcxx-time was given.
18759 if test "${enable_libstdcxx_time+set}" = set; then :
18760 enableval=$enable_libstdcxx_time;
18761 case "$enableval" in
18762 yes|no|rt) ;;
18763 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
18764 esac
18766 else
18767 enable_libstdcxx_time=no
18773 ac_ext=cpp
18774 ac_cpp='$CXXCPP $CPPFLAGS'
18775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18779 ac_save_CXXFLAGS="$CXXFLAGS"
18780 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18781 ac_save_LIBS="$LIBS"
18783 ac_has_clock_monotonic=no;
18784 ac_has_clock_realtime=no;
18786 if test x"$enable_libstdcxx_time" != x"no"; then
18788 if test x"$enable_libstdcxx_time" = x"rt"; then
18789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18790 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18791 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18792 $as_echo_n "(cached) " >&6
18793 else
18794 ac_func_search_save_LIBS=$LIBS
18795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18796 /* end confdefs.h. */
18798 /* Override any GCC internal prototype to avoid an error.
18799 Use char because int might match the return type of a GCC
18800 builtin and then its argument prototype would still apply. */
18801 #ifdef __cplusplus
18802 extern "C"
18803 #endif
18804 char clock_gettime ();
18806 main ()
18808 return clock_gettime ();
18810 return 0;
18812 _ACEOF
18813 for ac_lib in '' rt posix4; do
18814 if test -z "$ac_lib"; then
18815 ac_res="none required"
18816 else
18817 ac_res=-l$ac_lib
18818 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18820 if test x$gcc_no_link = xyes; then
18821 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18823 if ac_fn_cxx_try_link "$LINENO"; then :
18824 ac_cv_search_clock_gettime=$ac_res
18826 rm -f core conftest.err conftest.$ac_objext \
18827 conftest$ac_exeext
18828 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18829 break
18831 done
18832 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18834 else
18835 ac_cv_search_clock_gettime=no
18837 rm conftest.$ac_ext
18838 LIBS=$ac_func_search_save_LIBS
18840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18841 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18842 ac_res=$ac_cv_search_clock_gettime
18843 if test "$ac_res" != no; then :
18844 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
18849 $as_echo_n "checking for library containing nanosleep... " >&6; }
18850 if test "${ac_cv_search_nanosleep+set}" = set; then :
18851 $as_echo_n "(cached) " >&6
18852 else
18853 ac_func_search_save_LIBS=$LIBS
18854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18855 /* end confdefs.h. */
18857 /* Override any GCC internal prototype to avoid an error.
18858 Use char because int might match the return type of a GCC
18859 builtin and then its argument prototype would still apply. */
18860 #ifdef __cplusplus
18861 extern "C"
18862 #endif
18863 char nanosleep ();
18865 main ()
18867 return nanosleep ();
18869 return 0;
18871 _ACEOF
18872 for ac_lib in '' rt posix4; do
18873 if test -z "$ac_lib"; then
18874 ac_res="none required"
18875 else
18876 ac_res=-l$ac_lib
18877 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18879 if test x$gcc_no_link = xyes; then
18880 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18882 if ac_fn_cxx_try_link "$LINENO"; then :
18883 ac_cv_search_nanosleep=$ac_res
18885 rm -f core conftest.err conftest.$ac_objext \
18886 conftest$ac_exeext
18887 if test "${ac_cv_search_nanosleep+set}" = set; then :
18888 break
18890 done
18891 if test "${ac_cv_search_nanosleep+set}" = set; then :
18893 else
18894 ac_cv_search_nanosleep=no
18896 rm conftest.$ac_ext
18897 LIBS=$ac_func_search_save_LIBS
18899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
18900 $as_echo "$ac_cv_search_nanosleep" >&6; }
18901 ac_res=$ac_cv_search_nanosleep
18902 if test "$ac_res" != no; then :
18903 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18907 else
18908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18909 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18910 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18911 $as_echo_n "(cached) " >&6
18912 else
18913 ac_func_search_save_LIBS=$LIBS
18914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18915 /* end confdefs.h. */
18917 /* Override any GCC internal prototype to avoid an error.
18918 Use char because int might match the return type of a GCC
18919 builtin and then its argument prototype would still apply. */
18920 #ifdef __cplusplus
18921 extern "C"
18922 #endif
18923 char clock_gettime ();
18925 main ()
18927 return clock_gettime ();
18929 return 0;
18931 _ACEOF
18932 for ac_lib in '' posix4; do
18933 if test -z "$ac_lib"; then
18934 ac_res="none required"
18935 else
18936 ac_res=-l$ac_lib
18937 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18939 if test x$gcc_no_link = xyes; then
18940 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18942 if ac_fn_cxx_try_link "$LINENO"; then :
18943 ac_cv_search_clock_gettime=$ac_res
18945 rm -f core conftest.err conftest.$ac_objext \
18946 conftest$ac_exeext
18947 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18948 break
18950 done
18951 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18953 else
18954 ac_cv_search_clock_gettime=no
18956 rm conftest.$ac_ext
18957 LIBS=$ac_func_search_save_LIBS
18959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18960 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18961 ac_res=$ac_cv_search_clock_gettime
18962 if test "$ac_res" != no; then :
18963 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
18968 $as_echo_n "checking for library containing nanosleep... " >&6; }
18969 if test "${ac_cv_search_nanosleep+set}" = set; then :
18970 $as_echo_n "(cached) " >&6
18971 else
18972 ac_func_search_save_LIBS=$LIBS
18973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18974 /* end confdefs.h. */
18976 /* Override any GCC internal prototype to avoid an error.
18977 Use char because int might match the return type of a GCC
18978 builtin and then its argument prototype would still apply. */
18979 #ifdef __cplusplus
18980 extern "C"
18981 #endif
18982 char nanosleep ();
18984 main ()
18986 return nanosleep ();
18988 return 0;
18990 _ACEOF
18991 for ac_lib in '' posix4; do
18992 if test -z "$ac_lib"; then
18993 ac_res="none required"
18994 else
18995 ac_res=-l$ac_lib
18996 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18998 if test x$gcc_no_link = xyes; then
18999 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19001 if ac_fn_cxx_try_link "$LINENO"; then :
19002 ac_cv_search_nanosleep=$ac_res
19004 rm -f core conftest.err conftest.$ac_objext \
19005 conftest$ac_exeext
19006 if test "${ac_cv_search_nanosleep+set}" = set; then :
19007 break
19009 done
19010 if test "${ac_cv_search_nanosleep+set}" = set; then :
19012 else
19013 ac_cv_search_nanosleep=no
19015 rm conftest.$ac_ext
19016 LIBS=$ac_func_search_save_LIBS
19018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19019 $as_echo "$ac_cv_search_nanosleep" >&6; }
19020 ac_res=$ac_cv_search_nanosleep
19021 if test "$ac_res" != no; then :
19022 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19028 case "$ac_cv_search_clock_gettime" in
19029 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19031 esac
19032 case "$ac_cv_search_nanosleep" in
19033 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19035 esac
19037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19038 $as_echo_n "checking for library containing sched_yield... " >&6; }
19039 if test "${ac_cv_search_sched_yield+set}" = set; then :
19040 $as_echo_n "(cached) " >&6
19041 else
19042 ac_func_search_save_LIBS=$LIBS
19043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19044 /* end confdefs.h. */
19046 /* Override any GCC internal prototype to avoid an error.
19047 Use char because int might match the return type of a GCC
19048 builtin and then its argument prototype would still apply. */
19049 #ifdef __cplusplus
19050 extern "C"
19051 #endif
19052 char sched_yield ();
19054 main ()
19056 return sched_yield ();
19058 return 0;
19060 _ACEOF
19061 for ac_lib in '' rt posix4; do
19062 if test -z "$ac_lib"; then
19063 ac_res="none required"
19064 else
19065 ac_res=-l$ac_lib
19066 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19068 if test x$gcc_no_link = xyes; then
19069 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19071 if ac_fn_cxx_try_link "$LINENO"; then :
19072 ac_cv_search_sched_yield=$ac_res
19074 rm -f core conftest.err conftest.$ac_objext \
19075 conftest$ac_exeext
19076 if test "${ac_cv_search_sched_yield+set}" = set; then :
19077 break
19079 done
19080 if test "${ac_cv_search_sched_yield+set}" = set; then :
19082 else
19083 ac_cv_search_sched_yield=no
19085 rm conftest.$ac_ext
19086 LIBS=$ac_func_search_save_LIBS
19088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19089 $as_echo "$ac_cv_search_sched_yield" >&6; }
19090 ac_res=$ac_cv_search_sched_yield
19091 if test "$ac_res" != no; then :
19092 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19097 case "$ac_cv_search_sched_yield" in
19098 -lposix4*)
19099 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19101 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19104 -lrt*)
19105 if test x"$enable_libstdcxx_time" = x"rt"; then
19106 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19108 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19114 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19117 esac
19119 for ac_header in unistd.h
19120 do :
19121 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19122 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19123 cat >>confdefs.h <<_ACEOF
19124 #define HAVE_UNISTD_H 1
19125 _ACEOF
19126 ac_has_unistd_h=yes
19127 else
19128 ac_has_unistd_h=no
19131 done
19134 if test x"$ac_has_unistd_h" = x"yes"; then
19135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19136 $as_echo_n "checking for monotonic clock... " >&6; }
19137 if test x$gcc_no_link = xyes; then
19138 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19141 /* end confdefs.h. */
19142 #include <unistd.h>
19143 #include <time.h>
19146 main ()
19148 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19149 timespec tp;
19150 #endif
19151 clock_gettime(CLOCK_MONOTONIC, &tp);
19154 return 0;
19156 _ACEOF
19157 if ac_fn_cxx_try_link "$LINENO"; then :
19158 ac_has_clock_monotonic=yes
19159 else
19160 ac_has_clock_monotonic=no
19162 rm -f core conftest.err conftest.$ac_objext \
19163 conftest$ac_exeext conftest.$ac_ext
19165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19166 $as_echo "$ac_has_clock_monotonic" >&6; }
19168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19169 $as_echo_n "checking for realtime clock... " >&6; }
19170 if test x$gcc_no_link = xyes; then
19171 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19174 /* end confdefs.h. */
19175 #include <unistd.h>
19176 #include <time.h>
19179 main ()
19181 #if _POSIX_TIMERS > 0
19182 timespec tp;
19183 #endif
19184 clock_gettime(CLOCK_REALTIME, &tp);
19187 return 0;
19189 _ACEOF
19190 if ac_fn_cxx_try_link "$LINENO"; then :
19191 ac_has_clock_realtime=yes
19192 else
19193 ac_has_clock_realtime=no
19195 rm -f core conftest.err conftest.$ac_objext \
19196 conftest$ac_exeext conftest.$ac_ext
19198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19199 $as_echo "$ac_has_clock_realtime" >&6; }
19201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19202 $as_echo_n "checking for nanosleep... " >&6; }
19203 if test x$gcc_no_link = xyes; then
19204 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19207 /* end confdefs.h. */
19208 #include <unistd.h>
19209 #include <time.h>
19212 main ()
19214 #if _POSIX_TIMERS > 0
19215 timespec tp;
19216 #endif
19217 nanosleep(&tp, 0);
19220 return 0;
19222 _ACEOF
19223 if ac_fn_cxx_try_link "$LINENO"; then :
19224 ac_has_nanosleep=yes
19225 else
19226 ac_has_nanosleep=no
19228 rm -f core conftest.err conftest.$ac_objext \
19229 conftest$ac_exeext conftest.$ac_ext
19231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19232 $as_echo "$ac_has_nanosleep" >&6; }
19236 if test x"$ac_has_clock_monotonic" = x"yes"; then
19238 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19242 if test x"$ac_has_clock_realtime" = x"yes"; then
19244 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19248 if test x"$ac_has_nanosleep" = x"yes"; then
19250 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19256 CXXFLAGS="$ac_save_CXXFLAGS"
19257 LIBS="$ac_save_LIBS"
19258 ac_ext=c
19259 ac_cpp='$CPP $CPPFLAGS'
19260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19266 # For gthread support
19269 ac_ext=cpp
19270 ac_cpp='$CXXCPP $CPPFLAGS'
19271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19276 ac_save_CXXFLAGS="$CXXFLAGS"
19277 CXXFLAGS="$CXXFLAGS -fno-exceptions -I${toplevel_srcdir}/gcc"
19279 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
19280 case $target_thread_file in
19281 posix)
19282 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
19283 esac
19285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
19286 $as_echo_n "checking for gthreads library... " >&6; }
19288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19289 /* end confdefs.h. */
19290 #include "gthr.h"
19292 main ()
19295 #ifndef __GTHREADS_CXX0X
19296 #error
19297 #endif
19299 // In case of POSIX threads check _POSIX_TIMEOUTS too.
19300 #if (defined(_PTHREADS) \
19301 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
19302 #error
19303 #endif
19306 return 0;
19308 _ACEOF
19309 if ac_fn_cxx_try_compile "$LINENO"; then :
19310 ac_has_gthreads=yes
19311 else
19312 ac_has_gthreads=no
19314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
19317 $as_echo "$ac_has_gthreads" >&6; }
19319 if test x"$ac_has_gthreads" = x"yes"; then
19321 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
19325 CXXFLAGS="$ac_save_CXXFLAGS"
19326 ac_ext=c
19327 ac_cpp='$CPP $CPPFLAGS'
19328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19335 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19336 if test "x$ac_cv_header_locale_h" = x""yes; then :
19338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19339 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19340 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
19341 $as_echo_n "(cached) " >&6
19342 else
19343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19344 /* end confdefs.h. */
19345 #include <locale.h>
19347 main ()
19349 return LC_MESSAGES
19351 return 0;
19353 _ACEOF
19354 if ac_fn_c_try_compile "$LINENO"; then :
19355 ac_cv_val_LC_MESSAGES=yes
19356 else
19357 ac_cv_val_LC_MESSAGES=no
19359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
19362 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
19363 if test $ac_cv_val_LC_MESSAGES = yes; then
19365 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19374 # Check for available headers.
19375 for ac_header in endian.h float.h fp.h ieeefp.h inttypes.h locale.h \
19376 machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
19377 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
19378 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
19379 wchar.h wctype.h
19380 do :
19381 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19382 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19383 eval as_val=\$$as_ac_Header
19384 if test "x$as_val" = x""yes; then :
19385 cat >>confdefs.h <<_ACEOF
19386 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19387 _ACEOF
19391 done
19394 # Only do link tests if native. Else, hardcode.
19395 if $GLIBCXX_IS_NATIVE; then
19397 # We can do more elaborate tests that assume a working linker.
19398 CANADIAN=no
19402 # Check whether --with-gnu-ld was given.
19403 if test "${with_gnu_ld+set}" = set; then :
19404 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
19405 else
19406 with_gnu_ld=no
19409 ac_prog=ld
19410 if test "$GCC" = yes; then
19411 # Check if gcc -print-prog-name=ld gives a path.
19412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
19413 $as_echo_n "checking for ld used by $CC... " >&6; }
19414 case $host in
19415 *-*-mingw*)
19416 # gcc leaves a trailing carriage return which upsets mingw
19417 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
19419 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
19420 esac
19421 case $ac_prog in
19422 # Accept absolute paths.
19423 [\\/]* | ?:[\\/]*)
19424 re_direlt='/[^/][^/]*/\.\./'
19425 # Canonicalize the pathname of ld
19426 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
19427 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
19428 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
19429 done
19430 test -z "$LD" && LD="$ac_prog"
19433 # If it fails, then pretend we aren't using GCC.
19434 ac_prog=ld
19437 # If it is relative, then search for the first ld in PATH.
19438 with_gnu_ld=unknown
19440 esac
19441 elif test "$with_gnu_ld" = yes; then
19442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
19443 $as_echo_n "checking for GNU ld... " >&6; }
19444 else
19445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
19446 $as_echo_n "checking for non-GNU ld... " >&6; }
19448 if test "${lt_cv_path_LD+set}" = set; then :
19449 $as_echo_n "(cached) " >&6
19450 else
19451 if test -z "$LD"; then
19452 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
19453 for ac_dir in $PATH; do
19454 IFS="$lt_save_ifs"
19455 test -z "$ac_dir" && ac_dir=.
19456 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
19457 lt_cv_path_LD="$ac_dir/$ac_prog"
19458 # Check to see if the program is GNU ld. I'd rather use --version,
19459 # but apparently some variants of GNU ld only accept -v.
19460 # Break only if it was the GNU/non-GNU ld that we prefer.
19461 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
19462 *GNU* | *'with BFD'*)
19463 test "$with_gnu_ld" != no && break
19466 test "$with_gnu_ld" != yes && break
19468 esac
19470 done
19471 IFS="$lt_save_ifs"
19472 else
19473 lt_cv_path_LD="$LD" # Let the user override the test with a path.
19477 LD="$lt_cv_path_LD"
19478 if test -n "$LD"; then
19479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
19480 $as_echo "$LD" >&6; }
19481 else
19482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19483 $as_echo "no" >&6; }
19485 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
19486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
19487 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
19488 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
19489 $as_echo_n "(cached) " >&6
19490 else
19491 # I'd rather use --version here, but apparently some GNU lds only accept -v.
19492 case `$LD -v 2>&1 </dev/null` in
19493 *GNU* | *'with BFD'*)
19494 lt_cv_prog_gnu_ld=yes
19497 lt_cv_prog_gnu_ld=no
19499 esac
19501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
19502 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
19503 with_gnu_ld=$lt_cv_prog_gnu_ld
19511 # If we're not using GNU ld, then there's no point in even trying these
19512 # tests. Check for that first. We should have already tested for gld
19513 # by now (in libtool), but require it now just to be safe...
19514 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
19515 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
19519 # The name set by libtool depends on the version of libtool. Shame on us
19520 # for depending on an impl detail, but c'est la vie. Older versions used
19521 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
19522 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
19523 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
19524 # set (hence we're using an older libtool), then set it.
19525 if test x${with_gnu_ld+set} != xset; then
19526 if test x${ac_cv_prog_gnu_ld+set} != xset; then
19527 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
19528 with_gnu_ld=no
19529 else
19530 with_gnu_ld=$ac_cv_prog_gnu_ld
19534 # Start by getting the version number. I think the libtool test already
19535 # does some of this, but throws away the result.
19536 glibcxx_ld_is_gold=no
19537 if test x"$with_gnu_ld" = x"yes"; then
19538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
19539 $as_echo_n "checking for ld version... " >&6; }
19541 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
19542 glibcxx_ld_is_gold=yes
19544 ldver=`$LD --version 2>/dev/null |
19545 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
19547 glibcxx_gnu_ld_version=`echo $ldver | \
19548 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
19549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
19550 $as_echo "$glibcxx_gnu_ld_version" >&6; }
19553 # Set --gc-sections.
19554 glibcxx_have_gc_sections=no
19555 if test "$glibcxx_ld_is_gold" = "yes"; then
19556 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
19557 glibcxx_have_gc_sections=yes
19559 else
19560 glibcxx_gcsections_min_ld=21602
19561 if test x"$with_gnu_ld" = x"yes" &&
19562 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
19563 glibcxx_have_gc_sections=yes
19566 if test "$glibcxx_have_gc_sections" = "yes"; then
19567 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
19568 # NB: This flag only works reliably after 2.16.1. Configure tests
19569 # for this are difficult, so hard wire a value that should work.
19571 ac_test_CFLAGS="${CFLAGS+set}"
19572 ac_save_CFLAGS="$CFLAGS"
19573 CFLAGS='-Wl,--gc-sections'
19575 # Check for -Wl,--gc-sections
19576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
19577 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
19578 if test x$gcc_no_link = xyes; then
19579 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19582 /* end confdefs.h. */
19583 int one(void) { return 1; }
19584 int two(void) { return 2; }
19587 main ()
19589 two();
19591 return 0;
19593 _ACEOF
19594 if ac_fn_c_try_link "$LINENO"; then :
19595 ac_gcsections=yes
19596 else
19597 ac_gcsections=no
19599 rm -f core conftest.err conftest.$ac_objext \
19600 conftest$ac_exeext conftest.$ac_ext
19601 if test "$ac_gcsections" = "yes"; then
19602 rm -f conftest.c
19603 touch conftest.c
19604 if $CC -c conftest.c; then
19605 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
19606 grep "Warning: gc-sections option ignored" > /dev/null; then
19607 ac_gcsections=no
19610 rm -f conftest.c conftest.o conftest
19612 if test "$ac_gcsections" = "yes"; then
19613 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
19615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
19616 $as_echo "$ac_gcsections" >&6; }
19618 if test "$ac_test_CFLAGS" = set; then
19619 CFLAGS="$ac_save_CFLAGS"
19620 else
19621 # this is the suspicious part
19622 CFLAGS=''
19626 # Set -z,relro.
19627 # Note this is only for shared objects.
19628 ac_ld_relro=no
19629 if test x"$with_gnu_ld" = x"yes"; then
19630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
19631 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
19632 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
19633 if test -n "$cxx_z_relo"; then
19634 OPT_LDFLAGS="-Wl,-z,relro"
19635 ac_ld_relro=yes
19637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
19638 $as_echo "$ac_ld_relro" >&6; }
19641 # Set linker optimization flags.
19642 if test x"$with_gnu_ld" = x"yes"; then
19643 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
19650 ac_test_CXXFLAGS="${CXXFLAGS+set}"
19651 ac_save_CXXFLAGS="$CXXFLAGS"
19652 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
19654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
19655 $as_echo_n "checking for sin in -lm... " >&6; }
19656 if test "${ac_cv_lib_m_sin+set}" = set; then :
19657 $as_echo_n "(cached) " >&6
19658 else
19659 ac_check_lib_save_LIBS=$LIBS
19660 LIBS="-lm $LIBS"
19661 if test x$gcc_no_link = xyes; then
19662 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19665 /* end confdefs.h. */
19667 /* Override any GCC internal prototype to avoid an error.
19668 Use char because int might match the return type of a GCC
19669 builtin and then its argument prototype would still apply. */
19670 #ifdef __cplusplus
19671 extern "C"
19672 #endif
19673 char sin ();
19675 main ()
19677 return sin ();
19679 return 0;
19681 _ACEOF
19682 if ac_fn_c_try_link "$LINENO"; then :
19683 ac_cv_lib_m_sin=yes
19684 else
19685 ac_cv_lib_m_sin=no
19687 rm -f core conftest.err conftest.$ac_objext \
19688 conftest$ac_exeext conftest.$ac_ext
19689 LIBS=$ac_check_lib_save_LIBS
19691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
19692 $as_echo "$ac_cv_lib_m_sin" >&6; }
19693 if test "x$ac_cv_lib_m_sin" = x""yes; then :
19694 libm="-lm"
19697 ac_save_LIBS="$LIBS"
19698 LIBS="$LIBS $libm"
19702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
19703 $as_echo_n "checking for isinf declaration... " >&6; }
19704 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
19705 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
19706 $as_echo_n "(cached) " >&6
19707 else
19710 ac_ext=cpp
19711 ac_cpp='$CXXCPP $CPPFLAGS'
19712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19717 /* end confdefs.h. */
19718 #include <math.h>
19719 #ifdef HAVE_IEEEFP_H
19720 #include <ieeefp.h>
19721 #endif
19724 main ()
19726 isinf(0);
19728 return 0;
19730 _ACEOF
19731 if ac_fn_cxx_try_compile "$LINENO"; then :
19732 glibcxx_cv_func_isinf_use=yes
19733 else
19734 glibcxx_cv_func_isinf_use=no
19736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19737 ac_ext=c
19738 ac_cpp='$CPP $CPPFLAGS'
19739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
19748 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
19750 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
19751 for ac_func in isinf
19752 do :
19753 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
19754 if test "x$ac_cv_func_isinf" = x""yes; then :
19755 cat >>confdefs.h <<_ACEOF
19756 #define HAVE_ISINF 1
19757 _ACEOF
19760 done
19762 else
19764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
19765 $as_echo_n "checking for _isinf declaration... " >&6; }
19766 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
19767 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
19768 $as_echo_n "(cached) " >&6
19769 else
19772 ac_ext=cpp
19773 ac_cpp='$CXXCPP $CPPFLAGS'
19774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19779 /* end confdefs.h. */
19780 #include <math.h>
19781 #ifdef HAVE_IEEEFP_H
19782 #include <ieeefp.h>
19783 #endif
19786 main ()
19788 _isinf(0);
19790 return 0;
19792 _ACEOF
19793 if ac_fn_cxx_try_compile "$LINENO"; then :
19794 glibcxx_cv_func__isinf_use=yes
19795 else
19796 glibcxx_cv_func__isinf_use=no
19798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19799 ac_ext=c
19800 ac_cpp='$CPP $CPPFLAGS'
19801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
19810 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
19812 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
19813 for ac_func in _isinf
19814 do :
19815 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
19816 if test "x$ac_cv_func__isinf" = x""yes; then :
19817 cat >>confdefs.h <<_ACEOF
19818 #define HAVE__ISINF 1
19819 _ACEOF
19822 done
19831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
19832 $as_echo_n "checking for isnan declaration... " >&6; }
19833 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
19834 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
19835 $as_echo_n "(cached) " >&6
19836 else
19839 ac_ext=cpp
19840 ac_cpp='$CXXCPP $CPPFLAGS'
19841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19846 /* end confdefs.h. */
19847 #include <math.h>
19848 #ifdef HAVE_IEEEFP_H
19849 #include <ieeefp.h>
19850 #endif
19853 main ()
19855 isnan(0);
19857 return 0;
19859 _ACEOF
19860 if ac_fn_cxx_try_compile "$LINENO"; then :
19861 glibcxx_cv_func_isnan_use=yes
19862 else
19863 glibcxx_cv_func_isnan_use=no
19865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19866 ac_ext=c
19867 ac_cpp='$CPP $CPPFLAGS'
19868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
19877 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
19879 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
19880 for ac_func in isnan
19881 do :
19882 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
19883 if test "x$ac_cv_func_isnan" = x""yes; then :
19884 cat >>confdefs.h <<_ACEOF
19885 #define HAVE_ISNAN 1
19886 _ACEOF
19889 done
19891 else
19893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
19894 $as_echo_n "checking for _isnan declaration... " >&6; }
19895 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
19896 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
19897 $as_echo_n "(cached) " >&6
19898 else
19901 ac_ext=cpp
19902 ac_cpp='$CXXCPP $CPPFLAGS'
19903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19908 /* end confdefs.h. */
19909 #include <math.h>
19910 #ifdef HAVE_IEEEFP_H
19911 #include <ieeefp.h>
19912 #endif
19915 main ()
19917 _isnan(0);
19919 return 0;
19921 _ACEOF
19922 if ac_fn_cxx_try_compile "$LINENO"; then :
19923 glibcxx_cv_func__isnan_use=yes
19924 else
19925 glibcxx_cv_func__isnan_use=no
19927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19928 ac_ext=c
19929 ac_cpp='$CPP $CPPFLAGS'
19930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
19939 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
19941 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
19942 for ac_func in _isnan
19943 do :
19944 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
19945 if test "x$ac_cv_func__isnan" = x""yes; then :
19946 cat >>confdefs.h <<_ACEOF
19947 #define HAVE__ISNAN 1
19948 _ACEOF
19951 done
19960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
19961 $as_echo_n "checking for finite declaration... " >&6; }
19962 if test x${glibcxx_cv_func_finite_use+set} != xset; then
19963 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
19964 $as_echo_n "(cached) " >&6
19965 else
19968 ac_ext=cpp
19969 ac_cpp='$CXXCPP $CPPFLAGS'
19970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19975 /* end confdefs.h. */
19976 #include <math.h>
19977 #ifdef HAVE_IEEEFP_H
19978 #include <ieeefp.h>
19979 #endif
19982 main ()
19984 finite(0);
19986 return 0;
19988 _ACEOF
19989 if ac_fn_cxx_try_compile "$LINENO"; then :
19990 glibcxx_cv_func_finite_use=yes
19991 else
19992 glibcxx_cv_func_finite_use=no
19994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19995 ac_ext=c
19996 ac_cpp='$CPP $CPPFLAGS'
19997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
20006 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
20008 if test x$glibcxx_cv_func_finite_use = x"yes"; then
20009 for ac_func in finite
20010 do :
20011 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
20012 if test "x$ac_cv_func_finite" = x""yes; then :
20013 cat >>confdefs.h <<_ACEOF
20014 #define HAVE_FINITE 1
20015 _ACEOF
20018 done
20020 else
20022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
20023 $as_echo_n "checking for _finite declaration... " >&6; }
20024 if test x${glibcxx_cv_func__finite_use+set} != xset; then
20025 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
20026 $as_echo_n "(cached) " >&6
20027 else
20030 ac_ext=cpp
20031 ac_cpp='$CXXCPP $CPPFLAGS'
20032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20037 /* end confdefs.h. */
20038 #include <math.h>
20039 #ifdef HAVE_IEEEFP_H
20040 #include <ieeefp.h>
20041 #endif
20044 main ()
20046 _finite(0);
20048 return 0;
20050 _ACEOF
20051 if ac_fn_cxx_try_compile "$LINENO"; then :
20052 glibcxx_cv_func__finite_use=yes
20053 else
20054 glibcxx_cv_func__finite_use=no
20056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20057 ac_ext=c
20058 ac_cpp='$CPP $CPPFLAGS'
20059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
20068 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
20070 if test x$glibcxx_cv_func__finite_use = x"yes"; then
20071 for ac_func in _finite
20072 do :
20073 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
20074 if test "x$ac_cv_func__finite" = x""yes; then :
20075 cat >>confdefs.h <<_ACEOF
20076 #define HAVE__FINITE 1
20077 _ACEOF
20080 done
20089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
20090 $as_echo_n "checking for sincos declaration... " >&6; }
20091 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
20092 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
20093 $as_echo_n "(cached) " >&6
20094 else
20097 ac_ext=cpp
20098 ac_cpp='$CXXCPP $CPPFLAGS'
20099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20104 /* end confdefs.h. */
20105 #include <math.h>
20107 main ()
20109 sincos(0, 0, 0);
20111 return 0;
20113 _ACEOF
20114 if ac_fn_cxx_try_compile "$LINENO"; then :
20115 glibcxx_cv_func_sincos_use=yes
20116 else
20117 glibcxx_cv_func_sincos_use=no
20119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20120 ac_ext=c
20121 ac_cpp='$CPP $CPPFLAGS'
20122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
20131 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
20133 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
20134 for ac_func in sincos
20135 do :
20136 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
20137 if test "x$ac_cv_func_sincos" = x""yes; then :
20138 cat >>confdefs.h <<_ACEOF
20139 #define HAVE_SINCOS 1
20140 _ACEOF
20143 done
20145 else
20147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
20148 $as_echo_n "checking for _sincos declaration... " >&6; }
20149 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
20150 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
20151 $as_echo_n "(cached) " >&6
20152 else
20155 ac_ext=cpp
20156 ac_cpp='$CXXCPP $CPPFLAGS'
20157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20162 /* end confdefs.h. */
20163 #include <math.h>
20165 main ()
20167 _sincos(0, 0, 0);
20169 return 0;
20171 _ACEOF
20172 if ac_fn_cxx_try_compile "$LINENO"; then :
20173 glibcxx_cv_func__sincos_use=yes
20174 else
20175 glibcxx_cv_func__sincos_use=no
20177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20178 ac_ext=c
20179 ac_cpp='$CPP $CPPFLAGS'
20180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
20189 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
20191 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
20192 for ac_func in _sincos
20193 do :
20194 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
20195 if test "x$ac_cv_func__sincos" = x""yes; then :
20196 cat >>confdefs.h <<_ACEOF
20197 #define HAVE__SINCOS 1
20198 _ACEOF
20201 done
20210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
20211 $as_echo_n "checking for fpclass declaration... " >&6; }
20212 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
20213 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
20214 $as_echo_n "(cached) " >&6
20215 else
20218 ac_ext=cpp
20219 ac_cpp='$CXXCPP $CPPFLAGS'
20220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20225 /* end confdefs.h. */
20226 #include <math.h>
20227 #ifdef HAVE_IEEEFP_H
20228 #include <ieeefp.h>
20229 #endif
20232 main ()
20234 fpclass(0);
20236 return 0;
20238 _ACEOF
20239 if ac_fn_cxx_try_compile "$LINENO"; then :
20240 glibcxx_cv_func_fpclass_use=yes
20241 else
20242 glibcxx_cv_func_fpclass_use=no
20244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20245 ac_ext=c
20246 ac_cpp='$CPP $CPPFLAGS'
20247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
20256 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
20258 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
20259 for ac_func in fpclass
20260 do :
20261 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
20262 if test "x$ac_cv_func_fpclass" = x""yes; then :
20263 cat >>confdefs.h <<_ACEOF
20264 #define HAVE_FPCLASS 1
20265 _ACEOF
20268 done
20270 else
20272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
20273 $as_echo_n "checking for _fpclass declaration... " >&6; }
20274 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
20275 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
20276 $as_echo_n "(cached) " >&6
20277 else
20280 ac_ext=cpp
20281 ac_cpp='$CXXCPP $CPPFLAGS'
20282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20287 /* end confdefs.h. */
20288 #include <math.h>
20289 #ifdef HAVE_IEEEFP_H
20290 #include <ieeefp.h>
20291 #endif
20294 main ()
20296 _fpclass(0);
20298 return 0;
20300 _ACEOF
20301 if ac_fn_cxx_try_compile "$LINENO"; then :
20302 glibcxx_cv_func__fpclass_use=yes
20303 else
20304 glibcxx_cv_func__fpclass_use=no
20306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20307 ac_ext=c
20308 ac_cpp='$CPP $CPPFLAGS'
20309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
20318 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
20320 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
20321 for ac_func in _fpclass
20322 do :
20323 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
20324 if test "x$ac_cv_func__fpclass" = x""yes; then :
20325 cat >>confdefs.h <<_ACEOF
20326 #define HAVE__FPCLASS 1
20327 _ACEOF
20330 done
20339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
20340 $as_echo_n "checking for qfpclass declaration... " >&6; }
20341 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
20342 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
20343 $as_echo_n "(cached) " >&6
20344 else
20347 ac_ext=cpp
20348 ac_cpp='$CXXCPP $CPPFLAGS'
20349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20354 /* end confdefs.h. */
20355 #include <math.h>
20356 #ifdef HAVE_IEEEFP_H
20357 #include <ieeefp.h>
20358 #endif
20361 main ()
20363 qfpclass(0);
20365 return 0;
20367 _ACEOF
20368 if ac_fn_cxx_try_compile "$LINENO"; then :
20369 glibcxx_cv_func_qfpclass_use=yes
20370 else
20371 glibcxx_cv_func_qfpclass_use=no
20373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20374 ac_ext=c
20375 ac_cpp='$CPP $CPPFLAGS'
20376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
20385 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
20387 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
20388 for ac_func in qfpclass
20389 do :
20390 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
20391 if test "x$ac_cv_func_qfpclass" = x""yes; then :
20392 cat >>confdefs.h <<_ACEOF
20393 #define HAVE_QFPCLASS 1
20394 _ACEOF
20397 done
20399 else
20401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
20402 $as_echo_n "checking for _qfpclass declaration... " >&6; }
20403 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
20404 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
20405 $as_echo_n "(cached) " >&6
20406 else
20409 ac_ext=cpp
20410 ac_cpp='$CXXCPP $CPPFLAGS'
20411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20416 /* end confdefs.h. */
20417 #include <math.h>
20418 #ifdef HAVE_IEEEFP_H
20419 #include <ieeefp.h>
20420 #endif
20423 main ()
20425 _qfpclass(0);
20427 return 0;
20429 _ACEOF
20430 if ac_fn_cxx_try_compile "$LINENO"; then :
20431 glibcxx_cv_func__qfpclass_use=yes
20432 else
20433 glibcxx_cv_func__qfpclass_use=no
20435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20436 ac_ext=c
20437 ac_cpp='$CPP $CPPFLAGS'
20438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
20447 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
20449 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
20450 for ac_func in _qfpclass
20451 do :
20452 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
20453 if test "x$ac_cv_func__qfpclass" = x""yes; then :
20454 cat >>confdefs.h <<_ACEOF
20455 #define HAVE__QFPCLASS 1
20456 _ACEOF
20459 done
20468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
20469 $as_echo_n "checking for hypot declaration... " >&6; }
20470 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
20471 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
20472 $as_echo_n "(cached) " >&6
20473 else
20476 ac_ext=cpp
20477 ac_cpp='$CXXCPP $CPPFLAGS'
20478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20483 /* end confdefs.h. */
20484 #include <math.h>
20486 main ()
20488 hypot(0, 0);
20490 return 0;
20492 _ACEOF
20493 if ac_fn_cxx_try_compile "$LINENO"; then :
20494 glibcxx_cv_func_hypot_use=yes
20495 else
20496 glibcxx_cv_func_hypot_use=no
20498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20499 ac_ext=c
20500 ac_cpp='$CPP $CPPFLAGS'
20501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
20510 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
20512 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
20513 for ac_func in hypot
20514 do :
20515 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
20516 if test "x$ac_cv_func_hypot" = x""yes; then :
20517 cat >>confdefs.h <<_ACEOF
20518 #define HAVE_HYPOT 1
20519 _ACEOF
20522 done
20524 else
20526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
20527 $as_echo_n "checking for _hypot declaration... " >&6; }
20528 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
20529 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
20530 $as_echo_n "(cached) " >&6
20531 else
20534 ac_ext=cpp
20535 ac_cpp='$CXXCPP $CPPFLAGS'
20536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20541 /* end confdefs.h. */
20542 #include <math.h>
20544 main ()
20546 _hypot(0, 0);
20548 return 0;
20550 _ACEOF
20551 if ac_fn_cxx_try_compile "$LINENO"; then :
20552 glibcxx_cv_func__hypot_use=yes
20553 else
20554 glibcxx_cv_func__hypot_use=no
20556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20557 ac_ext=c
20558 ac_cpp='$CPP $CPPFLAGS'
20559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
20568 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
20570 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
20571 for ac_func in _hypot
20572 do :
20573 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
20574 if test "x$ac_cv_func__hypot" = x""yes; then :
20575 cat >>confdefs.h <<_ACEOF
20576 #define HAVE__HYPOT 1
20577 _ACEOF
20580 done
20589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
20590 $as_echo_n "checking for float trig functions... " >&6; }
20591 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
20592 $as_echo_n "(cached) " >&6
20593 else
20596 ac_ext=cpp
20597 ac_cpp='$CXXCPP $CPPFLAGS'
20598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20603 /* end confdefs.h. */
20604 #include <math.h>
20606 main ()
20608 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
20610 return 0;
20612 _ACEOF
20613 if ac_fn_cxx_try_compile "$LINENO"; then :
20614 glibcxx_cv_func_float_trig_use=yes
20615 else
20616 glibcxx_cv_func_float_trig_use=no
20618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20619 ac_ext=c
20620 ac_cpp='$CPP $CPPFLAGS'
20621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
20628 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
20629 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
20630 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
20631 do :
20632 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20633 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20634 eval as_val=\$$as_ac_var
20635 if test "x$as_val" = x""yes; then :
20636 cat >>confdefs.h <<_ACEOF
20637 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20638 _ACEOF
20641 done
20643 else
20644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
20645 $as_echo_n "checking for _float trig functions... " >&6; }
20646 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
20647 $as_echo_n "(cached) " >&6
20648 else
20651 ac_ext=cpp
20652 ac_cpp='$CXXCPP $CPPFLAGS'
20653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20658 /* end confdefs.h. */
20659 #include <math.h>
20661 main ()
20663 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
20665 return 0;
20667 _ACEOF
20668 if ac_fn_cxx_try_compile "$LINENO"; then :
20669 glibcxx_cv_func__float_trig_use=yes
20670 else
20671 glibcxx_cv_func__float_trig_use=no
20673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20674 ac_ext=c
20675 ac_cpp='$CPP $CPPFLAGS'
20676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
20683 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
20684 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
20685 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
20686 do :
20687 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20688 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20689 eval as_val=\$$as_ac_var
20690 if test "x$as_val" = x""yes; then :
20691 cat >>confdefs.h <<_ACEOF
20692 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20693 _ACEOF
20696 done
20705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
20706 $as_echo_n "checking for float round functions... " >&6; }
20707 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
20708 $as_echo_n "(cached) " >&6
20709 else
20712 ac_ext=cpp
20713 ac_cpp='$CXXCPP $CPPFLAGS'
20714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20719 /* end confdefs.h. */
20720 #include <math.h>
20722 main ()
20724 ceilf (0); floorf (0);
20726 return 0;
20728 _ACEOF
20729 if ac_fn_cxx_try_compile "$LINENO"; then :
20730 glibcxx_cv_func_float_round_use=yes
20731 else
20732 glibcxx_cv_func_float_round_use=no
20734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20735 ac_ext=c
20736 ac_cpp='$CPP $CPPFLAGS'
20737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
20744 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
20745 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
20746 for ac_func in ceilf floorf
20747 do :
20748 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20749 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20750 eval as_val=\$$as_ac_var
20751 if test "x$as_val" = x""yes; then :
20752 cat >>confdefs.h <<_ACEOF
20753 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20754 _ACEOF
20757 done
20759 else
20760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
20761 $as_echo_n "checking for _float round functions... " >&6; }
20762 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
20763 $as_echo_n "(cached) " >&6
20764 else
20767 ac_ext=cpp
20768 ac_cpp='$CXXCPP $CPPFLAGS'
20769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20774 /* end confdefs.h. */
20775 #include <math.h>
20777 main ()
20779 _ceilf (0); _floorf (0);
20781 return 0;
20783 _ACEOF
20784 if ac_fn_cxx_try_compile "$LINENO"; then :
20785 glibcxx_cv_func__float_round_use=yes
20786 else
20787 glibcxx_cv_func__float_round_use=no
20789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20790 ac_ext=c
20791 ac_cpp='$CPP $CPPFLAGS'
20792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
20799 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
20800 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
20801 for ac_func in _ceilf _floorf
20802 do :
20803 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20804 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20805 eval as_val=\$$as_ac_var
20806 if test "x$as_val" = x""yes; then :
20807 cat >>confdefs.h <<_ACEOF
20808 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20809 _ACEOF
20812 done
20822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
20823 $as_echo_n "checking for expf declaration... " >&6; }
20824 if test x${glibcxx_cv_func_expf_use+set} != xset; then
20825 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
20826 $as_echo_n "(cached) " >&6
20827 else
20830 ac_ext=cpp
20831 ac_cpp='$CXXCPP $CPPFLAGS'
20832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20837 /* end confdefs.h. */
20838 #include <math.h>
20839 #ifdef HAVE_IEEEFP_H
20840 #include <ieeefp.h>
20841 #endif
20844 main ()
20846 expf(0);
20848 return 0;
20850 _ACEOF
20851 if ac_fn_cxx_try_compile "$LINENO"; then :
20852 glibcxx_cv_func_expf_use=yes
20853 else
20854 glibcxx_cv_func_expf_use=no
20856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20857 ac_ext=c
20858 ac_cpp='$CPP $CPPFLAGS'
20859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
20868 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
20870 if test x$glibcxx_cv_func_expf_use = x"yes"; then
20871 for ac_func in expf
20872 do :
20873 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
20874 if test "x$ac_cv_func_expf" = x""yes; then :
20875 cat >>confdefs.h <<_ACEOF
20876 #define HAVE_EXPF 1
20877 _ACEOF
20880 done
20882 else
20884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
20885 $as_echo_n "checking for _expf declaration... " >&6; }
20886 if test x${glibcxx_cv_func__expf_use+set} != xset; then
20887 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
20888 $as_echo_n "(cached) " >&6
20889 else
20892 ac_ext=cpp
20893 ac_cpp='$CXXCPP $CPPFLAGS'
20894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20899 /* end confdefs.h. */
20900 #include <math.h>
20901 #ifdef HAVE_IEEEFP_H
20902 #include <ieeefp.h>
20903 #endif
20906 main ()
20908 _expf(0);
20910 return 0;
20912 _ACEOF
20913 if ac_fn_cxx_try_compile "$LINENO"; then :
20914 glibcxx_cv_func__expf_use=yes
20915 else
20916 glibcxx_cv_func__expf_use=no
20918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20919 ac_ext=c
20920 ac_cpp='$CPP $CPPFLAGS'
20921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
20930 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
20932 if test x$glibcxx_cv_func__expf_use = x"yes"; then
20933 for ac_func in _expf
20934 do :
20935 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
20936 if test "x$ac_cv_func__expf" = x""yes; then :
20937 cat >>confdefs.h <<_ACEOF
20938 #define HAVE__EXPF 1
20939 _ACEOF
20942 done
20951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
20952 $as_echo_n "checking for isnanf declaration... " >&6; }
20953 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
20954 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
20955 $as_echo_n "(cached) " >&6
20956 else
20959 ac_ext=cpp
20960 ac_cpp='$CXXCPP $CPPFLAGS'
20961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20966 /* end confdefs.h. */
20967 #include <math.h>
20968 #ifdef HAVE_IEEEFP_H
20969 #include <ieeefp.h>
20970 #endif
20973 main ()
20975 isnanf(0);
20977 return 0;
20979 _ACEOF
20980 if ac_fn_cxx_try_compile "$LINENO"; then :
20981 glibcxx_cv_func_isnanf_use=yes
20982 else
20983 glibcxx_cv_func_isnanf_use=no
20985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20986 ac_ext=c
20987 ac_cpp='$CPP $CPPFLAGS'
20988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
20997 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
20999 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
21000 for ac_func in isnanf
21001 do :
21002 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
21003 if test "x$ac_cv_func_isnanf" = x""yes; then :
21004 cat >>confdefs.h <<_ACEOF
21005 #define HAVE_ISNANF 1
21006 _ACEOF
21009 done
21011 else
21013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
21014 $as_echo_n "checking for _isnanf declaration... " >&6; }
21015 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
21016 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
21017 $as_echo_n "(cached) " >&6
21018 else
21021 ac_ext=cpp
21022 ac_cpp='$CXXCPP $CPPFLAGS'
21023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21028 /* end confdefs.h. */
21029 #include <math.h>
21030 #ifdef HAVE_IEEEFP_H
21031 #include <ieeefp.h>
21032 #endif
21035 main ()
21037 _isnanf(0);
21039 return 0;
21041 _ACEOF
21042 if ac_fn_cxx_try_compile "$LINENO"; then :
21043 glibcxx_cv_func__isnanf_use=yes
21044 else
21045 glibcxx_cv_func__isnanf_use=no
21047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21048 ac_ext=c
21049 ac_cpp='$CPP $CPPFLAGS'
21050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
21059 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
21061 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
21062 for ac_func in _isnanf
21063 do :
21064 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
21065 if test "x$ac_cv_func__isnanf" = x""yes; then :
21066 cat >>confdefs.h <<_ACEOF
21067 #define HAVE__ISNANF 1
21068 _ACEOF
21071 done
21080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
21081 $as_echo_n "checking for isinff declaration... " >&6; }
21082 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
21083 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
21084 $as_echo_n "(cached) " >&6
21085 else
21088 ac_ext=cpp
21089 ac_cpp='$CXXCPP $CPPFLAGS'
21090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21095 /* end confdefs.h. */
21096 #include <math.h>
21097 #ifdef HAVE_IEEEFP_H
21098 #include <ieeefp.h>
21099 #endif
21102 main ()
21104 isinff(0);
21106 return 0;
21108 _ACEOF
21109 if ac_fn_cxx_try_compile "$LINENO"; then :
21110 glibcxx_cv_func_isinff_use=yes
21111 else
21112 glibcxx_cv_func_isinff_use=no
21114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21115 ac_ext=c
21116 ac_cpp='$CPP $CPPFLAGS'
21117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
21126 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
21128 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
21129 for ac_func in isinff
21130 do :
21131 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
21132 if test "x$ac_cv_func_isinff" = x""yes; then :
21133 cat >>confdefs.h <<_ACEOF
21134 #define HAVE_ISINFF 1
21135 _ACEOF
21138 done
21140 else
21142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
21143 $as_echo_n "checking for _isinff declaration... " >&6; }
21144 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
21145 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
21146 $as_echo_n "(cached) " >&6
21147 else
21150 ac_ext=cpp
21151 ac_cpp='$CXXCPP $CPPFLAGS'
21152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21157 /* end confdefs.h. */
21158 #include <math.h>
21159 #ifdef HAVE_IEEEFP_H
21160 #include <ieeefp.h>
21161 #endif
21164 main ()
21166 _isinff(0);
21168 return 0;
21170 _ACEOF
21171 if ac_fn_cxx_try_compile "$LINENO"; then :
21172 glibcxx_cv_func__isinff_use=yes
21173 else
21174 glibcxx_cv_func__isinff_use=no
21176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21177 ac_ext=c
21178 ac_cpp='$CPP $CPPFLAGS'
21179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
21188 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
21190 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
21191 for ac_func in _isinff
21192 do :
21193 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
21194 if test "x$ac_cv_func__isinff" = x""yes; then :
21195 cat >>confdefs.h <<_ACEOF
21196 #define HAVE__ISINFF 1
21197 _ACEOF
21200 done
21209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
21210 $as_echo_n "checking for atan2f declaration... " >&6; }
21211 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
21212 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
21213 $as_echo_n "(cached) " >&6
21214 else
21217 ac_ext=cpp
21218 ac_cpp='$CXXCPP $CPPFLAGS'
21219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21224 /* end confdefs.h. */
21225 #include <math.h>
21227 main ()
21229 atan2f(0, 0);
21231 return 0;
21233 _ACEOF
21234 if ac_fn_cxx_try_compile "$LINENO"; then :
21235 glibcxx_cv_func_atan2f_use=yes
21236 else
21237 glibcxx_cv_func_atan2f_use=no
21239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21240 ac_ext=c
21241 ac_cpp='$CPP $CPPFLAGS'
21242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
21251 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
21253 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
21254 for ac_func in atan2f
21255 do :
21256 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
21257 if test "x$ac_cv_func_atan2f" = x""yes; then :
21258 cat >>confdefs.h <<_ACEOF
21259 #define HAVE_ATAN2F 1
21260 _ACEOF
21263 done
21265 else
21267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
21268 $as_echo_n "checking for _atan2f declaration... " >&6; }
21269 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
21270 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
21271 $as_echo_n "(cached) " >&6
21272 else
21275 ac_ext=cpp
21276 ac_cpp='$CXXCPP $CPPFLAGS'
21277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21282 /* end confdefs.h. */
21283 #include <math.h>
21285 main ()
21287 _atan2f(0, 0);
21289 return 0;
21291 _ACEOF
21292 if ac_fn_cxx_try_compile "$LINENO"; then :
21293 glibcxx_cv_func__atan2f_use=yes
21294 else
21295 glibcxx_cv_func__atan2f_use=no
21297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21298 ac_ext=c
21299 ac_cpp='$CPP $CPPFLAGS'
21300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
21309 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
21311 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
21312 for ac_func in _atan2f
21313 do :
21314 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
21315 if test "x$ac_cv_func__atan2f" = x""yes; then :
21316 cat >>confdefs.h <<_ACEOF
21317 #define HAVE__ATAN2F 1
21318 _ACEOF
21321 done
21330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
21331 $as_echo_n "checking for fabsf declaration... " >&6; }
21332 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
21333 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
21334 $as_echo_n "(cached) " >&6
21335 else
21338 ac_ext=cpp
21339 ac_cpp='$CXXCPP $CPPFLAGS'
21340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21345 /* end confdefs.h. */
21346 #include <math.h>
21347 #ifdef HAVE_IEEEFP_H
21348 #include <ieeefp.h>
21349 #endif
21352 main ()
21354 fabsf(0);
21356 return 0;
21358 _ACEOF
21359 if ac_fn_cxx_try_compile "$LINENO"; then :
21360 glibcxx_cv_func_fabsf_use=yes
21361 else
21362 glibcxx_cv_func_fabsf_use=no
21364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21365 ac_ext=c
21366 ac_cpp='$CPP $CPPFLAGS'
21367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
21376 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
21378 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
21379 for ac_func in fabsf
21380 do :
21381 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
21382 if test "x$ac_cv_func_fabsf" = x""yes; then :
21383 cat >>confdefs.h <<_ACEOF
21384 #define HAVE_FABSF 1
21385 _ACEOF
21388 done
21390 else
21392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
21393 $as_echo_n "checking for _fabsf declaration... " >&6; }
21394 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
21395 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
21396 $as_echo_n "(cached) " >&6
21397 else
21400 ac_ext=cpp
21401 ac_cpp='$CXXCPP $CPPFLAGS'
21402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21407 /* end confdefs.h. */
21408 #include <math.h>
21409 #ifdef HAVE_IEEEFP_H
21410 #include <ieeefp.h>
21411 #endif
21414 main ()
21416 _fabsf(0);
21418 return 0;
21420 _ACEOF
21421 if ac_fn_cxx_try_compile "$LINENO"; then :
21422 glibcxx_cv_func__fabsf_use=yes
21423 else
21424 glibcxx_cv_func__fabsf_use=no
21426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21427 ac_ext=c
21428 ac_cpp='$CPP $CPPFLAGS'
21429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
21438 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
21440 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
21441 for ac_func in _fabsf
21442 do :
21443 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
21444 if test "x$ac_cv_func__fabsf" = x""yes; then :
21445 cat >>confdefs.h <<_ACEOF
21446 #define HAVE__FABSF 1
21447 _ACEOF
21450 done
21459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
21460 $as_echo_n "checking for fmodf declaration... " >&6; }
21461 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
21462 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
21463 $as_echo_n "(cached) " >&6
21464 else
21467 ac_ext=cpp
21468 ac_cpp='$CXXCPP $CPPFLAGS'
21469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21474 /* end confdefs.h. */
21475 #include <math.h>
21477 main ()
21479 fmodf(0, 0);
21481 return 0;
21483 _ACEOF
21484 if ac_fn_cxx_try_compile "$LINENO"; then :
21485 glibcxx_cv_func_fmodf_use=yes
21486 else
21487 glibcxx_cv_func_fmodf_use=no
21489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21490 ac_ext=c
21491 ac_cpp='$CPP $CPPFLAGS'
21492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
21501 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
21503 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
21504 for ac_func in fmodf
21505 do :
21506 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
21507 if test "x$ac_cv_func_fmodf" = x""yes; then :
21508 cat >>confdefs.h <<_ACEOF
21509 #define HAVE_FMODF 1
21510 _ACEOF
21513 done
21515 else
21517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
21518 $as_echo_n "checking for _fmodf declaration... " >&6; }
21519 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
21520 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
21521 $as_echo_n "(cached) " >&6
21522 else
21525 ac_ext=cpp
21526 ac_cpp='$CXXCPP $CPPFLAGS'
21527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21532 /* end confdefs.h. */
21533 #include <math.h>
21535 main ()
21537 _fmodf(0, 0);
21539 return 0;
21541 _ACEOF
21542 if ac_fn_cxx_try_compile "$LINENO"; then :
21543 glibcxx_cv_func__fmodf_use=yes
21544 else
21545 glibcxx_cv_func__fmodf_use=no
21547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21548 ac_ext=c
21549 ac_cpp='$CPP $CPPFLAGS'
21550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
21559 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
21561 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
21562 for ac_func in _fmodf
21563 do :
21564 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
21565 if test "x$ac_cv_func__fmodf" = x""yes; then :
21566 cat >>confdefs.h <<_ACEOF
21567 #define HAVE__FMODF 1
21568 _ACEOF
21571 done
21580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
21581 $as_echo_n "checking for frexpf declaration... " >&6; }
21582 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
21583 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
21584 $as_echo_n "(cached) " >&6
21585 else
21588 ac_ext=cpp
21589 ac_cpp='$CXXCPP $CPPFLAGS'
21590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21595 /* end confdefs.h. */
21596 #include <math.h>
21598 main ()
21600 frexpf(0, 0);
21602 return 0;
21604 _ACEOF
21605 if ac_fn_cxx_try_compile "$LINENO"; then :
21606 glibcxx_cv_func_frexpf_use=yes
21607 else
21608 glibcxx_cv_func_frexpf_use=no
21610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21611 ac_ext=c
21612 ac_cpp='$CPP $CPPFLAGS'
21613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
21622 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
21624 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
21625 for ac_func in frexpf
21626 do :
21627 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
21628 if test "x$ac_cv_func_frexpf" = x""yes; then :
21629 cat >>confdefs.h <<_ACEOF
21630 #define HAVE_FREXPF 1
21631 _ACEOF
21634 done
21636 else
21638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
21639 $as_echo_n "checking for _frexpf declaration... " >&6; }
21640 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
21641 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
21642 $as_echo_n "(cached) " >&6
21643 else
21646 ac_ext=cpp
21647 ac_cpp='$CXXCPP $CPPFLAGS'
21648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21653 /* end confdefs.h. */
21654 #include <math.h>
21656 main ()
21658 _frexpf(0, 0);
21660 return 0;
21662 _ACEOF
21663 if ac_fn_cxx_try_compile "$LINENO"; then :
21664 glibcxx_cv_func__frexpf_use=yes
21665 else
21666 glibcxx_cv_func__frexpf_use=no
21668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21669 ac_ext=c
21670 ac_cpp='$CPP $CPPFLAGS'
21671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
21680 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
21682 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
21683 for ac_func in _frexpf
21684 do :
21685 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
21686 if test "x$ac_cv_func__frexpf" = x""yes; then :
21687 cat >>confdefs.h <<_ACEOF
21688 #define HAVE__FREXPF 1
21689 _ACEOF
21692 done
21701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
21702 $as_echo_n "checking for hypotf declaration... " >&6; }
21703 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
21704 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
21705 $as_echo_n "(cached) " >&6
21706 else
21709 ac_ext=cpp
21710 ac_cpp='$CXXCPP $CPPFLAGS'
21711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21716 /* end confdefs.h. */
21717 #include <math.h>
21719 main ()
21721 hypotf(0, 0);
21723 return 0;
21725 _ACEOF
21726 if ac_fn_cxx_try_compile "$LINENO"; then :
21727 glibcxx_cv_func_hypotf_use=yes
21728 else
21729 glibcxx_cv_func_hypotf_use=no
21731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21732 ac_ext=c
21733 ac_cpp='$CPP $CPPFLAGS'
21734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
21743 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
21745 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
21746 for ac_func in hypotf
21747 do :
21748 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
21749 if test "x$ac_cv_func_hypotf" = x""yes; then :
21750 cat >>confdefs.h <<_ACEOF
21751 #define HAVE_HYPOTF 1
21752 _ACEOF
21755 done
21757 else
21759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
21760 $as_echo_n "checking for _hypotf declaration... " >&6; }
21761 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
21762 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
21763 $as_echo_n "(cached) " >&6
21764 else
21767 ac_ext=cpp
21768 ac_cpp='$CXXCPP $CPPFLAGS'
21769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21774 /* end confdefs.h. */
21775 #include <math.h>
21777 main ()
21779 _hypotf(0, 0);
21781 return 0;
21783 _ACEOF
21784 if ac_fn_cxx_try_compile "$LINENO"; then :
21785 glibcxx_cv_func__hypotf_use=yes
21786 else
21787 glibcxx_cv_func__hypotf_use=no
21789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21790 ac_ext=c
21791 ac_cpp='$CPP $CPPFLAGS'
21792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
21801 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
21803 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
21804 for ac_func in _hypotf
21805 do :
21806 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
21807 if test "x$ac_cv_func__hypotf" = x""yes; then :
21808 cat >>confdefs.h <<_ACEOF
21809 #define HAVE__HYPOTF 1
21810 _ACEOF
21813 done
21822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
21823 $as_echo_n "checking for ldexpf declaration... " >&6; }
21824 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
21825 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
21826 $as_echo_n "(cached) " >&6
21827 else
21830 ac_ext=cpp
21831 ac_cpp='$CXXCPP $CPPFLAGS'
21832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21837 /* end confdefs.h. */
21838 #include <math.h>
21840 main ()
21842 ldexpf(0, 0);
21844 return 0;
21846 _ACEOF
21847 if ac_fn_cxx_try_compile "$LINENO"; then :
21848 glibcxx_cv_func_ldexpf_use=yes
21849 else
21850 glibcxx_cv_func_ldexpf_use=no
21852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21853 ac_ext=c
21854 ac_cpp='$CPP $CPPFLAGS'
21855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
21864 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
21866 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
21867 for ac_func in ldexpf
21868 do :
21869 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
21870 if test "x$ac_cv_func_ldexpf" = x""yes; then :
21871 cat >>confdefs.h <<_ACEOF
21872 #define HAVE_LDEXPF 1
21873 _ACEOF
21876 done
21878 else
21880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
21881 $as_echo_n "checking for _ldexpf declaration... " >&6; }
21882 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
21883 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
21884 $as_echo_n "(cached) " >&6
21885 else
21888 ac_ext=cpp
21889 ac_cpp='$CXXCPP $CPPFLAGS'
21890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21895 /* end confdefs.h. */
21896 #include <math.h>
21898 main ()
21900 _ldexpf(0, 0);
21902 return 0;
21904 _ACEOF
21905 if ac_fn_cxx_try_compile "$LINENO"; then :
21906 glibcxx_cv_func__ldexpf_use=yes
21907 else
21908 glibcxx_cv_func__ldexpf_use=no
21910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21911 ac_ext=c
21912 ac_cpp='$CPP $CPPFLAGS'
21913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
21922 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
21924 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
21925 for ac_func in _ldexpf
21926 do :
21927 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
21928 if test "x$ac_cv_func__ldexpf" = x""yes; then :
21929 cat >>confdefs.h <<_ACEOF
21930 #define HAVE__LDEXPF 1
21931 _ACEOF
21934 done
21943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
21944 $as_echo_n "checking for logf declaration... " >&6; }
21945 if test x${glibcxx_cv_func_logf_use+set} != xset; then
21946 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
21947 $as_echo_n "(cached) " >&6
21948 else
21951 ac_ext=cpp
21952 ac_cpp='$CXXCPP $CPPFLAGS'
21953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21958 /* end confdefs.h. */
21959 #include <math.h>
21960 #ifdef HAVE_IEEEFP_H
21961 #include <ieeefp.h>
21962 #endif
21965 main ()
21967 logf(0);
21969 return 0;
21971 _ACEOF
21972 if ac_fn_cxx_try_compile "$LINENO"; then :
21973 glibcxx_cv_func_logf_use=yes
21974 else
21975 glibcxx_cv_func_logf_use=no
21977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21978 ac_ext=c
21979 ac_cpp='$CPP $CPPFLAGS'
21980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
21989 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
21991 if test x$glibcxx_cv_func_logf_use = x"yes"; then
21992 for ac_func in logf
21993 do :
21994 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
21995 if test "x$ac_cv_func_logf" = x""yes; then :
21996 cat >>confdefs.h <<_ACEOF
21997 #define HAVE_LOGF 1
21998 _ACEOF
22001 done
22003 else
22005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
22006 $as_echo_n "checking for _logf declaration... " >&6; }
22007 if test x${glibcxx_cv_func__logf_use+set} != xset; then
22008 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
22009 $as_echo_n "(cached) " >&6
22010 else
22013 ac_ext=cpp
22014 ac_cpp='$CXXCPP $CPPFLAGS'
22015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22020 /* end confdefs.h. */
22021 #include <math.h>
22022 #ifdef HAVE_IEEEFP_H
22023 #include <ieeefp.h>
22024 #endif
22027 main ()
22029 _logf(0);
22031 return 0;
22033 _ACEOF
22034 if ac_fn_cxx_try_compile "$LINENO"; then :
22035 glibcxx_cv_func__logf_use=yes
22036 else
22037 glibcxx_cv_func__logf_use=no
22039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22040 ac_ext=c
22041 ac_cpp='$CPP $CPPFLAGS'
22042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
22051 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
22053 if test x$glibcxx_cv_func__logf_use = x"yes"; then
22054 for ac_func in _logf
22055 do :
22056 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
22057 if test "x$ac_cv_func__logf" = x""yes; then :
22058 cat >>confdefs.h <<_ACEOF
22059 #define HAVE__LOGF 1
22060 _ACEOF
22063 done
22072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
22073 $as_echo_n "checking for log10f declaration... " >&6; }
22074 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
22075 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
22076 $as_echo_n "(cached) " >&6
22077 else
22080 ac_ext=cpp
22081 ac_cpp='$CXXCPP $CPPFLAGS'
22082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22087 /* end confdefs.h. */
22088 #include <math.h>
22089 #ifdef HAVE_IEEEFP_H
22090 #include <ieeefp.h>
22091 #endif
22094 main ()
22096 log10f(0);
22098 return 0;
22100 _ACEOF
22101 if ac_fn_cxx_try_compile "$LINENO"; then :
22102 glibcxx_cv_func_log10f_use=yes
22103 else
22104 glibcxx_cv_func_log10f_use=no
22106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22107 ac_ext=c
22108 ac_cpp='$CPP $CPPFLAGS'
22109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
22118 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
22120 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
22121 for ac_func in log10f
22122 do :
22123 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
22124 if test "x$ac_cv_func_log10f" = x""yes; then :
22125 cat >>confdefs.h <<_ACEOF
22126 #define HAVE_LOG10F 1
22127 _ACEOF
22130 done
22132 else
22134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
22135 $as_echo_n "checking for _log10f declaration... " >&6; }
22136 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
22137 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
22138 $as_echo_n "(cached) " >&6
22139 else
22142 ac_ext=cpp
22143 ac_cpp='$CXXCPP $CPPFLAGS'
22144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22149 /* end confdefs.h. */
22150 #include <math.h>
22151 #ifdef HAVE_IEEEFP_H
22152 #include <ieeefp.h>
22153 #endif
22156 main ()
22158 _log10f(0);
22160 return 0;
22162 _ACEOF
22163 if ac_fn_cxx_try_compile "$LINENO"; then :
22164 glibcxx_cv_func__log10f_use=yes
22165 else
22166 glibcxx_cv_func__log10f_use=no
22168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22169 ac_ext=c
22170 ac_cpp='$CPP $CPPFLAGS'
22171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
22180 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
22182 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
22183 for ac_func in _log10f
22184 do :
22185 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
22186 if test "x$ac_cv_func__log10f" = x""yes; then :
22187 cat >>confdefs.h <<_ACEOF
22188 #define HAVE__LOG10F 1
22189 _ACEOF
22192 done
22201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
22202 $as_echo_n "checking for modff declaration... " >&6; }
22203 if test x${glibcxx_cv_func_modff_use+set} != xset; then
22204 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
22205 $as_echo_n "(cached) " >&6
22206 else
22209 ac_ext=cpp
22210 ac_cpp='$CXXCPP $CPPFLAGS'
22211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22216 /* end confdefs.h. */
22217 #include <math.h>
22219 main ()
22221 modff(0, 0);
22223 return 0;
22225 _ACEOF
22226 if ac_fn_cxx_try_compile "$LINENO"; then :
22227 glibcxx_cv_func_modff_use=yes
22228 else
22229 glibcxx_cv_func_modff_use=no
22231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22232 ac_ext=c
22233 ac_cpp='$CPP $CPPFLAGS'
22234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
22243 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
22245 if test x$glibcxx_cv_func_modff_use = x"yes"; then
22246 for ac_func in modff
22247 do :
22248 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
22249 if test "x$ac_cv_func_modff" = x""yes; then :
22250 cat >>confdefs.h <<_ACEOF
22251 #define HAVE_MODFF 1
22252 _ACEOF
22255 done
22257 else
22259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
22260 $as_echo_n "checking for _modff declaration... " >&6; }
22261 if test x${glibcxx_cv_func__modff_use+set} != xset; then
22262 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
22263 $as_echo_n "(cached) " >&6
22264 else
22267 ac_ext=cpp
22268 ac_cpp='$CXXCPP $CPPFLAGS'
22269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22274 /* end confdefs.h. */
22275 #include <math.h>
22277 main ()
22279 _modff(0, 0);
22281 return 0;
22283 _ACEOF
22284 if ac_fn_cxx_try_compile "$LINENO"; then :
22285 glibcxx_cv_func__modff_use=yes
22286 else
22287 glibcxx_cv_func__modff_use=no
22289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22290 ac_ext=c
22291 ac_cpp='$CPP $CPPFLAGS'
22292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
22301 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
22303 if test x$glibcxx_cv_func__modff_use = x"yes"; then
22304 for ac_func in _modff
22305 do :
22306 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
22307 if test "x$ac_cv_func__modff" = x""yes; then :
22308 cat >>confdefs.h <<_ACEOF
22309 #define HAVE__MODFF 1
22310 _ACEOF
22313 done
22322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
22323 $as_echo_n "checking for modf declaration... " >&6; }
22324 if test x${glibcxx_cv_func_modf_use+set} != xset; then
22325 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
22326 $as_echo_n "(cached) " >&6
22327 else
22330 ac_ext=cpp
22331 ac_cpp='$CXXCPP $CPPFLAGS'
22332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22337 /* end confdefs.h. */
22338 #include <math.h>
22340 main ()
22342 modf(0, 0);
22344 return 0;
22346 _ACEOF
22347 if ac_fn_cxx_try_compile "$LINENO"; then :
22348 glibcxx_cv_func_modf_use=yes
22349 else
22350 glibcxx_cv_func_modf_use=no
22352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22353 ac_ext=c
22354 ac_cpp='$CPP $CPPFLAGS'
22355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
22364 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
22366 if test x$glibcxx_cv_func_modf_use = x"yes"; then
22367 for ac_func in modf
22368 do :
22369 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
22370 if test "x$ac_cv_func_modf" = x""yes; then :
22371 cat >>confdefs.h <<_ACEOF
22372 #define HAVE_MODF 1
22373 _ACEOF
22376 done
22378 else
22380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
22381 $as_echo_n "checking for _modf declaration... " >&6; }
22382 if test x${glibcxx_cv_func__modf_use+set} != xset; then
22383 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
22384 $as_echo_n "(cached) " >&6
22385 else
22388 ac_ext=cpp
22389 ac_cpp='$CXXCPP $CPPFLAGS'
22390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22395 /* end confdefs.h. */
22396 #include <math.h>
22398 main ()
22400 _modf(0, 0);
22402 return 0;
22404 _ACEOF
22405 if ac_fn_cxx_try_compile "$LINENO"; then :
22406 glibcxx_cv_func__modf_use=yes
22407 else
22408 glibcxx_cv_func__modf_use=no
22410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22411 ac_ext=c
22412 ac_cpp='$CPP $CPPFLAGS'
22413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
22422 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
22424 if test x$glibcxx_cv_func__modf_use = x"yes"; then
22425 for ac_func in _modf
22426 do :
22427 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
22428 if test "x$ac_cv_func__modf" = x""yes; then :
22429 cat >>confdefs.h <<_ACEOF
22430 #define HAVE__MODF 1
22431 _ACEOF
22434 done
22443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
22444 $as_echo_n "checking for powf declaration... " >&6; }
22445 if test x${glibcxx_cv_func_powf_use+set} != xset; then
22446 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
22447 $as_echo_n "(cached) " >&6
22448 else
22451 ac_ext=cpp
22452 ac_cpp='$CXXCPP $CPPFLAGS'
22453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22458 /* end confdefs.h. */
22459 #include <math.h>
22461 main ()
22463 powf(0, 0);
22465 return 0;
22467 _ACEOF
22468 if ac_fn_cxx_try_compile "$LINENO"; then :
22469 glibcxx_cv_func_powf_use=yes
22470 else
22471 glibcxx_cv_func_powf_use=no
22473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22474 ac_ext=c
22475 ac_cpp='$CPP $CPPFLAGS'
22476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
22485 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
22487 if test x$glibcxx_cv_func_powf_use = x"yes"; then
22488 for ac_func in powf
22489 do :
22490 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
22491 if test "x$ac_cv_func_powf" = x""yes; then :
22492 cat >>confdefs.h <<_ACEOF
22493 #define HAVE_POWF 1
22494 _ACEOF
22497 done
22499 else
22501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
22502 $as_echo_n "checking for _powf declaration... " >&6; }
22503 if test x${glibcxx_cv_func__powf_use+set} != xset; then
22504 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
22505 $as_echo_n "(cached) " >&6
22506 else
22509 ac_ext=cpp
22510 ac_cpp='$CXXCPP $CPPFLAGS'
22511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22516 /* end confdefs.h. */
22517 #include <math.h>
22519 main ()
22521 _powf(0, 0);
22523 return 0;
22525 _ACEOF
22526 if ac_fn_cxx_try_compile "$LINENO"; then :
22527 glibcxx_cv_func__powf_use=yes
22528 else
22529 glibcxx_cv_func__powf_use=no
22531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22532 ac_ext=c
22533 ac_cpp='$CPP $CPPFLAGS'
22534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
22543 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
22545 if test x$glibcxx_cv_func__powf_use = x"yes"; then
22546 for ac_func in _powf
22547 do :
22548 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
22549 if test "x$ac_cv_func__powf" = x""yes; then :
22550 cat >>confdefs.h <<_ACEOF
22551 #define HAVE__POWF 1
22552 _ACEOF
22555 done
22564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
22565 $as_echo_n "checking for sqrtf declaration... " >&6; }
22566 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
22567 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
22568 $as_echo_n "(cached) " >&6
22569 else
22572 ac_ext=cpp
22573 ac_cpp='$CXXCPP $CPPFLAGS'
22574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22579 /* end confdefs.h. */
22580 #include <math.h>
22581 #ifdef HAVE_IEEEFP_H
22582 #include <ieeefp.h>
22583 #endif
22586 main ()
22588 sqrtf(0);
22590 return 0;
22592 _ACEOF
22593 if ac_fn_cxx_try_compile "$LINENO"; then :
22594 glibcxx_cv_func_sqrtf_use=yes
22595 else
22596 glibcxx_cv_func_sqrtf_use=no
22598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22599 ac_ext=c
22600 ac_cpp='$CPP $CPPFLAGS'
22601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
22610 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
22612 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
22613 for ac_func in sqrtf
22614 do :
22615 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
22616 if test "x$ac_cv_func_sqrtf" = x""yes; then :
22617 cat >>confdefs.h <<_ACEOF
22618 #define HAVE_SQRTF 1
22619 _ACEOF
22622 done
22624 else
22626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
22627 $as_echo_n "checking for _sqrtf declaration... " >&6; }
22628 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
22629 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
22630 $as_echo_n "(cached) " >&6
22631 else
22634 ac_ext=cpp
22635 ac_cpp='$CXXCPP $CPPFLAGS'
22636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22641 /* end confdefs.h. */
22642 #include <math.h>
22643 #ifdef HAVE_IEEEFP_H
22644 #include <ieeefp.h>
22645 #endif
22648 main ()
22650 _sqrtf(0);
22652 return 0;
22654 _ACEOF
22655 if ac_fn_cxx_try_compile "$LINENO"; then :
22656 glibcxx_cv_func__sqrtf_use=yes
22657 else
22658 glibcxx_cv_func__sqrtf_use=no
22660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22661 ac_ext=c
22662 ac_cpp='$CPP $CPPFLAGS'
22663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
22672 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
22674 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
22675 for ac_func in _sqrtf
22676 do :
22677 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
22678 if test "x$ac_cv_func__sqrtf" = x""yes; then :
22679 cat >>confdefs.h <<_ACEOF
22680 #define HAVE__SQRTF 1
22681 _ACEOF
22684 done
22693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
22694 $as_echo_n "checking for sincosf declaration... " >&6; }
22695 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
22696 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
22697 $as_echo_n "(cached) " >&6
22698 else
22701 ac_ext=cpp
22702 ac_cpp='$CXXCPP $CPPFLAGS'
22703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22708 /* end confdefs.h. */
22709 #include <math.h>
22711 main ()
22713 sincosf(0, 0, 0);
22715 return 0;
22717 _ACEOF
22718 if ac_fn_cxx_try_compile "$LINENO"; then :
22719 glibcxx_cv_func_sincosf_use=yes
22720 else
22721 glibcxx_cv_func_sincosf_use=no
22723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22724 ac_ext=c
22725 ac_cpp='$CPP $CPPFLAGS'
22726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
22735 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
22737 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
22738 for ac_func in sincosf
22739 do :
22740 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
22741 if test "x$ac_cv_func_sincosf" = x""yes; then :
22742 cat >>confdefs.h <<_ACEOF
22743 #define HAVE_SINCOSF 1
22744 _ACEOF
22747 done
22749 else
22751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
22752 $as_echo_n "checking for _sincosf declaration... " >&6; }
22753 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
22754 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
22755 $as_echo_n "(cached) " >&6
22756 else
22759 ac_ext=cpp
22760 ac_cpp='$CXXCPP $CPPFLAGS'
22761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22766 /* end confdefs.h. */
22767 #include <math.h>
22769 main ()
22771 _sincosf(0, 0, 0);
22773 return 0;
22775 _ACEOF
22776 if ac_fn_cxx_try_compile "$LINENO"; then :
22777 glibcxx_cv_func__sincosf_use=yes
22778 else
22779 glibcxx_cv_func__sincosf_use=no
22781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22782 ac_ext=c
22783 ac_cpp='$CPP $CPPFLAGS'
22784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
22793 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
22795 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
22796 for ac_func in _sincosf
22797 do :
22798 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
22799 if test "x$ac_cv_func__sincosf" = x""yes; then :
22800 cat >>confdefs.h <<_ACEOF
22801 #define HAVE__SINCOSF 1
22802 _ACEOF
22805 done
22814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
22815 $as_echo_n "checking for finitef declaration... " >&6; }
22816 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
22817 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
22818 $as_echo_n "(cached) " >&6
22819 else
22822 ac_ext=cpp
22823 ac_cpp='$CXXCPP $CPPFLAGS'
22824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22829 /* end confdefs.h. */
22830 #include <math.h>
22831 #ifdef HAVE_IEEEFP_H
22832 #include <ieeefp.h>
22833 #endif
22836 main ()
22838 finitef(0);
22840 return 0;
22842 _ACEOF
22843 if ac_fn_cxx_try_compile "$LINENO"; then :
22844 glibcxx_cv_func_finitef_use=yes
22845 else
22846 glibcxx_cv_func_finitef_use=no
22848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22849 ac_ext=c
22850 ac_cpp='$CPP $CPPFLAGS'
22851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
22860 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
22862 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
22863 for ac_func in finitef
22864 do :
22865 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
22866 if test "x$ac_cv_func_finitef" = x""yes; then :
22867 cat >>confdefs.h <<_ACEOF
22868 #define HAVE_FINITEF 1
22869 _ACEOF
22872 done
22874 else
22876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
22877 $as_echo_n "checking for _finitef declaration... " >&6; }
22878 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
22879 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
22880 $as_echo_n "(cached) " >&6
22881 else
22884 ac_ext=cpp
22885 ac_cpp='$CXXCPP $CPPFLAGS'
22886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22891 /* end confdefs.h. */
22892 #include <math.h>
22893 #ifdef HAVE_IEEEFP_H
22894 #include <ieeefp.h>
22895 #endif
22898 main ()
22900 _finitef(0);
22902 return 0;
22904 _ACEOF
22905 if ac_fn_cxx_try_compile "$LINENO"; then :
22906 glibcxx_cv_func__finitef_use=yes
22907 else
22908 glibcxx_cv_func__finitef_use=no
22910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22911 ac_ext=c
22912 ac_cpp='$CPP $CPPFLAGS'
22913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
22922 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
22924 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
22925 for ac_func in _finitef
22926 do :
22927 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
22928 if test "x$ac_cv_func__finitef" = x""yes; then :
22929 cat >>confdefs.h <<_ACEOF
22930 #define HAVE__FINITEF 1
22931 _ACEOF
22934 done
22943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
22944 $as_echo_n "checking for long double trig functions... " >&6; }
22945 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
22946 $as_echo_n "(cached) " >&6
22947 else
22950 ac_ext=cpp
22951 ac_cpp='$CXXCPP $CPPFLAGS'
22952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22957 /* end confdefs.h. */
22958 #include <math.h>
22960 main ()
22962 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
22964 return 0;
22966 _ACEOF
22967 if ac_fn_cxx_try_compile "$LINENO"; then :
22968 glibcxx_cv_func_long_double_trig_use=yes
22969 else
22970 glibcxx_cv_func_long_double_trig_use=no
22972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22973 ac_ext=c
22974 ac_cpp='$CPP $CPPFLAGS'
22975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
22982 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
22983 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
22984 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
22985 do :
22986 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22987 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22988 eval as_val=\$$as_ac_var
22989 if test "x$as_val" = x""yes; then :
22990 cat >>confdefs.h <<_ACEOF
22991 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22992 _ACEOF
22995 done
22997 else
22998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
22999 $as_echo_n "checking for _long double trig functions... " >&6; }
23000 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
23001 $as_echo_n "(cached) " >&6
23002 else
23005 ac_ext=cpp
23006 ac_cpp='$CXXCPP $CPPFLAGS'
23007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23012 /* end confdefs.h. */
23013 #include <math.h>
23015 main ()
23017 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
23019 return 0;
23021 _ACEOF
23022 if ac_fn_cxx_try_compile "$LINENO"; then :
23023 glibcxx_cv_func__long_double_trig_use=yes
23024 else
23025 glibcxx_cv_func__long_double_trig_use=no
23027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23028 ac_ext=c
23029 ac_cpp='$CPP $CPPFLAGS'
23030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
23037 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
23038 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
23039 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
23040 do :
23041 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23042 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23043 eval as_val=\$$as_ac_var
23044 if test "x$as_val" = x""yes; then :
23045 cat >>confdefs.h <<_ACEOF
23046 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23047 _ACEOF
23050 done
23059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
23060 $as_echo_n "checking for long double round functions... " >&6; }
23061 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
23062 $as_echo_n "(cached) " >&6
23063 else
23066 ac_ext=cpp
23067 ac_cpp='$CXXCPP $CPPFLAGS'
23068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23073 /* end confdefs.h. */
23074 #include <math.h>
23076 main ()
23078 ceill (0); floorl (0);
23080 return 0;
23082 _ACEOF
23083 if ac_fn_cxx_try_compile "$LINENO"; then :
23084 glibcxx_cv_func_long_double_round_use=yes
23085 else
23086 glibcxx_cv_func_long_double_round_use=no
23088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23089 ac_ext=c
23090 ac_cpp='$CPP $CPPFLAGS'
23091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
23098 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
23099 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
23100 for ac_func in ceill floorl
23101 do :
23102 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23103 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23104 eval as_val=\$$as_ac_var
23105 if test "x$as_val" = x""yes; then :
23106 cat >>confdefs.h <<_ACEOF
23107 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23108 _ACEOF
23111 done
23113 else
23114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
23115 $as_echo_n "checking for _long double round functions... " >&6; }
23116 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
23117 $as_echo_n "(cached) " >&6
23118 else
23121 ac_ext=cpp
23122 ac_cpp='$CXXCPP $CPPFLAGS'
23123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23128 /* end confdefs.h. */
23129 #include <math.h>
23131 main ()
23133 _ceill (0); _floorl (0);
23135 return 0;
23137 _ACEOF
23138 if ac_fn_cxx_try_compile "$LINENO"; then :
23139 glibcxx_cv_func__long_double_round_use=yes
23140 else
23141 glibcxx_cv_func__long_double_round_use=no
23143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23144 ac_ext=c
23145 ac_cpp='$CPP $CPPFLAGS'
23146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
23153 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
23154 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
23155 for ac_func in _ceill _floorl
23156 do :
23157 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23158 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23159 eval as_val=\$$as_ac_var
23160 if test "x$as_val" = x""yes; then :
23161 cat >>confdefs.h <<_ACEOF
23162 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23163 _ACEOF
23166 done
23176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
23177 $as_echo_n "checking for isnanl declaration... " >&6; }
23178 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
23179 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
23180 $as_echo_n "(cached) " >&6
23181 else
23184 ac_ext=cpp
23185 ac_cpp='$CXXCPP $CPPFLAGS'
23186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23191 /* end confdefs.h. */
23192 #include <math.h>
23193 #ifdef HAVE_IEEEFP_H
23194 #include <ieeefp.h>
23195 #endif
23198 main ()
23200 isnanl(0);
23202 return 0;
23204 _ACEOF
23205 if ac_fn_cxx_try_compile "$LINENO"; then :
23206 glibcxx_cv_func_isnanl_use=yes
23207 else
23208 glibcxx_cv_func_isnanl_use=no
23210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23211 ac_ext=c
23212 ac_cpp='$CPP $CPPFLAGS'
23213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
23222 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
23224 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
23225 for ac_func in isnanl
23226 do :
23227 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
23228 if test "x$ac_cv_func_isnanl" = x""yes; then :
23229 cat >>confdefs.h <<_ACEOF
23230 #define HAVE_ISNANL 1
23231 _ACEOF
23234 done
23236 else
23238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
23239 $as_echo_n "checking for _isnanl declaration... " >&6; }
23240 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
23241 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
23242 $as_echo_n "(cached) " >&6
23243 else
23246 ac_ext=cpp
23247 ac_cpp='$CXXCPP $CPPFLAGS'
23248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23253 /* end confdefs.h. */
23254 #include <math.h>
23255 #ifdef HAVE_IEEEFP_H
23256 #include <ieeefp.h>
23257 #endif
23260 main ()
23262 _isnanl(0);
23264 return 0;
23266 _ACEOF
23267 if ac_fn_cxx_try_compile "$LINENO"; then :
23268 glibcxx_cv_func__isnanl_use=yes
23269 else
23270 glibcxx_cv_func__isnanl_use=no
23272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23273 ac_ext=c
23274 ac_cpp='$CPP $CPPFLAGS'
23275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
23284 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
23286 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
23287 for ac_func in _isnanl
23288 do :
23289 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
23290 if test "x$ac_cv_func__isnanl" = x""yes; then :
23291 cat >>confdefs.h <<_ACEOF
23292 #define HAVE__ISNANL 1
23293 _ACEOF
23296 done
23305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
23306 $as_echo_n "checking for isinfl declaration... " >&6; }
23307 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
23308 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
23309 $as_echo_n "(cached) " >&6
23310 else
23313 ac_ext=cpp
23314 ac_cpp='$CXXCPP $CPPFLAGS'
23315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23320 /* end confdefs.h. */
23321 #include <math.h>
23322 #ifdef HAVE_IEEEFP_H
23323 #include <ieeefp.h>
23324 #endif
23327 main ()
23329 isinfl(0);
23331 return 0;
23333 _ACEOF
23334 if ac_fn_cxx_try_compile "$LINENO"; then :
23335 glibcxx_cv_func_isinfl_use=yes
23336 else
23337 glibcxx_cv_func_isinfl_use=no
23339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23340 ac_ext=c
23341 ac_cpp='$CPP $CPPFLAGS'
23342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
23351 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
23353 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
23354 for ac_func in isinfl
23355 do :
23356 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
23357 if test "x$ac_cv_func_isinfl" = x""yes; then :
23358 cat >>confdefs.h <<_ACEOF
23359 #define HAVE_ISINFL 1
23360 _ACEOF
23363 done
23365 else
23367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
23368 $as_echo_n "checking for _isinfl declaration... " >&6; }
23369 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
23370 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
23371 $as_echo_n "(cached) " >&6
23372 else
23375 ac_ext=cpp
23376 ac_cpp='$CXXCPP $CPPFLAGS'
23377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23382 /* end confdefs.h. */
23383 #include <math.h>
23384 #ifdef HAVE_IEEEFP_H
23385 #include <ieeefp.h>
23386 #endif
23389 main ()
23391 _isinfl(0);
23393 return 0;
23395 _ACEOF
23396 if ac_fn_cxx_try_compile "$LINENO"; then :
23397 glibcxx_cv_func__isinfl_use=yes
23398 else
23399 glibcxx_cv_func__isinfl_use=no
23401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23402 ac_ext=c
23403 ac_cpp='$CPP $CPPFLAGS'
23404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
23413 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
23415 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
23416 for ac_func in _isinfl
23417 do :
23418 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
23419 if test "x$ac_cv_func__isinfl" = x""yes; then :
23420 cat >>confdefs.h <<_ACEOF
23421 #define HAVE__ISINFL 1
23422 _ACEOF
23425 done
23434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
23435 $as_echo_n "checking for atan2l declaration... " >&6; }
23436 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
23437 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
23438 $as_echo_n "(cached) " >&6
23439 else
23442 ac_ext=cpp
23443 ac_cpp='$CXXCPP $CPPFLAGS'
23444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23449 /* end confdefs.h. */
23450 #include <math.h>
23452 main ()
23454 atan2l(0, 0);
23456 return 0;
23458 _ACEOF
23459 if ac_fn_cxx_try_compile "$LINENO"; then :
23460 glibcxx_cv_func_atan2l_use=yes
23461 else
23462 glibcxx_cv_func_atan2l_use=no
23464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23465 ac_ext=c
23466 ac_cpp='$CPP $CPPFLAGS'
23467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
23476 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
23478 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
23479 for ac_func in atan2l
23480 do :
23481 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
23482 if test "x$ac_cv_func_atan2l" = x""yes; then :
23483 cat >>confdefs.h <<_ACEOF
23484 #define HAVE_ATAN2L 1
23485 _ACEOF
23488 done
23490 else
23492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
23493 $as_echo_n "checking for _atan2l declaration... " >&6; }
23494 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
23495 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
23496 $as_echo_n "(cached) " >&6
23497 else
23500 ac_ext=cpp
23501 ac_cpp='$CXXCPP $CPPFLAGS'
23502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23507 /* end confdefs.h. */
23508 #include <math.h>
23510 main ()
23512 _atan2l(0, 0);
23514 return 0;
23516 _ACEOF
23517 if ac_fn_cxx_try_compile "$LINENO"; then :
23518 glibcxx_cv_func__atan2l_use=yes
23519 else
23520 glibcxx_cv_func__atan2l_use=no
23522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23523 ac_ext=c
23524 ac_cpp='$CPP $CPPFLAGS'
23525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
23534 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
23536 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
23537 for ac_func in _atan2l
23538 do :
23539 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
23540 if test "x$ac_cv_func__atan2l" = x""yes; then :
23541 cat >>confdefs.h <<_ACEOF
23542 #define HAVE__ATAN2L 1
23543 _ACEOF
23546 done
23555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
23556 $as_echo_n "checking for expl declaration... " >&6; }
23557 if test x${glibcxx_cv_func_expl_use+set} != xset; then
23558 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
23559 $as_echo_n "(cached) " >&6
23560 else
23563 ac_ext=cpp
23564 ac_cpp='$CXXCPP $CPPFLAGS'
23565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23570 /* end confdefs.h. */
23571 #include <math.h>
23572 #ifdef HAVE_IEEEFP_H
23573 #include <ieeefp.h>
23574 #endif
23577 main ()
23579 expl(0);
23581 return 0;
23583 _ACEOF
23584 if ac_fn_cxx_try_compile "$LINENO"; then :
23585 glibcxx_cv_func_expl_use=yes
23586 else
23587 glibcxx_cv_func_expl_use=no
23589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23590 ac_ext=c
23591 ac_cpp='$CPP $CPPFLAGS'
23592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
23601 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
23603 if test x$glibcxx_cv_func_expl_use = x"yes"; then
23604 for ac_func in expl
23605 do :
23606 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
23607 if test "x$ac_cv_func_expl" = x""yes; then :
23608 cat >>confdefs.h <<_ACEOF
23609 #define HAVE_EXPL 1
23610 _ACEOF
23613 done
23615 else
23617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
23618 $as_echo_n "checking for _expl declaration... " >&6; }
23619 if test x${glibcxx_cv_func__expl_use+set} != xset; then
23620 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
23621 $as_echo_n "(cached) " >&6
23622 else
23625 ac_ext=cpp
23626 ac_cpp='$CXXCPP $CPPFLAGS'
23627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23632 /* end confdefs.h. */
23633 #include <math.h>
23634 #ifdef HAVE_IEEEFP_H
23635 #include <ieeefp.h>
23636 #endif
23639 main ()
23641 _expl(0);
23643 return 0;
23645 _ACEOF
23646 if ac_fn_cxx_try_compile "$LINENO"; then :
23647 glibcxx_cv_func__expl_use=yes
23648 else
23649 glibcxx_cv_func__expl_use=no
23651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23652 ac_ext=c
23653 ac_cpp='$CPP $CPPFLAGS'
23654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
23663 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
23665 if test x$glibcxx_cv_func__expl_use = x"yes"; then
23666 for ac_func in _expl
23667 do :
23668 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
23669 if test "x$ac_cv_func__expl" = x""yes; then :
23670 cat >>confdefs.h <<_ACEOF
23671 #define HAVE__EXPL 1
23672 _ACEOF
23675 done
23684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
23685 $as_echo_n "checking for fabsl declaration... " >&6; }
23686 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
23687 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
23688 $as_echo_n "(cached) " >&6
23689 else
23692 ac_ext=cpp
23693 ac_cpp='$CXXCPP $CPPFLAGS'
23694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23699 /* end confdefs.h. */
23700 #include <math.h>
23701 #ifdef HAVE_IEEEFP_H
23702 #include <ieeefp.h>
23703 #endif
23706 main ()
23708 fabsl(0);
23710 return 0;
23712 _ACEOF
23713 if ac_fn_cxx_try_compile "$LINENO"; then :
23714 glibcxx_cv_func_fabsl_use=yes
23715 else
23716 glibcxx_cv_func_fabsl_use=no
23718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23719 ac_ext=c
23720 ac_cpp='$CPP $CPPFLAGS'
23721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
23730 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
23732 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
23733 for ac_func in fabsl
23734 do :
23735 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
23736 if test "x$ac_cv_func_fabsl" = x""yes; then :
23737 cat >>confdefs.h <<_ACEOF
23738 #define HAVE_FABSL 1
23739 _ACEOF
23742 done
23744 else
23746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
23747 $as_echo_n "checking for _fabsl declaration... " >&6; }
23748 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
23749 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
23750 $as_echo_n "(cached) " >&6
23751 else
23754 ac_ext=cpp
23755 ac_cpp='$CXXCPP $CPPFLAGS'
23756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23761 /* end confdefs.h. */
23762 #include <math.h>
23763 #ifdef HAVE_IEEEFP_H
23764 #include <ieeefp.h>
23765 #endif
23768 main ()
23770 _fabsl(0);
23772 return 0;
23774 _ACEOF
23775 if ac_fn_cxx_try_compile "$LINENO"; then :
23776 glibcxx_cv_func__fabsl_use=yes
23777 else
23778 glibcxx_cv_func__fabsl_use=no
23780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23781 ac_ext=c
23782 ac_cpp='$CPP $CPPFLAGS'
23783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
23792 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
23794 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
23795 for ac_func in _fabsl
23796 do :
23797 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
23798 if test "x$ac_cv_func__fabsl" = x""yes; then :
23799 cat >>confdefs.h <<_ACEOF
23800 #define HAVE__FABSL 1
23801 _ACEOF
23804 done
23813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
23814 $as_echo_n "checking for fmodl declaration... " >&6; }
23815 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
23816 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
23817 $as_echo_n "(cached) " >&6
23818 else
23821 ac_ext=cpp
23822 ac_cpp='$CXXCPP $CPPFLAGS'
23823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23828 /* end confdefs.h. */
23829 #include <math.h>
23831 main ()
23833 fmodl(0, 0);
23835 return 0;
23837 _ACEOF
23838 if ac_fn_cxx_try_compile "$LINENO"; then :
23839 glibcxx_cv_func_fmodl_use=yes
23840 else
23841 glibcxx_cv_func_fmodl_use=no
23843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23844 ac_ext=c
23845 ac_cpp='$CPP $CPPFLAGS'
23846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
23855 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
23857 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
23858 for ac_func in fmodl
23859 do :
23860 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
23861 if test "x$ac_cv_func_fmodl" = x""yes; then :
23862 cat >>confdefs.h <<_ACEOF
23863 #define HAVE_FMODL 1
23864 _ACEOF
23867 done
23869 else
23871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
23872 $as_echo_n "checking for _fmodl declaration... " >&6; }
23873 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
23874 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
23875 $as_echo_n "(cached) " >&6
23876 else
23879 ac_ext=cpp
23880 ac_cpp='$CXXCPP $CPPFLAGS'
23881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23886 /* end confdefs.h. */
23887 #include <math.h>
23889 main ()
23891 _fmodl(0, 0);
23893 return 0;
23895 _ACEOF
23896 if ac_fn_cxx_try_compile "$LINENO"; then :
23897 glibcxx_cv_func__fmodl_use=yes
23898 else
23899 glibcxx_cv_func__fmodl_use=no
23901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23902 ac_ext=c
23903 ac_cpp='$CPP $CPPFLAGS'
23904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
23913 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
23915 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
23916 for ac_func in _fmodl
23917 do :
23918 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
23919 if test "x$ac_cv_func__fmodl" = x""yes; then :
23920 cat >>confdefs.h <<_ACEOF
23921 #define HAVE__FMODL 1
23922 _ACEOF
23925 done
23934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
23935 $as_echo_n "checking for frexpl declaration... " >&6; }
23936 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
23937 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
23938 $as_echo_n "(cached) " >&6
23939 else
23942 ac_ext=cpp
23943 ac_cpp='$CXXCPP $CPPFLAGS'
23944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23949 /* end confdefs.h. */
23950 #include <math.h>
23952 main ()
23954 frexpl(0, 0);
23956 return 0;
23958 _ACEOF
23959 if ac_fn_cxx_try_compile "$LINENO"; then :
23960 glibcxx_cv_func_frexpl_use=yes
23961 else
23962 glibcxx_cv_func_frexpl_use=no
23964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23965 ac_ext=c
23966 ac_cpp='$CPP $CPPFLAGS'
23967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
23976 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
23978 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
23979 for ac_func in frexpl
23980 do :
23981 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
23982 if test "x$ac_cv_func_frexpl" = x""yes; then :
23983 cat >>confdefs.h <<_ACEOF
23984 #define HAVE_FREXPL 1
23985 _ACEOF
23988 done
23990 else
23992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
23993 $as_echo_n "checking for _frexpl declaration... " >&6; }
23994 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
23995 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
23996 $as_echo_n "(cached) " >&6
23997 else
24000 ac_ext=cpp
24001 ac_cpp='$CXXCPP $CPPFLAGS'
24002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24007 /* end confdefs.h. */
24008 #include <math.h>
24010 main ()
24012 _frexpl(0, 0);
24014 return 0;
24016 _ACEOF
24017 if ac_fn_cxx_try_compile "$LINENO"; then :
24018 glibcxx_cv_func__frexpl_use=yes
24019 else
24020 glibcxx_cv_func__frexpl_use=no
24022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24023 ac_ext=c
24024 ac_cpp='$CPP $CPPFLAGS'
24025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
24034 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
24036 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
24037 for ac_func in _frexpl
24038 do :
24039 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
24040 if test "x$ac_cv_func__frexpl" = x""yes; then :
24041 cat >>confdefs.h <<_ACEOF
24042 #define HAVE__FREXPL 1
24043 _ACEOF
24046 done
24055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
24056 $as_echo_n "checking for hypotl declaration... " >&6; }
24057 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
24058 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
24059 $as_echo_n "(cached) " >&6
24060 else
24063 ac_ext=cpp
24064 ac_cpp='$CXXCPP $CPPFLAGS'
24065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24070 /* end confdefs.h. */
24071 #include <math.h>
24073 main ()
24075 hypotl(0, 0);
24077 return 0;
24079 _ACEOF
24080 if ac_fn_cxx_try_compile "$LINENO"; then :
24081 glibcxx_cv_func_hypotl_use=yes
24082 else
24083 glibcxx_cv_func_hypotl_use=no
24085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24086 ac_ext=c
24087 ac_cpp='$CPP $CPPFLAGS'
24088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
24097 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
24099 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
24100 for ac_func in hypotl
24101 do :
24102 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
24103 if test "x$ac_cv_func_hypotl" = x""yes; then :
24104 cat >>confdefs.h <<_ACEOF
24105 #define HAVE_HYPOTL 1
24106 _ACEOF
24109 done
24111 else
24113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
24114 $as_echo_n "checking for _hypotl declaration... " >&6; }
24115 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
24116 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
24117 $as_echo_n "(cached) " >&6
24118 else
24121 ac_ext=cpp
24122 ac_cpp='$CXXCPP $CPPFLAGS'
24123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24128 /* end confdefs.h. */
24129 #include <math.h>
24131 main ()
24133 _hypotl(0, 0);
24135 return 0;
24137 _ACEOF
24138 if ac_fn_cxx_try_compile "$LINENO"; then :
24139 glibcxx_cv_func__hypotl_use=yes
24140 else
24141 glibcxx_cv_func__hypotl_use=no
24143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24144 ac_ext=c
24145 ac_cpp='$CPP $CPPFLAGS'
24146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
24155 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
24157 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
24158 for ac_func in _hypotl
24159 do :
24160 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
24161 if test "x$ac_cv_func__hypotl" = x""yes; then :
24162 cat >>confdefs.h <<_ACEOF
24163 #define HAVE__HYPOTL 1
24164 _ACEOF
24167 done
24176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
24177 $as_echo_n "checking for ldexpl declaration... " >&6; }
24178 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
24179 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
24180 $as_echo_n "(cached) " >&6
24181 else
24184 ac_ext=cpp
24185 ac_cpp='$CXXCPP $CPPFLAGS'
24186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24191 /* end confdefs.h. */
24192 #include <math.h>
24194 main ()
24196 ldexpl(0, 0);
24198 return 0;
24200 _ACEOF
24201 if ac_fn_cxx_try_compile "$LINENO"; then :
24202 glibcxx_cv_func_ldexpl_use=yes
24203 else
24204 glibcxx_cv_func_ldexpl_use=no
24206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24207 ac_ext=c
24208 ac_cpp='$CPP $CPPFLAGS'
24209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
24218 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
24220 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
24221 for ac_func in ldexpl
24222 do :
24223 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
24224 if test "x$ac_cv_func_ldexpl" = x""yes; then :
24225 cat >>confdefs.h <<_ACEOF
24226 #define HAVE_LDEXPL 1
24227 _ACEOF
24230 done
24232 else
24234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
24235 $as_echo_n "checking for _ldexpl declaration... " >&6; }
24236 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
24237 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
24238 $as_echo_n "(cached) " >&6
24239 else
24242 ac_ext=cpp
24243 ac_cpp='$CXXCPP $CPPFLAGS'
24244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24249 /* end confdefs.h. */
24250 #include <math.h>
24252 main ()
24254 _ldexpl(0, 0);
24256 return 0;
24258 _ACEOF
24259 if ac_fn_cxx_try_compile "$LINENO"; then :
24260 glibcxx_cv_func__ldexpl_use=yes
24261 else
24262 glibcxx_cv_func__ldexpl_use=no
24264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24265 ac_ext=c
24266 ac_cpp='$CPP $CPPFLAGS'
24267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
24276 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
24278 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
24279 for ac_func in _ldexpl
24280 do :
24281 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
24282 if test "x$ac_cv_func__ldexpl" = x""yes; then :
24283 cat >>confdefs.h <<_ACEOF
24284 #define HAVE__LDEXPL 1
24285 _ACEOF
24288 done
24297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
24298 $as_echo_n "checking for logl declaration... " >&6; }
24299 if test x${glibcxx_cv_func_logl_use+set} != xset; then
24300 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
24301 $as_echo_n "(cached) " >&6
24302 else
24305 ac_ext=cpp
24306 ac_cpp='$CXXCPP $CPPFLAGS'
24307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24312 /* end confdefs.h. */
24313 #include <math.h>
24314 #ifdef HAVE_IEEEFP_H
24315 #include <ieeefp.h>
24316 #endif
24319 main ()
24321 logl(0);
24323 return 0;
24325 _ACEOF
24326 if ac_fn_cxx_try_compile "$LINENO"; then :
24327 glibcxx_cv_func_logl_use=yes
24328 else
24329 glibcxx_cv_func_logl_use=no
24331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24332 ac_ext=c
24333 ac_cpp='$CPP $CPPFLAGS'
24334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
24343 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
24345 if test x$glibcxx_cv_func_logl_use = x"yes"; then
24346 for ac_func in logl
24347 do :
24348 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
24349 if test "x$ac_cv_func_logl" = x""yes; then :
24350 cat >>confdefs.h <<_ACEOF
24351 #define HAVE_LOGL 1
24352 _ACEOF
24355 done
24357 else
24359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
24360 $as_echo_n "checking for _logl declaration... " >&6; }
24361 if test x${glibcxx_cv_func__logl_use+set} != xset; then
24362 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
24363 $as_echo_n "(cached) " >&6
24364 else
24367 ac_ext=cpp
24368 ac_cpp='$CXXCPP $CPPFLAGS'
24369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24374 /* end confdefs.h. */
24375 #include <math.h>
24376 #ifdef HAVE_IEEEFP_H
24377 #include <ieeefp.h>
24378 #endif
24381 main ()
24383 _logl(0);
24385 return 0;
24387 _ACEOF
24388 if ac_fn_cxx_try_compile "$LINENO"; then :
24389 glibcxx_cv_func__logl_use=yes
24390 else
24391 glibcxx_cv_func__logl_use=no
24393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24394 ac_ext=c
24395 ac_cpp='$CPP $CPPFLAGS'
24396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
24405 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
24407 if test x$glibcxx_cv_func__logl_use = x"yes"; then
24408 for ac_func in _logl
24409 do :
24410 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
24411 if test "x$ac_cv_func__logl" = x""yes; then :
24412 cat >>confdefs.h <<_ACEOF
24413 #define HAVE__LOGL 1
24414 _ACEOF
24417 done
24426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
24427 $as_echo_n "checking for log10l declaration... " >&6; }
24428 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
24429 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
24430 $as_echo_n "(cached) " >&6
24431 else
24434 ac_ext=cpp
24435 ac_cpp='$CXXCPP $CPPFLAGS'
24436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24441 /* end confdefs.h. */
24442 #include <math.h>
24443 #ifdef HAVE_IEEEFP_H
24444 #include <ieeefp.h>
24445 #endif
24448 main ()
24450 log10l(0);
24452 return 0;
24454 _ACEOF
24455 if ac_fn_cxx_try_compile "$LINENO"; then :
24456 glibcxx_cv_func_log10l_use=yes
24457 else
24458 glibcxx_cv_func_log10l_use=no
24460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24461 ac_ext=c
24462 ac_cpp='$CPP $CPPFLAGS'
24463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
24472 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
24474 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
24475 for ac_func in log10l
24476 do :
24477 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
24478 if test "x$ac_cv_func_log10l" = x""yes; then :
24479 cat >>confdefs.h <<_ACEOF
24480 #define HAVE_LOG10L 1
24481 _ACEOF
24484 done
24486 else
24488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
24489 $as_echo_n "checking for _log10l declaration... " >&6; }
24490 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
24491 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
24492 $as_echo_n "(cached) " >&6
24493 else
24496 ac_ext=cpp
24497 ac_cpp='$CXXCPP $CPPFLAGS'
24498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24503 /* end confdefs.h. */
24504 #include <math.h>
24505 #ifdef HAVE_IEEEFP_H
24506 #include <ieeefp.h>
24507 #endif
24510 main ()
24512 _log10l(0);
24514 return 0;
24516 _ACEOF
24517 if ac_fn_cxx_try_compile "$LINENO"; then :
24518 glibcxx_cv_func__log10l_use=yes
24519 else
24520 glibcxx_cv_func__log10l_use=no
24522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24523 ac_ext=c
24524 ac_cpp='$CPP $CPPFLAGS'
24525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
24534 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
24536 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
24537 for ac_func in _log10l
24538 do :
24539 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
24540 if test "x$ac_cv_func__log10l" = x""yes; then :
24541 cat >>confdefs.h <<_ACEOF
24542 #define HAVE__LOG10L 1
24543 _ACEOF
24546 done
24555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
24556 $as_echo_n "checking for modfl declaration... " >&6; }
24557 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
24558 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
24559 $as_echo_n "(cached) " >&6
24560 else
24563 ac_ext=cpp
24564 ac_cpp='$CXXCPP $CPPFLAGS'
24565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24570 /* end confdefs.h. */
24571 #include <math.h>
24573 main ()
24575 modfl(0, 0);
24577 return 0;
24579 _ACEOF
24580 if ac_fn_cxx_try_compile "$LINENO"; then :
24581 glibcxx_cv_func_modfl_use=yes
24582 else
24583 glibcxx_cv_func_modfl_use=no
24585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24586 ac_ext=c
24587 ac_cpp='$CPP $CPPFLAGS'
24588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
24597 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
24599 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
24600 for ac_func in modfl
24601 do :
24602 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
24603 if test "x$ac_cv_func_modfl" = x""yes; then :
24604 cat >>confdefs.h <<_ACEOF
24605 #define HAVE_MODFL 1
24606 _ACEOF
24609 done
24611 else
24613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
24614 $as_echo_n "checking for _modfl declaration... " >&6; }
24615 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
24616 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
24617 $as_echo_n "(cached) " >&6
24618 else
24621 ac_ext=cpp
24622 ac_cpp='$CXXCPP $CPPFLAGS'
24623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24628 /* end confdefs.h. */
24629 #include <math.h>
24631 main ()
24633 _modfl(0, 0);
24635 return 0;
24637 _ACEOF
24638 if ac_fn_cxx_try_compile "$LINENO"; then :
24639 glibcxx_cv_func__modfl_use=yes
24640 else
24641 glibcxx_cv_func__modfl_use=no
24643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24644 ac_ext=c
24645 ac_cpp='$CPP $CPPFLAGS'
24646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
24655 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
24657 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
24658 for ac_func in _modfl
24659 do :
24660 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
24661 if test "x$ac_cv_func__modfl" = x""yes; then :
24662 cat >>confdefs.h <<_ACEOF
24663 #define HAVE__MODFL 1
24664 _ACEOF
24667 done
24676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
24677 $as_echo_n "checking for powl declaration... " >&6; }
24678 if test x${glibcxx_cv_func_powl_use+set} != xset; then
24679 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
24680 $as_echo_n "(cached) " >&6
24681 else
24684 ac_ext=cpp
24685 ac_cpp='$CXXCPP $CPPFLAGS'
24686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24691 /* end confdefs.h. */
24692 #include <math.h>
24694 main ()
24696 powl(0, 0);
24698 return 0;
24700 _ACEOF
24701 if ac_fn_cxx_try_compile "$LINENO"; then :
24702 glibcxx_cv_func_powl_use=yes
24703 else
24704 glibcxx_cv_func_powl_use=no
24706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24707 ac_ext=c
24708 ac_cpp='$CPP $CPPFLAGS'
24709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
24718 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
24720 if test x$glibcxx_cv_func_powl_use = x"yes"; then
24721 for ac_func in powl
24722 do :
24723 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
24724 if test "x$ac_cv_func_powl" = x""yes; then :
24725 cat >>confdefs.h <<_ACEOF
24726 #define HAVE_POWL 1
24727 _ACEOF
24730 done
24732 else
24734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
24735 $as_echo_n "checking for _powl declaration... " >&6; }
24736 if test x${glibcxx_cv_func__powl_use+set} != xset; then
24737 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
24738 $as_echo_n "(cached) " >&6
24739 else
24742 ac_ext=cpp
24743 ac_cpp='$CXXCPP $CPPFLAGS'
24744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24749 /* end confdefs.h. */
24750 #include <math.h>
24752 main ()
24754 _powl(0, 0);
24756 return 0;
24758 _ACEOF
24759 if ac_fn_cxx_try_compile "$LINENO"; then :
24760 glibcxx_cv_func__powl_use=yes
24761 else
24762 glibcxx_cv_func__powl_use=no
24764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24765 ac_ext=c
24766 ac_cpp='$CPP $CPPFLAGS'
24767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
24776 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
24778 if test x$glibcxx_cv_func__powl_use = x"yes"; then
24779 for ac_func in _powl
24780 do :
24781 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
24782 if test "x$ac_cv_func__powl" = x""yes; then :
24783 cat >>confdefs.h <<_ACEOF
24784 #define HAVE__POWL 1
24785 _ACEOF
24788 done
24797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
24798 $as_echo_n "checking for sqrtl declaration... " >&6; }
24799 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
24800 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
24801 $as_echo_n "(cached) " >&6
24802 else
24805 ac_ext=cpp
24806 ac_cpp='$CXXCPP $CPPFLAGS'
24807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24812 /* end confdefs.h. */
24813 #include <math.h>
24814 #ifdef HAVE_IEEEFP_H
24815 #include <ieeefp.h>
24816 #endif
24819 main ()
24821 sqrtl(0);
24823 return 0;
24825 _ACEOF
24826 if ac_fn_cxx_try_compile "$LINENO"; then :
24827 glibcxx_cv_func_sqrtl_use=yes
24828 else
24829 glibcxx_cv_func_sqrtl_use=no
24831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24832 ac_ext=c
24833 ac_cpp='$CPP $CPPFLAGS'
24834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
24843 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
24845 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
24846 for ac_func in sqrtl
24847 do :
24848 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
24849 if test "x$ac_cv_func_sqrtl" = x""yes; then :
24850 cat >>confdefs.h <<_ACEOF
24851 #define HAVE_SQRTL 1
24852 _ACEOF
24855 done
24857 else
24859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
24860 $as_echo_n "checking for _sqrtl declaration... " >&6; }
24861 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
24862 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
24863 $as_echo_n "(cached) " >&6
24864 else
24867 ac_ext=cpp
24868 ac_cpp='$CXXCPP $CPPFLAGS'
24869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24874 /* end confdefs.h. */
24875 #include <math.h>
24876 #ifdef HAVE_IEEEFP_H
24877 #include <ieeefp.h>
24878 #endif
24881 main ()
24883 _sqrtl(0);
24885 return 0;
24887 _ACEOF
24888 if ac_fn_cxx_try_compile "$LINENO"; then :
24889 glibcxx_cv_func__sqrtl_use=yes
24890 else
24891 glibcxx_cv_func__sqrtl_use=no
24893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24894 ac_ext=c
24895 ac_cpp='$CPP $CPPFLAGS'
24896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
24905 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
24907 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
24908 for ac_func in _sqrtl
24909 do :
24910 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
24911 if test "x$ac_cv_func__sqrtl" = x""yes; then :
24912 cat >>confdefs.h <<_ACEOF
24913 #define HAVE__SQRTL 1
24914 _ACEOF
24917 done
24926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
24927 $as_echo_n "checking for sincosl declaration... " >&6; }
24928 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
24929 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
24930 $as_echo_n "(cached) " >&6
24931 else
24934 ac_ext=cpp
24935 ac_cpp='$CXXCPP $CPPFLAGS'
24936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24941 /* end confdefs.h. */
24942 #include <math.h>
24944 main ()
24946 sincosl(0, 0, 0);
24948 return 0;
24950 _ACEOF
24951 if ac_fn_cxx_try_compile "$LINENO"; then :
24952 glibcxx_cv_func_sincosl_use=yes
24953 else
24954 glibcxx_cv_func_sincosl_use=no
24956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24957 ac_ext=c
24958 ac_cpp='$CPP $CPPFLAGS'
24959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
24968 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
24970 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
24971 for ac_func in sincosl
24972 do :
24973 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
24974 if test "x$ac_cv_func_sincosl" = x""yes; then :
24975 cat >>confdefs.h <<_ACEOF
24976 #define HAVE_SINCOSL 1
24977 _ACEOF
24980 done
24982 else
24984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
24985 $as_echo_n "checking for _sincosl declaration... " >&6; }
24986 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
24987 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
24988 $as_echo_n "(cached) " >&6
24989 else
24992 ac_ext=cpp
24993 ac_cpp='$CXXCPP $CPPFLAGS'
24994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24999 /* end confdefs.h. */
25000 #include <math.h>
25002 main ()
25004 _sincosl(0, 0, 0);
25006 return 0;
25008 _ACEOF
25009 if ac_fn_cxx_try_compile "$LINENO"; then :
25010 glibcxx_cv_func__sincosl_use=yes
25011 else
25012 glibcxx_cv_func__sincosl_use=no
25014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25015 ac_ext=c
25016 ac_cpp='$CPP $CPPFLAGS'
25017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
25026 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
25028 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25029 for ac_func in _sincosl
25030 do :
25031 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
25032 if test "x$ac_cv_func__sincosl" = x""yes; then :
25033 cat >>confdefs.h <<_ACEOF
25034 #define HAVE__SINCOSL 1
25035 _ACEOF
25038 done
25047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
25048 $as_echo_n "checking for finitel declaration... " >&6; }
25049 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25050 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
25051 $as_echo_n "(cached) " >&6
25052 else
25055 ac_ext=cpp
25056 ac_cpp='$CXXCPP $CPPFLAGS'
25057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25062 /* end confdefs.h. */
25063 #include <math.h>
25064 #ifdef HAVE_IEEEFP_H
25065 #include <ieeefp.h>
25066 #endif
25069 main ()
25071 finitel(0);
25073 return 0;
25075 _ACEOF
25076 if ac_fn_cxx_try_compile "$LINENO"; then :
25077 glibcxx_cv_func_finitel_use=yes
25078 else
25079 glibcxx_cv_func_finitel_use=no
25081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25082 ac_ext=c
25083 ac_cpp='$CPP $CPPFLAGS'
25084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
25093 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
25095 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
25096 for ac_func in finitel
25097 do :
25098 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
25099 if test "x$ac_cv_func_finitel" = x""yes; then :
25100 cat >>confdefs.h <<_ACEOF
25101 #define HAVE_FINITEL 1
25102 _ACEOF
25105 done
25107 else
25109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
25110 $as_echo_n "checking for _finitel declaration... " >&6; }
25111 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
25112 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
25113 $as_echo_n "(cached) " >&6
25114 else
25117 ac_ext=cpp
25118 ac_cpp='$CXXCPP $CPPFLAGS'
25119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25124 /* end confdefs.h. */
25125 #include <math.h>
25126 #ifdef HAVE_IEEEFP_H
25127 #include <ieeefp.h>
25128 #endif
25131 main ()
25133 _finitel(0);
25135 return 0;
25137 _ACEOF
25138 if ac_fn_cxx_try_compile "$LINENO"; then :
25139 glibcxx_cv_func__finitel_use=yes
25140 else
25141 glibcxx_cv_func__finitel_use=no
25143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25144 ac_ext=c
25145 ac_cpp='$CPP $CPPFLAGS'
25146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
25155 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
25157 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
25158 for ac_func in _finitel
25159 do :
25160 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
25161 if test "x$ac_cv_func__finitel" = x""yes; then :
25162 cat >>confdefs.h <<_ACEOF
25163 #define HAVE__FINITEL 1
25164 _ACEOF
25167 done
25175 LIBS="$ac_save_LIBS"
25176 CXXFLAGS="$ac_save_CXXFLAGS"
25179 ac_test_CXXFLAGS="${CXXFLAGS+set}"
25180 ac_save_CXXFLAGS="$CXXFLAGS"
25181 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
25184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
25185 $as_echo_n "checking for strtold declaration... " >&6; }
25186 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
25187 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
25188 $as_echo_n "(cached) " >&6
25189 else
25192 ac_ext=cpp
25193 ac_cpp='$CXXCPP $CPPFLAGS'
25194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25199 /* end confdefs.h. */
25200 #include <stdlib.h>
25202 main ()
25204 strtold(0, 0);
25206 return 0;
25208 _ACEOF
25209 if ac_fn_cxx_try_compile "$LINENO"; then :
25210 glibcxx_cv_func_strtold_use=yes
25211 else
25212 glibcxx_cv_func_strtold_use=no
25214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25215 ac_ext=c
25216 ac_cpp='$CPP $CPPFLAGS'
25217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
25226 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
25227 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
25228 for ac_func in strtold
25229 do :
25230 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
25231 if test "x$ac_cv_func_strtold" = x""yes; then :
25232 cat >>confdefs.h <<_ACEOF
25233 #define HAVE_STRTOLD 1
25234 _ACEOF
25237 done
25244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
25245 $as_echo_n "checking for strtof declaration... " >&6; }
25246 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
25247 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
25248 $as_echo_n "(cached) " >&6
25249 else
25252 ac_ext=cpp
25253 ac_cpp='$CXXCPP $CPPFLAGS'
25254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25259 /* end confdefs.h. */
25260 #include <stdlib.h>
25262 main ()
25264 strtof(0, 0);
25266 return 0;
25268 _ACEOF
25269 if ac_fn_cxx_try_compile "$LINENO"; then :
25270 glibcxx_cv_func_strtof_use=yes
25271 else
25272 glibcxx_cv_func_strtof_use=no
25274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25275 ac_ext=c
25276 ac_cpp='$CPP $CPPFLAGS'
25277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
25286 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
25287 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
25288 for ac_func in strtof
25289 do :
25290 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
25291 if test "x$ac_cv_func_strtof" = x""yes; then :
25292 cat >>confdefs.h <<_ACEOF
25293 #define HAVE_STRTOF 1
25294 _ACEOF
25297 done
25304 CXXFLAGS="$ac_save_CXXFLAGS"
25307 # For /dev/random and /dev/urandom for TR1.
25310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
25311 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
25312 if test "${glibcxx_cv_random_tr1+set}" = set; then :
25313 $as_echo_n "(cached) " >&6
25314 else
25316 if test -r /dev/random && test -r /dev/urandom; then
25317 glibcxx_cv_random_tr1=yes;
25318 else
25319 glibcxx_cv_random_tr1=no;
25324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
25325 $as_echo "$glibcxx_cv_random_tr1" >&6; }
25327 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
25329 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
25335 # For TLS support.
25338 # Check whether --enable-tls was given.
25339 if test "${enable_tls+set}" = set; then :
25340 enableval=$enable_tls;
25341 case "$enableval" in
25342 yes|no) ;;
25343 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
25344 esac
25346 else
25347 enable_tls=yes
25351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
25352 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
25353 if test "${gcc_cv_have_tls+set}" = set; then :
25354 $as_echo_n "(cached) " >&6
25355 else
25357 if test "$cross_compiling" = yes; then :
25358 if test x$gcc_no_link = xyes; then
25359 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25362 /* end confdefs.h. */
25363 __thread int a; int b; int main() { return a = b; }
25364 _ACEOF
25365 if ac_fn_c_try_link "$LINENO"; then :
25366 chktls_save_LDFLAGS="$LDFLAGS"
25367 case $host in
25368 *-*-linux*)
25369 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
25371 esac
25372 chktls_save_CFLAGS="$CFLAGS"
25373 CFLAGS="-fPIC $CFLAGS"
25374 if test x$gcc_no_link = xyes; then
25375 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25378 /* end confdefs.h. */
25379 int f() { return 0; }
25380 _ACEOF
25381 if ac_fn_c_try_link "$LINENO"; then :
25382 if test x$gcc_no_link = xyes; then
25383 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25386 /* end confdefs.h. */
25387 __thread int a; int b; int f() { return a = b; }
25388 _ACEOF
25389 if ac_fn_c_try_link "$LINENO"; then :
25390 gcc_cv_have_tls=yes
25391 else
25392 gcc_cv_have_tls=no
25394 rm -f core conftest.err conftest.$ac_objext \
25395 conftest$ac_exeext conftest.$ac_ext
25396 else
25397 gcc_cv_have_tls=yes
25399 rm -f core conftest.err conftest.$ac_objext \
25400 conftest$ac_exeext conftest.$ac_ext
25401 CFLAGS="$chktls_save_CFLAGS"
25402 LDFLAGS="$chktls_save_LDFLAGS"
25403 else
25404 gcc_cv_have_tls=no
25406 rm -f core conftest.err conftest.$ac_objext \
25407 conftest$ac_exeext conftest.$ac_ext
25410 else
25411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25412 /* end confdefs.h. */
25413 __thread int a; int b; int main() { return a = b; }
25414 _ACEOF
25415 if ac_fn_c_try_run "$LINENO"; then :
25416 chktls_save_LDFLAGS="$LDFLAGS"
25417 LDFLAGS="-static $LDFLAGS"
25418 if test x$gcc_no_link = xyes; then
25419 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25422 /* end confdefs.h. */
25423 int main() { return 0; }
25424 _ACEOF
25425 if ac_fn_c_try_link "$LINENO"; then :
25426 if test "$cross_compiling" = yes; then :
25427 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25428 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25429 as_fn_error "cannot run test program while cross compiling
25430 See \`config.log' for more details." "$LINENO" 5; }
25431 else
25432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25433 /* end confdefs.h. */
25434 __thread int a; int b; int main() { return a = b; }
25435 _ACEOF
25436 if ac_fn_c_try_run "$LINENO"; then :
25437 gcc_cv_have_tls=yes
25438 else
25439 gcc_cv_have_tls=no
25441 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25442 conftest.$ac_objext conftest.beam conftest.$ac_ext
25445 else
25446 gcc_cv_have_tls=yes
25448 rm -f core conftest.err conftest.$ac_objext \
25449 conftest$ac_exeext conftest.$ac_ext
25450 LDFLAGS="$chktls_save_LDFLAGS"
25451 if test $gcc_cv_have_tls = yes; then
25452 chktls_save_CFLAGS="$CFLAGS"
25453 thread_CFLAGS=failed
25454 for flag in '' '-pthread' '-lpthread'; do
25455 CFLAGS="$flag $chktls_save_CFLAGS"
25456 if test x$gcc_no_link = xyes; then
25457 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25460 /* end confdefs.h. */
25461 #include <pthread.h>
25462 void *g(void *d) { return NULL; }
25464 main ()
25466 pthread_t t; pthread_create(&t,NULL,g,NULL);
25468 return 0;
25470 _ACEOF
25471 if ac_fn_c_try_link "$LINENO"; then :
25472 thread_CFLAGS="$flag"
25474 rm -f core conftest.err conftest.$ac_objext \
25475 conftest$ac_exeext conftest.$ac_ext
25476 if test "X$thread_CFLAGS" != Xfailed; then
25477 break
25479 done
25480 CFLAGS="$chktls_save_CFLAGS"
25481 if test "X$thread_CFLAGS" != Xfailed; then
25482 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
25483 if test "$cross_compiling" = yes; then :
25484 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25485 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25486 as_fn_error "cannot run test program while cross compiling
25487 See \`config.log' for more details." "$LINENO" 5; }
25488 else
25489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25490 /* end confdefs.h. */
25491 #include <pthread.h>
25492 __thread int a;
25493 static int *a_in_other_thread;
25494 static void *
25495 thread_func (void *arg)
25497 a_in_other_thread = &a;
25498 return (void *)0;
25501 main ()
25503 pthread_t thread;
25504 void *thread_retval;
25505 int *a_in_main_thread;
25506 if (pthread_create (&thread, (pthread_attr_t *)0,
25507 thread_func, (void *)0))
25508 return 0;
25509 a_in_main_thread = &a;
25510 if (pthread_join (thread, &thread_retval))
25511 return 0;
25512 return (a_in_other_thread == a_in_main_thread);
25514 return 0;
25516 _ACEOF
25517 if ac_fn_c_try_run "$LINENO"; then :
25518 gcc_cv_have_tls=yes
25519 else
25520 gcc_cv_have_tls=no
25522 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25523 conftest.$ac_objext conftest.beam conftest.$ac_ext
25526 CFLAGS="$chktls_save_CFLAGS"
25529 else
25530 gcc_cv_have_tls=no
25532 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25533 conftest.$ac_objext conftest.beam conftest.$ac_ext
25537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
25538 $as_echo "$gcc_cv_have_tls" >&6; }
25539 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
25541 $as_echo "#define HAVE_TLS 1" >>confdefs.h
25545 # For iconv support.
25547 if test "X$prefix" = "XNONE"; then
25548 acl_final_prefix="$ac_default_prefix"
25549 else
25550 acl_final_prefix="$prefix"
25552 if test "X$exec_prefix" = "XNONE"; then
25553 acl_final_exec_prefix='${prefix}'
25554 else
25555 acl_final_exec_prefix="$exec_prefix"
25557 acl_save_prefix="$prefix"
25558 prefix="$acl_final_prefix"
25559 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
25560 prefix="$acl_save_prefix"
25563 # Check whether --with-gnu-ld was given.
25564 if test "${with_gnu_ld+set}" = set; then :
25565 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
25566 else
25567 with_gnu_ld=no
25570 # Prepare PATH_SEPARATOR.
25571 # The user is always right.
25572 if test "${PATH_SEPARATOR+set}" != set; then
25573 echo "#! /bin/sh" >conf$$.sh
25574 echo "exit 0" >>conf$$.sh
25575 chmod +x conf$$.sh
25576 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
25577 PATH_SEPARATOR=';'
25578 else
25579 PATH_SEPARATOR=:
25581 rm -f conf$$.sh
25583 ac_prog=ld
25584 if test "$GCC" = yes; then
25585 # Check if gcc -print-prog-name=ld gives a path.
25586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
25587 $as_echo_n "checking for ld used by GCC... " >&6; }
25588 case $host in
25589 *-*-mingw*)
25590 # gcc leaves a trailing carriage return which upsets mingw
25591 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
25593 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
25594 esac
25595 case $ac_prog in
25596 # Accept absolute paths.
25597 [\\/]* | [A-Za-z]:[\\/]*)
25598 re_direlt='/[^/][^/]*/\.\./'
25599 # Canonicalize the path of ld
25600 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
25601 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
25602 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
25603 done
25604 test -z "$LD" && LD="$ac_prog"
25607 # If it fails, then pretend we aren't using GCC.
25608 ac_prog=ld
25611 # If it is relative, then search for the first ld in PATH.
25612 with_gnu_ld=unknown
25614 esac
25615 elif test "$with_gnu_ld" = yes; then
25616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
25617 $as_echo_n "checking for GNU ld... " >&6; }
25618 else
25619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
25620 $as_echo_n "checking for non-GNU ld... " >&6; }
25622 if test "${acl_cv_path_LD+set}" = set; then :
25623 $as_echo_n "(cached) " >&6
25624 else
25625 if test -z "$LD"; then
25626 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
25627 for ac_dir in $PATH; do
25628 test -z "$ac_dir" && ac_dir=.
25629 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
25630 acl_cv_path_LD="$ac_dir/$ac_prog"
25631 # Check to see if the program is GNU ld. I'd rather use --version,
25632 # but apparently some GNU ld's only accept -v.
25633 # Break only if it was the GNU/non-GNU ld that we prefer.
25634 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
25635 test "$with_gnu_ld" != no && break
25636 else
25637 test "$with_gnu_ld" != yes && break
25640 done
25641 IFS="$ac_save_ifs"
25642 else
25643 acl_cv_path_LD="$LD" # Let the user override the test with a path.
25647 LD="$acl_cv_path_LD"
25648 if test -n "$LD"; then
25649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
25650 $as_echo "$LD" >&6; }
25651 else
25652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25653 $as_echo "no" >&6; }
25655 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
25656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
25657 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
25658 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
25659 $as_echo_n "(cached) " >&6
25660 else
25661 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
25662 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
25663 acl_cv_prog_gnu_ld=yes
25664 else
25665 acl_cv_prog_gnu_ld=no
25668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
25669 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
25670 with_gnu_ld=$acl_cv_prog_gnu_ld
25674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
25675 $as_echo_n "checking for shared library run path origin... " >&6; }
25676 if test "${acl_cv_rpath+set}" = set; then :
25677 $as_echo_n "(cached) " >&6
25678 else
25680 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
25681 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
25682 . ./conftest.sh
25683 rm -f ./conftest.sh
25684 acl_cv_rpath=done
25687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
25688 $as_echo "$acl_cv_rpath" >&6; }
25689 wl="$acl_cv_wl"
25690 libext="$acl_cv_libext"
25691 shlibext="$acl_cv_shlibext"
25692 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
25693 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
25694 hardcode_direct="$acl_cv_hardcode_direct"
25695 hardcode_minus_L="$acl_cv_hardcode_minus_L"
25696 # Check whether --enable-rpath was given.
25697 if test "${enable_rpath+set}" = set; then :
25698 enableval=$enable_rpath; :
25699 else
25700 enable_rpath=yes
25710 use_additional=yes
25712 acl_save_prefix="$prefix"
25713 prefix="$acl_final_prefix"
25714 acl_save_exec_prefix="$exec_prefix"
25715 exec_prefix="$acl_final_exec_prefix"
25717 eval additional_includedir=\"$includedir\"
25718 eval additional_libdir=\"$libdir\"
25720 exec_prefix="$acl_save_exec_prefix"
25721 prefix="$acl_save_prefix"
25724 # Check whether --with-libiconv-prefix was given.
25725 if test "${with_libiconv_prefix+set}" = set; then :
25726 withval=$with_libiconv_prefix;
25727 if test "X$withval" = "Xno"; then
25728 use_additional=no
25729 else
25730 if test "X$withval" = "X"; then
25732 acl_save_prefix="$prefix"
25733 prefix="$acl_final_prefix"
25734 acl_save_exec_prefix="$exec_prefix"
25735 exec_prefix="$acl_final_exec_prefix"
25737 eval additional_includedir=\"$includedir\"
25738 eval additional_libdir=\"$libdir\"
25740 exec_prefix="$acl_save_exec_prefix"
25741 prefix="$acl_save_prefix"
25743 else
25744 additional_includedir="$withval/include"
25745 additional_libdir="$withval/lib"
25751 LIBICONV=
25752 LTLIBICONV=
25753 INCICONV=
25754 rpathdirs=
25755 ltrpathdirs=
25756 names_already_handled=
25757 names_next_round='iconv '
25758 while test -n "$names_next_round"; do
25759 names_this_round="$names_next_round"
25760 names_next_round=
25761 for name in $names_this_round; do
25762 already_handled=
25763 for n in $names_already_handled; do
25764 if test "$n" = "$name"; then
25765 already_handled=yes
25766 break
25768 done
25769 if test -z "$already_handled"; then
25770 names_already_handled="$names_already_handled $name"
25771 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
25772 eval value=\"\$HAVE_LIB$uppername\"
25773 if test -n "$value"; then
25774 if test "$value" = yes; then
25775 eval value=\"\$LIB$uppername\"
25776 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
25777 eval value=\"\$LTLIB$uppername\"
25778 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
25779 else
25782 else
25783 found_dir=
25784 found_la=
25785 found_so=
25786 found_a=
25787 if test $use_additional = yes; then
25788 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
25789 found_dir="$additional_libdir"
25790 found_so="$additional_libdir/lib$name.$shlibext"
25791 if test -f "$additional_libdir/lib$name.la"; then
25792 found_la="$additional_libdir/lib$name.la"
25794 else
25795 if test -f "$additional_libdir/lib$name.$libext"; then
25796 found_dir="$additional_libdir"
25797 found_a="$additional_libdir/lib$name.$libext"
25798 if test -f "$additional_libdir/lib$name.la"; then
25799 found_la="$additional_libdir/lib$name.la"
25804 if test "X$found_dir" = "X"; then
25805 for x in $LDFLAGS $LTLIBICONV; do
25807 acl_save_prefix="$prefix"
25808 prefix="$acl_final_prefix"
25809 acl_save_exec_prefix="$exec_prefix"
25810 exec_prefix="$acl_final_exec_prefix"
25811 eval x=\"$x\"
25812 exec_prefix="$acl_save_exec_prefix"
25813 prefix="$acl_save_prefix"
25815 case "$x" in
25816 -L*)
25817 dir=`echo "X$x" | sed -e 's/^X-L//'`
25818 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
25819 found_dir="$dir"
25820 found_so="$dir/lib$name.$shlibext"
25821 if test -f "$dir/lib$name.la"; then
25822 found_la="$dir/lib$name.la"
25824 else
25825 if test -f "$dir/lib$name.$libext"; then
25826 found_dir="$dir"
25827 found_a="$dir/lib$name.$libext"
25828 if test -f "$dir/lib$name.la"; then
25829 found_la="$dir/lib$name.la"
25834 esac
25835 if test "X$found_dir" != "X"; then
25836 break
25838 done
25840 if test "X$found_dir" != "X"; then
25841 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
25842 if test "X$found_so" != "X"; then
25843 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
25844 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25845 else
25846 haveit=
25847 for x in $ltrpathdirs; do
25848 if test "X$x" = "X$found_dir"; then
25849 haveit=yes
25850 break
25852 done
25853 if test -z "$haveit"; then
25854 ltrpathdirs="$ltrpathdirs $found_dir"
25856 if test "$hardcode_direct" = yes; then
25857 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25858 else
25859 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
25860 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25861 haveit=
25862 for x in $rpathdirs; do
25863 if test "X$x" = "X$found_dir"; then
25864 haveit=yes
25865 break
25867 done
25868 if test -z "$haveit"; then
25869 rpathdirs="$rpathdirs $found_dir"
25871 else
25872 haveit=
25873 for x in $LDFLAGS $LIBICONV; do
25875 acl_save_prefix="$prefix"
25876 prefix="$acl_final_prefix"
25877 acl_save_exec_prefix="$exec_prefix"
25878 exec_prefix="$acl_final_exec_prefix"
25879 eval x=\"$x\"
25880 exec_prefix="$acl_save_exec_prefix"
25881 prefix="$acl_save_prefix"
25883 if test "X$x" = "X-L$found_dir"; then
25884 haveit=yes
25885 break
25887 done
25888 if test -z "$haveit"; then
25889 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
25891 if test "$hardcode_minus_L" != no; then
25892 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25893 else
25894 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
25899 else
25900 if test "X$found_a" != "X"; then
25901 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
25902 else
25903 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
25906 additional_includedir=
25907 case "$found_dir" in
25908 */lib | */lib/)
25909 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
25910 additional_includedir="$basedir/include"
25912 esac
25913 if test "X$additional_includedir" != "X"; then
25914 if test "X$additional_includedir" != "X/usr/include"; then
25915 haveit=
25916 if test "X$additional_includedir" = "X/usr/local/include"; then
25917 if test -n "$GCC"; then
25918 case $host_os in
25919 linux*) haveit=yes;;
25920 esac
25923 if test -z "$haveit"; then
25924 for x in $CPPFLAGS $INCICONV; do
25926 acl_save_prefix="$prefix"
25927 prefix="$acl_final_prefix"
25928 acl_save_exec_prefix="$exec_prefix"
25929 exec_prefix="$acl_final_exec_prefix"
25930 eval x=\"$x\"
25931 exec_prefix="$acl_save_exec_prefix"
25932 prefix="$acl_save_prefix"
25934 if test "X$x" = "X-I$additional_includedir"; then
25935 haveit=yes
25936 break
25938 done
25939 if test -z "$haveit"; then
25940 if test -d "$additional_includedir"; then
25941 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
25947 if test -n "$found_la"; then
25948 save_libdir="$libdir"
25949 case "$found_la" in
25950 */* | *\\*) . "$found_la" ;;
25951 *) . "./$found_la" ;;
25952 esac
25953 libdir="$save_libdir"
25954 for dep in $dependency_libs; do
25955 case "$dep" in
25956 -L*)
25957 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
25958 if test "X$additional_libdir" != "X/usr/lib"; then
25959 haveit=
25960 if test "X$additional_libdir" = "X/usr/local/lib"; then
25961 if test -n "$GCC"; then
25962 case $host_os in
25963 linux*) haveit=yes;;
25964 esac
25967 if test -z "$haveit"; then
25968 haveit=
25969 for x in $LDFLAGS $LIBICONV; do
25971 acl_save_prefix="$prefix"
25972 prefix="$acl_final_prefix"
25973 acl_save_exec_prefix="$exec_prefix"
25974 exec_prefix="$acl_final_exec_prefix"
25975 eval x=\"$x\"
25976 exec_prefix="$acl_save_exec_prefix"
25977 prefix="$acl_save_prefix"
25979 if test "X$x" = "X-L$additional_libdir"; then
25980 haveit=yes
25981 break
25983 done
25984 if test -z "$haveit"; then
25985 if test -d "$additional_libdir"; then
25986 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
25989 haveit=
25990 for x in $LDFLAGS $LTLIBICONV; do
25992 acl_save_prefix="$prefix"
25993 prefix="$acl_final_prefix"
25994 acl_save_exec_prefix="$exec_prefix"
25995 exec_prefix="$acl_final_exec_prefix"
25996 eval x=\"$x\"
25997 exec_prefix="$acl_save_exec_prefix"
25998 prefix="$acl_save_prefix"
26000 if test "X$x" = "X-L$additional_libdir"; then
26001 haveit=yes
26002 break
26004 done
26005 if test -z "$haveit"; then
26006 if test -d "$additional_libdir"; then
26007 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
26013 -R*)
26014 dir=`echo "X$dep" | sed -e 's/^X-R//'`
26015 if test "$enable_rpath" != no; then
26016 haveit=
26017 for x in $rpathdirs; do
26018 if test "X$x" = "X$dir"; then
26019 haveit=yes
26020 break
26022 done
26023 if test -z "$haveit"; then
26024 rpathdirs="$rpathdirs $dir"
26026 haveit=
26027 for x in $ltrpathdirs; do
26028 if test "X$x" = "X$dir"; then
26029 haveit=yes
26030 break
26032 done
26033 if test -z "$haveit"; then
26034 ltrpathdirs="$ltrpathdirs $dir"
26038 -l*)
26039 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
26041 *.la)
26042 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
26045 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
26046 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
26048 esac
26049 done
26051 else
26052 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26053 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
26057 done
26058 done
26059 if test "X$rpathdirs" != "X"; then
26060 if test -n "$hardcode_libdir_separator"; then
26061 alldirs=
26062 for found_dir in $rpathdirs; do
26063 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
26064 done
26065 acl_save_libdir="$libdir"
26066 libdir="$alldirs"
26067 eval flag=\"$hardcode_libdir_flag_spec\"
26068 libdir="$acl_save_libdir"
26069 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26070 else
26071 for found_dir in $rpathdirs; do
26072 acl_save_libdir="$libdir"
26073 libdir="$found_dir"
26074 eval flag=\"$hardcode_libdir_flag_spec\"
26075 libdir="$acl_save_libdir"
26076 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26077 done
26080 if test "X$ltrpathdirs" != "X"; then
26081 for found_dir in $ltrpathdirs; do
26082 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
26083 done
26092 am_save_CPPFLAGS="$CPPFLAGS"
26094 for element in $INCICONV; do
26095 haveit=
26096 for x in $CPPFLAGS; do
26098 acl_save_prefix="$prefix"
26099 prefix="$acl_final_prefix"
26100 acl_save_exec_prefix="$exec_prefix"
26101 exec_prefix="$acl_final_exec_prefix"
26102 eval x=\"$x\"
26103 exec_prefix="$acl_save_exec_prefix"
26104 prefix="$acl_save_prefix"
26106 if test "X$x" = "X$element"; then
26107 haveit=yes
26108 break
26110 done
26111 if test -z "$haveit"; then
26112 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
26114 done
26117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
26118 $as_echo_n "checking for iconv... " >&6; }
26119 if test "${am_cv_func_iconv+set}" = set; then :
26120 $as_echo_n "(cached) " >&6
26121 else
26123 am_cv_func_iconv="no, consider installing GNU libiconv"
26124 am_cv_lib_iconv=no
26125 if test x$gcc_no_link = xyes; then
26126 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26129 /* end confdefs.h. */
26130 #include <stdlib.h>
26131 #include <iconv.h>
26133 main ()
26135 iconv_t cd = iconv_open("","");
26136 iconv(cd,NULL,NULL,NULL,NULL);
26137 iconv_close(cd);
26139 return 0;
26141 _ACEOF
26142 if ac_fn_c_try_link "$LINENO"; then :
26143 am_cv_func_iconv=yes
26145 rm -f core conftest.err conftest.$ac_objext \
26146 conftest$ac_exeext conftest.$ac_ext
26147 if test "$am_cv_func_iconv" != yes; then
26148 am_save_LIBS="$LIBS"
26149 LIBS="$LIBS $LIBICONV"
26150 if test x$gcc_no_link = xyes; then
26151 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26154 /* end confdefs.h. */
26155 #include <stdlib.h>
26156 #include <iconv.h>
26158 main ()
26160 iconv_t cd = iconv_open("","");
26161 iconv(cd,NULL,NULL,NULL,NULL);
26162 iconv_close(cd);
26164 return 0;
26166 _ACEOF
26167 if ac_fn_c_try_link "$LINENO"; then :
26168 am_cv_lib_iconv=yes
26169 am_cv_func_iconv=yes
26171 rm -f core conftest.err conftest.$ac_objext \
26172 conftest$ac_exeext conftest.$ac_ext
26173 LIBS="$am_save_LIBS"
26177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
26178 $as_echo "$am_cv_func_iconv" >&6; }
26179 if test "$am_cv_func_iconv" = yes; then
26181 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
26184 if test "$am_cv_lib_iconv" = yes; then
26185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
26186 $as_echo_n "checking how to link with libiconv... " >&6; }
26187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
26188 $as_echo "$LIBICONV" >&6; }
26189 else
26190 CPPFLAGS="$am_save_CPPFLAGS"
26191 LIBICONV=
26192 LTLIBICONV=
26197 if test "$am_cv_func_iconv" = yes; then
26198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
26199 $as_echo_n "checking for iconv declaration... " >&6; }
26200 if test "${am_cv_proto_iconv+set}" = set; then :
26201 $as_echo_n "(cached) " >&6
26202 else
26204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26205 /* end confdefs.h. */
26207 #include <stdlib.h>
26208 #include <iconv.h>
26209 extern
26210 #ifdef __cplusplus
26212 #endif
26213 #if defined(__STDC__) || defined(__cplusplus)
26214 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26215 #else
26216 size_t iconv();
26217 #endif
26220 main ()
26224 return 0;
26226 _ACEOF
26227 if ac_fn_c_try_compile "$LINENO"; then :
26228 am_cv_proto_iconv_arg1=""
26229 else
26230 am_cv_proto_iconv_arg1="const"
26232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26233 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);"
26236 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
26237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
26238 }$am_cv_proto_iconv" >&5
26239 $as_echo "${ac_t:-
26240 }$am_cv_proto_iconv" >&6; }
26242 cat >>confdefs.h <<_ACEOF
26243 #define ICONV_CONST $am_cv_proto_iconv_arg1
26244 _ACEOF
26249 else
26251 # This lets us hard-code the functionality we know we'll have in the cross
26252 # target environment. "Let" is a sugar-coated word placed on an especially
26253 # dull and tedious hack, actually.
26255 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
26256 # that involve linking, can't be used:
26257 # "cannot open sim-crt0.o"
26258 # "cannot open crt0.o"
26259 # etc. All this is because there currently exists no unified, consistent
26260 # way for top level CC information to be passed down to target directories:
26261 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
26262 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
26263 # crosses can be removed.
26265 # If Canadian cross, then don't pick up tools from the build directory.
26266 # Used only in GLIBCXX_EXPORT_INCLUDES.
26267 if test -n "$with_cross_host" &&
26268 test x"$build_alias" != x"$with_cross_host" &&
26269 test x"$build" != x"$target";
26270 then
26271 CANADIAN=yes
26272 else
26273 CANADIAN=no
26276 # Construct crosses by hand, eliminating bits that need ld...
26277 # GLIBCXX_CHECK_MATH_SUPPORT
26279 # First, test for "known" system libraries. We may be using newlib even
26280 # on a hosted environment.
26281 if test "x${with_newlib}" = "xyes"; then
26282 os_include_dir="os/newlib"
26283 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
26286 # GLIBCXX_CHECK_STDLIB_SUPPORT
26287 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
26290 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
26292 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
26294 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
26296 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
26298 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
26300 $as_echo "#define HAVE_COSF 1" >>confdefs.h
26302 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
26304 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
26306 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
26308 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
26310 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
26312 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
26314 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
26316 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
26318 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
26320 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
26322 $as_echo "#define HAVE_POWF 1" >>confdefs.h
26324 $as_echo "#define HAVE_SINF 1" >>confdefs.h
26326 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
26328 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
26330 $as_echo "#define HAVE_TANF 1" >>confdefs.h
26332 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
26335 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
26337 else
26339 # Base decisions on target environment.
26340 case "${host}" in
26341 arm*-*-symbianelf*)
26342 # This is a freestanding configuration; there is nothing to do here.
26345 mips*-sde-elf*)
26346 # These definitions are for the SDE C library rather than newlib.
26347 SECTION_FLAGS='-ffunction-sections -fdata-sections'
26350 # All these tests are for C++; save the language and the compiler flags.
26351 # The CXXFLAGS thing is suspicious, but based on similar bits previously
26352 # found in GLIBCXX_CONFIGURE.
26354 ac_ext=cpp
26355 ac_cpp='$CXXCPP $CPPFLAGS'
26356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26360 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26361 ac_save_CXXFLAGS="$CXXFLAGS"
26363 # Check for maintainer-mode bits.
26364 if test x"$USE_MAINTAINER_MODE" = xno; then
26365 WERROR=''
26366 else
26367 WERROR='-Werror'
26370 # Check for -ffunction-sections -fdata-sections
26371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
26372 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
26373 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
26374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26375 /* end confdefs.h. */
26376 int foo; void bar() { };
26378 main ()
26382 return 0;
26384 _ACEOF
26385 if ac_fn_cxx_try_compile "$LINENO"; then :
26386 ac_fdsections=yes
26387 else
26388 ac_fdsections=no
26390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26391 if test "$ac_test_CXXFLAGS" = set; then
26392 CXXFLAGS="$ac_save_CXXFLAGS"
26393 else
26394 # this is the suspicious part
26395 CXXFLAGS=''
26397 if test x"$ac_fdsections" = x"yes"; then
26398 SECTION_FLAGS='-ffunction-sections -fdata-sections'
26400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
26401 $as_echo "$ac_fdsections" >&6; }
26403 ac_ext=c
26404 ac_cpp='$CPP $CPPFLAGS'
26405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26413 # If we're not using GNU ld, then there's no point in even trying these
26414 # tests. Check for that first. We should have already tested for gld
26415 # by now (in libtool), but require it now just to be safe...
26416 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
26417 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
26421 # The name set by libtool depends on the version of libtool. Shame on us
26422 # for depending on an impl detail, but c'est la vie. Older versions used
26423 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
26424 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
26425 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
26426 # set (hence we're using an older libtool), then set it.
26427 if test x${with_gnu_ld+set} != xset; then
26428 if test x${ac_cv_prog_gnu_ld+set} != xset; then
26429 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
26430 with_gnu_ld=no
26431 else
26432 with_gnu_ld=$ac_cv_prog_gnu_ld
26436 # Start by getting the version number. I think the libtool test already
26437 # does some of this, but throws away the result.
26438 glibcxx_ld_is_gold=no
26439 if test x"$with_gnu_ld" = x"yes"; then
26440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
26441 $as_echo_n "checking for ld version... " >&6; }
26443 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
26444 glibcxx_ld_is_gold=yes
26446 ldver=`$LD --version 2>/dev/null |
26447 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
26449 glibcxx_gnu_ld_version=`echo $ldver | \
26450 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
26451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
26452 $as_echo "$glibcxx_gnu_ld_version" >&6; }
26455 # Set --gc-sections.
26456 glibcxx_have_gc_sections=no
26457 if test "$glibcxx_ld_is_gold" = "yes"; then
26458 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
26459 glibcxx_have_gc_sections=yes
26461 else
26462 glibcxx_gcsections_min_ld=21602
26463 if test x"$with_gnu_ld" = x"yes" &&
26464 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
26465 glibcxx_have_gc_sections=yes
26468 if test "$glibcxx_have_gc_sections" = "yes"; then
26469 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
26470 # NB: This flag only works reliably after 2.16.1. Configure tests
26471 # for this are difficult, so hard wire a value that should work.
26473 ac_test_CFLAGS="${CFLAGS+set}"
26474 ac_save_CFLAGS="$CFLAGS"
26475 CFLAGS='-Wl,--gc-sections'
26477 # Check for -Wl,--gc-sections
26478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
26479 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
26480 if test x$gcc_no_link = xyes; then
26481 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26484 /* end confdefs.h. */
26485 int one(void) { return 1; }
26486 int two(void) { return 2; }
26489 main ()
26491 two();
26493 return 0;
26495 _ACEOF
26496 if ac_fn_c_try_link "$LINENO"; then :
26497 ac_gcsections=yes
26498 else
26499 ac_gcsections=no
26501 rm -f core conftest.err conftest.$ac_objext \
26502 conftest$ac_exeext conftest.$ac_ext
26503 if test "$ac_gcsections" = "yes"; then
26504 rm -f conftest.c
26505 touch conftest.c
26506 if $CC -c conftest.c; then
26507 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
26508 grep "Warning: gc-sections option ignored" > /dev/null; then
26509 ac_gcsections=no
26512 rm -f conftest.c conftest.o conftest
26514 if test "$ac_gcsections" = "yes"; then
26515 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
26517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
26518 $as_echo "$ac_gcsections" >&6; }
26520 if test "$ac_test_CFLAGS" = set; then
26521 CFLAGS="$ac_save_CFLAGS"
26522 else
26523 # this is the suspicious part
26524 CFLAGS=''
26528 # Set -z,relro.
26529 # Note this is only for shared objects.
26530 ac_ld_relro=no
26531 if test x"$with_gnu_ld" = x"yes"; then
26532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
26533 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
26534 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
26535 if test -n "$cxx_z_relo"; then
26536 OPT_LDFLAGS="-Wl,-z,relro"
26537 ac_ld_relro=yes
26539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
26540 $as_echo "$ac_ld_relro" >&6; }
26543 # Set linker optimization flags.
26544 if test x"$with_gnu_ld" = x"yes"; then
26545 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
26552 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26553 ac_save_CXXFLAGS="$CXXFLAGS"
26554 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
26557 $as_echo_n "checking for sin in -lm... " >&6; }
26558 if test "${ac_cv_lib_m_sin+set}" = set; then :
26559 $as_echo_n "(cached) " >&6
26560 else
26561 ac_check_lib_save_LIBS=$LIBS
26562 LIBS="-lm $LIBS"
26563 if test x$gcc_no_link = xyes; then
26564 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26567 /* end confdefs.h. */
26569 /* Override any GCC internal prototype to avoid an error.
26570 Use char because int might match the return type of a GCC
26571 builtin and then its argument prototype would still apply. */
26572 #ifdef __cplusplus
26573 extern "C"
26574 #endif
26575 char sin ();
26577 main ()
26579 return sin ();
26581 return 0;
26583 _ACEOF
26584 if ac_fn_c_try_link "$LINENO"; then :
26585 ac_cv_lib_m_sin=yes
26586 else
26587 ac_cv_lib_m_sin=no
26589 rm -f core conftest.err conftest.$ac_objext \
26590 conftest$ac_exeext conftest.$ac_ext
26591 LIBS=$ac_check_lib_save_LIBS
26593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
26594 $as_echo "$ac_cv_lib_m_sin" >&6; }
26595 if test "x$ac_cv_lib_m_sin" = x""yes; then :
26596 libm="-lm"
26599 ac_save_LIBS="$LIBS"
26600 LIBS="$LIBS $libm"
26604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
26605 $as_echo_n "checking for isinf declaration... " >&6; }
26606 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
26607 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
26608 $as_echo_n "(cached) " >&6
26609 else
26612 ac_ext=cpp
26613 ac_cpp='$CXXCPP $CPPFLAGS'
26614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26619 /* end confdefs.h. */
26620 #include <math.h>
26621 #ifdef HAVE_IEEEFP_H
26622 #include <ieeefp.h>
26623 #endif
26626 main ()
26628 isinf(0);
26630 return 0;
26632 _ACEOF
26633 if ac_fn_cxx_try_compile "$LINENO"; then :
26634 glibcxx_cv_func_isinf_use=yes
26635 else
26636 glibcxx_cv_func_isinf_use=no
26638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26639 ac_ext=c
26640 ac_cpp='$CPP $CPPFLAGS'
26641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
26650 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
26652 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
26653 for ac_func in isinf
26654 do :
26655 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
26656 if test "x$ac_cv_func_isinf" = x""yes; then :
26657 cat >>confdefs.h <<_ACEOF
26658 #define HAVE_ISINF 1
26659 _ACEOF
26662 done
26664 else
26666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
26667 $as_echo_n "checking for _isinf declaration... " >&6; }
26668 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
26669 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
26670 $as_echo_n "(cached) " >&6
26671 else
26674 ac_ext=cpp
26675 ac_cpp='$CXXCPP $CPPFLAGS'
26676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26681 /* end confdefs.h. */
26682 #include <math.h>
26683 #ifdef HAVE_IEEEFP_H
26684 #include <ieeefp.h>
26685 #endif
26688 main ()
26690 _isinf(0);
26692 return 0;
26694 _ACEOF
26695 if ac_fn_cxx_try_compile "$LINENO"; then :
26696 glibcxx_cv_func__isinf_use=yes
26697 else
26698 glibcxx_cv_func__isinf_use=no
26700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26701 ac_ext=c
26702 ac_cpp='$CPP $CPPFLAGS'
26703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
26712 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
26714 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
26715 for ac_func in _isinf
26716 do :
26717 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
26718 if test "x$ac_cv_func__isinf" = x""yes; then :
26719 cat >>confdefs.h <<_ACEOF
26720 #define HAVE__ISINF 1
26721 _ACEOF
26724 done
26733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
26734 $as_echo_n "checking for isnan declaration... " >&6; }
26735 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
26736 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
26737 $as_echo_n "(cached) " >&6
26738 else
26741 ac_ext=cpp
26742 ac_cpp='$CXXCPP $CPPFLAGS'
26743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26748 /* end confdefs.h. */
26749 #include <math.h>
26750 #ifdef HAVE_IEEEFP_H
26751 #include <ieeefp.h>
26752 #endif
26755 main ()
26757 isnan(0);
26759 return 0;
26761 _ACEOF
26762 if ac_fn_cxx_try_compile "$LINENO"; then :
26763 glibcxx_cv_func_isnan_use=yes
26764 else
26765 glibcxx_cv_func_isnan_use=no
26767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26768 ac_ext=c
26769 ac_cpp='$CPP $CPPFLAGS'
26770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
26779 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
26781 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
26782 for ac_func in isnan
26783 do :
26784 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
26785 if test "x$ac_cv_func_isnan" = x""yes; then :
26786 cat >>confdefs.h <<_ACEOF
26787 #define HAVE_ISNAN 1
26788 _ACEOF
26791 done
26793 else
26795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
26796 $as_echo_n "checking for _isnan declaration... " >&6; }
26797 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
26798 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
26799 $as_echo_n "(cached) " >&6
26800 else
26803 ac_ext=cpp
26804 ac_cpp='$CXXCPP $CPPFLAGS'
26805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26810 /* end confdefs.h. */
26811 #include <math.h>
26812 #ifdef HAVE_IEEEFP_H
26813 #include <ieeefp.h>
26814 #endif
26817 main ()
26819 _isnan(0);
26821 return 0;
26823 _ACEOF
26824 if ac_fn_cxx_try_compile "$LINENO"; then :
26825 glibcxx_cv_func__isnan_use=yes
26826 else
26827 glibcxx_cv_func__isnan_use=no
26829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26830 ac_ext=c
26831 ac_cpp='$CPP $CPPFLAGS'
26832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
26841 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
26843 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
26844 for ac_func in _isnan
26845 do :
26846 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
26847 if test "x$ac_cv_func__isnan" = x""yes; then :
26848 cat >>confdefs.h <<_ACEOF
26849 #define HAVE__ISNAN 1
26850 _ACEOF
26853 done
26862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
26863 $as_echo_n "checking for finite declaration... " >&6; }
26864 if test x${glibcxx_cv_func_finite_use+set} != xset; then
26865 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
26866 $as_echo_n "(cached) " >&6
26867 else
26870 ac_ext=cpp
26871 ac_cpp='$CXXCPP $CPPFLAGS'
26872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26877 /* end confdefs.h. */
26878 #include <math.h>
26879 #ifdef HAVE_IEEEFP_H
26880 #include <ieeefp.h>
26881 #endif
26884 main ()
26886 finite(0);
26888 return 0;
26890 _ACEOF
26891 if ac_fn_cxx_try_compile "$LINENO"; then :
26892 glibcxx_cv_func_finite_use=yes
26893 else
26894 glibcxx_cv_func_finite_use=no
26896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26897 ac_ext=c
26898 ac_cpp='$CPP $CPPFLAGS'
26899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
26908 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
26910 if test x$glibcxx_cv_func_finite_use = x"yes"; then
26911 for ac_func in finite
26912 do :
26913 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
26914 if test "x$ac_cv_func_finite" = x""yes; then :
26915 cat >>confdefs.h <<_ACEOF
26916 #define HAVE_FINITE 1
26917 _ACEOF
26920 done
26922 else
26924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
26925 $as_echo_n "checking for _finite declaration... " >&6; }
26926 if test x${glibcxx_cv_func__finite_use+set} != xset; then
26927 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
26928 $as_echo_n "(cached) " >&6
26929 else
26932 ac_ext=cpp
26933 ac_cpp='$CXXCPP $CPPFLAGS'
26934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26939 /* end confdefs.h. */
26940 #include <math.h>
26941 #ifdef HAVE_IEEEFP_H
26942 #include <ieeefp.h>
26943 #endif
26946 main ()
26948 _finite(0);
26950 return 0;
26952 _ACEOF
26953 if ac_fn_cxx_try_compile "$LINENO"; then :
26954 glibcxx_cv_func__finite_use=yes
26955 else
26956 glibcxx_cv_func__finite_use=no
26958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26959 ac_ext=c
26960 ac_cpp='$CPP $CPPFLAGS'
26961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
26970 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
26972 if test x$glibcxx_cv_func__finite_use = x"yes"; then
26973 for ac_func in _finite
26974 do :
26975 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
26976 if test "x$ac_cv_func__finite" = x""yes; then :
26977 cat >>confdefs.h <<_ACEOF
26978 #define HAVE__FINITE 1
26979 _ACEOF
26982 done
26991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
26992 $as_echo_n "checking for sincos declaration... " >&6; }
26993 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
26994 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
26995 $as_echo_n "(cached) " >&6
26996 else
26999 ac_ext=cpp
27000 ac_cpp='$CXXCPP $CPPFLAGS'
27001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27006 /* end confdefs.h. */
27007 #include <math.h>
27009 main ()
27011 sincos(0, 0, 0);
27013 return 0;
27015 _ACEOF
27016 if ac_fn_cxx_try_compile "$LINENO"; then :
27017 glibcxx_cv_func_sincos_use=yes
27018 else
27019 glibcxx_cv_func_sincos_use=no
27021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27022 ac_ext=c
27023 ac_cpp='$CPP $CPPFLAGS'
27024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
27033 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
27035 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
27036 for ac_func in sincos
27037 do :
27038 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
27039 if test "x$ac_cv_func_sincos" = x""yes; then :
27040 cat >>confdefs.h <<_ACEOF
27041 #define HAVE_SINCOS 1
27042 _ACEOF
27045 done
27047 else
27049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
27050 $as_echo_n "checking for _sincos declaration... " >&6; }
27051 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
27052 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
27053 $as_echo_n "(cached) " >&6
27054 else
27057 ac_ext=cpp
27058 ac_cpp='$CXXCPP $CPPFLAGS'
27059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27064 /* end confdefs.h. */
27065 #include <math.h>
27067 main ()
27069 _sincos(0, 0, 0);
27071 return 0;
27073 _ACEOF
27074 if ac_fn_cxx_try_compile "$LINENO"; then :
27075 glibcxx_cv_func__sincos_use=yes
27076 else
27077 glibcxx_cv_func__sincos_use=no
27079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27080 ac_ext=c
27081 ac_cpp='$CPP $CPPFLAGS'
27082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
27091 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
27093 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
27094 for ac_func in _sincos
27095 do :
27096 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
27097 if test "x$ac_cv_func__sincos" = x""yes; then :
27098 cat >>confdefs.h <<_ACEOF
27099 #define HAVE__SINCOS 1
27100 _ACEOF
27103 done
27112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
27113 $as_echo_n "checking for fpclass declaration... " >&6; }
27114 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
27115 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
27116 $as_echo_n "(cached) " >&6
27117 else
27120 ac_ext=cpp
27121 ac_cpp='$CXXCPP $CPPFLAGS'
27122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27127 /* end confdefs.h. */
27128 #include <math.h>
27129 #ifdef HAVE_IEEEFP_H
27130 #include <ieeefp.h>
27131 #endif
27134 main ()
27136 fpclass(0);
27138 return 0;
27140 _ACEOF
27141 if ac_fn_cxx_try_compile "$LINENO"; then :
27142 glibcxx_cv_func_fpclass_use=yes
27143 else
27144 glibcxx_cv_func_fpclass_use=no
27146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27147 ac_ext=c
27148 ac_cpp='$CPP $CPPFLAGS'
27149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
27158 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
27160 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
27161 for ac_func in fpclass
27162 do :
27163 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
27164 if test "x$ac_cv_func_fpclass" = x""yes; then :
27165 cat >>confdefs.h <<_ACEOF
27166 #define HAVE_FPCLASS 1
27167 _ACEOF
27170 done
27172 else
27174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
27175 $as_echo_n "checking for _fpclass declaration... " >&6; }
27176 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
27177 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
27178 $as_echo_n "(cached) " >&6
27179 else
27182 ac_ext=cpp
27183 ac_cpp='$CXXCPP $CPPFLAGS'
27184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27189 /* end confdefs.h. */
27190 #include <math.h>
27191 #ifdef HAVE_IEEEFP_H
27192 #include <ieeefp.h>
27193 #endif
27196 main ()
27198 _fpclass(0);
27200 return 0;
27202 _ACEOF
27203 if ac_fn_cxx_try_compile "$LINENO"; then :
27204 glibcxx_cv_func__fpclass_use=yes
27205 else
27206 glibcxx_cv_func__fpclass_use=no
27208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27209 ac_ext=c
27210 ac_cpp='$CPP $CPPFLAGS'
27211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
27220 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
27222 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
27223 for ac_func in _fpclass
27224 do :
27225 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
27226 if test "x$ac_cv_func__fpclass" = x""yes; then :
27227 cat >>confdefs.h <<_ACEOF
27228 #define HAVE__FPCLASS 1
27229 _ACEOF
27232 done
27241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
27242 $as_echo_n "checking for qfpclass declaration... " >&6; }
27243 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
27244 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
27245 $as_echo_n "(cached) " >&6
27246 else
27249 ac_ext=cpp
27250 ac_cpp='$CXXCPP $CPPFLAGS'
27251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27256 /* end confdefs.h. */
27257 #include <math.h>
27258 #ifdef HAVE_IEEEFP_H
27259 #include <ieeefp.h>
27260 #endif
27263 main ()
27265 qfpclass(0);
27267 return 0;
27269 _ACEOF
27270 if ac_fn_cxx_try_compile "$LINENO"; then :
27271 glibcxx_cv_func_qfpclass_use=yes
27272 else
27273 glibcxx_cv_func_qfpclass_use=no
27275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27276 ac_ext=c
27277 ac_cpp='$CPP $CPPFLAGS'
27278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
27287 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
27289 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
27290 for ac_func in qfpclass
27291 do :
27292 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
27293 if test "x$ac_cv_func_qfpclass" = x""yes; then :
27294 cat >>confdefs.h <<_ACEOF
27295 #define HAVE_QFPCLASS 1
27296 _ACEOF
27299 done
27301 else
27303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
27304 $as_echo_n "checking for _qfpclass declaration... " >&6; }
27305 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
27306 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
27307 $as_echo_n "(cached) " >&6
27308 else
27311 ac_ext=cpp
27312 ac_cpp='$CXXCPP $CPPFLAGS'
27313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27318 /* end confdefs.h. */
27319 #include <math.h>
27320 #ifdef HAVE_IEEEFP_H
27321 #include <ieeefp.h>
27322 #endif
27325 main ()
27327 _qfpclass(0);
27329 return 0;
27331 _ACEOF
27332 if ac_fn_cxx_try_compile "$LINENO"; then :
27333 glibcxx_cv_func__qfpclass_use=yes
27334 else
27335 glibcxx_cv_func__qfpclass_use=no
27337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27338 ac_ext=c
27339 ac_cpp='$CPP $CPPFLAGS'
27340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
27349 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
27351 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
27352 for ac_func in _qfpclass
27353 do :
27354 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
27355 if test "x$ac_cv_func__qfpclass" = x""yes; then :
27356 cat >>confdefs.h <<_ACEOF
27357 #define HAVE__QFPCLASS 1
27358 _ACEOF
27361 done
27370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
27371 $as_echo_n "checking for hypot declaration... " >&6; }
27372 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
27373 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
27374 $as_echo_n "(cached) " >&6
27375 else
27378 ac_ext=cpp
27379 ac_cpp='$CXXCPP $CPPFLAGS'
27380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27385 /* end confdefs.h. */
27386 #include <math.h>
27388 main ()
27390 hypot(0, 0);
27392 return 0;
27394 _ACEOF
27395 if ac_fn_cxx_try_compile "$LINENO"; then :
27396 glibcxx_cv_func_hypot_use=yes
27397 else
27398 glibcxx_cv_func_hypot_use=no
27400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27401 ac_ext=c
27402 ac_cpp='$CPP $CPPFLAGS'
27403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
27412 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
27414 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
27415 for ac_func in hypot
27416 do :
27417 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
27418 if test "x$ac_cv_func_hypot" = x""yes; then :
27419 cat >>confdefs.h <<_ACEOF
27420 #define HAVE_HYPOT 1
27421 _ACEOF
27424 done
27426 else
27428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
27429 $as_echo_n "checking for _hypot declaration... " >&6; }
27430 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
27431 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
27432 $as_echo_n "(cached) " >&6
27433 else
27436 ac_ext=cpp
27437 ac_cpp='$CXXCPP $CPPFLAGS'
27438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27443 /* end confdefs.h. */
27444 #include <math.h>
27446 main ()
27448 _hypot(0, 0);
27450 return 0;
27452 _ACEOF
27453 if ac_fn_cxx_try_compile "$LINENO"; then :
27454 glibcxx_cv_func__hypot_use=yes
27455 else
27456 glibcxx_cv_func__hypot_use=no
27458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27459 ac_ext=c
27460 ac_cpp='$CPP $CPPFLAGS'
27461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
27470 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
27472 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
27473 for ac_func in _hypot
27474 do :
27475 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
27476 if test "x$ac_cv_func__hypot" = x""yes; then :
27477 cat >>confdefs.h <<_ACEOF
27478 #define HAVE__HYPOT 1
27479 _ACEOF
27482 done
27491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
27492 $as_echo_n "checking for float trig functions... " >&6; }
27493 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
27494 $as_echo_n "(cached) " >&6
27495 else
27498 ac_ext=cpp
27499 ac_cpp='$CXXCPP $CPPFLAGS'
27500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27505 /* end confdefs.h. */
27506 #include <math.h>
27508 main ()
27510 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
27512 return 0;
27514 _ACEOF
27515 if ac_fn_cxx_try_compile "$LINENO"; then :
27516 glibcxx_cv_func_float_trig_use=yes
27517 else
27518 glibcxx_cv_func_float_trig_use=no
27520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27521 ac_ext=c
27522 ac_cpp='$CPP $CPPFLAGS'
27523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
27530 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
27531 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
27532 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
27533 do :
27534 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27535 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27536 eval as_val=\$$as_ac_var
27537 if test "x$as_val" = x""yes; then :
27538 cat >>confdefs.h <<_ACEOF
27539 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27540 _ACEOF
27543 done
27545 else
27546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
27547 $as_echo_n "checking for _float trig functions... " >&6; }
27548 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
27549 $as_echo_n "(cached) " >&6
27550 else
27553 ac_ext=cpp
27554 ac_cpp='$CXXCPP $CPPFLAGS'
27555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27560 /* end confdefs.h. */
27561 #include <math.h>
27563 main ()
27565 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
27567 return 0;
27569 _ACEOF
27570 if ac_fn_cxx_try_compile "$LINENO"; then :
27571 glibcxx_cv_func__float_trig_use=yes
27572 else
27573 glibcxx_cv_func__float_trig_use=no
27575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27576 ac_ext=c
27577 ac_cpp='$CPP $CPPFLAGS'
27578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
27585 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
27586 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
27587 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
27588 do :
27589 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27590 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27591 eval as_val=\$$as_ac_var
27592 if test "x$as_val" = x""yes; then :
27593 cat >>confdefs.h <<_ACEOF
27594 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27595 _ACEOF
27598 done
27607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
27608 $as_echo_n "checking for float round functions... " >&6; }
27609 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
27610 $as_echo_n "(cached) " >&6
27611 else
27614 ac_ext=cpp
27615 ac_cpp='$CXXCPP $CPPFLAGS'
27616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27621 /* end confdefs.h. */
27622 #include <math.h>
27624 main ()
27626 ceilf (0); floorf (0);
27628 return 0;
27630 _ACEOF
27631 if ac_fn_cxx_try_compile "$LINENO"; then :
27632 glibcxx_cv_func_float_round_use=yes
27633 else
27634 glibcxx_cv_func_float_round_use=no
27636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27637 ac_ext=c
27638 ac_cpp='$CPP $CPPFLAGS'
27639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
27646 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
27647 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
27648 for ac_func in ceilf floorf
27649 do :
27650 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27651 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27652 eval as_val=\$$as_ac_var
27653 if test "x$as_val" = x""yes; then :
27654 cat >>confdefs.h <<_ACEOF
27655 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27656 _ACEOF
27659 done
27661 else
27662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
27663 $as_echo_n "checking for _float round functions... " >&6; }
27664 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
27665 $as_echo_n "(cached) " >&6
27666 else
27669 ac_ext=cpp
27670 ac_cpp='$CXXCPP $CPPFLAGS'
27671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27676 /* end confdefs.h. */
27677 #include <math.h>
27679 main ()
27681 _ceilf (0); _floorf (0);
27683 return 0;
27685 _ACEOF
27686 if ac_fn_cxx_try_compile "$LINENO"; then :
27687 glibcxx_cv_func__float_round_use=yes
27688 else
27689 glibcxx_cv_func__float_round_use=no
27691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27692 ac_ext=c
27693 ac_cpp='$CPP $CPPFLAGS'
27694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
27701 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
27702 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
27703 for ac_func in _ceilf _floorf
27704 do :
27705 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27706 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27707 eval as_val=\$$as_ac_var
27708 if test "x$as_val" = x""yes; then :
27709 cat >>confdefs.h <<_ACEOF
27710 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27711 _ACEOF
27714 done
27724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
27725 $as_echo_n "checking for expf declaration... " >&6; }
27726 if test x${glibcxx_cv_func_expf_use+set} != xset; then
27727 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
27728 $as_echo_n "(cached) " >&6
27729 else
27732 ac_ext=cpp
27733 ac_cpp='$CXXCPP $CPPFLAGS'
27734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27739 /* end confdefs.h. */
27740 #include <math.h>
27741 #ifdef HAVE_IEEEFP_H
27742 #include <ieeefp.h>
27743 #endif
27746 main ()
27748 expf(0);
27750 return 0;
27752 _ACEOF
27753 if ac_fn_cxx_try_compile "$LINENO"; then :
27754 glibcxx_cv_func_expf_use=yes
27755 else
27756 glibcxx_cv_func_expf_use=no
27758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27759 ac_ext=c
27760 ac_cpp='$CPP $CPPFLAGS'
27761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
27770 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
27772 if test x$glibcxx_cv_func_expf_use = x"yes"; then
27773 for ac_func in expf
27774 do :
27775 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
27776 if test "x$ac_cv_func_expf" = x""yes; then :
27777 cat >>confdefs.h <<_ACEOF
27778 #define HAVE_EXPF 1
27779 _ACEOF
27782 done
27784 else
27786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
27787 $as_echo_n "checking for _expf declaration... " >&6; }
27788 if test x${glibcxx_cv_func__expf_use+set} != xset; then
27789 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
27790 $as_echo_n "(cached) " >&6
27791 else
27794 ac_ext=cpp
27795 ac_cpp='$CXXCPP $CPPFLAGS'
27796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27801 /* end confdefs.h. */
27802 #include <math.h>
27803 #ifdef HAVE_IEEEFP_H
27804 #include <ieeefp.h>
27805 #endif
27808 main ()
27810 _expf(0);
27812 return 0;
27814 _ACEOF
27815 if ac_fn_cxx_try_compile "$LINENO"; then :
27816 glibcxx_cv_func__expf_use=yes
27817 else
27818 glibcxx_cv_func__expf_use=no
27820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27821 ac_ext=c
27822 ac_cpp='$CPP $CPPFLAGS'
27823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
27832 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
27834 if test x$glibcxx_cv_func__expf_use = x"yes"; then
27835 for ac_func in _expf
27836 do :
27837 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
27838 if test "x$ac_cv_func__expf" = x""yes; then :
27839 cat >>confdefs.h <<_ACEOF
27840 #define HAVE__EXPF 1
27841 _ACEOF
27844 done
27853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
27854 $as_echo_n "checking for isnanf declaration... " >&6; }
27855 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
27856 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
27857 $as_echo_n "(cached) " >&6
27858 else
27861 ac_ext=cpp
27862 ac_cpp='$CXXCPP $CPPFLAGS'
27863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27868 /* end confdefs.h. */
27869 #include <math.h>
27870 #ifdef HAVE_IEEEFP_H
27871 #include <ieeefp.h>
27872 #endif
27875 main ()
27877 isnanf(0);
27879 return 0;
27881 _ACEOF
27882 if ac_fn_cxx_try_compile "$LINENO"; then :
27883 glibcxx_cv_func_isnanf_use=yes
27884 else
27885 glibcxx_cv_func_isnanf_use=no
27887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27888 ac_ext=c
27889 ac_cpp='$CPP $CPPFLAGS'
27890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
27899 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
27901 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
27902 for ac_func in isnanf
27903 do :
27904 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
27905 if test "x$ac_cv_func_isnanf" = x""yes; then :
27906 cat >>confdefs.h <<_ACEOF
27907 #define HAVE_ISNANF 1
27908 _ACEOF
27911 done
27913 else
27915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
27916 $as_echo_n "checking for _isnanf declaration... " >&6; }
27917 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
27918 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
27919 $as_echo_n "(cached) " >&6
27920 else
27923 ac_ext=cpp
27924 ac_cpp='$CXXCPP $CPPFLAGS'
27925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27930 /* end confdefs.h. */
27931 #include <math.h>
27932 #ifdef HAVE_IEEEFP_H
27933 #include <ieeefp.h>
27934 #endif
27937 main ()
27939 _isnanf(0);
27941 return 0;
27943 _ACEOF
27944 if ac_fn_cxx_try_compile "$LINENO"; then :
27945 glibcxx_cv_func__isnanf_use=yes
27946 else
27947 glibcxx_cv_func__isnanf_use=no
27949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27950 ac_ext=c
27951 ac_cpp='$CPP $CPPFLAGS'
27952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
27961 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
27963 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
27964 for ac_func in _isnanf
27965 do :
27966 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
27967 if test "x$ac_cv_func__isnanf" = x""yes; then :
27968 cat >>confdefs.h <<_ACEOF
27969 #define HAVE__ISNANF 1
27970 _ACEOF
27973 done
27982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
27983 $as_echo_n "checking for isinff declaration... " >&6; }
27984 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
27985 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
27986 $as_echo_n "(cached) " >&6
27987 else
27990 ac_ext=cpp
27991 ac_cpp='$CXXCPP $CPPFLAGS'
27992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27997 /* end confdefs.h. */
27998 #include <math.h>
27999 #ifdef HAVE_IEEEFP_H
28000 #include <ieeefp.h>
28001 #endif
28004 main ()
28006 isinff(0);
28008 return 0;
28010 _ACEOF
28011 if ac_fn_cxx_try_compile "$LINENO"; then :
28012 glibcxx_cv_func_isinff_use=yes
28013 else
28014 glibcxx_cv_func_isinff_use=no
28016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28017 ac_ext=c
28018 ac_cpp='$CPP $CPPFLAGS'
28019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
28028 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
28030 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
28031 for ac_func in isinff
28032 do :
28033 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
28034 if test "x$ac_cv_func_isinff" = x""yes; then :
28035 cat >>confdefs.h <<_ACEOF
28036 #define HAVE_ISINFF 1
28037 _ACEOF
28040 done
28042 else
28044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
28045 $as_echo_n "checking for _isinff declaration... " >&6; }
28046 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
28047 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
28048 $as_echo_n "(cached) " >&6
28049 else
28052 ac_ext=cpp
28053 ac_cpp='$CXXCPP $CPPFLAGS'
28054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28059 /* end confdefs.h. */
28060 #include <math.h>
28061 #ifdef HAVE_IEEEFP_H
28062 #include <ieeefp.h>
28063 #endif
28066 main ()
28068 _isinff(0);
28070 return 0;
28072 _ACEOF
28073 if ac_fn_cxx_try_compile "$LINENO"; then :
28074 glibcxx_cv_func__isinff_use=yes
28075 else
28076 glibcxx_cv_func__isinff_use=no
28078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28079 ac_ext=c
28080 ac_cpp='$CPP $CPPFLAGS'
28081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
28090 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
28092 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
28093 for ac_func in _isinff
28094 do :
28095 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
28096 if test "x$ac_cv_func__isinff" = x""yes; then :
28097 cat >>confdefs.h <<_ACEOF
28098 #define HAVE__ISINFF 1
28099 _ACEOF
28102 done
28111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
28112 $as_echo_n "checking for atan2f declaration... " >&6; }
28113 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
28114 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
28115 $as_echo_n "(cached) " >&6
28116 else
28119 ac_ext=cpp
28120 ac_cpp='$CXXCPP $CPPFLAGS'
28121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28126 /* end confdefs.h. */
28127 #include <math.h>
28129 main ()
28131 atan2f(0, 0);
28133 return 0;
28135 _ACEOF
28136 if ac_fn_cxx_try_compile "$LINENO"; then :
28137 glibcxx_cv_func_atan2f_use=yes
28138 else
28139 glibcxx_cv_func_atan2f_use=no
28141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28142 ac_ext=c
28143 ac_cpp='$CPP $CPPFLAGS'
28144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
28153 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
28155 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
28156 for ac_func in atan2f
28157 do :
28158 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
28159 if test "x$ac_cv_func_atan2f" = x""yes; then :
28160 cat >>confdefs.h <<_ACEOF
28161 #define HAVE_ATAN2F 1
28162 _ACEOF
28165 done
28167 else
28169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
28170 $as_echo_n "checking for _atan2f declaration... " >&6; }
28171 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
28172 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
28173 $as_echo_n "(cached) " >&6
28174 else
28177 ac_ext=cpp
28178 ac_cpp='$CXXCPP $CPPFLAGS'
28179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28184 /* end confdefs.h. */
28185 #include <math.h>
28187 main ()
28189 _atan2f(0, 0);
28191 return 0;
28193 _ACEOF
28194 if ac_fn_cxx_try_compile "$LINENO"; then :
28195 glibcxx_cv_func__atan2f_use=yes
28196 else
28197 glibcxx_cv_func__atan2f_use=no
28199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28200 ac_ext=c
28201 ac_cpp='$CPP $CPPFLAGS'
28202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
28211 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
28213 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
28214 for ac_func in _atan2f
28215 do :
28216 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
28217 if test "x$ac_cv_func__atan2f" = x""yes; then :
28218 cat >>confdefs.h <<_ACEOF
28219 #define HAVE__ATAN2F 1
28220 _ACEOF
28223 done
28232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
28233 $as_echo_n "checking for fabsf declaration... " >&6; }
28234 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
28235 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
28236 $as_echo_n "(cached) " >&6
28237 else
28240 ac_ext=cpp
28241 ac_cpp='$CXXCPP $CPPFLAGS'
28242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28247 /* end confdefs.h. */
28248 #include <math.h>
28249 #ifdef HAVE_IEEEFP_H
28250 #include <ieeefp.h>
28251 #endif
28254 main ()
28256 fabsf(0);
28258 return 0;
28260 _ACEOF
28261 if ac_fn_cxx_try_compile "$LINENO"; then :
28262 glibcxx_cv_func_fabsf_use=yes
28263 else
28264 glibcxx_cv_func_fabsf_use=no
28266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28267 ac_ext=c
28268 ac_cpp='$CPP $CPPFLAGS'
28269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
28278 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
28280 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
28281 for ac_func in fabsf
28282 do :
28283 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
28284 if test "x$ac_cv_func_fabsf" = x""yes; then :
28285 cat >>confdefs.h <<_ACEOF
28286 #define HAVE_FABSF 1
28287 _ACEOF
28290 done
28292 else
28294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
28295 $as_echo_n "checking for _fabsf declaration... " >&6; }
28296 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
28297 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
28298 $as_echo_n "(cached) " >&6
28299 else
28302 ac_ext=cpp
28303 ac_cpp='$CXXCPP $CPPFLAGS'
28304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28309 /* end confdefs.h. */
28310 #include <math.h>
28311 #ifdef HAVE_IEEEFP_H
28312 #include <ieeefp.h>
28313 #endif
28316 main ()
28318 _fabsf(0);
28320 return 0;
28322 _ACEOF
28323 if ac_fn_cxx_try_compile "$LINENO"; then :
28324 glibcxx_cv_func__fabsf_use=yes
28325 else
28326 glibcxx_cv_func__fabsf_use=no
28328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28329 ac_ext=c
28330 ac_cpp='$CPP $CPPFLAGS'
28331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
28340 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
28342 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
28343 for ac_func in _fabsf
28344 do :
28345 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
28346 if test "x$ac_cv_func__fabsf" = x""yes; then :
28347 cat >>confdefs.h <<_ACEOF
28348 #define HAVE__FABSF 1
28349 _ACEOF
28352 done
28361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
28362 $as_echo_n "checking for fmodf declaration... " >&6; }
28363 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
28364 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
28365 $as_echo_n "(cached) " >&6
28366 else
28369 ac_ext=cpp
28370 ac_cpp='$CXXCPP $CPPFLAGS'
28371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28376 /* end confdefs.h. */
28377 #include <math.h>
28379 main ()
28381 fmodf(0, 0);
28383 return 0;
28385 _ACEOF
28386 if ac_fn_cxx_try_compile "$LINENO"; then :
28387 glibcxx_cv_func_fmodf_use=yes
28388 else
28389 glibcxx_cv_func_fmodf_use=no
28391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28392 ac_ext=c
28393 ac_cpp='$CPP $CPPFLAGS'
28394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
28403 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
28405 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
28406 for ac_func in fmodf
28407 do :
28408 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
28409 if test "x$ac_cv_func_fmodf" = x""yes; then :
28410 cat >>confdefs.h <<_ACEOF
28411 #define HAVE_FMODF 1
28412 _ACEOF
28415 done
28417 else
28419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
28420 $as_echo_n "checking for _fmodf declaration... " >&6; }
28421 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
28422 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
28423 $as_echo_n "(cached) " >&6
28424 else
28427 ac_ext=cpp
28428 ac_cpp='$CXXCPP $CPPFLAGS'
28429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28434 /* end confdefs.h. */
28435 #include <math.h>
28437 main ()
28439 _fmodf(0, 0);
28441 return 0;
28443 _ACEOF
28444 if ac_fn_cxx_try_compile "$LINENO"; then :
28445 glibcxx_cv_func__fmodf_use=yes
28446 else
28447 glibcxx_cv_func__fmodf_use=no
28449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28450 ac_ext=c
28451 ac_cpp='$CPP $CPPFLAGS'
28452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
28461 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
28463 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
28464 for ac_func in _fmodf
28465 do :
28466 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
28467 if test "x$ac_cv_func__fmodf" = x""yes; then :
28468 cat >>confdefs.h <<_ACEOF
28469 #define HAVE__FMODF 1
28470 _ACEOF
28473 done
28482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
28483 $as_echo_n "checking for frexpf declaration... " >&6; }
28484 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
28485 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
28486 $as_echo_n "(cached) " >&6
28487 else
28490 ac_ext=cpp
28491 ac_cpp='$CXXCPP $CPPFLAGS'
28492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28497 /* end confdefs.h. */
28498 #include <math.h>
28500 main ()
28502 frexpf(0, 0);
28504 return 0;
28506 _ACEOF
28507 if ac_fn_cxx_try_compile "$LINENO"; then :
28508 glibcxx_cv_func_frexpf_use=yes
28509 else
28510 glibcxx_cv_func_frexpf_use=no
28512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28513 ac_ext=c
28514 ac_cpp='$CPP $CPPFLAGS'
28515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
28524 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
28526 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
28527 for ac_func in frexpf
28528 do :
28529 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
28530 if test "x$ac_cv_func_frexpf" = x""yes; then :
28531 cat >>confdefs.h <<_ACEOF
28532 #define HAVE_FREXPF 1
28533 _ACEOF
28536 done
28538 else
28540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
28541 $as_echo_n "checking for _frexpf declaration... " >&6; }
28542 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
28543 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
28544 $as_echo_n "(cached) " >&6
28545 else
28548 ac_ext=cpp
28549 ac_cpp='$CXXCPP $CPPFLAGS'
28550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28555 /* end confdefs.h. */
28556 #include <math.h>
28558 main ()
28560 _frexpf(0, 0);
28562 return 0;
28564 _ACEOF
28565 if ac_fn_cxx_try_compile "$LINENO"; then :
28566 glibcxx_cv_func__frexpf_use=yes
28567 else
28568 glibcxx_cv_func__frexpf_use=no
28570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28571 ac_ext=c
28572 ac_cpp='$CPP $CPPFLAGS'
28573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
28582 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
28584 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
28585 for ac_func in _frexpf
28586 do :
28587 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
28588 if test "x$ac_cv_func__frexpf" = x""yes; then :
28589 cat >>confdefs.h <<_ACEOF
28590 #define HAVE__FREXPF 1
28591 _ACEOF
28594 done
28603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
28604 $as_echo_n "checking for hypotf declaration... " >&6; }
28605 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
28606 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
28607 $as_echo_n "(cached) " >&6
28608 else
28611 ac_ext=cpp
28612 ac_cpp='$CXXCPP $CPPFLAGS'
28613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28618 /* end confdefs.h. */
28619 #include <math.h>
28621 main ()
28623 hypotf(0, 0);
28625 return 0;
28627 _ACEOF
28628 if ac_fn_cxx_try_compile "$LINENO"; then :
28629 glibcxx_cv_func_hypotf_use=yes
28630 else
28631 glibcxx_cv_func_hypotf_use=no
28633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28634 ac_ext=c
28635 ac_cpp='$CPP $CPPFLAGS'
28636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
28645 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
28647 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
28648 for ac_func in hypotf
28649 do :
28650 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
28651 if test "x$ac_cv_func_hypotf" = x""yes; then :
28652 cat >>confdefs.h <<_ACEOF
28653 #define HAVE_HYPOTF 1
28654 _ACEOF
28657 done
28659 else
28661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
28662 $as_echo_n "checking for _hypotf declaration... " >&6; }
28663 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
28664 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
28665 $as_echo_n "(cached) " >&6
28666 else
28669 ac_ext=cpp
28670 ac_cpp='$CXXCPP $CPPFLAGS'
28671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28676 /* end confdefs.h. */
28677 #include <math.h>
28679 main ()
28681 _hypotf(0, 0);
28683 return 0;
28685 _ACEOF
28686 if ac_fn_cxx_try_compile "$LINENO"; then :
28687 glibcxx_cv_func__hypotf_use=yes
28688 else
28689 glibcxx_cv_func__hypotf_use=no
28691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28692 ac_ext=c
28693 ac_cpp='$CPP $CPPFLAGS'
28694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
28703 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
28705 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
28706 for ac_func in _hypotf
28707 do :
28708 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
28709 if test "x$ac_cv_func__hypotf" = x""yes; then :
28710 cat >>confdefs.h <<_ACEOF
28711 #define HAVE__HYPOTF 1
28712 _ACEOF
28715 done
28724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
28725 $as_echo_n "checking for ldexpf declaration... " >&6; }
28726 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
28727 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
28728 $as_echo_n "(cached) " >&6
28729 else
28732 ac_ext=cpp
28733 ac_cpp='$CXXCPP $CPPFLAGS'
28734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28739 /* end confdefs.h. */
28740 #include <math.h>
28742 main ()
28744 ldexpf(0, 0);
28746 return 0;
28748 _ACEOF
28749 if ac_fn_cxx_try_compile "$LINENO"; then :
28750 glibcxx_cv_func_ldexpf_use=yes
28751 else
28752 glibcxx_cv_func_ldexpf_use=no
28754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28755 ac_ext=c
28756 ac_cpp='$CPP $CPPFLAGS'
28757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
28766 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
28768 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
28769 for ac_func in ldexpf
28770 do :
28771 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
28772 if test "x$ac_cv_func_ldexpf" = x""yes; then :
28773 cat >>confdefs.h <<_ACEOF
28774 #define HAVE_LDEXPF 1
28775 _ACEOF
28778 done
28780 else
28782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
28783 $as_echo_n "checking for _ldexpf declaration... " >&6; }
28784 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
28785 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
28786 $as_echo_n "(cached) " >&6
28787 else
28790 ac_ext=cpp
28791 ac_cpp='$CXXCPP $CPPFLAGS'
28792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28797 /* end confdefs.h. */
28798 #include <math.h>
28800 main ()
28802 _ldexpf(0, 0);
28804 return 0;
28806 _ACEOF
28807 if ac_fn_cxx_try_compile "$LINENO"; then :
28808 glibcxx_cv_func__ldexpf_use=yes
28809 else
28810 glibcxx_cv_func__ldexpf_use=no
28812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28813 ac_ext=c
28814 ac_cpp='$CPP $CPPFLAGS'
28815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
28824 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
28826 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
28827 for ac_func in _ldexpf
28828 do :
28829 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
28830 if test "x$ac_cv_func__ldexpf" = x""yes; then :
28831 cat >>confdefs.h <<_ACEOF
28832 #define HAVE__LDEXPF 1
28833 _ACEOF
28836 done
28845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
28846 $as_echo_n "checking for logf declaration... " >&6; }
28847 if test x${glibcxx_cv_func_logf_use+set} != xset; then
28848 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
28849 $as_echo_n "(cached) " >&6
28850 else
28853 ac_ext=cpp
28854 ac_cpp='$CXXCPP $CPPFLAGS'
28855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28860 /* end confdefs.h. */
28861 #include <math.h>
28862 #ifdef HAVE_IEEEFP_H
28863 #include <ieeefp.h>
28864 #endif
28867 main ()
28869 logf(0);
28871 return 0;
28873 _ACEOF
28874 if ac_fn_cxx_try_compile "$LINENO"; then :
28875 glibcxx_cv_func_logf_use=yes
28876 else
28877 glibcxx_cv_func_logf_use=no
28879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28880 ac_ext=c
28881 ac_cpp='$CPP $CPPFLAGS'
28882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
28891 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
28893 if test x$glibcxx_cv_func_logf_use = x"yes"; then
28894 for ac_func in logf
28895 do :
28896 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
28897 if test "x$ac_cv_func_logf" = x""yes; then :
28898 cat >>confdefs.h <<_ACEOF
28899 #define HAVE_LOGF 1
28900 _ACEOF
28903 done
28905 else
28907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
28908 $as_echo_n "checking for _logf declaration... " >&6; }
28909 if test x${glibcxx_cv_func__logf_use+set} != xset; then
28910 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
28911 $as_echo_n "(cached) " >&6
28912 else
28915 ac_ext=cpp
28916 ac_cpp='$CXXCPP $CPPFLAGS'
28917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28922 /* end confdefs.h. */
28923 #include <math.h>
28924 #ifdef HAVE_IEEEFP_H
28925 #include <ieeefp.h>
28926 #endif
28929 main ()
28931 _logf(0);
28933 return 0;
28935 _ACEOF
28936 if ac_fn_cxx_try_compile "$LINENO"; then :
28937 glibcxx_cv_func__logf_use=yes
28938 else
28939 glibcxx_cv_func__logf_use=no
28941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28942 ac_ext=c
28943 ac_cpp='$CPP $CPPFLAGS'
28944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
28953 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
28955 if test x$glibcxx_cv_func__logf_use = x"yes"; then
28956 for ac_func in _logf
28957 do :
28958 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
28959 if test "x$ac_cv_func__logf" = x""yes; then :
28960 cat >>confdefs.h <<_ACEOF
28961 #define HAVE__LOGF 1
28962 _ACEOF
28965 done
28974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
28975 $as_echo_n "checking for log10f declaration... " >&6; }
28976 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
28977 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
28978 $as_echo_n "(cached) " >&6
28979 else
28982 ac_ext=cpp
28983 ac_cpp='$CXXCPP $CPPFLAGS'
28984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28989 /* end confdefs.h. */
28990 #include <math.h>
28991 #ifdef HAVE_IEEEFP_H
28992 #include <ieeefp.h>
28993 #endif
28996 main ()
28998 log10f(0);
29000 return 0;
29002 _ACEOF
29003 if ac_fn_cxx_try_compile "$LINENO"; then :
29004 glibcxx_cv_func_log10f_use=yes
29005 else
29006 glibcxx_cv_func_log10f_use=no
29008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29009 ac_ext=c
29010 ac_cpp='$CPP $CPPFLAGS'
29011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
29020 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
29022 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
29023 for ac_func in log10f
29024 do :
29025 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
29026 if test "x$ac_cv_func_log10f" = x""yes; then :
29027 cat >>confdefs.h <<_ACEOF
29028 #define HAVE_LOG10F 1
29029 _ACEOF
29032 done
29034 else
29036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
29037 $as_echo_n "checking for _log10f declaration... " >&6; }
29038 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
29039 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
29040 $as_echo_n "(cached) " >&6
29041 else
29044 ac_ext=cpp
29045 ac_cpp='$CXXCPP $CPPFLAGS'
29046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29051 /* end confdefs.h. */
29052 #include <math.h>
29053 #ifdef HAVE_IEEEFP_H
29054 #include <ieeefp.h>
29055 #endif
29058 main ()
29060 _log10f(0);
29062 return 0;
29064 _ACEOF
29065 if ac_fn_cxx_try_compile "$LINENO"; then :
29066 glibcxx_cv_func__log10f_use=yes
29067 else
29068 glibcxx_cv_func__log10f_use=no
29070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29071 ac_ext=c
29072 ac_cpp='$CPP $CPPFLAGS'
29073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
29082 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
29084 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
29085 for ac_func in _log10f
29086 do :
29087 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
29088 if test "x$ac_cv_func__log10f" = x""yes; then :
29089 cat >>confdefs.h <<_ACEOF
29090 #define HAVE__LOG10F 1
29091 _ACEOF
29094 done
29103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
29104 $as_echo_n "checking for modff declaration... " >&6; }
29105 if test x${glibcxx_cv_func_modff_use+set} != xset; then
29106 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
29107 $as_echo_n "(cached) " >&6
29108 else
29111 ac_ext=cpp
29112 ac_cpp='$CXXCPP $CPPFLAGS'
29113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29118 /* end confdefs.h. */
29119 #include <math.h>
29121 main ()
29123 modff(0, 0);
29125 return 0;
29127 _ACEOF
29128 if ac_fn_cxx_try_compile "$LINENO"; then :
29129 glibcxx_cv_func_modff_use=yes
29130 else
29131 glibcxx_cv_func_modff_use=no
29133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29134 ac_ext=c
29135 ac_cpp='$CPP $CPPFLAGS'
29136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
29145 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
29147 if test x$glibcxx_cv_func_modff_use = x"yes"; then
29148 for ac_func in modff
29149 do :
29150 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
29151 if test "x$ac_cv_func_modff" = x""yes; then :
29152 cat >>confdefs.h <<_ACEOF
29153 #define HAVE_MODFF 1
29154 _ACEOF
29157 done
29159 else
29161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
29162 $as_echo_n "checking for _modff declaration... " >&6; }
29163 if test x${glibcxx_cv_func__modff_use+set} != xset; then
29164 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
29165 $as_echo_n "(cached) " >&6
29166 else
29169 ac_ext=cpp
29170 ac_cpp='$CXXCPP $CPPFLAGS'
29171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29176 /* end confdefs.h. */
29177 #include <math.h>
29179 main ()
29181 _modff(0, 0);
29183 return 0;
29185 _ACEOF
29186 if ac_fn_cxx_try_compile "$LINENO"; then :
29187 glibcxx_cv_func__modff_use=yes
29188 else
29189 glibcxx_cv_func__modff_use=no
29191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29192 ac_ext=c
29193 ac_cpp='$CPP $CPPFLAGS'
29194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
29203 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
29205 if test x$glibcxx_cv_func__modff_use = x"yes"; then
29206 for ac_func in _modff
29207 do :
29208 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
29209 if test "x$ac_cv_func__modff" = x""yes; then :
29210 cat >>confdefs.h <<_ACEOF
29211 #define HAVE__MODFF 1
29212 _ACEOF
29215 done
29224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
29225 $as_echo_n "checking for modf declaration... " >&6; }
29226 if test x${glibcxx_cv_func_modf_use+set} != xset; then
29227 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
29228 $as_echo_n "(cached) " >&6
29229 else
29232 ac_ext=cpp
29233 ac_cpp='$CXXCPP $CPPFLAGS'
29234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29239 /* end confdefs.h. */
29240 #include <math.h>
29242 main ()
29244 modf(0, 0);
29246 return 0;
29248 _ACEOF
29249 if ac_fn_cxx_try_compile "$LINENO"; then :
29250 glibcxx_cv_func_modf_use=yes
29251 else
29252 glibcxx_cv_func_modf_use=no
29254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29255 ac_ext=c
29256 ac_cpp='$CPP $CPPFLAGS'
29257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
29266 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
29268 if test x$glibcxx_cv_func_modf_use = x"yes"; then
29269 for ac_func in modf
29270 do :
29271 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
29272 if test "x$ac_cv_func_modf" = x""yes; then :
29273 cat >>confdefs.h <<_ACEOF
29274 #define HAVE_MODF 1
29275 _ACEOF
29278 done
29280 else
29282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
29283 $as_echo_n "checking for _modf declaration... " >&6; }
29284 if test x${glibcxx_cv_func__modf_use+set} != xset; then
29285 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
29286 $as_echo_n "(cached) " >&6
29287 else
29290 ac_ext=cpp
29291 ac_cpp='$CXXCPP $CPPFLAGS'
29292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29297 /* end confdefs.h. */
29298 #include <math.h>
29300 main ()
29302 _modf(0, 0);
29304 return 0;
29306 _ACEOF
29307 if ac_fn_cxx_try_compile "$LINENO"; then :
29308 glibcxx_cv_func__modf_use=yes
29309 else
29310 glibcxx_cv_func__modf_use=no
29312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29313 ac_ext=c
29314 ac_cpp='$CPP $CPPFLAGS'
29315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
29324 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
29326 if test x$glibcxx_cv_func__modf_use = x"yes"; then
29327 for ac_func in _modf
29328 do :
29329 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
29330 if test "x$ac_cv_func__modf" = x""yes; then :
29331 cat >>confdefs.h <<_ACEOF
29332 #define HAVE__MODF 1
29333 _ACEOF
29336 done
29345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
29346 $as_echo_n "checking for powf declaration... " >&6; }
29347 if test x${glibcxx_cv_func_powf_use+set} != xset; then
29348 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
29349 $as_echo_n "(cached) " >&6
29350 else
29353 ac_ext=cpp
29354 ac_cpp='$CXXCPP $CPPFLAGS'
29355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29360 /* end confdefs.h. */
29361 #include <math.h>
29363 main ()
29365 powf(0, 0);
29367 return 0;
29369 _ACEOF
29370 if ac_fn_cxx_try_compile "$LINENO"; then :
29371 glibcxx_cv_func_powf_use=yes
29372 else
29373 glibcxx_cv_func_powf_use=no
29375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29376 ac_ext=c
29377 ac_cpp='$CPP $CPPFLAGS'
29378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
29387 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
29389 if test x$glibcxx_cv_func_powf_use = x"yes"; then
29390 for ac_func in powf
29391 do :
29392 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
29393 if test "x$ac_cv_func_powf" = x""yes; then :
29394 cat >>confdefs.h <<_ACEOF
29395 #define HAVE_POWF 1
29396 _ACEOF
29399 done
29401 else
29403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
29404 $as_echo_n "checking for _powf declaration... " >&6; }
29405 if test x${glibcxx_cv_func__powf_use+set} != xset; then
29406 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
29407 $as_echo_n "(cached) " >&6
29408 else
29411 ac_ext=cpp
29412 ac_cpp='$CXXCPP $CPPFLAGS'
29413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29418 /* end confdefs.h. */
29419 #include <math.h>
29421 main ()
29423 _powf(0, 0);
29425 return 0;
29427 _ACEOF
29428 if ac_fn_cxx_try_compile "$LINENO"; then :
29429 glibcxx_cv_func__powf_use=yes
29430 else
29431 glibcxx_cv_func__powf_use=no
29433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29434 ac_ext=c
29435 ac_cpp='$CPP $CPPFLAGS'
29436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
29445 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
29447 if test x$glibcxx_cv_func__powf_use = x"yes"; then
29448 for ac_func in _powf
29449 do :
29450 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
29451 if test "x$ac_cv_func__powf" = x""yes; then :
29452 cat >>confdefs.h <<_ACEOF
29453 #define HAVE__POWF 1
29454 _ACEOF
29457 done
29466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
29467 $as_echo_n "checking for sqrtf declaration... " >&6; }
29468 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
29469 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
29470 $as_echo_n "(cached) " >&6
29471 else
29474 ac_ext=cpp
29475 ac_cpp='$CXXCPP $CPPFLAGS'
29476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29481 /* end confdefs.h. */
29482 #include <math.h>
29483 #ifdef HAVE_IEEEFP_H
29484 #include <ieeefp.h>
29485 #endif
29488 main ()
29490 sqrtf(0);
29492 return 0;
29494 _ACEOF
29495 if ac_fn_cxx_try_compile "$LINENO"; then :
29496 glibcxx_cv_func_sqrtf_use=yes
29497 else
29498 glibcxx_cv_func_sqrtf_use=no
29500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29501 ac_ext=c
29502 ac_cpp='$CPP $CPPFLAGS'
29503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
29512 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
29514 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
29515 for ac_func in sqrtf
29516 do :
29517 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
29518 if test "x$ac_cv_func_sqrtf" = x""yes; then :
29519 cat >>confdefs.h <<_ACEOF
29520 #define HAVE_SQRTF 1
29521 _ACEOF
29524 done
29526 else
29528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
29529 $as_echo_n "checking for _sqrtf declaration... " >&6; }
29530 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
29531 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
29532 $as_echo_n "(cached) " >&6
29533 else
29536 ac_ext=cpp
29537 ac_cpp='$CXXCPP $CPPFLAGS'
29538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29543 /* end confdefs.h. */
29544 #include <math.h>
29545 #ifdef HAVE_IEEEFP_H
29546 #include <ieeefp.h>
29547 #endif
29550 main ()
29552 _sqrtf(0);
29554 return 0;
29556 _ACEOF
29557 if ac_fn_cxx_try_compile "$LINENO"; then :
29558 glibcxx_cv_func__sqrtf_use=yes
29559 else
29560 glibcxx_cv_func__sqrtf_use=no
29562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29563 ac_ext=c
29564 ac_cpp='$CPP $CPPFLAGS'
29565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
29574 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
29576 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
29577 for ac_func in _sqrtf
29578 do :
29579 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
29580 if test "x$ac_cv_func__sqrtf" = x""yes; then :
29581 cat >>confdefs.h <<_ACEOF
29582 #define HAVE__SQRTF 1
29583 _ACEOF
29586 done
29595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
29596 $as_echo_n "checking for sincosf declaration... " >&6; }
29597 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
29598 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
29599 $as_echo_n "(cached) " >&6
29600 else
29603 ac_ext=cpp
29604 ac_cpp='$CXXCPP $CPPFLAGS'
29605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29610 /* end confdefs.h. */
29611 #include <math.h>
29613 main ()
29615 sincosf(0, 0, 0);
29617 return 0;
29619 _ACEOF
29620 if ac_fn_cxx_try_compile "$LINENO"; then :
29621 glibcxx_cv_func_sincosf_use=yes
29622 else
29623 glibcxx_cv_func_sincosf_use=no
29625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29626 ac_ext=c
29627 ac_cpp='$CPP $CPPFLAGS'
29628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
29637 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
29639 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
29640 for ac_func in sincosf
29641 do :
29642 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
29643 if test "x$ac_cv_func_sincosf" = x""yes; then :
29644 cat >>confdefs.h <<_ACEOF
29645 #define HAVE_SINCOSF 1
29646 _ACEOF
29649 done
29651 else
29653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
29654 $as_echo_n "checking for _sincosf declaration... " >&6; }
29655 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
29656 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
29657 $as_echo_n "(cached) " >&6
29658 else
29661 ac_ext=cpp
29662 ac_cpp='$CXXCPP $CPPFLAGS'
29663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29668 /* end confdefs.h. */
29669 #include <math.h>
29671 main ()
29673 _sincosf(0, 0, 0);
29675 return 0;
29677 _ACEOF
29678 if ac_fn_cxx_try_compile "$LINENO"; then :
29679 glibcxx_cv_func__sincosf_use=yes
29680 else
29681 glibcxx_cv_func__sincosf_use=no
29683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29684 ac_ext=c
29685 ac_cpp='$CPP $CPPFLAGS'
29686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
29695 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
29697 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
29698 for ac_func in _sincosf
29699 do :
29700 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
29701 if test "x$ac_cv_func__sincosf" = x""yes; then :
29702 cat >>confdefs.h <<_ACEOF
29703 #define HAVE__SINCOSF 1
29704 _ACEOF
29707 done
29716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
29717 $as_echo_n "checking for finitef declaration... " >&6; }
29718 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
29719 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
29720 $as_echo_n "(cached) " >&6
29721 else
29724 ac_ext=cpp
29725 ac_cpp='$CXXCPP $CPPFLAGS'
29726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29731 /* end confdefs.h. */
29732 #include <math.h>
29733 #ifdef HAVE_IEEEFP_H
29734 #include <ieeefp.h>
29735 #endif
29738 main ()
29740 finitef(0);
29742 return 0;
29744 _ACEOF
29745 if ac_fn_cxx_try_compile "$LINENO"; then :
29746 glibcxx_cv_func_finitef_use=yes
29747 else
29748 glibcxx_cv_func_finitef_use=no
29750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29751 ac_ext=c
29752 ac_cpp='$CPP $CPPFLAGS'
29753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
29762 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
29764 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
29765 for ac_func in finitef
29766 do :
29767 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
29768 if test "x$ac_cv_func_finitef" = x""yes; then :
29769 cat >>confdefs.h <<_ACEOF
29770 #define HAVE_FINITEF 1
29771 _ACEOF
29774 done
29776 else
29778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
29779 $as_echo_n "checking for _finitef declaration... " >&6; }
29780 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
29781 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
29782 $as_echo_n "(cached) " >&6
29783 else
29786 ac_ext=cpp
29787 ac_cpp='$CXXCPP $CPPFLAGS'
29788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29793 /* end confdefs.h. */
29794 #include <math.h>
29795 #ifdef HAVE_IEEEFP_H
29796 #include <ieeefp.h>
29797 #endif
29800 main ()
29802 _finitef(0);
29804 return 0;
29806 _ACEOF
29807 if ac_fn_cxx_try_compile "$LINENO"; then :
29808 glibcxx_cv_func__finitef_use=yes
29809 else
29810 glibcxx_cv_func__finitef_use=no
29812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29813 ac_ext=c
29814 ac_cpp='$CPP $CPPFLAGS'
29815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
29824 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
29826 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
29827 for ac_func in _finitef
29828 do :
29829 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
29830 if test "x$ac_cv_func__finitef" = x""yes; then :
29831 cat >>confdefs.h <<_ACEOF
29832 #define HAVE__FINITEF 1
29833 _ACEOF
29836 done
29845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
29846 $as_echo_n "checking for long double trig functions... " >&6; }
29847 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
29848 $as_echo_n "(cached) " >&6
29849 else
29852 ac_ext=cpp
29853 ac_cpp='$CXXCPP $CPPFLAGS'
29854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29859 /* end confdefs.h. */
29860 #include <math.h>
29862 main ()
29864 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
29866 return 0;
29868 _ACEOF
29869 if ac_fn_cxx_try_compile "$LINENO"; then :
29870 glibcxx_cv_func_long_double_trig_use=yes
29871 else
29872 glibcxx_cv_func_long_double_trig_use=no
29874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29875 ac_ext=c
29876 ac_cpp='$CPP $CPPFLAGS'
29877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
29884 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
29885 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
29886 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
29887 do :
29888 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29889 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29890 eval as_val=\$$as_ac_var
29891 if test "x$as_val" = x""yes; then :
29892 cat >>confdefs.h <<_ACEOF
29893 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29894 _ACEOF
29897 done
29899 else
29900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
29901 $as_echo_n "checking for _long double trig functions... " >&6; }
29902 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
29903 $as_echo_n "(cached) " >&6
29904 else
29907 ac_ext=cpp
29908 ac_cpp='$CXXCPP $CPPFLAGS'
29909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29914 /* end confdefs.h. */
29915 #include <math.h>
29917 main ()
29919 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
29921 return 0;
29923 _ACEOF
29924 if ac_fn_cxx_try_compile "$LINENO"; then :
29925 glibcxx_cv_func__long_double_trig_use=yes
29926 else
29927 glibcxx_cv_func__long_double_trig_use=no
29929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29930 ac_ext=c
29931 ac_cpp='$CPP $CPPFLAGS'
29932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
29939 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
29940 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
29941 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
29942 do :
29943 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29944 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29945 eval as_val=\$$as_ac_var
29946 if test "x$as_val" = x""yes; then :
29947 cat >>confdefs.h <<_ACEOF
29948 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29949 _ACEOF
29952 done
29961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
29962 $as_echo_n "checking for long double round functions... " >&6; }
29963 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
29964 $as_echo_n "(cached) " >&6
29965 else
29968 ac_ext=cpp
29969 ac_cpp='$CXXCPP $CPPFLAGS'
29970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29975 /* end confdefs.h. */
29976 #include <math.h>
29978 main ()
29980 ceill (0); floorl (0);
29982 return 0;
29984 _ACEOF
29985 if ac_fn_cxx_try_compile "$LINENO"; then :
29986 glibcxx_cv_func_long_double_round_use=yes
29987 else
29988 glibcxx_cv_func_long_double_round_use=no
29990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29991 ac_ext=c
29992 ac_cpp='$CPP $CPPFLAGS'
29993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
30000 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
30001 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
30002 for ac_func in ceill floorl
30003 do :
30004 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30005 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30006 eval as_val=\$$as_ac_var
30007 if test "x$as_val" = x""yes; then :
30008 cat >>confdefs.h <<_ACEOF
30009 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30010 _ACEOF
30013 done
30015 else
30016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
30017 $as_echo_n "checking for _long double round functions... " >&6; }
30018 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
30019 $as_echo_n "(cached) " >&6
30020 else
30023 ac_ext=cpp
30024 ac_cpp='$CXXCPP $CPPFLAGS'
30025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30030 /* end confdefs.h. */
30031 #include <math.h>
30033 main ()
30035 _ceill (0); _floorl (0);
30037 return 0;
30039 _ACEOF
30040 if ac_fn_cxx_try_compile "$LINENO"; then :
30041 glibcxx_cv_func__long_double_round_use=yes
30042 else
30043 glibcxx_cv_func__long_double_round_use=no
30045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30046 ac_ext=c
30047 ac_cpp='$CPP $CPPFLAGS'
30048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
30055 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
30056 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
30057 for ac_func in _ceill _floorl
30058 do :
30059 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30060 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30061 eval as_val=\$$as_ac_var
30062 if test "x$as_val" = x""yes; then :
30063 cat >>confdefs.h <<_ACEOF
30064 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30065 _ACEOF
30068 done
30078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
30079 $as_echo_n "checking for isnanl declaration... " >&6; }
30080 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
30081 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
30082 $as_echo_n "(cached) " >&6
30083 else
30086 ac_ext=cpp
30087 ac_cpp='$CXXCPP $CPPFLAGS'
30088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30093 /* end confdefs.h. */
30094 #include <math.h>
30095 #ifdef HAVE_IEEEFP_H
30096 #include <ieeefp.h>
30097 #endif
30100 main ()
30102 isnanl(0);
30104 return 0;
30106 _ACEOF
30107 if ac_fn_cxx_try_compile "$LINENO"; then :
30108 glibcxx_cv_func_isnanl_use=yes
30109 else
30110 glibcxx_cv_func_isnanl_use=no
30112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30113 ac_ext=c
30114 ac_cpp='$CPP $CPPFLAGS'
30115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
30124 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
30126 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
30127 for ac_func in isnanl
30128 do :
30129 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
30130 if test "x$ac_cv_func_isnanl" = x""yes; then :
30131 cat >>confdefs.h <<_ACEOF
30132 #define HAVE_ISNANL 1
30133 _ACEOF
30136 done
30138 else
30140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
30141 $as_echo_n "checking for _isnanl declaration... " >&6; }
30142 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
30143 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
30144 $as_echo_n "(cached) " >&6
30145 else
30148 ac_ext=cpp
30149 ac_cpp='$CXXCPP $CPPFLAGS'
30150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30155 /* end confdefs.h. */
30156 #include <math.h>
30157 #ifdef HAVE_IEEEFP_H
30158 #include <ieeefp.h>
30159 #endif
30162 main ()
30164 _isnanl(0);
30166 return 0;
30168 _ACEOF
30169 if ac_fn_cxx_try_compile "$LINENO"; then :
30170 glibcxx_cv_func__isnanl_use=yes
30171 else
30172 glibcxx_cv_func__isnanl_use=no
30174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30175 ac_ext=c
30176 ac_cpp='$CPP $CPPFLAGS'
30177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
30186 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
30188 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
30189 for ac_func in _isnanl
30190 do :
30191 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
30192 if test "x$ac_cv_func__isnanl" = x""yes; then :
30193 cat >>confdefs.h <<_ACEOF
30194 #define HAVE__ISNANL 1
30195 _ACEOF
30198 done
30207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
30208 $as_echo_n "checking for isinfl declaration... " >&6; }
30209 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
30210 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
30211 $as_echo_n "(cached) " >&6
30212 else
30215 ac_ext=cpp
30216 ac_cpp='$CXXCPP $CPPFLAGS'
30217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30222 /* end confdefs.h. */
30223 #include <math.h>
30224 #ifdef HAVE_IEEEFP_H
30225 #include <ieeefp.h>
30226 #endif
30229 main ()
30231 isinfl(0);
30233 return 0;
30235 _ACEOF
30236 if ac_fn_cxx_try_compile "$LINENO"; then :
30237 glibcxx_cv_func_isinfl_use=yes
30238 else
30239 glibcxx_cv_func_isinfl_use=no
30241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30242 ac_ext=c
30243 ac_cpp='$CPP $CPPFLAGS'
30244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
30253 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
30255 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
30256 for ac_func in isinfl
30257 do :
30258 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
30259 if test "x$ac_cv_func_isinfl" = x""yes; then :
30260 cat >>confdefs.h <<_ACEOF
30261 #define HAVE_ISINFL 1
30262 _ACEOF
30265 done
30267 else
30269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
30270 $as_echo_n "checking for _isinfl declaration... " >&6; }
30271 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
30272 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
30273 $as_echo_n "(cached) " >&6
30274 else
30277 ac_ext=cpp
30278 ac_cpp='$CXXCPP $CPPFLAGS'
30279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30284 /* end confdefs.h. */
30285 #include <math.h>
30286 #ifdef HAVE_IEEEFP_H
30287 #include <ieeefp.h>
30288 #endif
30291 main ()
30293 _isinfl(0);
30295 return 0;
30297 _ACEOF
30298 if ac_fn_cxx_try_compile "$LINENO"; then :
30299 glibcxx_cv_func__isinfl_use=yes
30300 else
30301 glibcxx_cv_func__isinfl_use=no
30303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30304 ac_ext=c
30305 ac_cpp='$CPP $CPPFLAGS'
30306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
30315 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
30317 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
30318 for ac_func in _isinfl
30319 do :
30320 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
30321 if test "x$ac_cv_func__isinfl" = x""yes; then :
30322 cat >>confdefs.h <<_ACEOF
30323 #define HAVE__ISINFL 1
30324 _ACEOF
30327 done
30336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
30337 $as_echo_n "checking for atan2l declaration... " >&6; }
30338 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
30339 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
30340 $as_echo_n "(cached) " >&6
30341 else
30344 ac_ext=cpp
30345 ac_cpp='$CXXCPP $CPPFLAGS'
30346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30351 /* end confdefs.h. */
30352 #include <math.h>
30354 main ()
30356 atan2l(0, 0);
30358 return 0;
30360 _ACEOF
30361 if ac_fn_cxx_try_compile "$LINENO"; then :
30362 glibcxx_cv_func_atan2l_use=yes
30363 else
30364 glibcxx_cv_func_atan2l_use=no
30366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30367 ac_ext=c
30368 ac_cpp='$CPP $CPPFLAGS'
30369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
30378 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
30380 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
30381 for ac_func in atan2l
30382 do :
30383 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
30384 if test "x$ac_cv_func_atan2l" = x""yes; then :
30385 cat >>confdefs.h <<_ACEOF
30386 #define HAVE_ATAN2L 1
30387 _ACEOF
30390 done
30392 else
30394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
30395 $as_echo_n "checking for _atan2l declaration... " >&6; }
30396 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
30397 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
30398 $as_echo_n "(cached) " >&6
30399 else
30402 ac_ext=cpp
30403 ac_cpp='$CXXCPP $CPPFLAGS'
30404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30409 /* end confdefs.h. */
30410 #include <math.h>
30412 main ()
30414 _atan2l(0, 0);
30416 return 0;
30418 _ACEOF
30419 if ac_fn_cxx_try_compile "$LINENO"; then :
30420 glibcxx_cv_func__atan2l_use=yes
30421 else
30422 glibcxx_cv_func__atan2l_use=no
30424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30425 ac_ext=c
30426 ac_cpp='$CPP $CPPFLAGS'
30427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
30436 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
30438 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
30439 for ac_func in _atan2l
30440 do :
30441 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
30442 if test "x$ac_cv_func__atan2l" = x""yes; then :
30443 cat >>confdefs.h <<_ACEOF
30444 #define HAVE__ATAN2L 1
30445 _ACEOF
30448 done
30457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
30458 $as_echo_n "checking for expl declaration... " >&6; }
30459 if test x${glibcxx_cv_func_expl_use+set} != xset; then
30460 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
30461 $as_echo_n "(cached) " >&6
30462 else
30465 ac_ext=cpp
30466 ac_cpp='$CXXCPP $CPPFLAGS'
30467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30472 /* end confdefs.h. */
30473 #include <math.h>
30474 #ifdef HAVE_IEEEFP_H
30475 #include <ieeefp.h>
30476 #endif
30479 main ()
30481 expl(0);
30483 return 0;
30485 _ACEOF
30486 if ac_fn_cxx_try_compile "$LINENO"; then :
30487 glibcxx_cv_func_expl_use=yes
30488 else
30489 glibcxx_cv_func_expl_use=no
30491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30492 ac_ext=c
30493 ac_cpp='$CPP $CPPFLAGS'
30494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
30503 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
30505 if test x$glibcxx_cv_func_expl_use = x"yes"; then
30506 for ac_func in expl
30507 do :
30508 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
30509 if test "x$ac_cv_func_expl" = x""yes; then :
30510 cat >>confdefs.h <<_ACEOF
30511 #define HAVE_EXPL 1
30512 _ACEOF
30515 done
30517 else
30519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
30520 $as_echo_n "checking for _expl declaration... " >&6; }
30521 if test x${glibcxx_cv_func__expl_use+set} != xset; then
30522 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
30523 $as_echo_n "(cached) " >&6
30524 else
30527 ac_ext=cpp
30528 ac_cpp='$CXXCPP $CPPFLAGS'
30529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30534 /* end confdefs.h. */
30535 #include <math.h>
30536 #ifdef HAVE_IEEEFP_H
30537 #include <ieeefp.h>
30538 #endif
30541 main ()
30543 _expl(0);
30545 return 0;
30547 _ACEOF
30548 if ac_fn_cxx_try_compile "$LINENO"; then :
30549 glibcxx_cv_func__expl_use=yes
30550 else
30551 glibcxx_cv_func__expl_use=no
30553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30554 ac_ext=c
30555 ac_cpp='$CPP $CPPFLAGS'
30556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
30565 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
30567 if test x$glibcxx_cv_func__expl_use = x"yes"; then
30568 for ac_func in _expl
30569 do :
30570 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
30571 if test "x$ac_cv_func__expl" = x""yes; then :
30572 cat >>confdefs.h <<_ACEOF
30573 #define HAVE__EXPL 1
30574 _ACEOF
30577 done
30586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
30587 $as_echo_n "checking for fabsl declaration... " >&6; }
30588 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
30589 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
30590 $as_echo_n "(cached) " >&6
30591 else
30594 ac_ext=cpp
30595 ac_cpp='$CXXCPP $CPPFLAGS'
30596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30601 /* end confdefs.h. */
30602 #include <math.h>
30603 #ifdef HAVE_IEEEFP_H
30604 #include <ieeefp.h>
30605 #endif
30608 main ()
30610 fabsl(0);
30612 return 0;
30614 _ACEOF
30615 if ac_fn_cxx_try_compile "$LINENO"; then :
30616 glibcxx_cv_func_fabsl_use=yes
30617 else
30618 glibcxx_cv_func_fabsl_use=no
30620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30621 ac_ext=c
30622 ac_cpp='$CPP $CPPFLAGS'
30623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
30632 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
30634 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
30635 for ac_func in fabsl
30636 do :
30637 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
30638 if test "x$ac_cv_func_fabsl" = x""yes; then :
30639 cat >>confdefs.h <<_ACEOF
30640 #define HAVE_FABSL 1
30641 _ACEOF
30644 done
30646 else
30648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
30649 $as_echo_n "checking for _fabsl declaration... " >&6; }
30650 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
30651 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
30652 $as_echo_n "(cached) " >&6
30653 else
30656 ac_ext=cpp
30657 ac_cpp='$CXXCPP $CPPFLAGS'
30658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30663 /* end confdefs.h. */
30664 #include <math.h>
30665 #ifdef HAVE_IEEEFP_H
30666 #include <ieeefp.h>
30667 #endif
30670 main ()
30672 _fabsl(0);
30674 return 0;
30676 _ACEOF
30677 if ac_fn_cxx_try_compile "$LINENO"; then :
30678 glibcxx_cv_func__fabsl_use=yes
30679 else
30680 glibcxx_cv_func__fabsl_use=no
30682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30683 ac_ext=c
30684 ac_cpp='$CPP $CPPFLAGS'
30685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
30694 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
30696 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
30697 for ac_func in _fabsl
30698 do :
30699 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
30700 if test "x$ac_cv_func__fabsl" = x""yes; then :
30701 cat >>confdefs.h <<_ACEOF
30702 #define HAVE__FABSL 1
30703 _ACEOF
30706 done
30715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
30716 $as_echo_n "checking for fmodl declaration... " >&6; }
30717 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
30718 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
30719 $as_echo_n "(cached) " >&6
30720 else
30723 ac_ext=cpp
30724 ac_cpp='$CXXCPP $CPPFLAGS'
30725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30730 /* end confdefs.h. */
30731 #include <math.h>
30733 main ()
30735 fmodl(0, 0);
30737 return 0;
30739 _ACEOF
30740 if ac_fn_cxx_try_compile "$LINENO"; then :
30741 glibcxx_cv_func_fmodl_use=yes
30742 else
30743 glibcxx_cv_func_fmodl_use=no
30745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30746 ac_ext=c
30747 ac_cpp='$CPP $CPPFLAGS'
30748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
30757 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
30759 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
30760 for ac_func in fmodl
30761 do :
30762 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
30763 if test "x$ac_cv_func_fmodl" = x""yes; then :
30764 cat >>confdefs.h <<_ACEOF
30765 #define HAVE_FMODL 1
30766 _ACEOF
30769 done
30771 else
30773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
30774 $as_echo_n "checking for _fmodl declaration... " >&6; }
30775 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
30776 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
30777 $as_echo_n "(cached) " >&6
30778 else
30781 ac_ext=cpp
30782 ac_cpp='$CXXCPP $CPPFLAGS'
30783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30788 /* end confdefs.h. */
30789 #include <math.h>
30791 main ()
30793 _fmodl(0, 0);
30795 return 0;
30797 _ACEOF
30798 if ac_fn_cxx_try_compile "$LINENO"; then :
30799 glibcxx_cv_func__fmodl_use=yes
30800 else
30801 glibcxx_cv_func__fmodl_use=no
30803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30804 ac_ext=c
30805 ac_cpp='$CPP $CPPFLAGS'
30806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
30815 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
30817 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
30818 for ac_func in _fmodl
30819 do :
30820 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
30821 if test "x$ac_cv_func__fmodl" = x""yes; then :
30822 cat >>confdefs.h <<_ACEOF
30823 #define HAVE__FMODL 1
30824 _ACEOF
30827 done
30836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
30837 $as_echo_n "checking for frexpl declaration... " >&6; }
30838 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
30839 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
30840 $as_echo_n "(cached) " >&6
30841 else
30844 ac_ext=cpp
30845 ac_cpp='$CXXCPP $CPPFLAGS'
30846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30851 /* end confdefs.h. */
30852 #include <math.h>
30854 main ()
30856 frexpl(0, 0);
30858 return 0;
30860 _ACEOF
30861 if ac_fn_cxx_try_compile "$LINENO"; then :
30862 glibcxx_cv_func_frexpl_use=yes
30863 else
30864 glibcxx_cv_func_frexpl_use=no
30866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30867 ac_ext=c
30868 ac_cpp='$CPP $CPPFLAGS'
30869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
30878 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
30880 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
30881 for ac_func in frexpl
30882 do :
30883 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
30884 if test "x$ac_cv_func_frexpl" = x""yes; then :
30885 cat >>confdefs.h <<_ACEOF
30886 #define HAVE_FREXPL 1
30887 _ACEOF
30890 done
30892 else
30894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
30895 $as_echo_n "checking for _frexpl declaration... " >&6; }
30896 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
30897 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
30898 $as_echo_n "(cached) " >&6
30899 else
30902 ac_ext=cpp
30903 ac_cpp='$CXXCPP $CPPFLAGS'
30904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30909 /* end confdefs.h. */
30910 #include <math.h>
30912 main ()
30914 _frexpl(0, 0);
30916 return 0;
30918 _ACEOF
30919 if ac_fn_cxx_try_compile "$LINENO"; then :
30920 glibcxx_cv_func__frexpl_use=yes
30921 else
30922 glibcxx_cv_func__frexpl_use=no
30924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30925 ac_ext=c
30926 ac_cpp='$CPP $CPPFLAGS'
30927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
30936 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
30938 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
30939 for ac_func in _frexpl
30940 do :
30941 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
30942 if test "x$ac_cv_func__frexpl" = x""yes; then :
30943 cat >>confdefs.h <<_ACEOF
30944 #define HAVE__FREXPL 1
30945 _ACEOF
30948 done
30957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
30958 $as_echo_n "checking for hypotl declaration... " >&6; }
30959 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
30960 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
30961 $as_echo_n "(cached) " >&6
30962 else
30965 ac_ext=cpp
30966 ac_cpp='$CXXCPP $CPPFLAGS'
30967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30972 /* end confdefs.h. */
30973 #include <math.h>
30975 main ()
30977 hypotl(0, 0);
30979 return 0;
30981 _ACEOF
30982 if ac_fn_cxx_try_compile "$LINENO"; then :
30983 glibcxx_cv_func_hypotl_use=yes
30984 else
30985 glibcxx_cv_func_hypotl_use=no
30987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30988 ac_ext=c
30989 ac_cpp='$CPP $CPPFLAGS'
30990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
30999 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
31001 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
31002 for ac_func in hypotl
31003 do :
31004 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
31005 if test "x$ac_cv_func_hypotl" = x""yes; then :
31006 cat >>confdefs.h <<_ACEOF
31007 #define HAVE_HYPOTL 1
31008 _ACEOF
31011 done
31013 else
31015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
31016 $as_echo_n "checking for _hypotl declaration... " >&6; }
31017 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
31018 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
31019 $as_echo_n "(cached) " >&6
31020 else
31023 ac_ext=cpp
31024 ac_cpp='$CXXCPP $CPPFLAGS'
31025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31030 /* end confdefs.h. */
31031 #include <math.h>
31033 main ()
31035 _hypotl(0, 0);
31037 return 0;
31039 _ACEOF
31040 if ac_fn_cxx_try_compile "$LINENO"; then :
31041 glibcxx_cv_func__hypotl_use=yes
31042 else
31043 glibcxx_cv_func__hypotl_use=no
31045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31046 ac_ext=c
31047 ac_cpp='$CPP $CPPFLAGS'
31048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
31057 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
31059 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
31060 for ac_func in _hypotl
31061 do :
31062 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
31063 if test "x$ac_cv_func__hypotl" = x""yes; then :
31064 cat >>confdefs.h <<_ACEOF
31065 #define HAVE__HYPOTL 1
31066 _ACEOF
31069 done
31078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
31079 $as_echo_n "checking for ldexpl declaration... " >&6; }
31080 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
31081 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
31082 $as_echo_n "(cached) " >&6
31083 else
31086 ac_ext=cpp
31087 ac_cpp='$CXXCPP $CPPFLAGS'
31088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31093 /* end confdefs.h. */
31094 #include <math.h>
31096 main ()
31098 ldexpl(0, 0);
31100 return 0;
31102 _ACEOF
31103 if ac_fn_cxx_try_compile "$LINENO"; then :
31104 glibcxx_cv_func_ldexpl_use=yes
31105 else
31106 glibcxx_cv_func_ldexpl_use=no
31108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31109 ac_ext=c
31110 ac_cpp='$CPP $CPPFLAGS'
31111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
31120 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
31122 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
31123 for ac_func in ldexpl
31124 do :
31125 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
31126 if test "x$ac_cv_func_ldexpl" = x""yes; then :
31127 cat >>confdefs.h <<_ACEOF
31128 #define HAVE_LDEXPL 1
31129 _ACEOF
31132 done
31134 else
31136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
31137 $as_echo_n "checking for _ldexpl declaration... " >&6; }
31138 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
31139 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
31140 $as_echo_n "(cached) " >&6
31141 else
31144 ac_ext=cpp
31145 ac_cpp='$CXXCPP $CPPFLAGS'
31146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31151 /* end confdefs.h. */
31152 #include <math.h>
31154 main ()
31156 _ldexpl(0, 0);
31158 return 0;
31160 _ACEOF
31161 if ac_fn_cxx_try_compile "$LINENO"; then :
31162 glibcxx_cv_func__ldexpl_use=yes
31163 else
31164 glibcxx_cv_func__ldexpl_use=no
31166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31167 ac_ext=c
31168 ac_cpp='$CPP $CPPFLAGS'
31169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
31178 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
31180 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
31181 for ac_func in _ldexpl
31182 do :
31183 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
31184 if test "x$ac_cv_func__ldexpl" = x""yes; then :
31185 cat >>confdefs.h <<_ACEOF
31186 #define HAVE__LDEXPL 1
31187 _ACEOF
31190 done
31199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
31200 $as_echo_n "checking for logl declaration... " >&6; }
31201 if test x${glibcxx_cv_func_logl_use+set} != xset; then
31202 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
31203 $as_echo_n "(cached) " >&6
31204 else
31207 ac_ext=cpp
31208 ac_cpp='$CXXCPP $CPPFLAGS'
31209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31214 /* end confdefs.h. */
31215 #include <math.h>
31216 #ifdef HAVE_IEEEFP_H
31217 #include <ieeefp.h>
31218 #endif
31221 main ()
31223 logl(0);
31225 return 0;
31227 _ACEOF
31228 if ac_fn_cxx_try_compile "$LINENO"; then :
31229 glibcxx_cv_func_logl_use=yes
31230 else
31231 glibcxx_cv_func_logl_use=no
31233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31234 ac_ext=c
31235 ac_cpp='$CPP $CPPFLAGS'
31236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
31245 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
31247 if test x$glibcxx_cv_func_logl_use = x"yes"; then
31248 for ac_func in logl
31249 do :
31250 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
31251 if test "x$ac_cv_func_logl" = x""yes; then :
31252 cat >>confdefs.h <<_ACEOF
31253 #define HAVE_LOGL 1
31254 _ACEOF
31257 done
31259 else
31261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
31262 $as_echo_n "checking for _logl declaration... " >&6; }
31263 if test x${glibcxx_cv_func__logl_use+set} != xset; then
31264 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
31265 $as_echo_n "(cached) " >&6
31266 else
31269 ac_ext=cpp
31270 ac_cpp='$CXXCPP $CPPFLAGS'
31271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31276 /* end confdefs.h. */
31277 #include <math.h>
31278 #ifdef HAVE_IEEEFP_H
31279 #include <ieeefp.h>
31280 #endif
31283 main ()
31285 _logl(0);
31287 return 0;
31289 _ACEOF
31290 if ac_fn_cxx_try_compile "$LINENO"; then :
31291 glibcxx_cv_func__logl_use=yes
31292 else
31293 glibcxx_cv_func__logl_use=no
31295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31296 ac_ext=c
31297 ac_cpp='$CPP $CPPFLAGS'
31298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
31307 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
31309 if test x$glibcxx_cv_func__logl_use = x"yes"; then
31310 for ac_func in _logl
31311 do :
31312 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
31313 if test "x$ac_cv_func__logl" = x""yes; then :
31314 cat >>confdefs.h <<_ACEOF
31315 #define HAVE__LOGL 1
31316 _ACEOF
31319 done
31328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
31329 $as_echo_n "checking for log10l declaration... " >&6; }
31330 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
31331 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
31332 $as_echo_n "(cached) " >&6
31333 else
31336 ac_ext=cpp
31337 ac_cpp='$CXXCPP $CPPFLAGS'
31338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31343 /* end confdefs.h. */
31344 #include <math.h>
31345 #ifdef HAVE_IEEEFP_H
31346 #include <ieeefp.h>
31347 #endif
31350 main ()
31352 log10l(0);
31354 return 0;
31356 _ACEOF
31357 if ac_fn_cxx_try_compile "$LINENO"; then :
31358 glibcxx_cv_func_log10l_use=yes
31359 else
31360 glibcxx_cv_func_log10l_use=no
31362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31363 ac_ext=c
31364 ac_cpp='$CPP $CPPFLAGS'
31365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
31374 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
31376 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
31377 for ac_func in log10l
31378 do :
31379 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
31380 if test "x$ac_cv_func_log10l" = x""yes; then :
31381 cat >>confdefs.h <<_ACEOF
31382 #define HAVE_LOG10L 1
31383 _ACEOF
31386 done
31388 else
31390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
31391 $as_echo_n "checking for _log10l declaration... " >&6; }
31392 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
31393 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
31394 $as_echo_n "(cached) " >&6
31395 else
31398 ac_ext=cpp
31399 ac_cpp='$CXXCPP $CPPFLAGS'
31400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31405 /* end confdefs.h. */
31406 #include <math.h>
31407 #ifdef HAVE_IEEEFP_H
31408 #include <ieeefp.h>
31409 #endif
31412 main ()
31414 _log10l(0);
31416 return 0;
31418 _ACEOF
31419 if ac_fn_cxx_try_compile "$LINENO"; then :
31420 glibcxx_cv_func__log10l_use=yes
31421 else
31422 glibcxx_cv_func__log10l_use=no
31424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31425 ac_ext=c
31426 ac_cpp='$CPP $CPPFLAGS'
31427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
31436 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
31438 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
31439 for ac_func in _log10l
31440 do :
31441 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
31442 if test "x$ac_cv_func__log10l" = x""yes; then :
31443 cat >>confdefs.h <<_ACEOF
31444 #define HAVE__LOG10L 1
31445 _ACEOF
31448 done
31457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
31458 $as_echo_n "checking for modfl declaration... " >&6; }
31459 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
31460 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
31461 $as_echo_n "(cached) " >&6
31462 else
31465 ac_ext=cpp
31466 ac_cpp='$CXXCPP $CPPFLAGS'
31467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31472 /* end confdefs.h. */
31473 #include <math.h>
31475 main ()
31477 modfl(0, 0);
31479 return 0;
31481 _ACEOF
31482 if ac_fn_cxx_try_compile "$LINENO"; then :
31483 glibcxx_cv_func_modfl_use=yes
31484 else
31485 glibcxx_cv_func_modfl_use=no
31487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31488 ac_ext=c
31489 ac_cpp='$CPP $CPPFLAGS'
31490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
31499 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
31501 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
31502 for ac_func in modfl
31503 do :
31504 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
31505 if test "x$ac_cv_func_modfl" = x""yes; then :
31506 cat >>confdefs.h <<_ACEOF
31507 #define HAVE_MODFL 1
31508 _ACEOF
31511 done
31513 else
31515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
31516 $as_echo_n "checking for _modfl declaration... " >&6; }
31517 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
31518 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
31519 $as_echo_n "(cached) " >&6
31520 else
31523 ac_ext=cpp
31524 ac_cpp='$CXXCPP $CPPFLAGS'
31525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31530 /* end confdefs.h. */
31531 #include <math.h>
31533 main ()
31535 _modfl(0, 0);
31537 return 0;
31539 _ACEOF
31540 if ac_fn_cxx_try_compile "$LINENO"; then :
31541 glibcxx_cv_func__modfl_use=yes
31542 else
31543 glibcxx_cv_func__modfl_use=no
31545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31546 ac_ext=c
31547 ac_cpp='$CPP $CPPFLAGS'
31548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
31557 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
31559 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
31560 for ac_func in _modfl
31561 do :
31562 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
31563 if test "x$ac_cv_func__modfl" = x""yes; then :
31564 cat >>confdefs.h <<_ACEOF
31565 #define HAVE__MODFL 1
31566 _ACEOF
31569 done
31578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
31579 $as_echo_n "checking for powl declaration... " >&6; }
31580 if test x${glibcxx_cv_func_powl_use+set} != xset; then
31581 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
31582 $as_echo_n "(cached) " >&6
31583 else
31586 ac_ext=cpp
31587 ac_cpp='$CXXCPP $CPPFLAGS'
31588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31593 /* end confdefs.h. */
31594 #include <math.h>
31596 main ()
31598 powl(0, 0);
31600 return 0;
31602 _ACEOF
31603 if ac_fn_cxx_try_compile "$LINENO"; then :
31604 glibcxx_cv_func_powl_use=yes
31605 else
31606 glibcxx_cv_func_powl_use=no
31608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31609 ac_ext=c
31610 ac_cpp='$CPP $CPPFLAGS'
31611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
31620 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
31622 if test x$glibcxx_cv_func_powl_use = x"yes"; then
31623 for ac_func in powl
31624 do :
31625 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
31626 if test "x$ac_cv_func_powl" = x""yes; then :
31627 cat >>confdefs.h <<_ACEOF
31628 #define HAVE_POWL 1
31629 _ACEOF
31632 done
31634 else
31636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
31637 $as_echo_n "checking for _powl declaration... " >&6; }
31638 if test x${glibcxx_cv_func__powl_use+set} != xset; then
31639 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
31640 $as_echo_n "(cached) " >&6
31641 else
31644 ac_ext=cpp
31645 ac_cpp='$CXXCPP $CPPFLAGS'
31646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31651 /* end confdefs.h. */
31652 #include <math.h>
31654 main ()
31656 _powl(0, 0);
31658 return 0;
31660 _ACEOF
31661 if ac_fn_cxx_try_compile "$LINENO"; then :
31662 glibcxx_cv_func__powl_use=yes
31663 else
31664 glibcxx_cv_func__powl_use=no
31666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31667 ac_ext=c
31668 ac_cpp='$CPP $CPPFLAGS'
31669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
31678 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
31680 if test x$glibcxx_cv_func__powl_use = x"yes"; then
31681 for ac_func in _powl
31682 do :
31683 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
31684 if test "x$ac_cv_func__powl" = x""yes; then :
31685 cat >>confdefs.h <<_ACEOF
31686 #define HAVE__POWL 1
31687 _ACEOF
31690 done
31699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
31700 $as_echo_n "checking for sqrtl declaration... " >&6; }
31701 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
31702 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
31703 $as_echo_n "(cached) " >&6
31704 else
31707 ac_ext=cpp
31708 ac_cpp='$CXXCPP $CPPFLAGS'
31709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31714 /* end confdefs.h. */
31715 #include <math.h>
31716 #ifdef HAVE_IEEEFP_H
31717 #include <ieeefp.h>
31718 #endif
31721 main ()
31723 sqrtl(0);
31725 return 0;
31727 _ACEOF
31728 if ac_fn_cxx_try_compile "$LINENO"; then :
31729 glibcxx_cv_func_sqrtl_use=yes
31730 else
31731 glibcxx_cv_func_sqrtl_use=no
31733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31734 ac_ext=c
31735 ac_cpp='$CPP $CPPFLAGS'
31736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
31745 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
31747 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
31748 for ac_func in sqrtl
31749 do :
31750 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
31751 if test "x$ac_cv_func_sqrtl" = x""yes; then :
31752 cat >>confdefs.h <<_ACEOF
31753 #define HAVE_SQRTL 1
31754 _ACEOF
31757 done
31759 else
31761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
31762 $as_echo_n "checking for _sqrtl declaration... " >&6; }
31763 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
31764 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
31765 $as_echo_n "(cached) " >&6
31766 else
31769 ac_ext=cpp
31770 ac_cpp='$CXXCPP $CPPFLAGS'
31771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31776 /* end confdefs.h. */
31777 #include <math.h>
31778 #ifdef HAVE_IEEEFP_H
31779 #include <ieeefp.h>
31780 #endif
31783 main ()
31785 _sqrtl(0);
31787 return 0;
31789 _ACEOF
31790 if ac_fn_cxx_try_compile "$LINENO"; then :
31791 glibcxx_cv_func__sqrtl_use=yes
31792 else
31793 glibcxx_cv_func__sqrtl_use=no
31795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31796 ac_ext=c
31797 ac_cpp='$CPP $CPPFLAGS'
31798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
31807 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
31809 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
31810 for ac_func in _sqrtl
31811 do :
31812 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
31813 if test "x$ac_cv_func__sqrtl" = x""yes; then :
31814 cat >>confdefs.h <<_ACEOF
31815 #define HAVE__SQRTL 1
31816 _ACEOF
31819 done
31828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
31829 $as_echo_n "checking for sincosl declaration... " >&6; }
31830 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
31831 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
31832 $as_echo_n "(cached) " >&6
31833 else
31836 ac_ext=cpp
31837 ac_cpp='$CXXCPP $CPPFLAGS'
31838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31843 /* end confdefs.h. */
31844 #include <math.h>
31846 main ()
31848 sincosl(0, 0, 0);
31850 return 0;
31852 _ACEOF
31853 if ac_fn_cxx_try_compile "$LINENO"; then :
31854 glibcxx_cv_func_sincosl_use=yes
31855 else
31856 glibcxx_cv_func_sincosl_use=no
31858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31859 ac_ext=c
31860 ac_cpp='$CPP $CPPFLAGS'
31861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
31870 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
31872 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
31873 for ac_func in sincosl
31874 do :
31875 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
31876 if test "x$ac_cv_func_sincosl" = x""yes; then :
31877 cat >>confdefs.h <<_ACEOF
31878 #define HAVE_SINCOSL 1
31879 _ACEOF
31882 done
31884 else
31886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
31887 $as_echo_n "checking for _sincosl declaration... " >&6; }
31888 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
31889 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
31890 $as_echo_n "(cached) " >&6
31891 else
31894 ac_ext=cpp
31895 ac_cpp='$CXXCPP $CPPFLAGS'
31896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31901 /* end confdefs.h. */
31902 #include <math.h>
31904 main ()
31906 _sincosl(0, 0, 0);
31908 return 0;
31910 _ACEOF
31911 if ac_fn_cxx_try_compile "$LINENO"; then :
31912 glibcxx_cv_func__sincosl_use=yes
31913 else
31914 glibcxx_cv_func__sincosl_use=no
31916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31917 ac_ext=c
31918 ac_cpp='$CPP $CPPFLAGS'
31919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
31928 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
31930 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
31931 for ac_func in _sincosl
31932 do :
31933 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
31934 if test "x$ac_cv_func__sincosl" = x""yes; then :
31935 cat >>confdefs.h <<_ACEOF
31936 #define HAVE__SINCOSL 1
31937 _ACEOF
31940 done
31949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
31950 $as_echo_n "checking for finitel declaration... " >&6; }
31951 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
31952 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
31953 $as_echo_n "(cached) " >&6
31954 else
31957 ac_ext=cpp
31958 ac_cpp='$CXXCPP $CPPFLAGS'
31959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31964 /* end confdefs.h. */
31965 #include <math.h>
31966 #ifdef HAVE_IEEEFP_H
31967 #include <ieeefp.h>
31968 #endif
31971 main ()
31973 finitel(0);
31975 return 0;
31977 _ACEOF
31978 if ac_fn_cxx_try_compile "$LINENO"; then :
31979 glibcxx_cv_func_finitel_use=yes
31980 else
31981 glibcxx_cv_func_finitel_use=no
31983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31984 ac_ext=c
31985 ac_cpp='$CPP $CPPFLAGS'
31986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
31995 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
31997 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
31998 for ac_func in finitel
31999 do :
32000 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
32001 if test "x$ac_cv_func_finitel" = x""yes; then :
32002 cat >>confdefs.h <<_ACEOF
32003 #define HAVE_FINITEL 1
32004 _ACEOF
32007 done
32009 else
32011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
32012 $as_echo_n "checking for _finitel declaration... " >&6; }
32013 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
32014 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
32015 $as_echo_n "(cached) " >&6
32016 else
32019 ac_ext=cpp
32020 ac_cpp='$CXXCPP $CPPFLAGS'
32021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32026 /* end confdefs.h. */
32027 #include <math.h>
32028 #ifdef HAVE_IEEEFP_H
32029 #include <ieeefp.h>
32030 #endif
32033 main ()
32035 _finitel(0);
32037 return 0;
32039 _ACEOF
32040 if ac_fn_cxx_try_compile "$LINENO"; then :
32041 glibcxx_cv_func__finitel_use=yes
32042 else
32043 glibcxx_cv_func__finitel_use=no
32045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32046 ac_ext=c
32047 ac_cpp='$CPP $CPPFLAGS'
32048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
32057 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
32059 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
32060 for ac_func in _finitel
32061 do :
32062 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
32063 if test "x$ac_cv_func__finitel" = x""yes; then :
32064 cat >>confdefs.h <<_ACEOF
32065 #define HAVE__FINITEL 1
32066 _ACEOF
32069 done
32077 LIBS="$ac_save_LIBS"
32078 CXXFLAGS="$ac_save_CXXFLAGS"
32081 ac_test_CXXFLAGS="${CXXFLAGS+set}"
32082 ac_save_CXXFLAGS="$CXXFLAGS"
32083 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
32087 $as_echo_n "checking for strtold declaration... " >&6; }
32088 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
32089 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
32090 $as_echo_n "(cached) " >&6
32091 else
32094 ac_ext=cpp
32095 ac_cpp='$CXXCPP $CPPFLAGS'
32096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32101 /* end confdefs.h. */
32102 #include <stdlib.h>
32104 main ()
32106 strtold(0, 0);
32108 return 0;
32110 _ACEOF
32111 if ac_fn_cxx_try_compile "$LINENO"; then :
32112 glibcxx_cv_func_strtold_use=yes
32113 else
32114 glibcxx_cv_func_strtold_use=no
32116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32117 ac_ext=c
32118 ac_cpp='$CPP $CPPFLAGS'
32119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
32128 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
32129 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
32130 for ac_func in strtold
32131 do :
32132 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
32133 if test "x$ac_cv_func_strtold" = x""yes; then :
32134 cat >>confdefs.h <<_ACEOF
32135 #define HAVE_STRTOLD 1
32136 _ACEOF
32139 done
32146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
32147 $as_echo_n "checking for strtof declaration... " >&6; }
32148 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
32149 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
32150 $as_echo_n "(cached) " >&6
32151 else
32154 ac_ext=cpp
32155 ac_cpp='$CXXCPP $CPPFLAGS'
32156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32161 /* end confdefs.h. */
32162 #include <stdlib.h>
32164 main ()
32166 strtof(0, 0);
32168 return 0;
32170 _ACEOF
32171 if ac_fn_cxx_try_compile "$LINENO"; then :
32172 glibcxx_cv_func_strtof_use=yes
32173 else
32174 glibcxx_cv_func_strtof_use=no
32176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32177 ac_ext=c
32178 ac_cpp='$CPP $CPPFLAGS'
32179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
32188 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
32189 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
32190 for ac_func in strtof
32191 do :
32192 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
32193 if test "x$ac_cv_func_strtof" = x""yes; then :
32194 cat >>confdefs.h <<_ACEOF
32195 #define HAVE_STRTOF 1
32196 _ACEOF
32199 done
32206 CXXFLAGS="$ac_save_CXXFLAGS"
32209 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
32211 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
32213 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
32215 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
32218 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
32220 $as_echo "#define HAVE_MODF 1" >>confdefs.h
32222 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
32226 *-aix*)
32228 # If we're not using GNU ld, then there's no point in even trying these
32229 # tests. Check for that first. We should have already tested for gld
32230 # by now (in libtool), but require it now just to be safe...
32231 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
32232 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
32236 # The name set by libtool depends on the version of libtool. Shame on us
32237 # for depending on an impl detail, but c'est la vie. Older versions used
32238 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
32239 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
32240 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
32241 # set (hence we're using an older libtool), then set it.
32242 if test x${with_gnu_ld+set} != xset; then
32243 if test x${ac_cv_prog_gnu_ld+set} != xset; then
32244 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
32245 with_gnu_ld=no
32246 else
32247 with_gnu_ld=$ac_cv_prog_gnu_ld
32251 # Start by getting the version number. I think the libtool test already
32252 # does some of this, but throws away the result.
32253 glibcxx_ld_is_gold=no
32254 if test x"$with_gnu_ld" = x"yes"; then
32255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
32256 $as_echo_n "checking for ld version... " >&6; }
32258 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
32259 glibcxx_ld_is_gold=yes
32261 ldver=`$LD --version 2>/dev/null |
32262 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
32264 glibcxx_gnu_ld_version=`echo $ldver | \
32265 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
32266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
32267 $as_echo "$glibcxx_gnu_ld_version" >&6; }
32270 # Set --gc-sections.
32271 glibcxx_have_gc_sections=no
32272 if test "$glibcxx_ld_is_gold" = "yes"; then
32273 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
32274 glibcxx_have_gc_sections=yes
32276 else
32277 glibcxx_gcsections_min_ld=21602
32278 if test x"$with_gnu_ld" = x"yes" &&
32279 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
32280 glibcxx_have_gc_sections=yes
32283 if test "$glibcxx_have_gc_sections" = "yes"; then
32284 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
32285 # NB: This flag only works reliably after 2.16.1. Configure tests
32286 # for this are difficult, so hard wire a value that should work.
32288 ac_test_CFLAGS="${CFLAGS+set}"
32289 ac_save_CFLAGS="$CFLAGS"
32290 CFLAGS='-Wl,--gc-sections'
32292 # Check for -Wl,--gc-sections
32293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
32294 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
32295 if test x$gcc_no_link = xyes; then
32296 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
32298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32299 /* end confdefs.h. */
32300 int one(void) { return 1; }
32301 int two(void) { return 2; }
32304 main ()
32306 two();
32308 return 0;
32310 _ACEOF
32311 if ac_fn_c_try_link "$LINENO"; then :
32312 ac_gcsections=yes
32313 else
32314 ac_gcsections=no
32316 rm -f core conftest.err conftest.$ac_objext \
32317 conftest$ac_exeext conftest.$ac_ext
32318 if test "$ac_gcsections" = "yes"; then
32319 rm -f conftest.c
32320 touch conftest.c
32321 if $CC -c conftest.c; then
32322 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
32323 grep "Warning: gc-sections option ignored" > /dev/null; then
32324 ac_gcsections=no
32327 rm -f conftest.c conftest.o conftest
32329 if test "$ac_gcsections" = "yes"; then
32330 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
32332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
32333 $as_echo "$ac_gcsections" >&6; }
32335 if test "$ac_test_CFLAGS" = set; then
32336 CFLAGS="$ac_save_CFLAGS"
32337 else
32338 # this is the suspicious part
32339 CFLAGS=''
32343 # Set -z,relro.
32344 # Note this is only for shared objects.
32345 ac_ld_relro=no
32346 if test x"$with_gnu_ld" = x"yes"; then
32347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
32348 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
32349 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
32350 if test -n "$cxx_z_relo"; then
32351 OPT_LDFLAGS="-Wl,-z,relro"
32352 ac_ld_relro=yes
32354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
32355 $as_echo "$ac_ld_relro" >&6; }
32358 # Set linker optimization flags.
32359 if test x"$with_gnu_ld" = x"yes"; then
32360 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
32367 ac_test_CXXFLAGS="${CXXFLAGS+set}"
32368 ac_save_CXXFLAGS="$CXXFLAGS"
32369 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
32372 $as_echo_n "checking for sin in -lm... " >&6; }
32373 if test "${ac_cv_lib_m_sin+set}" = set; then :
32374 $as_echo_n "(cached) " >&6
32375 else
32376 ac_check_lib_save_LIBS=$LIBS
32377 LIBS="-lm $LIBS"
32378 if test x$gcc_no_link = xyes; then
32379 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
32381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32382 /* end confdefs.h. */
32384 /* Override any GCC internal prototype to avoid an error.
32385 Use char because int might match the return type of a GCC
32386 builtin and then its argument prototype would still apply. */
32387 #ifdef __cplusplus
32388 extern "C"
32389 #endif
32390 char sin ();
32392 main ()
32394 return sin ();
32396 return 0;
32398 _ACEOF
32399 if ac_fn_c_try_link "$LINENO"; then :
32400 ac_cv_lib_m_sin=yes
32401 else
32402 ac_cv_lib_m_sin=no
32404 rm -f core conftest.err conftest.$ac_objext \
32405 conftest$ac_exeext conftest.$ac_ext
32406 LIBS=$ac_check_lib_save_LIBS
32408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
32409 $as_echo "$ac_cv_lib_m_sin" >&6; }
32410 if test "x$ac_cv_lib_m_sin" = x""yes; then :
32411 libm="-lm"
32414 ac_save_LIBS="$LIBS"
32415 LIBS="$LIBS $libm"
32419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
32420 $as_echo_n "checking for isinf declaration... " >&6; }
32421 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
32422 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
32423 $as_echo_n "(cached) " >&6
32424 else
32427 ac_ext=cpp
32428 ac_cpp='$CXXCPP $CPPFLAGS'
32429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32434 /* end confdefs.h. */
32435 #include <math.h>
32436 #ifdef HAVE_IEEEFP_H
32437 #include <ieeefp.h>
32438 #endif
32441 main ()
32443 isinf(0);
32445 return 0;
32447 _ACEOF
32448 if ac_fn_cxx_try_compile "$LINENO"; then :
32449 glibcxx_cv_func_isinf_use=yes
32450 else
32451 glibcxx_cv_func_isinf_use=no
32453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32454 ac_ext=c
32455 ac_cpp='$CPP $CPPFLAGS'
32456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
32465 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
32467 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
32468 for ac_func in isinf
32469 do :
32470 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
32471 if test "x$ac_cv_func_isinf" = x""yes; then :
32472 cat >>confdefs.h <<_ACEOF
32473 #define HAVE_ISINF 1
32474 _ACEOF
32477 done
32479 else
32481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
32482 $as_echo_n "checking for _isinf declaration... " >&6; }
32483 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
32484 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
32485 $as_echo_n "(cached) " >&6
32486 else
32489 ac_ext=cpp
32490 ac_cpp='$CXXCPP $CPPFLAGS'
32491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32496 /* end confdefs.h. */
32497 #include <math.h>
32498 #ifdef HAVE_IEEEFP_H
32499 #include <ieeefp.h>
32500 #endif
32503 main ()
32505 _isinf(0);
32507 return 0;
32509 _ACEOF
32510 if ac_fn_cxx_try_compile "$LINENO"; then :
32511 glibcxx_cv_func__isinf_use=yes
32512 else
32513 glibcxx_cv_func__isinf_use=no
32515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32516 ac_ext=c
32517 ac_cpp='$CPP $CPPFLAGS'
32518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
32527 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
32529 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
32530 for ac_func in _isinf
32531 do :
32532 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
32533 if test "x$ac_cv_func__isinf" = x""yes; then :
32534 cat >>confdefs.h <<_ACEOF
32535 #define HAVE__ISINF 1
32536 _ACEOF
32539 done
32548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
32549 $as_echo_n "checking for isnan declaration... " >&6; }
32550 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
32551 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
32552 $as_echo_n "(cached) " >&6
32553 else
32556 ac_ext=cpp
32557 ac_cpp='$CXXCPP $CPPFLAGS'
32558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32563 /* end confdefs.h. */
32564 #include <math.h>
32565 #ifdef HAVE_IEEEFP_H
32566 #include <ieeefp.h>
32567 #endif
32570 main ()
32572 isnan(0);
32574 return 0;
32576 _ACEOF
32577 if ac_fn_cxx_try_compile "$LINENO"; then :
32578 glibcxx_cv_func_isnan_use=yes
32579 else
32580 glibcxx_cv_func_isnan_use=no
32582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32583 ac_ext=c
32584 ac_cpp='$CPP $CPPFLAGS'
32585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
32594 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
32596 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
32597 for ac_func in isnan
32598 do :
32599 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
32600 if test "x$ac_cv_func_isnan" = x""yes; then :
32601 cat >>confdefs.h <<_ACEOF
32602 #define HAVE_ISNAN 1
32603 _ACEOF
32606 done
32608 else
32610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
32611 $as_echo_n "checking for _isnan declaration... " >&6; }
32612 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
32613 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
32614 $as_echo_n "(cached) " >&6
32615 else
32618 ac_ext=cpp
32619 ac_cpp='$CXXCPP $CPPFLAGS'
32620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32625 /* end confdefs.h. */
32626 #include <math.h>
32627 #ifdef HAVE_IEEEFP_H
32628 #include <ieeefp.h>
32629 #endif
32632 main ()
32634 _isnan(0);
32636 return 0;
32638 _ACEOF
32639 if ac_fn_cxx_try_compile "$LINENO"; then :
32640 glibcxx_cv_func__isnan_use=yes
32641 else
32642 glibcxx_cv_func__isnan_use=no
32644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32645 ac_ext=c
32646 ac_cpp='$CPP $CPPFLAGS'
32647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
32656 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
32658 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
32659 for ac_func in _isnan
32660 do :
32661 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
32662 if test "x$ac_cv_func__isnan" = x""yes; then :
32663 cat >>confdefs.h <<_ACEOF
32664 #define HAVE__ISNAN 1
32665 _ACEOF
32668 done
32677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
32678 $as_echo_n "checking for finite declaration... " >&6; }
32679 if test x${glibcxx_cv_func_finite_use+set} != xset; then
32680 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
32681 $as_echo_n "(cached) " >&6
32682 else
32685 ac_ext=cpp
32686 ac_cpp='$CXXCPP $CPPFLAGS'
32687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32692 /* end confdefs.h. */
32693 #include <math.h>
32694 #ifdef HAVE_IEEEFP_H
32695 #include <ieeefp.h>
32696 #endif
32699 main ()
32701 finite(0);
32703 return 0;
32705 _ACEOF
32706 if ac_fn_cxx_try_compile "$LINENO"; then :
32707 glibcxx_cv_func_finite_use=yes
32708 else
32709 glibcxx_cv_func_finite_use=no
32711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32712 ac_ext=c
32713 ac_cpp='$CPP $CPPFLAGS'
32714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
32723 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
32725 if test x$glibcxx_cv_func_finite_use = x"yes"; then
32726 for ac_func in finite
32727 do :
32728 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
32729 if test "x$ac_cv_func_finite" = x""yes; then :
32730 cat >>confdefs.h <<_ACEOF
32731 #define HAVE_FINITE 1
32732 _ACEOF
32735 done
32737 else
32739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
32740 $as_echo_n "checking for _finite declaration... " >&6; }
32741 if test x${glibcxx_cv_func__finite_use+set} != xset; then
32742 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
32743 $as_echo_n "(cached) " >&6
32744 else
32747 ac_ext=cpp
32748 ac_cpp='$CXXCPP $CPPFLAGS'
32749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32754 /* end confdefs.h. */
32755 #include <math.h>
32756 #ifdef HAVE_IEEEFP_H
32757 #include <ieeefp.h>
32758 #endif
32761 main ()
32763 _finite(0);
32765 return 0;
32767 _ACEOF
32768 if ac_fn_cxx_try_compile "$LINENO"; then :
32769 glibcxx_cv_func__finite_use=yes
32770 else
32771 glibcxx_cv_func__finite_use=no
32773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32774 ac_ext=c
32775 ac_cpp='$CPP $CPPFLAGS'
32776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
32785 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
32787 if test x$glibcxx_cv_func__finite_use = x"yes"; then
32788 for ac_func in _finite
32789 do :
32790 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
32791 if test "x$ac_cv_func__finite" = x""yes; then :
32792 cat >>confdefs.h <<_ACEOF
32793 #define HAVE__FINITE 1
32794 _ACEOF
32797 done
32806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
32807 $as_echo_n "checking for sincos declaration... " >&6; }
32808 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
32809 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
32810 $as_echo_n "(cached) " >&6
32811 else
32814 ac_ext=cpp
32815 ac_cpp='$CXXCPP $CPPFLAGS'
32816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32821 /* end confdefs.h. */
32822 #include <math.h>
32824 main ()
32826 sincos(0, 0, 0);
32828 return 0;
32830 _ACEOF
32831 if ac_fn_cxx_try_compile "$LINENO"; then :
32832 glibcxx_cv_func_sincos_use=yes
32833 else
32834 glibcxx_cv_func_sincos_use=no
32836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32837 ac_ext=c
32838 ac_cpp='$CPP $CPPFLAGS'
32839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
32848 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
32850 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
32851 for ac_func in sincos
32852 do :
32853 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
32854 if test "x$ac_cv_func_sincos" = x""yes; then :
32855 cat >>confdefs.h <<_ACEOF
32856 #define HAVE_SINCOS 1
32857 _ACEOF
32860 done
32862 else
32864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
32865 $as_echo_n "checking for _sincos declaration... " >&6; }
32866 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
32867 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
32868 $as_echo_n "(cached) " >&6
32869 else
32872 ac_ext=cpp
32873 ac_cpp='$CXXCPP $CPPFLAGS'
32874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32879 /* end confdefs.h. */
32880 #include <math.h>
32882 main ()
32884 _sincos(0, 0, 0);
32886 return 0;
32888 _ACEOF
32889 if ac_fn_cxx_try_compile "$LINENO"; then :
32890 glibcxx_cv_func__sincos_use=yes
32891 else
32892 glibcxx_cv_func__sincos_use=no
32894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32895 ac_ext=c
32896 ac_cpp='$CPP $CPPFLAGS'
32897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
32906 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
32908 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
32909 for ac_func in _sincos
32910 do :
32911 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
32912 if test "x$ac_cv_func__sincos" = x""yes; then :
32913 cat >>confdefs.h <<_ACEOF
32914 #define HAVE__SINCOS 1
32915 _ACEOF
32918 done
32927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
32928 $as_echo_n "checking for fpclass declaration... " >&6; }
32929 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
32930 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
32931 $as_echo_n "(cached) " >&6
32932 else
32935 ac_ext=cpp
32936 ac_cpp='$CXXCPP $CPPFLAGS'
32937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32942 /* end confdefs.h. */
32943 #include <math.h>
32944 #ifdef HAVE_IEEEFP_H
32945 #include <ieeefp.h>
32946 #endif
32949 main ()
32951 fpclass(0);
32953 return 0;
32955 _ACEOF
32956 if ac_fn_cxx_try_compile "$LINENO"; then :
32957 glibcxx_cv_func_fpclass_use=yes
32958 else
32959 glibcxx_cv_func_fpclass_use=no
32961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32962 ac_ext=c
32963 ac_cpp='$CPP $CPPFLAGS'
32964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
32973 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
32975 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
32976 for ac_func in fpclass
32977 do :
32978 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
32979 if test "x$ac_cv_func_fpclass" = x""yes; then :
32980 cat >>confdefs.h <<_ACEOF
32981 #define HAVE_FPCLASS 1
32982 _ACEOF
32985 done
32987 else
32989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
32990 $as_echo_n "checking for _fpclass declaration... " >&6; }
32991 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
32992 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
32993 $as_echo_n "(cached) " >&6
32994 else
32997 ac_ext=cpp
32998 ac_cpp='$CXXCPP $CPPFLAGS'
32999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33004 /* end confdefs.h. */
33005 #include <math.h>
33006 #ifdef HAVE_IEEEFP_H
33007 #include <ieeefp.h>
33008 #endif
33011 main ()
33013 _fpclass(0);
33015 return 0;
33017 _ACEOF
33018 if ac_fn_cxx_try_compile "$LINENO"; then :
33019 glibcxx_cv_func__fpclass_use=yes
33020 else
33021 glibcxx_cv_func__fpclass_use=no
33023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33024 ac_ext=c
33025 ac_cpp='$CPP $CPPFLAGS'
33026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
33035 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
33037 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33038 for ac_func in _fpclass
33039 do :
33040 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
33041 if test "x$ac_cv_func__fpclass" = x""yes; then :
33042 cat >>confdefs.h <<_ACEOF
33043 #define HAVE__FPCLASS 1
33044 _ACEOF
33047 done
33056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
33057 $as_echo_n "checking for qfpclass declaration... " >&6; }
33058 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
33059 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
33060 $as_echo_n "(cached) " >&6
33061 else
33064 ac_ext=cpp
33065 ac_cpp='$CXXCPP $CPPFLAGS'
33066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33071 /* end confdefs.h. */
33072 #include <math.h>
33073 #ifdef HAVE_IEEEFP_H
33074 #include <ieeefp.h>
33075 #endif
33078 main ()
33080 qfpclass(0);
33082 return 0;
33084 _ACEOF
33085 if ac_fn_cxx_try_compile "$LINENO"; then :
33086 glibcxx_cv_func_qfpclass_use=yes
33087 else
33088 glibcxx_cv_func_qfpclass_use=no
33090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33091 ac_ext=c
33092 ac_cpp='$CPP $CPPFLAGS'
33093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
33102 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
33104 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
33105 for ac_func in qfpclass
33106 do :
33107 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
33108 if test "x$ac_cv_func_qfpclass" = x""yes; then :
33109 cat >>confdefs.h <<_ACEOF
33110 #define HAVE_QFPCLASS 1
33111 _ACEOF
33114 done
33116 else
33118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
33119 $as_echo_n "checking for _qfpclass declaration... " >&6; }
33120 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
33121 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
33122 $as_echo_n "(cached) " >&6
33123 else
33126 ac_ext=cpp
33127 ac_cpp='$CXXCPP $CPPFLAGS'
33128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33133 /* end confdefs.h. */
33134 #include <math.h>
33135 #ifdef HAVE_IEEEFP_H
33136 #include <ieeefp.h>
33137 #endif
33140 main ()
33142 _qfpclass(0);
33144 return 0;
33146 _ACEOF
33147 if ac_fn_cxx_try_compile "$LINENO"; then :
33148 glibcxx_cv_func__qfpclass_use=yes
33149 else
33150 glibcxx_cv_func__qfpclass_use=no
33152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33153 ac_ext=c
33154 ac_cpp='$CPP $CPPFLAGS'
33155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
33164 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
33166 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
33167 for ac_func in _qfpclass
33168 do :
33169 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
33170 if test "x$ac_cv_func__qfpclass" = x""yes; then :
33171 cat >>confdefs.h <<_ACEOF
33172 #define HAVE__QFPCLASS 1
33173 _ACEOF
33176 done
33185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
33186 $as_echo_n "checking for hypot declaration... " >&6; }
33187 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
33188 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
33189 $as_echo_n "(cached) " >&6
33190 else
33193 ac_ext=cpp
33194 ac_cpp='$CXXCPP $CPPFLAGS'
33195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33200 /* end confdefs.h. */
33201 #include <math.h>
33203 main ()
33205 hypot(0, 0);
33207 return 0;
33209 _ACEOF
33210 if ac_fn_cxx_try_compile "$LINENO"; then :
33211 glibcxx_cv_func_hypot_use=yes
33212 else
33213 glibcxx_cv_func_hypot_use=no
33215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33216 ac_ext=c
33217 ac_cpp='$CPP $CPPFLAGS'
33218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
33227 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
33229 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
33230 for ac_func in hypot
33231 do :
33232 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
33233 if test "x$ac_cv_func_hypot" = x""yes; then :
33234 cat >>confdefs.h <<_ACEOF
33235 #define HAVE_HYPOT 1
33236 _ACEOF
33239 done
33241 else
33243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
33244 $as_echo_n "checking for _hypot declaration... " >&6; }
33245 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
33246 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
33247 $as_echo_n "(cached) " >&6
33248 else
33251 ac_ext=cpp
33252 ac_cpp='$CXXCPP $CPPFLAGS'
33253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33258 /* end confdefs.h. */
33259 #include <math.h>
33261 main ()
33263 _hypot(0, 0);
33265 return 0;
33267 _ACEOF
33268 if ac_fn_cxx_try_compile "$LINENO"; then :
33269 glibcxx_cv_func__hypot_use=yes
33270 else
33271 glibcxx_cv_func__hypot_use=no
33273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33274 ac_ext=c
33275 ac_cpp='$CPP $CPPFLAGS'
33276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
33285 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
33287 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
33288 for ac_func in _hypot
33289 do :
33290 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
33291 if test "x$ac_cv_func__hypot" = x""yes; then :
33292 cat >>confdefs.h <<_ACEOF
33293 #define HAVE__HYPOT 1
33294 _ACEOF
33297 done
33306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
33307 $as_echo_n "checking for float trig functions... " >&6; }
33308 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
33309 $as_echo_n "(cached) " >&6
33310 else
33313 ac_ext=cpp
33314 ac_cpp='$CXXCPP $CPPFLAGS'
33315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33320 /* end confdefs.h. */
33321 #include <math.h>
33323 main ()
33325 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
33327 return 0;
33329 _ACEOF
33330 if ac_fn_cxx_try_compile "$LINENO"; then :
33331 glibcxx_cv_func_float_trig_use=yes
33332 else
33333 glibcxx_cv_func_float_trig_use=no
33335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33336 ac_ext=c
33337 ac_cpp='$CPP $CPPFLAGS'
33338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
33345 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
33346 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
33347 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
33348 do :
33349 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33350 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33351 eval as_val=\$$as_ac_var
33352 if test "x$as_val" = x""yes; then :
33353 cat >>confdefs.h <<_ACEOF
33354 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33355 _ACEOF
33358 done
33360 else
33361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
33362 $as_echo_n "checking for _float trig functions... " >&6; }
33363 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
33364 $as_echo_n "(cached) " >&6
33365 else
33368 ac_ext=cpp
33369 ac_cpp='$CXXCPP $CPPFLAGS'
33370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33375 /* end confdefs.h. */
33376 #include <math.h>
33378 main ()
33380 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
33382 return 0;
33384 _ACEOF
33385 if ac_fn_cxx_try_compile "$LINENO"; then :
33386 glibcxx_cv_func__float_trig_use=yes
33387 else
33388 glibcxx_cv_func__float_trig_use=no
33390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33391 ac_ext=c
33392 ac_cpp='$CPP $CPPFLAGS'
33393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
33400 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
33401 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
33402 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
33403 do :
33404 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33405 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33406 eval as_val=\$$as_ac_var
33407 if test "x$as_val" = x""yes; then :
33408 cat >>confdefs.h <<_ACEOF
33409 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33410 _ACEOF
33413 done
33422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
33423 $as_echo_n "checking for float round functions... " >&6; }
33424 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
33425 $as_echo_n "(cached) " >&6
33426 else
33429 ac_ext=cpp
33430 ac_cpp='$CXXCPP $CPPFLAGS'
33431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33436 /* end confdefs.h. */
33437 #include <math.h>
33439 main ()
33441 ceilf (0); floorf (0);
33443 return 0;
33445 _ACEOF
33446 if ac_fn_cxx_try_compile "$LINENO"; then :
33447 glibcxx_cv_func_float_round_use=yes
33448 else
33449 glibcxx_cv_func_float_round_use=no
33451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33452 ac_ext=c
33453 ac_cpp='$CPP $CPPFLAGS'
33454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
33461 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
33462 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
33463 for ac_func in ceilf floorf
33464 do :
33465 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33466 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33467 eval as_val=\$$as_ac_var
33468 if test "x$as_val" = x""yes; then :
33469 cat >>confdefs.h <<_ACEOF
33470 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33471 _ACEOF
33474 done
33476 else
33477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
33478 $as_echo_n "checking for _float round functions... " >&6; }
33479 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
33480 $as_echo_n "(cached) " >&6
33481 else
33484 ac_ext=cpp
33485 ac_cpp='$CXXCPP $CPPFLAGS'
33486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33491 /* end confdefs.h. */
33492 #include <math.h>
33494 main ()
33496 _ceilf (0); _floorf (0);
33498 return 0;
33500 _ACEOF
33501 if ac_fn_cxx_try_compile "$LINENO"; then :
33502 glibcxx_cv_func__float_round_use=yes
33503 else
33504 glibcxx_cv_func__float_round_use=no
33506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33507 ac_ext=c
33508 ac_cpp='$CPP $CPPFLAGS'
33509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
33516 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
33517 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
33518 for ac_func in _ceilf _floorf
33519 do :
33520 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33521 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33522 eval as_val=\$$as_ac_var
33523 if test "x$as_val" = x""yes; then :
33524 cat >>confdefs.h <<_ACEOF
33525 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33526 _ACEOF
33529 done
33539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
33540 $as_echo_n "checking for expf declaration... " >&6; }
33541 if test x${glibcxx_cv_func_expf_use+set} != xset; then
33542 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
33543 $as_echo_n "(cached) " >&6
33544 else
33547 ac_ext=cpp
33548 ac_cpp='$CXXCPP $CPPFLAGS'
33549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33554 /* end confdefs.h. */
33555 #include <math.h>
33556 #ifdef HAVE_IEEEFP_H
33557 #include <ieeefp.h>
33558 #endif
33561 main ()
33563 expf(0);
33565 return 0;
33567 _ACEOF
33568 if ac_fn_cxx_try_compile "$LINENO"; then :
33569 glibcxx_cv_func_expf_use=yes
33570 else
33571 glibcxx_cv_func_expf_use=no
33573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33574 ac_ext=c
33575 ac_cpp='$CPP $CPPFLAGS'
33576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
33585 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
33587 if test x$glibcxx_cv_func_expf_use = x"yes"; then
33588 for ac_func in expf
33589 do :
33590 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
33591 if test "x$ac_cv_func_expf" = x""yes; then :
33592 cat >>confdefs.h <<_ACEOF
33593 #define HAVE_EXPF 1
33594 _ACEOF
33597 done
33599 else
33601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
33602 $as_echo_n "checking for _expf declaration... " >&6; }
33603 if test x${glibcxx_cv_func__expf_use+set} != xset; then
33604 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
33605 $as_echo_n "(cached) " >&6
33606 else
33609 ac_ext=cpp
33610 ac_cpp='$CXXCPP $CPPFLAGS'
33611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33616 /* end confdefs.h. */
33617 #include <math.h>
33618 #ifdef HAVE_IEEEFP_H
33619 #include <ieeefp.h>
33620 #endif
33623 main ()
33625 _expf(0);
33627 return 0;
33629 _ACEOF
33630 if ac_fn_cxx_try_compile "$LINENO"; then :
33631 glibcxx_cv_func__expf_use=yes
33632 else
33633 glibcxx_cv_func__expf_use=no
33635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33636 ac_ext=c
33637 ac_cpp='$CPP $CPPFLAGS'
33638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
33647 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
33649 if test x$glibcxx_cv_func__expf_use = x"yes"; then
33650 for ac_func in _expf
33651 do :
33652 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
33653 if test "x$ac_cv_func__expf" = x""yes; then :
33654 cat >>confdefs.h <<_ACEOF
33655 #define HAVE__EXPF 1
33656 _ACEOF
33659 done
33668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
33669 $as_echo_n "checking for isnanf declaration... " >&6; }
33670 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
33671 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
33672 $as_echo_n "(cached) " >&6
33673 else
33676 ac_ext=cpp
33677 ac_cpp='$CXXCPP $CPPFLAGS'
33678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33683 /* end confdefs.h. */
33684 #include <math.h>
33685 #ifdef HAVE_IEEEFP_H
33686 #include <ieeefp.h>
33687 #endif
33690 main ()
33692 isnanf(0);
33694 return 0;
33696 _ACEOF
33697 if ac_fn_cxx_try_compile "$LINENO"; then :
33698 glibcxx_cv_func_isnanf_use=yes
33699 else
33700 glibcxx_cv_func_isnanf_use=no
33702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33703 ac_ext=c
33704 ac_cpp='$CPP $CPPFLAGS'
33705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
33714 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
33716 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
33717 for ac_func in isnanf
33718 do :
33719 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
33720 if test "x$ac_cv_func_isnanf" = x""yes; then :
33721 cat >>confdefs.h <<_ACEOF
33722 #define HAVE_ISNANF 1
33723 _ACEOF
33726 done
33728 else
33730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
33731 $as_echo_n "checking for _isnanf declaration... " >&6; }
33732 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
33733 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
33734 $as_echo_n "(cached) " >&6
33735 else
33738 ac_ext=cpp
33739 ac_cpp='$CXXCPP $CPPFLAGS'
33740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33745 /* end confdefs.h. */
33746 #include <math.h>
33747 #ifdef HAVE_IEEEFP_H
33748 #include <ieeefp.h>
33749 #endif
33752 main ()
33754 _isnanf(0);
33756 return 0;
33758 _ACEOF
33759 if ac_fn_cxx_try_compile "$LINENO"; then :
33760 glibcxx_cv_func__isnanf_use=yes
33761 else
33762 glibcxx_cv_func__isnanf_use=no
33764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33765 ac_ext=c
33766 ac_cpp='$CPP $CPPFLAGS'
33767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
33776 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
33778 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
33779 for ac_func in _isnanf
33780 do :
33781 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
33782 if test "x$ac_cv_func__isnanf" = x""yes; then :
33783 cat >>confdefs.h <<_ACEOF
33784 #define HAVE__ISNANF 1
33785 _ACEOF
33788 done
33797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
33798 $as_echo_n "checking for isinff declaration... " >&6; }
33799 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
33800 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
33801 $as_echo_n "(cached) " >&6
33802 else
33805 ac_ext=cpp
33806 ac_cpp='$CXXCPP $CPPFLAGS'
33807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33812 /* end confdefs.h. */
33813 #include <math.h>
33814 #ifdef HAVE_IEEEFP_H
33815 #include <ieeefp.h>
33816 #endif
33819 main ()
33821 isinff(0);
33823 return 0;
33825 _ACEOF
33826 if ac_fn_cxx_try_compile "$LINENO"; then :
33827 glibcxx_cv_func_isinff_use=yes
33828 else
33829 glibcxx_cv_func_isinff_use=no
33831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33832 ac_ext=c
33833 ac_cpp='$CPP $CPPFLAGS'
33834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
33843 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
33845 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
33846 for ac_func in isinff
33847 do :
33848 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
33849 if test "x$ac_cv_func_isinff" = x""yes; then :
33850 cat >>confdefs.h <<_ACEOF
33851 #define HAVE_ISINFF 1
33852 _ACEOF
33855 done
33857 else
33859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
33860 $as_echo_n "checking for _isinff declaration... " >&6; }
33861 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
33862 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
33863 $as_echo_n "(cached) " >&6
33864 else
33867 ac_ext=cpp
33868 ac_cpp='$CXXCPP $CPPFLAGS'
33869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33874 /* end confdefs.h. */
33875 #include <math.h>
33876 #ifdef HAVE_IEEEFP_H
33877 #include <ieeefp.h>
33878 #endif
33881 main ()
33883 _isinff(0);
33885 return 0;
33887 _ACEOF
33888 if ac_fn_cxx_try_compile "$LINENO"; then :
33889 glibcxx_cv_func__isinff_use=yes
33890 else
33891 glibcxx_cv_func__isinff_use=no
33893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33894 ac_ext=c
33895 ac_cpp='$CPP $CPPFLAGS'
33896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
33905 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
33907 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
33908 for ac_func in _isinff
33909 do :
33910 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
33911 if test "x$ac_cv_func__isinff" = x""yes; then :
33912 cat >>confdefs.h <<_ACEOF
33913 #define HAVE__ISINFF 1
33914 _ACEOF
33917 done
33926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
33927 $as_echo_n "checking for atan2f declaration... " >&6; }
33928 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
33929 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
33930 $as_echo_n "(cached) " >&6
33931 else
33934 ac_ext=cpp
33935 ac_cpp='$CXXCPP $CPPFLAGS'
33936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33941 /* end confdefs.h. */
33942 #include <math.h>
33944 main ()
33946 atan2f(0, 0);
33948 return 0;
33950 _ACEOF
33951 if ac_fn_cxx_try_compile "$LINENO"; then :
33952 glibcxx_cv_func_atan2f_use=yes
33953 else
33954 glibcxx_cv_func_atan2f_use=no
33956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33957 ac_ext=c
33958 ac_cpp='$CPP $CPPFLAGS'
33959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
33968 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
33970 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
33971 for ac_func in atan2f
33972 do :
33973 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
33974 if test "x$ac_cv_func_atan2f" = x""yes; then :
33975 cat >>confdefs.h <<_ACEOF
33976 #define HAVE_ATAN2F 1
33977 _ACEOF
33980 done
33982 else
33984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
33985 $as_echo_n "checking for _atan2f declaration... " >&6; }
33986 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
33987 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
33988 $as_echo_n "(cached) " >&6
33989 else
33992 ac_ext=cpp
33993 ac_cpp='$CXXCPP $CPPFLAGS'
33994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33999 /* end confdefs.h. */
34000 #include <math.h>
34002 main ()
34004 _atan2f(0, 0);
34006 return 0;
34008 _ACEOF
34009 if ac_fn_cxx_try_compile "$LINENO"; then :
34010 glibcxx_cv_func__atan2f_use=yes
34011 else
34012 glibcxx_cv_func__atan2f_use=no
34014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34015 ac_ext=c
34016 ac_cpp='$CPP $CPPFLAGS'
34017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
34026 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
34028 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
34029 for ac_func in _atan2f
34030 do :
34031 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
34032 if test "x$ac_cv_func__atan2f" = x""yes; then :
34033 cat >>confdefs.h <<_ACEOF
34034 #define HAVE__ATAN2F 1
34035 _ACEOF
34038 done
34047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
34048 $as_echo_n "checking for fabsf declaration... " >&6; }
34049 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
34050 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
34051 $as_echo_n "(cached) " >&6
34052 else
34055 ac_ext=cpp
34056 ac_cpp='$CXXCPP $CPPFLAGS'
34057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34062 /* end confdefs.h. */
34063 #include <math.h>
34064 #ifdef HAVE_IEEEFP_H
34065 #include <ieeefp.h>
34066 #endif
34069 main ()
34071 fabsf(0);
34073 return 0;
34075 _ACEOF
34076 if ac_fn_cxx_try_compile "$LINENO"; then :
34077 glibcxx_cv_func_fabsf_use=yes
34078 else
34079 glibcxx_cv_func_fabsf_use=no
34081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34082 ac_ext=c
34083 ac_cpp='$CPP $CPPFLAGS'
34084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
34093 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
34095 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
34096 for ac_func in fabsf
34097 do :
34098 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
34099 if test "x$ac_cv_func_fabsf" = x""yes; then :
34100 cat >>confdefs.h <<_ACEOF
34101 #define HAVE_FABSF 1
34102 _ACEOF
34105 done
34107 else
34109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
34110 $as_echo_n "checking for _fabsf declaration... " >&6; }
34111 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
34112 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
34113 $as_echo_n "(cached) " >&6
34114 else
34117 ac_ext=cpp
34118 ac_cpp='$CXXCPP $CPPFLAGS'
34119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34124 /* end confdefs.h. */
34125 #include <math.h>
34126 #ifdef HAVE_IEEEFP_H
34127 #include <ieeefp.h>
34128 #endif
34131 main ()
34133 _fabsf(0);
34135 return 0;
34137 _ACEOF
34138 if ac_fn_cxx_try_compile "$LINENO"; then :
34139 glibcxx_cv_func__fabsf_use=yes
34140 else
34141 glibcxx_cv_func__fabsf_use=no
34143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34144 ac_ext=c
34145 ac_cpp='$CPP $CPPFLAGS'
34146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
34155 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
34157 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
34158 for ac_func in _fabsf
34159 do :
34160 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
34161 if test "x$ac_cv_func__fabsf" = x""yes; then :
34162 cat >>confdefs.h <<_ACEOF
34163 #define HAVE__FABSF 1
34164 _ACEOF
34167 done
34176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
34177 $as_echo_n "checking for fmodf declaration... " >&6; }
34178 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
34179 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
34180 $as_echo_n "(cached) " >&6
34181 else
34184 ac_ext=cpp
34185 ac_cpp='$CXXCPP $CPPFLAGS'
34186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34191 /* end confdefs.h. */
34192 #include <math.h>
34194 main ()
34196 fmodf(0, 0);
34198 return 0;
34200 _ACEOF
34201 if ac_fn_cxx_try_compile "$LINENO"; then :
34202 glibcxx_cv_func_fmodf_use=yes
34203 else
34204 glibcxx_cv_func_fmodf_use=no
34206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34207 ac_ext=c
34208 ac_cpp='$CPP $CPPFLAGS'
34209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
34218 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
34220 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
34221 for ac_func in fmodf
34222 do :
34223 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
34224 if test "x$ac_cv_func_fmodf" = x""yes; then :
34225 cat >>confdefs.h <<_ACEOF
34226 #define HAVE_FMODF 1
34227 _ACEOF
34230 done
34232 else
34234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
34235 $as_echo_n "checking for _fmodf declaration... " >&6; }
34236 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
34237 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
34238 $as_echo_n "(cached) " >&6
34239 else
34242 ac_ext=cpp
34243 ac_cpp='$CXXCPP $CPPFLAGS'
34244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34249 /* end confdefs.h. */
34250 #include <math.h>
34252 main ()
34254 _fmodf(0, 0);
34256 return 0;
34258 _ACEOF
34259 if ac_fn_cxx_try_compile "$LINENO"; then :
34260 glibcxx_cv_func__fmodf_use=yes
34261 else
34262 glibcxx_cv_func__fmodf_use=no
34264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34265 ac_ext=c
34266 ac_cpp='$CPP $CPPFLAGS'
34267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
34276 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
34278 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
34279 for ac_func in _fmodf
34280 do :
34281 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
34282 if test "x$ac_cv_func__fmodf" = x""yes; then :
34283 cat >>confdefs.h <<_ACEOF
34284 #define HAVE__FMODF 1
34285 _ACEOF
34288 done
34297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
34298 $as_echo_n "checking for frexpf declaration... " >&6; }
34299 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
34300 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
34301 $as_echo_n "(cached) " >&6
34302 else
34305 ac_ext=cpp
34306 ac_cpp='$CXXCPP $CPPFLAGS'
34307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34312 /* end confdefs.h. */
34313 #include <math.h>
34315 main ()
34317 frexpf(0, 0);
34319 return 0;
34321 _ACEOF
34322 if ac_fn_cxx_try_compile "$LINENO"; then :
34323 glibcxx_cv_func_frexpf_use=yes
34324 else
34325 glibcxx_cv_func_frexpf_use=no
34327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34328 ac_ext=c
34329 ac_cpp='$CPP $CPPFLAGS'
34330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
34339 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
34341 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
34342 for ac_func in frexpf
34343 do :
34344 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
34345 if test "x$ac_cv_func_frexpf" = x""yes; then :
34346 cat >>confdefs.h <<_ACEOF
34347 #define HAVE_FREXPF 1
34348 _ACEOF
34351 done
34353 else
34355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
34356 $as_echo_n "checking for _frexpf declaration... " >&6; }
34357 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
34358 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
34359 $as_echo_n "(cached) " >&6
34360 else
34363 ac_ext=cpp
34364 ac_cpp='$CXXCPP $CPPFLAGS'
34365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34370 /* end confdefs.h. */
34371 #include <math.h>
34373 main ()
34375 _frexpf(0, 0);
34377 return 0;
34379 _ACEOF
34380 if ac_fn_cxx_try_compile "$LINENO"; then :
34381 glibcxx_cv_func__frexpf_use=yes
34382 else
34383 glibcxx_cv_func__frexpf_use=no
34385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34386 ac_ext=c
34387 ac_cpp='$CPP $CPPFLAGS'
34388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
34397 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
34399 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
34400 for ac_func in _frexpf
34401 do :
34402 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
34403 if test "x$ac_cv_func__frexpf" = x""yes; then :
34404 cat >>confdefs.h <<_ACEOF
34405 #define HAVE__FREXPF 1
34406 _ACEOF
34409 done
34418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
34419 $as_echo_n "checking for hypotf declaration... " >&6; }
34420 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
34421 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
34422 $as_echo_n "(cached) " >&6
34423 else
34426 ac_ext=cpp
34427 ac_cpp='$CXXCPP $CPPFLAGS'
34428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34433 /* end confdefs.h. */
34434 #include <math.h>
34436 main ()
34438 hypotf(0, 0);
34440 return 0;
34442 _ACEOF
34443 if ac_fn_cxx_try_compile "$LINENO"; then :
34444 glibcxx_cv_func_hypotf_use=yes
34445 else
34446 glibcxx_cv_func_hypotf_use=no
34448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34449 ac_ext=c
34450 ac_cpp='$CPP $CPPFLAGS'
34451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
34460 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
34462 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
34463 for ac_func in hypotf
34464 do :
34465 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
34466 if test "x$ac_cv_func_hypotf" = x""yes; then :
34467 cat >>confdefs.h <<_ACEOF
34468 #define HAVE_HYPOTF 1
34469 _ACEOF
34472 done
34474 else
34476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
34477 $as_echo_n "checking for _hypotf declaration... " >&6; }
34478 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
34479 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
34480 $as_echo_n "(cached) " >&6
34481 else
34484 ac_ext=cpp
34485 ac_cpp='$CXXCPP $CPPFLAGS'
34486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34491 /* end confdefs.h. */
34492 #include <math.h>
34494 main ()
34496 _hypotf(0, 0);
34498 return 0;
34500 _ACEOF
34501 if ac_fn_cxx_try_compile "$LINENO"; then :
34502 glibcxx_cv_func__hypotf_use=yes
34503 else
34504 glibcxx_cv_func__hypotf_use=no
34506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34507 ac_ext=c
34508 ac_cpp='$CPP $CPPFLAGS'
34509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
34518 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
34520 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
34521 for ac_func in _hypotf
34522 do :
34523 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
34524 if test "x$ac_cv_func__hypotf" = x""yes; then :
34525 cat >>confdefs.h <<_ACEOF
34526 #define HAVE__HYPOTF 1
34527 _ACEOF
34530 done
34539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
34540 $as_echo_n "checking for ldexpf declaration... " >&6; }
34541 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
34542 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
34543 $as_echo_n "(cached) " >&6
34544 else
34547 ac_ext=cpp
34548 ac_cpp='$CXXCPP $CPPFLAGS'
34549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34554 /* end confdefs.h. */
34555 #include <math.h>
34557 main ()
34559 ldexpf(0, 0);
34561 return 0;
34563 _ACEOF
34564 if ac_fn_cxx_try_compile "$LINENO"; then :
34565 glibcxx_cv_func_ldexpf_use=yes
34566 else
34567 glibcxx_cv_func_ldexpf_use=no
34569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34570 ac_ext=c
34571 ac_cpp='$CPP $CPPFLAGS'
34572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
34581 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
34583 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
34584 for ac_func in ldexpf
34585 do :
34586 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
34587 if test "x$ac_cv_func_ldexpf" = x""yes; then :
34588 cat >>confdefs.h <<_ACEOF
34589 #define HAVE_LDEXPF 1
34590 _ACEOF
34593 done
34595 else
34597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
34598 $as_echo_n "checking for _ldexpf declaration... " >&6; }
34599 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
34600 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
34601 $as_echo_n "(cached) " >&6
34602 else
34605 ac_ext=cpp
34606 ac_cpp='$CXXCPP $CPPFLAGS'
34607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34612 /* end confdefs.h. */
34613 #include <math.h>
34615 main ()
34617 _ldexpf(0, 0);
34619 return 0;
34621 _ACEOF
34622 if ac_fn_cxx_try_compile "$LINENO"; then :
34623 glibcxx_cv_func__ldexpf_use=yes
34624 else
34625 glibcxx_cv_func__ldexpf_use=no
34627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34628 ac_ext=c
34629 ac_cpp='$CPP $CPPFLAGS'
34630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
34639 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
34641 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
34642 for ac_func in _ldexpf
34643 do :
34644 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
34645 if test "x$ac_cv_func__ldexpf" = x""yes; then :
34646 cat >>confdefs.h <<_ACEOF
34647 #define HAVE__LDEXPF 1
34648 _ACEOF
34651 done
34660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
34661 $as_echo_n "checking for logf declaration... " >&6; }
34662 if test x${glibcxx_cv_func_logf_use+set} != xset; then
34663 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
34664 $as_echo_n "(cached) " >&6
34665 else
34668 ac_ext=cpp
34669 ac_cpp='$CXXCPP $CPPFLAGS'
34670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34675 /* end confdefs.h. */
34676 #include <math.h>
34677 #ifdef HAVE_IEEEFP_H
34678 #include <ieeefp.h>
34679 #endif
34682 main ()
34684 logf(0);
34686 return 0;
34688 _ACEOF
34689 if ac_fn_cxx_try_compile "$LINENO"; then :
34690 glibcxx_cv_func_logf_use=yes
34691 else
34692 glibcxx_cv_func_logf_use=no
34694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34695 ac_ext=c
34696 ac_cpp='$CPP $CPPFLAGS'
34697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
34706 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
34708 if test x$glibcxx_cv_func_logf_use = x"yes"; then
34709 for ac_func in logf
34710 do :
34711 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
34712 if test "x$ac_cv_func_logf" = x""yes; then :
34713 cat >>confdefs.h <<_ACEOF
34714 #define HAVE_LOGF 1
34715 _ACEOF
34718 done
34720 else
34722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
34723 $as_echo_n "checking for _logf declaration... " >&6; }
34724 if test x${glibcxx_cv_func__logf_use+set} != xset; then
34725 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
34726 $as_echo_n "(cached) " >&6
34727 else
34730 ac_ext=cpp
34731 ac_cpp='$CXXCPP $CPPFLAGS'
34732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34737 /* end confdefs.h. */
34738 #include <math.h>
34739 #ifdef HAVE_IEEEFP_H
34740 #include <ieeefp.h>
34741 #endif
34744 main ()
34746 _logf(0);
34748 return 0;
34750 _ACEOF
34751 if ac_fn_cxx_try_compile "$LINENO"; then :
34752 glibcxx_cv_func__logf_use=yes
34753 else
34754 glibcxx_cv_func__logf_use=no
34756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34757 ac_ext=c
34758 ac_cpp='$CPP $CPPFLAGS'
34759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
34768 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
34770 if test x$glibcxx_cv_func__logf_use = x"yes"; then
34771 for ac_func in _logf
34772 do :
34773 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
34774 if test "x$ac_cv_func__logf" = x""yes; then :
34775 cat >>confdefs.h <<_ACEOF
34776 #define HAVE__LOGF 1
34777 _ACEOF
34780 done
34789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
34790 $as_echo_n "checking for log10f declaration... " >&6; }
34791 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
34792 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
34793 $as_echo_n "(cached) " >&6
34794 else
34797 ac_ext=cpp
34798 ac_cpp='$CXXCPP $CPPFLAGS'
34799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34804 /* end confdefs.h. */
34805 #include <math.h>
34806 #ifdef HAVE_IEEEFP_H
34807 #include <ieeefp.h>
34808 #endif
34811 main ()
34813 log10f(0);
34815 return 0;
34817 _ACEOF
34818 if ac_fn_cxx_try_compile "$LINENO"; then :
34819 glibcxx_cv_func_log10f_use=yes
34820 else
34821 glibcxx_cv_func_log10f_use=no
34823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34824 ac_ext=c
34825 ac_cpp='$CPP $CPPFLAGS'
34826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
34835 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
34837 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
34838 for ac_func in log10f
34839 do :
34840 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
34841 if test "x$ac_cv_func_log10f" = x""yes; then :
34842 cat >>confdefs.h <<_ACEOF
34843 #define HAVE_LOG10F 1
34844 _ACEOF
34847 done
34849 else
34851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
34852 $as_echo_n "checking for _log10f declaration... " >&6; }
34853 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
34854 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
34855 $as_echo_n "(cached) " >&6
34856 else
34859 ac_ext=cpp
34860 ac_cpp='$CXXCPP $CPPFLAGS'
34861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34866 /* end confdefs.h. */
34867 #include <math.h>
34868 #ifdef HAVE_IEEEFP_H
34869 #include <ieeefp.h>
34870 #endif
34873 main ()
34875 _log10f(0);
34877 return 0;
34879 _ACEOF
34880 if ac_fn_cxx_try_compile "$LINENO"; then :
34881 glibcxx_cv_func__log10f_use=yes
34882 else
34883 glibcxx_cv_func__log10f_use=no
34885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34886 ac_ext=c
34887 ac_cpp='$CPP $CPPFLAGS'
34888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
34897 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
34899 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
34900 for ac_func in _log10f
34901 do :
34902 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
34903 if test "x$ac_cv_func__log10f" = x""yes; then :
34904 cat >>confdefs.h <<_ACEOF
34905 #define HAVE__LOG10F 1
34906 _ACEOF
34909 done
34918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
34919 $as_echo_n "checking for modff declaration... " >&6; }
34920 if test x${glibcxx_cv_func_modff_use+set} != xset; then
34921 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
34922 $as_echo_n "(cached) " >&6
34923 else
34926 ac_ext=cpp
34927 ac_cpp='$CXXCPP $CPPFLAGS'
34928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34933 /* end confdefs.h. */
34934 #include <math.h>
34936 main ()
34938 modff(0, 0);
34940 return 0;
34942 _ACEOF
34943 if ac_fn_cxx_try_compile "$LINENO"; then :
34944 glibcxx_cv_func_modff_use=yes
34945 else
34946 glibcxx_cv_func_modff_use=no
34948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34949 ac_ext=c
34950 ac_cpp='$CPP $CPPFLAGS'
34951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
34960 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
34962 if test x$glibcxx_cv_func_modff_use = x"yes"; then
34963 for ac_func in modff
34964 do :
34965 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
34966 if test "x$ac_cv_func_modff" = x""yes; then :
34967 cat >>confdefs.h <<_ACEOF
34968 #define HAVE_MODFF 1
34969 _ACEOF
34972 done
34974 else
34976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
34977 $as_echo_n "checking for _modff declaration... " >&6; }
34978 if test x${glibcxx_cv_func__modff_use+set} != xset; then
34979 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
34980 $as_echo_n "(cached) " >&6
34981 else
34984 ac_ext=cpp
34985 ac_cpp='$CXXCPP $CPPFLAGS'
34986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34991 /* end confdefs.h. */
34992 #include <math.h>
34994 main ()
34996 _modff(0, 0);
34998 return 0;
35000 _ACEOF
35001 if ac_fn_cxx_try_compile "$LINENO"; then :
35002 glibcxx_cv_func__modff_use=yes
35003 else
35004 glibcxx_cv_func__modff_use=no
35006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35007 ac_ext=c
35008 ac_cpp='$CPP $CPPFLAGS'
35009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
35018 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
35020 if test x$glibcxx_cv_func__modff_use = x"yes"; then
35021 for ac_func in _modff
35022 do :
35023 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
35024 if test "x$ac_cv_func__modff" = x""yes; then :
35025 cat >>confdefs.h <<_ACEOF
35026 #define HAVE__MODFF 1
35027 _ACEOF
35030 done
35039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
35040 $as_echo_n "checking for modf declaration... " >&6; }
35041 if test x${glibcxx_cv_func_modf_use+set} != xset; then
35042 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
35043 $as_echo_n "(cached) " >&6
35044 else
35047 ac_ext=cpp
35048 ac_cpp='$CXXCPP $CPPFLAGS'
35049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35054 /* end confdefs.h. */
35055 #include <math.h>
35057 main ()
35059 modf(0, 0);
35061 return 0;
35063 _ACEOF
35064 if ac_fn_cxx_try_compile "$LINENO"; then :
35065 glibcxx_cv_func_modf_use=yes
35066 else
35067 glibcxx_cv_func_modf_use=no
35069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35070 ac_ext=c
35071 ac_cpp='$CPP $CPPFLAGS'
35072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
35081 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
35083 if test x$glibcxx_cv_func_modf_use = x"yes"; then
35084 for ac_func in modf
35085 do :
35086 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
35087 if test "x$ac_cv_func_modf" = x""yes; then :
35088 cat >>confdefs.h <<_ACEOF
35089 #define HAVE_MODF 1
35090 _ACEOF
35093 done
35095 else
35097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
35098 $as_echo_n "checking for _modf declaration... " >&6; }
35099 if test x${glibcxx_cv_func__modf_use+set} != xset; then
35100 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
35101 $as_echo_n "(cached) " >&6
35102 else
35105 ac_ext=cpp
35106 ac_cpp='$CXXCPP $CPPFLAGS'
35107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35112 /* end confdefs.h. */
35113 #include <math.h>
35115 main ()
35117 _modf(0, 0);
35119 return 0;
35121 _ACEOF
35122 if ac_fn_cxx_try_compile "$LINENO"; then :
35123 glibcxx_cv_func__modf_use=yes
35124 else
35125 glibcxx_cv_func__modf_use=no
35127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35128 ac_ext=c
35129 ac_cpp='$CPP $CPPFLAGS'
35130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
35139 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
35141 if test x$glibcxx_cv_func__modf_use = x"yes"; then
35142 for ac_func in _modf
35143 do :
35144 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
35145 if test "x$ac_cv_func__modf" = x""yes; then :
35146 cat >>confdefs.h <<_ACEOF
35147 #define HAVE__MODF 1
35148 _ACEOF
35151 done
35160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
35161 $as_echo_n "checking for powf declaration... " >&6; }
35162 if test x${glibcxx_cv_func_powf_use+set} != xset; then
35163 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
35164 $as_echo_n "(cached) " >&6
35165 else
35168 ac_ext=cpp
35169 ac_cpp='$CXXCPP $CPPFLAGS'
35170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35175 /* end confdefs.h. */
35176 #include <math.h>
35178 main ()
35180 powf(0, 0);
35182 return 0;
35184 _ACEOF
35185 if ac_fn_cxx_try_compile "$LINENO"; then :
35186 glibcxx_cv_func_powf_use=yes
35187 else
35188 glibcxx_cv_func_powf_use=no
35190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35191 ac_ext=c
35192 ac_cpp='$CPP $CPPFLAGS'
35193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
35202 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
35204 if test x$glibcxx_cv_func_powf_use = x"yes"; then
35205 for ac_func in powf
35206 do :
35207 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
35208 if test "x$ac_cv_func_powf" = x""yes; then :
35209 cat >>confdefs.h <<_ACEOF
35210 #define HAVE_POWF 1
35211 _ACEOF
35214 done
35216 else
35218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
35219 $as_echo_n "checking for _powf declaration... " >&6; }
35220 if test x${glibcxx_cv_func__powf_use+set} != xset; then
35221 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
35222 $as_echo_n "(cached) " >&6
35223 else
35226 ac_ext=cpp
35227 ac_cpp='$CXXCPP $CPPFLAGS'
35228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35233 /* end confdefs.h. */
35234 #include <math.h>
35236 main ()
35238 _powf(0, 0);
35240 return 0;
35242 _ACEOF
35243 if ac_fn_cxx_try_compile "$LINENO"; then :
35244 glibcxx_cv_func__powf_use=yes
35245 else
35246 glibcxx_cv_func__powf_use=no
35248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35249 ac_ext=c
35250 ac_cpp='$CPP $CPPFLAGS'
35251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
35260 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
35262 if test x$glibcxx_cv_func__powf_use = x"yes"; then
35263 for ac_func in _powf
35264 do :
35265 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
35266 if test "x$ac_cv_func__powf" = x""yes; then :
35267 cat >>confdefs.h <<_ACEOF
35268 #define HAVE__POWF 1
35269 _ACEOF
35272 done
35281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
35282 $as_echo_n "checking for sqrtf declaration... " >&6; }
35283 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
35284 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
35285 $as_echo_n "(cached) " >&6
35286 else
35289 ac_ext=cpp
35290 ac_cpp='$CXXCPP $CPPFLAGS'
35291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35296 /* end confdefs.h. */
35297 #include <math.h>
35298 #ifdef HAVE_IEEEFP_H
35299 #include <ieeefp.h>
35300 #endif
35303 main ()
35305 sqrtf(0);
35307 return 0;
35309 _ACEOF
35310 if ac_fn_cxx_try_compile "$LINENO"; then :
35311 glibcxx_cv_func_sqrtf_use=yes
35312 else
35313 glibcxx_cv_func_sqrtf_use=no
35315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35316 ac_ext=c
35317 ac_cpp='$CPP $CPPFLAGS'
35318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
35327 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
35329 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
35330 for ac_func in sqrtf
35331 do :
35332 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
35333 if test "x$ac_cv_func_sqrtf" = x""yes; then :
35334 cat >>confdefs.h <<_ACEOF
35335 #define HAVE_SQRTF 1
35336 _ACEOF
35339 done
35341 else
35343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
35344 $as_echo_n "checking for _sqrtf declaration... " >&6; }
35345 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
35346 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
35347 $as_echo_n "(cached) " >&6
35348 else
35351 ac_ext=cpp
35352 ac_cpp='$CXXCPP $CPPFLAGS'
35353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35358 /* end confdefs.h. */
35359 #include <math.h>
35360 #ifdef HAVE_IEEEFP_H
35361 #include <ieeefp.h>
35362 #endif
35365 main ()
35367 _sqrtf(0);
35369 return 0;
35371 _ACEOF
35372 if ac_fn_cxx_try_compile "$LINENO"; then :
35373 glibcxx_cv_func__sqrtf_use=yes
35374 else
35375 glibcxx_cv_func__sqrtf_use=no
35377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35378 ac_ext=c
35379 ac_cpp='$CPP $CPPFLAGS'
35380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
35389 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
35391 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
35392 for ac_func in _sqrtf
35393 do :
35394 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
35395 if test "x$ac_cv_func__sqrtf" = x""yes; then :
35396 cat >>confdefs.h <<_ACEOF
35397 #define HAVE__SQRTF 1
35398 _ACEOF
35401 done
35410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
35411 $as_echo_n "checking for sincosf declaration... " >&6; }
35412 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
35413 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
35414 $as_echo_n "(cached) " >&6
35415 else
35418 ac_ext=cpp
35419 ac_cpp='$CXXCPP $CPPFLAGS'
35420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35425 /* end confdefs.h. */
35426 #include <math.h>
35428 main ()
35430 sincosf(0, 0, 0);
35432 return 0;
35434 _ACEOF
35435 if ac_fn_cxx_try_compile "$LINENO"; then :
35436 glibcxx_cv_func_sincosf_use=yes
35437 else
35438 glibcxx_cv_func_sincosf_use=no
35440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35441 ac_ext=c
35442 ac_cpp='$CPP $CPPFLAGS'
35443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
35452 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
35454 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
35455 for ac_func in sincosf
35456 do :
35457 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
35458 if test "x$ac_cv_func_sincosf" = x""yes; then :
35459 cat >>confdefs.h <<_ACEOF
35460 #define HAVE_SINCOSF 1
35461 _ACEOF
35464 done
35466 else
35468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
35469 $as_echo_n "checking for _sincosf declaration... " >&6; }
35470 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
35471 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
35472 $as_echo_n "(cached) " >&6
35473 else
35476 ac_ext=cpp
35477 ac_cpp='$CXXCPP $CPPFLAGS'
35478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35483 /* end confdefs.h. */
35484 #include <math.h>
35486 main ()
35488 _sincosf(0, 0, 0);
35490 return 0;
35492 _ACEOF
35493 if ac_fn_cxx_try_compile "$LINENO"; then :
35494 glibcxx_cv_func__sincosf_use=yes
35495 else
35496 glibcxx_cv_func__sincosf_use=no
35498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35499 ac_ext=c
35500 ac_cpp='$CPP $CPPFLAGS'
35501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
35510 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
35512 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
35513 for ac_func in _sincosf
35514 do :
35515 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
35516 if test "x$ac_cv_func__sincosf" = x""yes; then :
35517 cat >>confdefs.h <<_ACEOF
35518 #define HAVE__SINCOSF 1
35519 _ACEOF
35522 done
35531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
35532 $as_echo_n "checking for finitef declaration... " >&6; }
35533 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
35534 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
35535 $as_echo_n "(cached) " >&6
35536 else
35539 ac_ext=cpp
35540 ac_cpp='$CXXCPP $CPPFLAGS'
35541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35546 /* end confdefs.h. */
35547 #include <math.h>
35548 #ifdef HAVE_IEEEFP_H
35549 #include <ieeefp.h>
35550 #endif
35553 main ()
35555 finitef(0);
35557 return 0;
35559 _ACEOF
35560 if ac_fn_cxx_try_compile "$LINENO"; then :
35561 glibcxx_cv_func_finitef_use=yes
35562 else
35563 glibcxx_cv_func_finitef_use=no
35565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35566 ac_ext=c
35567 ac_cpp='$CPP $CPPFLAGS'
35568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
35577 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
35579 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
35580 for ac_func in finitef
35581 do :
35582 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
35583 if test "x$ac_cv_func_finitef" = x""yes; then :
35584 cat >>confdefs.h <<_ACEOF
35585 #define HAVE_FINITEF 1
35586 _ACEOF
35589 done
35591 else
35593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
35594 $as_echo_n "checking for _finitef declaration... " >&6; }
35595 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
35596 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
35597 $as_echo_n "(cached) " >&6
35598 else
35601 ac_ext=cpp
35602 ac_cpp='$CXXCPP $CPPFLAGS'
35603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35608 /* end confdefs.h. */
35609 #include <math.h>
35610 #ifdef HAVE_IEEEFP_H
35611 #include <ieeefp.h>
35612 #endif
35615 main ()
35617 _finitef(0);
35619 return 0;
35621 _ACEOF
35622 if ac_fn_cxx_try_compile "$LINENO"; then :
35623 glibcxx_cv_func__finitef_use=yes
35624 else
35625 glibcxx_cv_func__finitef_use=no
35627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35628 ac_ext=c
35629 ac_cpp='$CPP $CPPFLAGS'
35630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
35639 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
35641 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
35642 for ac_func in _finitef
35643 do :
35644 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
35645 if test "x$ac_cv_func__finitef" = x""yes; then :
35646 cat >>confdefs.h <<_ACEOF
35647 #define HAVE__FINITEF 1
35648 _ACEOF
35651 done
35660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
35661 $as_echo_n "checking for long double trig functions... " >&6; }
35662 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
35663 $as_echo_n "(cached) " >&6
35664 else
35667 ac_ext=cpp
35668 ac_cpp='$CXXCPP $CPPFLAGS'
35669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35674 /* end confdefs.h. */
35675 #include <math.h>
35677 main ()
35679 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
35681 return 0;
35683 _ACEOF
35684 if ac_fn_cxx_try_compile "$LINENO"; then :
35685 glibcxx_cv_func_long_double_trig_use=yes
35686 else
35687 glibcxx_cv_func_long_double_trig_use=no
35689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35690 ac_ext=c
35691 ac_cpp='$CPP $CPPFLAGS'
35692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
35699 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
35700 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
35701 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
35702 do :
35703 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35704 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35705 eval as_val=\$$as_ac_var
35706 if test "x$as_val" = x""yes; then :
35707 cat >>confdefs.h <<_ACEOF
35708 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35709 _ACEOF
35712 done
35714 else
35715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
35716 $as_echo_n "checking for _long double trig functions... " >&6; }
35717 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
35718 $as_echo_n "(cached) " >&6
35719 else
35722 ac_ext=cpp
35723 ac_cpp='$CXXCPP $CPPFLAGS'
35724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35729 /* end confdefs.h. */
35730 #include <math.h>
35732 main ()
35734 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
35736 return 0;
35738 _ACEOF
35739 if ac_fn_cxx_try_compile "$LINENO"; then :
35740 glibcxx_cv_func__long_double_trig_use=yes
35741 else
35742 glibcxx_cv_func__long_double_trig_use=no
35744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35745 ac_ext=c
35746 ac_cpp='$CPP $CPPFLAGS'
35747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
35754 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
35755 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
35756 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
35757 do :
35758 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35759 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35760 eval as_val=\$$as_ac_var
35761 if test "x$as_val" = x""yes; then :
35762 cat >>confdefs.h <<_ACEOF
35763 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35764 _ACEOF
35767 done
35776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
35777 $as_echo_n "checking for long double round functions... " >&6; }
35778 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
35779 $as_echo_n "(cached) " >&6
35780 else
35783 ac_ext=cpp
35784 ac_cpp='$CXXCPP $CPPFLAGS'
35785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35790 /* end confdefs.h. */
35791 #include <math.h>
35793 main ()
35795 ceill (0); floorl (0);
35797 return 0;
35799 _ACEOF
35800 if ac_fn_cxx_try_compile "$LINENO"; then :
35801 glibcxx_cv_func_long_double_round_use=yes
35802 else
35803 glibcxx_cv_func_long_double_round_use=no
35805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35806 ac_ext=c
35807 ac_cpp='$CPP $CPPFLAGS'
35808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
35815 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
35816 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
35817 for ac_func in ceill floorl
35818 do :
35819 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35820 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35821 eval as_val=\$$as_ac_var
35822 if test "x$as_val" = x""yes; then :
35823 cat >>confdefs.h <<_ACEOF
35824 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35825 _ACEOF
35828 done
35830 else
35831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
35832 $as_echo_n "checking for _long double round functions... " >&6; }
35833 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
35834 $as_echo_n "(cached) " >&6
35835 else
35838 ac_ext=cpp
35839 ac_cpp='$CXXCPP $CPPFLAGS'
35840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35845 /* end confdefs.h. */
35846 #include <math.h>
35848 main ()
35850 _ceill (0); _floorl (0);
35852 return 0;
35854 _ACEOF
35855 if ac_fn_cxx_try_compile "$LINENO"; then :
35856 glibcxx_cv_func__long_double_round_use=yes
35857 else
35858 glibcxx_cv_func__long_double_round_use=no
35860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35861 ac_ext=c
35862 ac_cpp='$CPP $CPPFLAGS'
35863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
35870 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
35871 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
35872 for ac_func in _ceill _floorl
35873 do :
35874 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35875 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35876 eval as_val=\$$as_ac_var
35877 if test "x$as_val" = x""yes; then :
35878 cat >>confdefs.h <<_ACEOF
35879 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35880 _ACEOF
35883 done
35893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
35894 $as_echo_n "checking for isnanl declaration... " >&6; }
35895 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
35896 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
35897 $as_echo_n "(cached) " >&6
35898 else
35901 ac_ext=cpp
35902 ac_cpp='$CXXCPP $CPPFLAGS'
35903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35908 /* end confdefs.h. */
35909 #include <math.h>
35910 #ifdef HAVE_IEEEFP_H
35911 #include <ieeefp.h>
35912 #endif
35915 main ()
35917 isnanl(0);
35919 return 0;
35921 _ACEOF
35922 if ac_fn_cxx_try_compile "$LINENO"; then :
35923 glibcxx_cv_func_isnanl_use=yes
35924 else
35925 glibcxx_cv_func_isnanl_use=no
35927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35928 ac_ext=c
35929 ac_cpp='$CPP $CPPFLAGS'
35930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
35939 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
35941 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
35942 for ac_func in isnanl
35943 do :
35944 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
35945 if test "x$ac_cv_func_isnanl" = x""yes; then :
35946 cat >>confdefs.h <<_ACEOF
35947 #define HAVE_ISNANL 1
35948 _ACEOF
35951 done
35953 else
35955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
35956 $as_echo_n "checking for _isnanl declaration... " >&6; }
35957 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
35958 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
35959 $as_echo_n "(cached) " >&6
35960 else
35963 ac_ext=cpp
35964 ac_cpp='$CXXCPP $CPPFLAGS'
35965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35970 /* end confdefs.h. */
35971 #include <math.h>
35972 #ifdef HAVE_IEEEFP_H
35973 #include <ieeefp.h>
35974 #endif
35977 main ()
35979 _isnanl(0);
35981 return 0;
35983 _ACEOF
35984 if ac_fn_cxx_try_compile "$LINENO"; then :
35985 glibcxx_cv_func__isnanl_use=yes
35986 else
35987 glibcxx_cv_func__isnanl_use=no
35989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35990 ac_ext=c
35991 ac_cpp='$CPP $CPPFLAGS'
35992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
36001 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
36003 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
36004 for ac_func in _isnanl
36005 do :
36006 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
36007 if test "x$ac_cv_func__isnanl" = x""yes; then :
36008 cat >>confdefs.h <<_ACEOF
36009 #define HAVE__ISNANL 1
36010 _ACEOF
36013 done
36022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
36023 $as_echo_n "checking for isinfl declaration... " >&6; }
36024 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
36025 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
36026 $as_echo_n "(cached) " >&6
36027 else
36030 ac_ext=cpp
36031 ac_cpp='$CXXCPP $CPPFLAGS'
36032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36037 /* end confdefs.h. */
36038 #include <math.h>
36039 #ifdef HAVE_IEEEFP_H
36040 #include <ieeefp.h>
36041 #endif
36044 main ()
36046 isinfl(0);
36048 return 0;
36050 _ACEOF
36051 if ac_fn_cxx_try_compile "$LINENO"; then :
36052 glibcxx_cv_func_isinfl_use=yes
36053 else
36054 glibcxx_cv_func_isinfl_use=no
36056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36057 ac_ext=c
36058 ac_cpp='$CPP $CPPFLAGS'
36059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
36068 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
36070 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
36071 for ac_func in isinfl
36072 do :
36073 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
36074 if test "x$ac_cv_func_isinfl" = x""yes; then :
36075 cat >>confdefs.h <<_ACEOF
36076 #define HAVE_ISINFL 1
36077 _ACEOF
36080 done
36082 else
36084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
36085 $as_echo_n "checking for _isinfl declaration... " >&6; }
36086 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
36087 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
36088 $as_echo_n "(cached) " >&6
36089 else
36092 ac_ext=cpp
36093 ac_cpp='$CXXCPP $CPPFLAGS'
36094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36099 /* end confdefs.h. */
36100 #include <math.h>
36101 #ifdef HAVE_IEEEFP_H
36102 #include <ieeefp.h>
36103 #endif
36106 main ()
36108 _isinfl(0);
36110 return 0;
36112 _ACEOF
36113 if ac_fn_cxx_try_compile "$LINENO"; then :
36114 glibcxx_cv_func__isinfl_use=yes
36115 else
36116 glibcxx_cv_func__isinfl_use=no
36118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36119 ac_ext=c
36120 ac_cpp='$CPP $CPPFLAGS'
36121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
36130 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
36132 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
36133 for ac_func in _isinfl
36134 do :
36135 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
36136 if test "x$ac_cv_func__isinfl" = x""yes; then :
36137 cat >>confdefs.h <<_ACEOF
36138 #define HAVE__ISINFL 1
36139 _ACEOF
36142 done
36151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
36152 $as_echo_n "checking for atan2l declaration... " >&6; }
36153 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
36154 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
36155 $as_echo_n "(cached) " >&6
36156 else
36159 ac_ext=cpp
36160 ac_cpp='$CXXCPP $CPPFLAGS'
36161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36166 /* end confdefs.h. */
36167 #include <math.h>
36169 main ()
36171 atan2l(0, 0);
36173 return 0;
36175 _ACEOF
36176 if ac_fn_cxx_try_compile "$LINENO"; then :
36177 glibcxx_cv_func_atan2l_use=yes
36178 else
36179 glibcxx_cv_func_atan2l_use=no
36181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36182 ac_ext=c
36183 ac_cpp='$CPP $CPPFLAGS'
36184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
36193 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
36195 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
36196 for ac_func in atan2l
36197 do :
36198 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
36199 if test "x$ac_cv_func_atan2l" = x""yes; then :
36200 cat >>confdefs.h <<_ACEOF
36201 #define HAVE_ATAN2L 1
36202 _ACEOF
36205 done
36207 else
36209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
36210 $as_echo_n "checking for _atan2l declaration... " >&6; }
36211 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
36212 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
36213 $as_echo_n "(cached) " >&6
36214 else
36217 ac_ext=cpp
36218 ac_cpp='$CXXCPP $CPPFLAGS'
36219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36224 /* end confdefs.h. */
36225 #include <math.h>
36227 main ()
36229 _atan2l(0, 0);
36231 return 0;
36233 _ACEOF
36234 if ac_fn_cxx_try_compile "$LINENO"; then :
36235 glibcxx_cv_func__atan2l_use=yes
36236 else
36237 glibcxx_cv_func__atan2l_use=no
36239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36240 ac_ext=c
36241 ac_cpp='$CPP $CPPFLAGS'
36242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
36251 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
36253 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
36254 for ac_func in _atan2l
36255 do :
36256 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
36257 if test "x$ac_cv_func__atan2l" = x""yes; then :
36258 cat >>confdefs.h <<_ACEOF
36259 #define HAVE__ATAN2L 1
36260 _ACEOF
36263 done
36272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
36273 $as_echo_n "checking for expl declaration... " >&6; }
36274 if test x${glibcxx_cv_func_expl_use+set} != xset; then
36275 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
36276 $as_echo_n "(cached) " >&6
36277 else
36280 ac_ext=cpp
36281 ac_cpp='$CXXCPP $CPPFLAGS'
36282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36287 /* end confdefs.h. */
36288 #include <math.h>
36289 #ifdef HAVE_IEEEFP_H
36290 #include <ieeefp.h>
36291 #endif
36294 main ()
36296 expl(0);
36298 return 0;
36300 _ACEOF
36301 if ac_fn_cxx_try_compile "$LINENO"; then :
36302 glibcxx_cv_func_expl_use=yes
36303 else
36304 glibcxx_cv_func_expl_use=no
36306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36307 ac_ext=c
36308 ac_cpp='$CPP $CPPFLAGS'
36309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
36318 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
36320 if test x$glibcxx_cv_func_expl_use = x"yes"; then
36321 for ac_func in expl
36322 do :
36323 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
36324 if test "x$ac_cv_func_expl" = x""yes; then :
36325 cat >>confdefs.h <<_ACEOF
36326 #define HAVE_EXPL 1
36327 _ACEOF
36330 done
36332 else
36334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
36335 $as_echo_n "checking for _expl declaration... " >&6; }
36336 if test x${glibcxx_cv_func__expl_use+set} != xset; then
36337 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
36338 $as_echo_n "(cached) " >&6
36339 else
36342 ac_ext=cpp
36343 ac_cpp='$CXXCPP $CPPFLAGS'
36344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36349 /* end confdefs.h. */
36350 #include <math.h>
36351 #ifdef HAVE_IEEEFP_H
36352 #include <ieeefp.h>
36353 #endif
36356 main ()
36358 _expl(0);
36360 return 0;
36362 _ACEOF
36363 if ac_fn_cxx_try_compile "$LINENO"; then :
36364 glibcxx_cv_func__expl_use=yes
36365 else
36366 glibcxx_cv_func__expl_use=no
36368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36369 ac_ext=c
36370 ac_cpp='$CPP $CPPFLAGS'
36371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
36380 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
36382 if test x$glibcxx_cv_func__expl_use = x"yes"; then
36383 for ac_func in _expl
36384 do :
36385 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
36386 if test "x$ac_cv_func__expl" = x""yes; then :
36387 cat >>confdefs.h <<_ACEOF
36388 #define HAVE__EXPL 1
36389 _ACEOF
36392 done
36401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
36402 $as_echo_n "checking for fabsl declaration... " >&6; }
36403 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
36404 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
36405 $as_echo_n "(cached) " >&6
36406 else
36409 ac_ext=cpp
36410 ac_cpp='$CXXCPP $CPPFLAGS'
36411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36416 /* end confdefs.h. */
36417 #include <math.h>
36418 #ifdef HAVE_IEEEFP_H
36419 #include <ieeefp.h>
36420 #endif
36423 main ()
36425 fabsl(0);
36427 return 0;
36429 _ACEOF
36430 if ac_fn_cxx_try_compile "$LINENO"; then :
36431 glibcxx_cv_func_fabsl_use=yes
36432 else
36433 glibcxx_cv_func_fabsl_use=no
36435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36436 ac_ext=c
36437 ac_cpp='$CPP $CPPFLAGS'
36438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
36447 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
36449 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
36450 for ac_func in fabsl
36451 do :
36452 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
36453 if test "x$ac_cv_func_fabsl" = x""yes; then :
36454 cat >>confdefs.h <<_ACEOF
36455 #define HAVE_FABSL 1
36456 _ACEOF
36459 done
36461 else
36463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
36464 $as_echo_n "checking for _fabsl declaration... " >&6; }
36465 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
36466 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
36467 $as_echo_n "(cached) " >&6
36468 else
36471 ac_ext=cpp
36472 ac_cpp='$CXXCPP $CPPFLAGS'
36473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36478 /* end confdefs.h. */
36479 #include <math.h>
36480 #ifdef HAVE_IEEEFP_H
36481 #include <ieeefp.h>
36482 #endif
36485 main ()
36487 _fabsl(0);
36489 return 0;
36491 _ACEOF
36492 if ac_fn_cxx_try_compile "$LINENO"; then :
36493 glibcxx_cv_func__fabsl_use=yes
36494 else
36495 glibcxx_cv_func__fabsl_use=no
36497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36498 ac_ext=c
36499 ac_cpp='$CPP $CPPFLAGS'
36500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
36509 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
36511 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
36512 for ac_func in _fabsl
36513 do :
36514 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
36515 if test "x$ac_cv_func__fabsl" = x""yes; then :
36516 cat >>confdefs.h <<_ACEOF
36517 #define HAVE__FABSL 1
36518 _ACEOF
36521 done
36530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
36531 $as_echo_n "checking for fmodl declaration... " >&6; }
36532 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
36533 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
36534 $as_echo_n "(cached) " >&6
36535 else
36538 ac_ext=cpp
36539 ac_cpp='$CXXCPP $CPPFLAGS'
36540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36545 /* end confdefs.h. */
36546 #include <math.h>
36548 main ()
36550 fmodl(0, 0);
36552 return 0;
36554 _ACEOF
36555 if ac_fn_cxx_try_compile "$LINENO"; then :
36556 glibcxx_cv_func_fmodl_use=yes
36557 else
36558 glibcxx_cv_func_fmodl_use=no
36560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36561 ac_ext=c
36562 ac_cpp='$CPP $CPPFLAGS'
36563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
36572 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
36574 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
36575 for ac_func in fmodl
36576 do :
36577 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
36578 if test "x$ac_cv_func_fmodl" = x""yes; then :
36579 cat >>confdefs.h <<_ACEOF
36580 #define HAVE_FMODL 1
36581 _ACEOF
36584 done
36586 else
36588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
36589 $as_echo_n "checking for _fmodl declaration... " >&6; }
36590 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
36591 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
36592 $as_echo_n "(cached) " >&6
36593 else
36596 ac_ext=cpp
36597 ac_cpp='$CXXCPP $CPPFLAGS'
36598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36603 /* end confdefs.h. */
36604 #include <math.h>
36606 main ()
36608 _fmodl(0, 0);
36610 return 0;
36612 _ACEOF
36613 if ac_fn_cxx_try_compile "$LINENO"; then :
36614 glibcxx_cv_func__fmodl_use=yes
36615 else
36616 glibcxx_cv_func__fmodl_use=no
36618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36619 ac_ext=c
36620 ac_cpp='$CPP $CPPFLAGS'
36621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
36630 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
36632 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
36633 for ac_func in _fmodl
36634 do :
36635 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
36636 if test "x$ac_cv_func__fmodl" = x""yes; then :
36637 cat >>confdefs.h <<_ACEOF
36638 #define HAVE__FMODL 1
36639 _ACEOF
36642 done
36651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
36652 $as_echo_n "checking for frexpl declaration... " >&6; }
36653 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
36654 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
36655 $as_echo_n "(cached) " >&6
36656 else
36659 ac_ext=cpp
36660 ac_cpp='$CXXCPP $CPPFLAGS'
36661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36666 /* end confdefs.h. */
36667 #include <math.h>
36669 main ()
36671 frexpl(0, 0);
36673 return 0;
36675 _ACEOF
36676 if ac_fn_cxx_try_compile "$LINENO"; then :
36677 glibcxx_cv_func_frexpl_use=yes
36678 else
36679 glibcxx_cv_func_frexpl_use=no
36681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36682 ac_ext=c
36683 ac_cpp='$CPP $CPPFLAGS'
36684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
36693 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
36695 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
36696 for ac_func in frexpl
36697 do :
36698 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
36699 if test "x$ac_cv_func_frexpl" = x""yes; then :
36700 cat >>confdefs.h <<_ACEOF
36701 #define HAVE_FREXPL 1
36702 _ACEOF
36705 done
36707 else
36709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
36710 $as_echo_n "checking for _frexpl declaration... " >&6; }
36711 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
36712 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
36713 $as_echo_n "(cached) " >&6
36714 else
36717 ac_ext=cpp
36718 ac_cpp='$CXXCPP $CPPFLAGS'
36719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36724 /* end confdefs.h. */
36725 #include <math.h>
36727 main ()
36729 _frexpl(0, 0);
36731 return 0;
36733 _ACEOF
36734 if ac_fn_cxx_try_compile "$LINENO"; then :
36735 glibcxx_cv_func__frexpl_use=yes
36736 else
36737 glibcxx_cv_func__frexpl_use=no
36739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36740 ac_ext=c
36741 ac_cpp='$CPP $CPPFLAGS'
36742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
36751 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
36753 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
36754 for ac_func in _frexpl
36755 do :
36756 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
36757 if test "x$ac_cv_func__frexpl" = x""yes; then :
36758 cat >>confdefs.h <<_ACEOF
36759 #define HAVE__FREXPL 1
36760 _ACEOF
36763 done
36772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
36773 $as_echo_n "checking for hypotl declaration... " >&6; }
36774 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
36775 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
36776 $as_echo_n "(cached) " >&6
36777 else
36780 ac_ext=cpp
36781 ac_cpp='$CXXCPP $CPPFLAGS'
36782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36787 /* end confdefs.h. */
36788 #include <math.h>
36790 main ()
36792 hypotl(0, 0);
36794 return 0;
36796 _ACEOF
36797 if ac_fn_cxx_try_compile "$LINENO"; then :
36798 glibcxx_cv_func_hypotl_use=yes
36799 else
36800 glibcxx_cv_func_hypotl_use=no
36802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36803 ac_ext=c
36804 ac_cpp='$CPP $CPPFLAGS'
36805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
36814 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
36816 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
36817 for ac_func in hypotl
36818 do :
36819 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
36820 if test "x$ac_cv_func_hypotl" = x""yes; then :
36821 cat >>confdefs.h <<_ACEOF
36822 #define HAVE_HYPOTL 1
36823 _ACEOF
36826 done
36828 else
36830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
36831 $as_echo_n "checking for _hypotl declaration... " >&6; }
36832 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
36833 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
36834 $as_echo_n "(cached) " >&6
36835 else
36838 ac_ext=cpp
36839 ac_cpp='$CXXCPP $CPPFLAGS'
36840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36845 /* end confdefs.h. */
36846 #include <math.h>
36848 main ()
36850 _hypotl(0, 0);
36852 return 0;
36854 _ACEOF
36855 if ac_fn_cxx_try_compile "$LINENO"; then :
36856 glibcxx_cv_func__hypotl_use=yes
36857 else
36858 glibcxx_cv_func__hypotl_use=no
36860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36861 ac_ext=c
36862 ac_cpp='$CPP $CPPFLAGS'
36863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
36872 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
36874 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
36875 for ac_func in _hypotl
36876 do :
36877 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
36878 if test "x$ac_cv_func__hypotl" = x""yes; then :
36879 cat >>confdefs.h <<_ACEOF
36880 #define HAVE__HYPOTL 1
36881 _ACEOF
36884 done
36893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
36894 $as_echo_n "checking for ldexpl declaration... " >&6; }
36895 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
36896 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
36897 $as_echo_n "(cached) " >&6
36898 else
36901 ac_ext=cpp
36902 ac_cpp='$CXXCPP $CPPFLAGS'
36903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36908 /* end confdefs.h. */
36909 #include <math.h>
36911 main ()
36913 ldexpl(0, 0);
36915 return 0;
36917 _ACEOF
36918 if ac_fn_cxx_try_compile "$LINENO"; then :
36919 glibcxx_cv_func_ldexpl_use=yes
36920 else
36921 glibcxx_cv_func_ldexpl_use=no
36923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36924 ac_ext=c
36925 ac_cpp='$CPP $CPPFLAGS'
36926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
36935 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
36937 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
36938 for ac_func in ldexpl
36939 do :
36940 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
36941 if test "x$ac_cv_func_ldexpl" = x""yes; then :
36942 cat >>confdefs.h <<_ACEOF
36943 #define HAVE_LDEXPL 1
36944 _ACEOF
36947 done
36949 else
36951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
36952 $as_echo_n "checking for _ldexpl declaration... " >&6; }
36953 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
36954 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
36955 $as_echo_n "(cached) " >&6
36956 else
36959 ac_ext=cpp
36960 ac_cpp='$CXXCPP $CPPFLAGS'
36961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36966 /* end confdefs.h. */
36967 #include <math.h>
36969 main ()
36971 _ldexpl(0, 0);
36973 return 0;
36975 _ACEOF
36976 if ac_fn_cxx_try_compile "$LINENO"; then :
36977 glibcxx_cv_func__ldexpl_use=yes
36978 else
36979 glibcxx_cv_func__ldexpl_use=no
36981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36982 ac_ext=c
36983 ac_cpp='$CPP $CPPFLAGS'
36984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
36993 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
36995 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
36996 for ac_func in _ldexpl
36997 do :
36998 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
36999 if test "x$ac_cv_func__ldexpl" = x""yes; then :
37000 cat >>confdefs.h <<_ACEOF
37001 #define HAVE__LDEXPL 1
37002 _ACEOF
37005 done
37014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
37015 $as_echo_n "checking for logl declaration... " >&6; }
37016 if test x${glibcxx_cv_func_logl_use+set} != xset; then
37017 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
37018 $as_echo_n "(cached) " >&6
37019 else
37022 ac_ext=cpp
37023 ac_cpp='$CXXCPP $CPPFLAGS'
37024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37029 /* end confdefs.h. */
37030 #include <math.h>
37031 #ifdef HAVE_IEEEFP_H
37032 #include <ieeefp.h>
37033 #endif
37036 main ()
37038 logl(0);
37040 return 0;
37042 _ACEOF
37043 if ac_fn_cxx_try_compile "$LINENO"; then :
37044 glibcxx_cv_func_logl_use=yes
37045 else
37046 glibcxx_cv_func_logl_use=no
37048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37049 ac_ext=c
37050 ac_cpp='$CPP $CPPFLAGS'
37051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
37060 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
37062 if test x$glibcxx_cv_func_logl_use = x"yes"; then
37063 for ac_func in logl
37064 do :
37065 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
37066 if test "x$ac_cv_func_logl" = x""yes; then :
37067 cat >>confdefs.h <<_ACEOF
37068 #define HAVE_LOGL 1
37069 _ACEOF
37072 done
37074 else
37076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
37077 $as_echo_n "checking for _logl declaration... " >&6; }
37078 if test x${glibcxx_cv_func__logl_use+set} != xset; then
37079 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
37080 $as_echo_n "(cached) " >&6
37081 else
37084 ac_ext=cpp
37085 ac_cpp='$CXXCPP $CPPFLAGS'
37086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37091 /* end confdefs.h. */
37092 #include <math.h>
37093 #ifdef HAVE_IEEEFP_H
37094 #include <ieeefp.h>
37095 #endif
37098 main ()
37100 _logl(0);
37102 return 0;
37104 _ACEOF
37105 if ac_fn_cxx_try_compile "$LINENO"; then :
37106 glibcxx_cv_func__logl_use=yes
37107 else
37108 glibcxx_cv_func__logl_use=no
37110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37111 ac_ext=c
37112 ac_cpp='$CPP $CPPFLAGS'
37113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
37122 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
37124 if test x$glibcxx_cv_func__logl_use = x"yes"; then
37125 for ac_func in _logl
37126 do :
37127 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
37128 if test "x$ac_cv_func__logl" = x""yes; then :
37129 cat >>confdefs.h <<_ACEOF
37130 #define HAVE__LOGL 1
37131 _ACEOF
37134 done
37143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
37144 $as_echo_n "checking for log10l declaration... " >&6; }
37145 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
37146 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
37147 $as_echo_n "(cached) " >&6
37148 else
37151 ac_ext=cpp
37152 ac_cpp='$CXXCPP $CPPFLAGS'
37153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37158 /* end confdefs.h. */
37159 #include <math.h>
37160 #ifdef HAVE_IEEEFP_H
37161 #include <ieeefp.h>
37162 #endif
37165 main ()
37167 log10l(0);
37169 return 0;
37171 _ACEOF
37172 if ac_fn_cxx_try_compile "$LINENO"; then :
37173 glibcxx_cv_func_log10l_use=yes
37174 else
37175 glibcxx_cv_func_log10l_use=no
37177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37178 ac_ext=c
37179 ac_cpp='$CPP $CPPFLAGS'
37180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
37189 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
37191 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
37192 for ac_func in log10l
37193 do :
37194 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
37195 if test "x$ac_cv_func_log10l" = x""yes; then :
37196 cat >>confdefs.h <<_ACEOF
37197 #define HAVE_LOG10L 1
37198 _ACEOF
37201 done
37203 else
37205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
37206 $as_echo_n "checking for _log10l declaration... " >&6; }
37207 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
37208 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
37209 $as_echo_n "(cached) " >&6
37210 else
37213 ac_ext=cpp
37214 ac_cpp='$CXXCPP $CPPFLAGS'
37215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37220 /* end confdefs.h. */
37221 #include <math.h>
37222 #ifdef HAVE_IEEEFP_H
37223 #include <ieeefp.h>
37224 #endif
37227 main ()
37229 _log10l(0);
37231 return 0;
37233 _ACEOF
37234 if ac_fn_cxx_try_compile "$LINENO"; then :
37235 glibcxx_cv_func__log10l_use=yes
37236 else
37237 glibcxx_cv_func__log10l_use=no
37239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37240 ac_ext=c
37241 ac_cpp='$CPP $CPPFLAGS'
37242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
37251 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
37253 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
37254 for ac_func in _log10l
37255 do :
37256 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
37257 if test "x$ac_cv_func__log10l" = x""yes; then :
37258 cat >>confdefs.h <<_ACEOF
37259 #define HAVE__LOG10L 1
37260 _ACEOF
37263 done
37272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
37273 $as_echo_n "checking for modfl declaration... " >&6; }
37274 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
37275 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
37276 $as_echo_n "(cached) " >&6
37277 else
37280 ac_ext=cpp
37281 ac_cpp='$CXXCPP $CPPFLAGS'
37282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37287 /* end confdefs.h. */
37288 #include <math.h>
37290 main ()
37292 modfl(0, 0);
37294 return 0;
37296 _ACEOF
37297 if ac_fn_cxx_try_compile "$LINENO"; then :
37298 glibcxx_cv_func_modfl_use=yes
37299 else
37300 glibcxx_cv_func_modfl_use=no
37302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37303 ac_ext=c
37304 ac_cpp='$CPP $CPPFLAGS'
37305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
37314 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
37316 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
37317 for ac_func in modfl
37318 do :
37319 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
37320 if test "x$ac_cv_func_modfl" = x""yes; then :
37321 cat >>confdefs.h <<_ACEOF
37322 #define HAVE_MODFL 1
37323 _ACEOF
37326 done
37328 else
37330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
37331 $as_echo_n "checking for _modfl declaration... " >&6; }
37332 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
37333 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
37334 $as_echo_n "(cached) " >&6
37335 else
37338 ac_ext=cpp
37339 ac_cpp='$CXXCPP $CPPFLAGS'
37340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37345 /* end confdefs.h. */
37346 #include <math.h>
37348 main ()
37350 _modfl(0, 0);
37352 return 0;
37354 _ACEOF
37355 if ac_fn_cxx_try_compile "$LINENO"; then :
37356 glibcxx_cv_func__modfl_use=yes
37357 else
37358 glibcxx_cv_func__modfl_use=no
37360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37361 ac_ext=c
37362 ac_cpp='$CPP $CPPFLAGS'
37363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
37372 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
37374 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
37375 for ac_func in _modfl
37376 do :
37377 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
37378 if test "x$ac_cv_func__modfl" = x""yes; then :
37379 cat >>confdefs.h <<_ACEOF
37380 #define HAVE__MODFL 1
37381 _ACEOF
37384 done
37393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
37394 $as_echo_n "checking for powl declaration... " >&6; }
37395 if test x${glibcxx_cv_func_powl_use+set} != xset; then
37396 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
37397 $as_echo_n "(cached) " >&6
37398 else
37401 ac_ext=cpp
37402 ac_cpp='$CXXCPP $CPPFLAGS'
37403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37408 /* end confdefs.h. */
37409 #include <math.h>
37411 main ()
37413 powl(0, 0);
37415 return 0;
37417 _ACEOF
37418 if ac_fn_cxx_try_compile "$LINENO"; then :
37419 glibcxx_cv_func_powl_use=yes
37420 else
37421 glibcxx_cv_func_powl_use=no
37423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37424 ac_ext=c
37425 ac_cpp='$CPP $CPPFLAGS'
37426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
37435 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
37437 if test x$glibcxx_cv_func_powl_use = x"yes"; then
37438 for ac_func in powl
37439 do :
37440 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
37441 if test "x$ac_cv_func_powl" = x""yes; then :
37442 cat >>confdefs.h <<_ACEOF
37443 #define HAVE_POWL 1
37444 _ACEOF
37447 done
37449 else
37451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
37452 $as_echo_n "checking for _powl declaration... " >&6; }
37453 if test x${glibcxx_cv_func__powl_use+set} != xset; then
37454 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
37455 $as_echo_n "(cached) " >&6
37456 else
37459 ac_ext=cpp
37460 ac_cpp='$CXXCPP $CPPFLAGS'
37461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37466 /* end confdefs.h. */
37467 #include <math.h>
37469 main ()
37471 _powl(0, 0);
37473 return 0;
37475 _ACEOF
37476 if ac_fn_cxx_try_compile "$LINENO"; then :
37477 glibcxx_cv_func__powl_use=yes
37478 else
37479 glibcxx_cv_func__powl_use=no
37481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37482 ac_ext=c
37483 ac_cpp='$CPP $CPPFLAGS'
37484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
37493 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
37495 if test x$glibcxx_cv_func__powl_use = x"yes"; then
37496 for ac_func in _powl
37497 do :
37498 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
37499 if test "x$ac_cv_func__powl" = x""yes; then :
37500 cat >>confdefs.h <<_ACEOF
37501 #define HAVE__POWL 1
37502 _ACEOF
37505 done
37514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
37515 $as_echo_n "checking for sqrtl declaration... " >&6; }
37516 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
37517 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
37518 $as_echo_n "(cached) " >&6
37519 else
37522 ac_ext=cpp
37523 ac_cpp='$CXXCPP $CPPFLAGS'
37524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37529 /* end confdefs.h. */
37530 #include <math.h>
37531 #ifdef HAVE_IEEEFP_H
37532 #include <ieeefp.h>
37533 #endif
37536 main ()
37538 sqrtl(0);
37540 return 0;
37542 _ACEOF
37543 if ac_fn_cxx_try_compile "$LINENO"; then :
37544 glibcxx_cv_func_sqrtl_use=yes
37545 else
37546 glibcxx_cv_func_sqrtl_use=no
37548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37549 ac_ext=c
37550 ac_cpp='$CPP $CPPFLAGS'
37551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
37560 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
37562 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
37563 for ac_func in sqrtl
37564 do :
37565 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
37566 if test "x$ac_cv_func_sqrtl" = x""yes; then :
37567 cat >>confdefs.h <<_ACEOF
37568 #define HAVE_SQRTL 1
37569 _ACEOF
37572 done
37574 else
37576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
37577 $as_echo_n "checking for _sqrtl declaration... " >&6; }
37578 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
37579 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
37580 $as_echo_n "(cached) " >&6
37581 else
37584 ac_ext=cpp
37585 ac_cpp='$CXXCPP $CPPFLAGS'
37586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37591 /* end confdefs.h. */
37592 #include <math.h>
37593 #ifdef HAVE_IEEEFP_H
37594 #include <ieeefp.h>
37595 #endif
37598 main ()
37600 _sqrtl(0);
37602 return 0;
37604 _ACEOF
37605 if ac_fn_cxx_try_compile "$LINENO"; then :
37606 glibcxx_cv_func__sqrtl_use=yes
37607 else
37608 glibcxx_cv_func__sqrtl_use=no
37610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37611 ac_ext=c
37612 ac_cpp='$CPP $CPPFLAGS'
37613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
37622 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
37624 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
37625 for ac_func in _sqrtl
37626 do :
37627 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
37628 if test "x$ac_cv_func__sqrtl" = x""yes; then :
37629 cat >>confdefs.h <<_ACEOF
37630 #define HAVE__SQRTL 1
37631 _ACEOF
37634 done
37643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
37644 $as_echo_n "checking for sincosl declaration... " >&6; }
37645 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
37646 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
37647 $as_echo_n "(cached) " >&6
37648 else
37651 ac_ext=cpp
37652 ac_cpp='$CXXCPP $CPPFLAGS'
37653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37658 /* end confdefs.h. */
37659 #include <math.h>
37661 main ()
37663 sincosl(0, 0, 0);
37665 return 0;
37667 _ACEOF
37668 if ac_fn_cxx_try_compile "$LINENO"; then :
37669 glibcxx_cv_func_sincosl_use=yes
37670 else
37671 glibcxx_cv_func_sincosl_use=no
37673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37674 ac_ext=c
37675 ac_cpp='$CPP $CPPFLAGS'
37676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
37685 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
37687 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
37688 for ac_func in sincosl
37689 do :
37690 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
37691 if test "x$ac_cv_func_sincosl" = x""yes; then :
37692 cat >>confdefs.h <<_ACEOF
37693 #define HAVE_SINCOSL 1
37694 _ACEOF
37697 done
37699 else
37701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
37702 $as_echo_n "checking for _sincosl declaration... " >&6; }
37703 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
37704 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
37705 $as_echo_n "(cached) " >&6
37706 else
37709 ac_ext=cpp
37710 ac_cpp='$CXXCPP $CPPFLAGS'
37711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37716 /* end confdefs.h. */
37717 #include <math.h>
37719 main ()
37721 _sincosl(0, 0, 0);
37723 return 0;
37725 _ACEOF
37726 if ac_fn_cxx_try_compile "$LINENO"; then :
37727 glibcxx_cv_func__sincosl_use=yes
37728 else
37729 glibcxx_cv_func__sincosl_use=no
37731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37732 ac_ext=c
37733 ac_cpp='$CPP $CPPFLAGS'
37734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
37743 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
37745 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
37746 for ac_func in _sincosl
37747 do :
37748 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
37749 if test "x$ac_cv_func__sincosl" = x""yes; then :
37750 cat >>confdefs.h <<_ACEOF
37751 #define HAVE__SINCOSL 1
37752 _ACEOF
37755 done
37764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
37765 $as_echo_n "checking for finitel declaration... " >&6; }
37766 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
37767 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
37768 $as_echo_n "(cached) " >&6
37769 else
37772 ac_ext=cpp
37773 ac_cpp='$CXXCPP $CPPFLAGS'
37774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37779 /* end confdefs.h. */
37780 #include <math.h>
37781 #ifdef HAVE_IEEEFP_H
37782 #include <ieeefp.h>
37783 #endif
37786 main ()
37788 finitel(0);
37790 return 0;
37792 _ACEOF
37793 if ac_fn_cxx_try_compile "$LINENO"; then :
37794 glibcxx_cv_func_finitel_use=yes
37795 else
37796 glibcxx_cv_func_finitel_use=no
37798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37799 ac_ext=c
37800 ac_cpp='$CPP $CPPFLAGS'
37801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
37810 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
37812 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
37813 for ac_func in finitel
37814 do :
37815 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
37816 if test "x$ac_cv_func_finitel" = x""yes; then :
37817 cat >>confdefs.h <<_ACEOF
37818 #define HAVE_FINITEL 1
37819 _ACEOF
37822 done
37824 else
37826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
37827 $as_echo_n "checking for _finitel declaration... " >&6; }
37828 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
37829 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
37830 $as_echo_n "(cached) " >&6
37831 else
37834 ac_ext=cpp
37835 ac_cpp='$CXXCPP $CPPFLAGS'
37836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37841 /* end confdefs.h. */
37842 #include <math.h>
37843 #ifdef HAVE_IEEEFP_H
37844 #include <ieeefp.h>
37845 #endif
37848 main ()
37850 _finitel(0);
37852 return 0;
37854 _ACEOF
37855 if ac_fn_cxx_try_compile "$LINENO"; then :
37856 glibcxx_cv_func__finitel_use=yes
37857 else
37858 glibcxx_cv_func__finitel_use=no
37860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37861 ac_ext=c
37862 ac_cpp='$CPP $CPPFLAGS'
37863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
37872 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
37874 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
37875 for ac_func in _finitel
37876 do :
37877 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
37878 if test "x$ac_cv_func__finitel" = x""yes; then :
37879 cat >>confdefs.h <<_ACEOF
37880 #define HAVE__FINITEL 1
37881 _ACEOF
37884 done
37892 LIBS="$ac_save_LIBS"
37893 CXXFLAGS="$ac_save_CXXFLAGS"
37896 ac_test_CXXFLAGS="${CXXFLAGS+set}"
37897 ac_save_CXXFLAGS="$CXXFLAGS"
37898 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
37901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
37902 $as_echo_n "checking for strtold declaration... " >&6; }
37903 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
37904 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
37905 $as_echo_n "(cached) " >&6
37906 else
37909 ac_ext=cpp
37910 ac_cpp='$CXXCPP $CPPFLAGS'
37911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37916 /* end confdefs.h. */
37917 #include <stdlib.h>
37919 main ()
37921 strtold(0, 0);
37923 return 0;
37925 _ACEOF
37926 if ac_fn_cxx_try_compile "$LINENO"; then :
37927 glibcxx_cv_func_strtold_use=yes
37928 else
37929 glibcxx_cv_func_strtold_use=no
37931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37932 ac_ext=c
37933 ac_cpp='$CPP $CPPFLAGS'
37934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
37943 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
37944 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
37945 for ac_func in strtold
37946 do :
37947 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
37948 if test "x$ac_cv_func_strtold" = x""yes; then :
37949 cat >>confdefs.h <<_ACEOF
37950 #define HAVE_STRTOLD 1
37951 _ACEOF
37954 done
37961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
37962 $as_echo_n "checking for strtof declaration... " >&6; }
37963 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
37964 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
37965 $as_echo_n "(cached) " >&6
37966 else
37969 ac_ext=cpp
37970 ac_cpp='$CXXCPP $CPPFLAGS'
37971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37976 /* end confdefs.h. */
37977 #include <stdlib.h>
37979 main ()
37981 strtof(0, 0);
37983 return 0;
37985 _ACEOF
37986 if ac_fn_cxx_try_compile "$LINENO"; then :
37987 glibcxx_cv_func_strtof_use=yes
37988 else
37989 glibcxx_cv_func_strtof_use=no
37991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37992 ac_ext=c
37993 ac_cpp='$CPP $CPPFLAGS'
37994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
38003 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
38004 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
38005 for ac_func in strtof
38006 do :
38007 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
38008 if test "x$ac_cv_func_strtof" = x""yes; then :
38009 cat >>confdefs.h <<_ACEOF
38010 #define HAVE_STRTOF 1
38011 _ACEOF
38014 done
38021 CXXFLAGS="$ac_save_CXXFLAGS"
38023 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
38025 # We don't yet support AIX's TLS ABI.
38026 #GCC_CHECK_TLS
38032 am_save_CPPFLAGS="$CPPFLAGS"
38034 for element in $INCICONV; do
38035 haveit=
38036 for x in $CPPFLAGS; do
38038 acl_save_prefix="$prefix"
38039 prefix="$acl_final_prefix"
38040 acl_save_exec_prefix="$exec_prefix"
38041 exec_prefix="$acl_final_exec_prefix"
38042 eval x=\"$x\"
38043 exec_prefix="$acl_save_exec_prefix"
38044 prefix="$acl_save_prefix"
38046 if test "X$x" = "X$element"; then
38047 haveit=yes
38048 break
38050 done
38051 if test -z "$haveit"; then
38052 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
38054 done
38057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
38058 $as_echo_n "checking for iconv... " >&6; }
38059 if test "${am_cv_func_iconv+set}" = set; then :
38060 $as_echo_n "(cached) " >&6
38061 else
38063 am_cv_func_iconv="no, consider installing GNU libiconv"
38064 am_cv_lib_iconv=no
38065 if test x$gcc_no_link = xyes; then
38066 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38069 /* end confdefs.h. */
38070 #include <stdlib.h>
38071 #include <iconv.h>
38073 main ()
38075 iconv_t cd = iconv_open("","");
38076 iconv(cd,NULL,NULL,NULL,NULL);
38077 iconv_close(cd);
38079 return 0;
38081 _ACEOF
38082 if ac_fn_c_try_link "$LINENO"; then :
38083 am_cv_func_iconv=yes
38085 rm -f core conftest.err conftest.$ac_objext \
38086 conftest$ac_exeext conftest.$ac_ext
38087 if test "$am_cv_func_iconv" != yes; then
38088 am_save_LIBS="$LIBS"
38089 LIBS="$LIBS $LIBICONV"
38090 if test x$gcc_no_link = xyes; then
38091 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38094 /* end confdefs.h. */
38095 #include <stdlib.h>
38096 #include <iconv.h>
38098 main ()
38100 iconv_t cd = iconv_open("","");
38101 iconv(cd,NULL,NULL,NULL,NULL);
38102 iconv_close(cd);
38104 return 0;
38106 _ACEOF
38107 if ac_fn_c_try_link "$LINENO"; then :
38108 am_cv_lib_iconv=yes
38109 am_cv_func_iconv=yes
38111 rm -f core conftest.err conftest.$ac_objext \
38112 conftest$ac_exeext conftest.$ac_ext
38113 LIBS="$am_save_LIBS"
38117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
38118 $as_echo "$am_cv_func_iconv" >&6; }
38119 if test "$am_cv_func_iconv" = yes; then
38121 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
38124 if test "$am_cv_lib_iconv" = yes; then
38125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
38126 $as_echo_n "checking how to link with libiconv... " >&6; }
38127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
38128 $as_echo "$LIBICONV" >&6; }
38129 else
38130 CPPFLAGS="$am_save_CPPFLAGS"
38131 LIBICONV=
38132 LTLIBICONV=
38137 if test "$am_cv_func_iconv" = yes; then
38138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
38139 $as_echo_n "checking for iconv declaration... " >&6; }
38140 if test "${am_cv_proto_iconv+set}" = set; then :
38141 $as_echo_n "(cached) " >&6
38142 else
38144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38145 /* end confdefs.h. */
38147 #include <stdlib.h>
38148 #include <iconv.h>
38149 extern
38150 #ifdef __cplusplus
38152 #endif
38153 #if defined(__STDC__) || defined(__cplusplus)
38154 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38155 #else
38156 size_t iconv();
38157 #endif
38160 main ()
38164 return 0;
38166 _ACEOF
38167 if ac_fn_c_try_compile "$LINENO"; then :
38168 am_cv_proto_iconv_arg1=""
38169 else
38170 am_cv_proto_iconv_arg1="const"
38172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38173 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);"
38176 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
38177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
38178 }$am_cv_proto_iconv" >&5
38179 $as_echo "${ac_t:-
38180 }$am_cv_proto_iconv" >&6; }
38182 cat >>confdefs.h <<_ACEOF
38183 #define ICONV_CONST $am_cv_proto_iconv_arg1
38184 _ACEOF
38190 *-darwin*)
38191 # Darwin versions vary, but the linker should work in a cross environment,
38192 # so we just check for all the features here.
38193 # Check for available headers.
38195 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
38197 ac_test_CXXFLAGS="${CXXFLAGS+set}"
38198 ac_save_CXXFLAGS="$CXXFLAGS"
38199 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
38202 $as_echo_n "checking for sin in -lm... " >&6; }
38203 if test "${ac_cv_lib_m_sin+set}" = set; then :
38204 $as_echo_n "(cached) " >&6
38205 else
38206 ac_check_lib_save_LIBS=$LIBS
38207 LIBS="-lm $LIBS"
38208 if test x$gcc_no_link = xyes; then
38209 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38212 /* end confdefs.h. */
38214 /* Override any GCC internal prototype to avoid an error.
38215 Use char because int might match the return type of a GCC
38216 builtin and then its argument prototype would still apply. */
38217 #ifdef __cplusplus
38218 extern "C"
38219 #endif
38220 char sin ();
38222 main ()
38224 return sin ();
38226 return 0;
38228 _ACEOF
38229 if ac_fn_c_try_link "$LINENO"; then :
38230 ac_cv_lib_m_sin=yes
38231 else
38232 ac_cv_lib_m_sin=no
38234 rm -f core conftest.err conftest.$ac_objext \
38235 conftest$ac_exeext conftest.$ac_ext
38236 LIBS=$ac_check_lib_save_LIBS
38238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
38239 $as_echo "$ac_cv_lib_m_sin" >&6; }
38240 if test "x$ac_cv_lib_m_sin" = x""yes; then :
38241 libm="-lm"
38244 ac_save_LIBS="$LIBS"
38245 LIBS="$LIBS $libm"
38249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
38250 $as_echo_n "checking for isinf declaration... " >&6; }
38251 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
38252 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
38253 $as_echo_n "(cached) " >&6
38254 else
38257 ac_ext=cpp
38258 ac_cpp='$CXXCPP $CPPFLAGS'
38259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38264 /* end confdefs.h. */
38265 #include <math.h>
38266 #ifdef HAVE_IEEEFP_H
38267 #include <ieeefp.h>
38268 #endif
38271 main ()
38273 isinf(0);
38275 return 0;
38277 _ACEOF
38278 if ac_fn_cxx_try_compile "$LINENO"; then :
38279 glibcxx_cv_func_isinf_use=yes
38280 else
38281 glibcxx_cv_func_isinf_use=no
38283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38284 ac_ext=c
38285 ac_cpp='$CPP $CPPFLAGS'
38286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
38295 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
38297 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
38298 for ac_func in isinf
38299 do :
38300 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
38301 if test "x$ac_cv_func_isinf" = x""yes; then :
38302 cat >>confdefs.h <<_ACEOF
38303 #define HAVE_ISINF 1
38304 _ACEOF
38307 done
38309 else
38311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
38312 $as_echo_n "checking for _isinf declaration... " >&6; }
38313 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
38314 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
38315 $as_echo_n "(cached) " >&6
38316 else
38319 ac_ext=cpp
38320 ac_cpp='$CXXCPP $CPPFLAGS'
38321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38326 /* end confdefs.h. */
38327 #include <math.h>
38328 #ifdef HAVE_IEEEFP_H
38329 #include <ieeefp.h>
38330 #endif
38333 main ()
38335 _isinf(0);
38337 return 0;
38339 _ACEOF
38340 if ac_fn_cxx_try_compile "$LINENO"; then :
38341 glibcxx_cv_func__isinf_use=yes
38342 else
38343 glibcxx_cv_func__isinf_use=no
38345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38346 ac_ext=c
38347 ac_cpp='$CPP $CPPFLAGS'
38348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
38357 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
38359 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
38360 for ac_func in _isinf
38361 do :
38362 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
38363 if test "x$ac_cv_func__isinf" = x""yes; then :
38364 cat >>confdefs.h <<_ACEOF
38365 #define HAVE__ISINF 1
38366 _ACEOF
38369 done
38378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
38379 $as_echo_n "checking for isnan declaration... " >&6; }
38380 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
38381 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
38382 $as_echo_n "(cached) " >&6
38383 else
38386 ac_ext=cpp
38387 ac_cpp='$CXXCPP $CPPFLAGS'
38388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38393 /* end confdefs.h. */
38394 #include <math.h>
38395 #ifdef HAVE_IEEEFP_H
38396 #include <ieeefp.h>
38397 #endif
38400 main ()
38402 isnan(0);
38404 return 0;
38406 _ACEOF
38407 if ac_fn_cxx_try_compile "$LINENO"; then :
38408 glibcxx_cv_func_isnan_use=yes
38409 else
38410 glibcxx_cv_func_isnan_use=no
38412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38413 ac_ext=c
38414 ac_cpp='$CPP $CPPFLAGS'
38415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
38424 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
38426 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
38427 for ac_func in isnan
38428 do :
38429 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
38430 if test "x$ac_cv_func_isnan" = x""yes; then :
38431 cat >>confdefs.h <<_ACEOF
38432 #define HAVE_ISNAN 1
38433 _ACEOF
38436 done
38438 else
38440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
38441 $as_echo_n "checking for _isnan declaration... " >&6; }
38442 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
38443 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
38444 $as_echo_n "(cached) " >&6
38445 else
38448 ac_ext=cpp
38449 ac_cpp='$CXXCPP $CPPFLAGS'
38450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38455 /* end confdefs.h. */
38456 #include <math.h>
38457 #ifdef HAVE_IEEEFP_H
38458 #include <ieeefp.h>
38459 #endif
38462 main ()
38464 _isnan(0);
38466 return 0;
38468 _ACEOF
38469 if ac_fn_cxx_try_compile "$LINENO"; then :
38470 glibcxx_cv_func__isnan_use=yes
38471 else
38472 glibcxx_cv_func__isnan_use=no
38474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38475 ac_ext=c
38476 ac_cpp='$CPP $CPPFLAGS'
38477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
38486 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
38488 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
38489 for ac_func in _isnan
38490 do :
38491 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
38492 if test "x$ac_cv_func__isnan" = x""yes; then :
38493 cat >>confdefs.h <<_ACEOF
38494 #define HAVE__ISNAN 1
38495 _ACEOF
38498 done
38507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
38508 $as_echo_n "checking for finite declaration... " >&6; }
38509 if test x${glibcxx_cv_func_finite_use+set} != xset; then
38510 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
38511 $as_echo_n "(cached) " >&6
38512 else
38515 ac_ext=cpp
38516 ac_cpp='$CXXCPP $CPPFLAGS'
38517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38522 /* end confdefs.h. */
38523 #include <math.h>
38524 #ifdef HAVE_IEEEFP_H
38525 #include <ieeefp.h>
38526 #endif
38529 main ()
38531 finite(0);
38533 return 0;
38535 _ACEOF
38536 if ac_fn_cxx_try_compile "$LINENO"; then :
38537 glibcxx_cv_func_finite_use=yes
38538 else
38539 glibcxx_cv_func_finite_use=no
38541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38542 ac_ext=c
38543 ac_cpp='$CPP $CPPFLAGS'
38544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
38553 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
38555 if test x$glibcxx_cv_func_finite_use = x"yes"; then
38556 for ac_func in finite
38557 do :
38558 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
38559 if test "x$ac_cv_func_finite" = x""yes; then :
38560 cat >>confdefs.h <<_ACEOF
38561 #define HAVE_FINITE 1
38562 _ACEOF
38565 done
38567 else
38569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
38570 $as_echo_n "checking for _finite declaration... " >&6; }
38571 if test x${glibcxx_cv_func__finite_use+set} != xset; then
38572 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
38573 $as_echo_n "(cached) " >&6
38574 else
38577 ac_ext=cpp
38578 ac_cpp='$CXXCPP $CPPFLAGS'
38579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38584 /* end confdefs.h. */
38585 #include <math.h>
38586 #ifdef HAVE_IEEEFP_H
38587 #include <ieeefp.h>
38588 #endif
38591 main ()
38593 _finite(0);
38595 return 0;
38597 _ACEOF
38598 if ac_fn_cxx_try_compile "$LINENO"; then :
38599 glibcxx_cv_func__finite_use=yes
38600 else
38601 glibcxx_cv_func__finite_use=no
38603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38604 ac_ext=c
38605 ac_cpp='$CPP $CPPFLAGS'
38606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
38615 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
38617 if test x$glibcxx_cv_func__finite_use = x"yes"; then
38618 for ac_func in _finite
38619 do :
38620 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
38621 if test "x$ac_cv_func__finite" = x""yes; then :
38622 cat >>confdefs.h <<_ACEOF
38623 #define HAVE__FINITE 1
38624 _ACEOF
38627 done
38636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
38637 $as_echo_n "checking for sincos declaration... " >&6; }
38638 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
38639 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
38640 $as_echo_n "(cached) " >&6
38641 else
38644 ac_ext=cpp
38645 ac_cpp='$CXXCPP $CPPFLAGS'
38646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38651 /* end confdefs.h. */
38652 #include <math.h>
38654 main ()
38656 sincos(0, 0, 0);
38658 return 0;
38660 _ACEOF
38661 if ac_fn_cxx_try_compile "$LINENO"; then :
38662 glibcxx_cv_func_sincos_use=yes
38663 else
38664 glibcxx_cv_func_sincos_use=no
38666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38667 ac_ext=c
38668 ac_cpp='$CPP $CPPFLAGS'
38669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
38678 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
38680 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
38681 for ac_func in sincos
38682 do :
38683 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
38684 if test "x$ac_cv_func_sincos" = x""yes; then :
38685 cat >>confdefs.h <<_ACEOF
38686 #define HAVE_SINCOS 1
38687 _ACEOF
38690 done
38692 else
38694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
38695 $as_echo_n "checking for _sincos declaration... " >&6; }
38696 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
38697 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
38698 $as_echo_n "(cached) " >&6
38699 else
38702 ac_ext=cpp
38703 ac_cpp='$CXXCPP $CPPFLAGS'
38704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38709 /* end confdefs.h. */
38710 #include <math.h>
38712 main ()
38714 _sincos(0, 0, 0);
38716 return 0;
38718 _ACEOF
38719 if ac_fn_cxx_try_compile "$LINENO"; then :
38720 glibcxx_cv_func__sincos_use=yes
38721 else
38722 glibcxx_cv_func__sincos_use=no
38724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38725 ac_ext=c
38726 ac_cpp='$CPP $CPPFLAGS'
38727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
38736 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
38738 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
38739 for ac_func in _sincos
38740 do :
38741 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
38742 if test "x$ac_cv_func__sincos" = x""yes; then :
38743 cat >>confdefs.h <<_ACEOF
38744 #define HAVE__SINCOS 1
38745 _ACEOF
38748 done
38757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
38758 $as_echo_n "checking for fpclass declaration... " >&6; }
38759 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
38760 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
38761 $as_echo_n "(cached) " >&6
38762 else
38765 ac_ext=cpp
38766 ac_cpp='$CXXCPP $CPPFLAGS'
38767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38772 /* end confdefs.h. */
38773 #include <math.h>
38774 #ifdef HAVE_IEEEFP_H
38775 #include <ieeefp.h>
38776 #endif
38779 main ()
38781 fpclass(0);
38783 return 0;
38785 _ACEOF
38786 if ac_fn_cxx_try_compile "$LINENO"; then :
38787 glibcxx_cv_func_fpclass_use=yes
38788 else
38789 glibcxx_cv_func_fpclass_use=no
38791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38792 ac_ext=c
38793 ac_cpp='$CPP $CPPFLAGS'
38794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
38803 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
38805 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
38806 for ac_func in fpclass
38807 do :
38808 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
38809 if test "x$ac_cv_func_fpclass" = x""yes; then :
38810 cat >>confdefs.h <<_ACEOF
38811 #define HAVE_FPCLASS 1
38812 _ACEOF
38815 done
38817 else
38819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
38820 $as_echo_n "checking for _fpclass declaration... " >&6; }
38821 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
38822 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
38823 $as_echo_n "(cached) " >&6
38824 else
38827 ac_ext=cpp
38828 ac_cpp='$CXXCPP $CPPFLAGS'
38829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38834 /* end confdefs.h. */
38835 #include <math.h>
38836 #ifdef HAVE_IEEEFP_H
38837 #include <ieeefp.h>
38838 #endif
38841 main ()
38843 _fpclass(0);
38845 return 0;
38847 _ACEOF
38848 if ac_fn_cxx_try_compile "$LINENO"; then :
38849 glibcxx_cv_func__fpclass_use=yes
38850 else
38851 glibcxx_cv_func__fpclass_use=no
38853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38854 ac_ext=c
38855 ac_cpp='$CPP $CPPFLAGS'
38856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
38865 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
38867 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
38868 for ac_func in _fpclass
38869 do :
38870 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
38871 if test "x$ac_cv_func__fpclass" = x""yes; then :
38872 cat >>confdefs.h <<_ACEOF
38873 #define HAVE__FPCLASS 1
38874 _ACEOF
38877 done
38886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
38887 $as_echo_n "checking for qfpclass declaration... " >&6; }
38888 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
38889 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
38890 $as_echo_n "(cached) " >&6
38891 else
38894 ac_ext=cpp
38895 ac_cpp='$CXXCPP $CPPFLAGS'
38896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38901 /* end confdefs.h. */
38902 #include <math.h>
38903 #ifdef HAVE_IEEEFP_H
38904 #include <ieeefp.h>
38905 #endif
38908 main ()
38910 qfpclass(0);
38912 return 0;
38914 _ACEOF
38915 if ac_fn_cxx_try_compile "$LINENO"; then :
38916 glibcxx_cv_func_qfpclass_use=yes
38917 else
38918 glibcxx_cv_func_qfpclass_use=no
38920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38921 ac_ext=c
38922 ac_cpp='$CPP $CPPFLAGS'
38923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
38932 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
38934 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
38935 for ac_func in qfpclass
38936 do :
38937 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
38938 if test "x$ac_cv_func_qfpclass" = x""yes; then :
38939 cat >>confdefs.h <<_ACEOF
38940 #define HAVE_QFPCLASS 1
38941 _ACEOF
38944 done
38946 else
38948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
38949 $as_echo_n "checking for _qfpclass declaration... " >&6; }
38950 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
38951 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
38952 $as_echo_n "(cached) " >&6
38953 else
38956 ac_ext=cpp
38957 ac_cpp='$CXXCPP $CPPFLAGS'
38958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38963 /* end confdefs.h. */
38964 #include <math.h>
38965 #ifdef HAVE_IEEEFP_H
38966 #include <ieeefp.h>
38967 #endif
38970 main ()
38972 _qfpclass(0);
38974 return 0;
38976 _ACEOF
38977 if ac_fn_cxx_try_compile "$LINENO"; then :
38978 glibcxx_cv_func__qfpclass_use=yes
38979 else
38980 glibcxx_cv_func__qfpclass_use=no
38982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38983 ac_ext=c
38984 ac_cpp='$CPP $CPPFLAGS'
38985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
38994 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
38996 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
38997 for ac_func in _qfpclass
38998 do :
38999 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
39000 if test "x$ac_cv_func__qfpclass" = x""yes; then :
39001 cat >>confdefs.h <<_ACEOF
39002 #define HAVE__QFPCLASS 1
39003 _ACEOF
39006 done
39015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
39016 $as_echo_n "checking for hypot declaration... " >&6; }
39017 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
39018 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
39019 $as_echo_n "(cached) " >&6
39020 else
39023 ac_ext=cpp
39024 ac_cpp='$CXXCPP $CPPFLAGS'
39025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39030 /* end confdefs.h. */
39031 #include <math.h>
39033 main ()
39035 hypot(0, 0);
39037 return 0;
39039 _ACEOF
39040 if ac_fn_cxx_try_compile "$LINENO"; then :
39041 glibcxx_cv_func_hypot_use=yes
39042 else
39043 glibcxx_cv_func_hypot_use=no
39045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39046 ac_ext=c
39047 ac_cpp='$CPP $CPPFLAGS'
39048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
39057 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
39059 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
39060 for ac_func in hypot
39061 do :
39062 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
39063 if test "x$ac_cv_func_hypot" = x""yes; then :
39064 cat >>confdefs.h <<_ACEOF
39065 #define HAVE_HYPOT 1
39066 _ACEOF
39069 done
39071 else
39073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
39074 $as_echo_n "checking for _hypot declaration... " >&6; }
39075 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
39076 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
39077 $as_echo_n "(cached) " >&6
39078 else
39081 ac_ext=cpp
39082 ac_cpp='$CXXCPP $CPPFLAGS'
39083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39088 /* end confdefs.h. */
39089 #include <math.h>
39091 main ()
39093 _hypot(0, 0);
39095 return 0;
39097 _ACEOF
39098 if ac_fn_cxx_try_compile "$LINENO"; then :
39099 glibcxx_cv_func__hypot_use=yes
39100 else
39101 glibcxx_cv_func__hypot_use=no
39103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39104 ac_ext=c
39105 ac_cpp='$CPP $CPPFLAGS'
39106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
39115 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
39117 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
39118 for ac_func in _hypot
39119 do :
39120 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
39121 if test "x$ac_cv_func__hypot" = x""yes; then :
39122 cat >>confdefs.h <<_ACEOF
39123 #define HAVE__HYPOT 1
39124 _ACEOF
39127 done
39136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
39137 $as_echo_n "checking for float trig functions... " >&6; }
39138 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
39139 $as_echo_n "(cached) " >&6
39140 else
39143 ac_ext=cpp
39144 ac_cpp='$CXXCPP $CPPFLAGS'
39145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39150 /* end confdefs.h. */
39151 #include <math.h>
39153 main ()
39155 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
39157 return 0;
39159 _ACEOF
39160 if ac_fn_cxx_try_compile "$LINENO"; then :
39161 glibcxx_cv_func_float_trig_use=yes
39162 else
39163 glibcxx_cv_func_float_trig_use=no
39165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39166 ac_ext=c
39167 ac_cpp='$CPP $CPPFLAGS'
39168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
39175 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
39176 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
39177 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
39178 do :
39179 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39180 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39181 eval as_val=\$$as_ac_var
39182 if test "x$as_val" = x""yes; then :
39183 cat >>confdefs.h <<_ACEOF
39184 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39185 _ACEOF
39188 done
39190 else
39191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
39192 $as_echo_n "checking for _float trig functions... " >&6; }
39193 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
39194 $as_echo_n "(cached) " >&6
39195 else
39198 ac_ext=cpp
39199 ac_cpp='$CXXCPP $CPPFLAGS'
39200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39205 /* end confdefs.h. */
39206 #include <math.h>
39208 main ()
39210 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
39212 return 0;
39214 _ACEOF
39215 if ac_fn_cxx_try_compile "$LINENO"; then :
39216 glibcxx_cv_func__float_trig_use=yes
39217 else
39218 glibcxx_cv_func__float_trig_use=no
39220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39221 ac_ext=c
39222 ac_cpp='$CPP $CPPFLAGS'
39223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
39230 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
39231 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
39232 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
39233 do :
39234 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39235 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39236 eval as_val=\$$as_ac_var
39237 if test "x$as_val" = x""yes; then :
39238 cat >>confdefs.h <<_ACEOF
39239 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39240 _ACEOF
39243 done
39252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
39253 $as_echo_n "checking for float round functions... " >&6; }
39254 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
39255 $as_echo_n "(cached) " >&6
39256 else
39259 ac_ext=cpp
39260 ac_cpp='$CXXCPP $CPPFLAGS'
39261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39266 /* end confdefs.h. */
39267 #include <math.h>
39269 main ()
39271 ceilf (0); floorf (0);
39273 return 0;
39275 _ACEOF
39276 if ac_fn_cxx_try_compile "$LINENO"; then :
39277 glibcxx_cv_func_float_round_use=yes
39278 else
39279 glibcxx_cv_func_float_round_use=no
39281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39282 ac_ext=c
39283 ac_cpp='$CPP $CPPFLAGS'
39284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
39291 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
39292 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
39293 for ac_func in ceilf floorf
39294 do :
39295 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39296 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39297 eval as_val=\$$as_ac_var
39298 if test "x$as_val" = x""yes; then :
39299 cat >>confdefs.h <<_ACEOF
39300 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39301 _ACEOF
39304 done
39306 else
39307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
39308 $as_echo_n "checking for _float round functions... " >&6; }
39309 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
39310 $as_echo_n "(cached) " >&6
39311 else
39314 ac_ext=cpp
39315 ac_cpp='$CXXCPP $CPPFLAGS'
39316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39321 /* end confdefs.h. */
39322 #include <math.h>
39324 main ()
39326 _ceilf (0); _floorf (0);
39328 return 0;
39330 _ACEOF
39331 if ac_fn_cxx_try_compile "$LINENO"; then :
39332 glibcxx_cv_func__float_round_use=yes
39333 else
39334 glibcxx_cv_func__float_round_use=no
39336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39337 ac_ext=c
39338 ac_cpp='$CPP $CPPFLAGS'
39339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
39346 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
39347 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
39348 for ac_func in _ceilf _floorf
39349 do :
39350 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39351 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39352 eval as_val=\$$as_ac_var
39353 if test "x$as_val" = x""yes; then :
39354 cat >>confdefs.h <<_ACEOF
39355 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39356 _ACEOF
39359 done
39369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
39370 $as_echo_n "checking for expf declaration... " >&6; }
39371 if test x${glibcxx_cv_func_expf_use+set} != xset; then
39372 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
39373 $as_echo_n "(cached) " >&6
39374 else
39377 ac_ext=cpp
39378 ac_cpp='$CXXCPP $CPPFLAGS'
39379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39384 /* end confdefs.h. */
39385 #include <math.h>
39386 #ifdef HAVE_IEEEFP_H
39387 #include <ieeefp.h>
39388 #endif
39391 main ()
39393 expf(0);
39395 return 0;
39397 _ACEOF
39398 if ac_fn_cxx_try_compile "$LINENO"; then :
39399 glibcxx_cv_func_expf_use=yes
39400 else
39401 glibcxx_cv_func_expf_use=no
39403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39404 ac_ext=c
39405 ac_cpp='$CPP $CPPFLAGS'
39406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
39415 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
39417 if test x$glibcxx_cv_func_expf_use = x"yes"; then
39418 for ac_func in expf
39419 do :
39420 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
39421 if test "x$ac_cv_func_expf" = x""yes; then :
39422 cat >>confdefs.h <<_ACEOF
39423 #define HAVE_EXPF 1
39424 _ACEOF
39427 done
39429 else
39431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
39432 $as_echo_n "checking for _expf declaration... " >&6; }
39433 if test x${glibcxx_cv_func__expf_use+set} != xset; then
39434 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
39435 $as_echo_n "(cached) " >&6
39436 else
39439 ac_ext=cpp
39440 ac_cpp='$CXXCPP $CPPFLAGS'
39441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39446 /* end confdefs.h. */
39447 #include <math.h>
39448 #ifdef HAVE_IEEEFP_H
39449 #include <ieeefp.h>
39450 #endif
39453 main ()
39455 _expf(0);
39457 return 0;
39459 _ACEOF
39460 if ac_fn_cxx_try_compile "$LINENO"; then :
39461 glibcxx_cv_func__expf_use=yes
39462 else
39463 glibcxx_cv_func__expf_use=no
39465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39466 ac_ext=c
39467 ac_cpp='$CPP $CPPFLAGS'
39468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
39477 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
39479 if test x$glibcxx_cv_func__expf_use = x"yes"; then
39480 for ac_func in _expf
39481 do :
39482 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
39483 if test "x$ac_cv_func__expf" = x""yes; then :
39484 cat >>confdefs.h <<_ACEOF
39485 #define HAVE__EXPF 1
39486 _ACEOF
39489 done
39498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
39499 $as_echo_n "checking for isnanf declaration... " >&6; }
39500 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
39501 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
39502 $as_echo_n "(cached) " >&6
39503 else
39506 ac_ext=cpp
39507 ac_cpp='$CXXCPP $CPPFLAGS'
39508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39513 /* end confdefs.h. */
39514 #include <math.h>
39515 #ifdef HAVE_IEEEFP_H
39516 #include <ieeefp.h>
39517 #endif
39520 main ()
39522 isnanf(0);
39524 return 0;
39526 _ACEOF
39527 if ac_fn_cxx_try_compile "$LINENO"; then :
39528 glibcxx_cv_func_isnanf_use=yes
39529 else
39530 glibcxx_cv_func_isnanf_use=no
39532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39533 ac_ext=c
39534 ac_cpp='$CPP $CPPFLAGS'
39535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
39544 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
39546 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
39547 for ac_func in isnanf
39548 do :
39549 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
39550 if test "x$ac_cv_func_isnanf" = x""yes; then :
39551 cat >>confdefs.h <<_ACEOF
39552 #define HAVE_ISNANF 1
39553 _ACEOF
39556 done
39558 else
39560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
39561 $as_echo_n "checking for _isnanf declaration... " >&6; }
39562 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
39563 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
39564 $as_echo_n "(cached) " >&6
39565 else
39568 ac_ext=cpp
39569 ac_cpp='$CXXCPP $CPPFLAGS'
39570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39575 /* end confdefs.h. */
39576 #include <math.h>
39577 #ifdef HAVE_IEEEFP_H
39578 #include <ieeefp.h>
39579 #endif
39582 main ()
39584 _isnanf(0);
39586 return 0;
39588 _ACEOF
39589 if ac_fn_cxx_try_compile "$LINENO"; then :
39590 glibcxx_cv_func__isnanf_use=yes
39591 else
39592 glibcxx_cv_func__isnanf_use=no
39594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39595 ac_ext=c
39596 ac_cpp='$CPP $CPPFLAGS'
39597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
39606 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
39608 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
39609 for ac_func in _isnanf
39610 do :
39611 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
39612 if test "x$ac_cv_func__isnanf" = x""yes; then :
39613 cat >>confdefs.h <<_ACEOF
39614 #define HAVE__ISNANF 1
39615 _ACEOF
39618 done
39627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
39628 $as_echo_n "checking for isinff declaration... " >&6; }
39629 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
39630 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
39631 $as_echo_n "(cached) " >&6
39632 else
39635 ac_ext=cpp
39636 ac_cpp='$CXXCPP $CPPFLAGS'
39637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39642 /* end confdefs.h. */
39643 #include <math.h>
39644 #ifdef HAVE_IEEEFP_H
39645 #include <ieeefp.h>
39646 #endif
39649 main ()
39651 isinff(0);
39653 return 0;
39655 _ACEOF
39656 if ac_fn_cxx_try_compile "$LINENO"; then :
39657 glibcxx_cv_func_isinff_use=yes
39658 else
39659 glibcxx_cv_func_isinff_use=no
39661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39662 ac_ext=c
39663 ac_cpp='$CPP $CPPFLAGS'
39664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
39673 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
39675 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
39676 for ac_func in isinff
39677 do :
39678 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
39679 if test "x$ac_cv_func_isinff" = x""yes; then :
39680 cat >>confdefs.h <<_ACEOF
39681 #define HAVE_ISINFF 1
39682 _ACEOF
39685 done
39687 else
39689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
39690 $as_echo_n "checking for _isinff declaration... " >&6; }
39691 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
39692 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
39693 $as_echo_n "(cached) " >&6
39694 else
39697 ac_ext=cpp
39698 ac_cpp='$CXXCPP $CPPFLAGS'
39699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39704 /* end confdefs.h. */
39705 #include <math.h>
39706 #ifdef HAVE_IEEEFP_H
39707 #include <ieeefp.h>
39708 #endif
39711 main ()
39713 _isinff(0);
39715 return 0;
39717 _ACEOF
39718 if ac_fn_cxx_try_compile "$LINENO"; then :
39719 glibcxx_cv_func__isinff_use=yes
39720 else
39721 glibcxx_cv_func__isinff_use=no
39723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39724 ac_ext=c
39725 ac_cpp='$CPP $CPPFLAGS'
39726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
39735 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
39737 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
39738 for ac_func in _isinff
39739 do :
39740 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
39741 if test "x$ac_cv_func__isinff" = x""yes; then :
39742 cat >>confdefs.h <<_ACEOF
39743 #define HAVE__ISINFF 1
39744 _ACEOF
39747 done
39756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
39757 $as_echo_n "checking for atan2f declaration... " >&6; }
39758 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
39759 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
39760 $as_echo_n "(cached) " >&6
39761 else
39764 ac_ext=cpp
39765 ac_cpp='$CXXCPP $CPPFLAGS'
39766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39771 /* end confdefs.h. */
39772 #include <math.h>
39774 main ()
39776 atan2f(0, 0);
39778 return 0;
39780 _ACEOF
39781 if ac_fn_cxx_try_compile "$LINENO"; then :
39782 glibcxx_cv_func_atan2f_use=yes
39783 else
39784 glibcxx_cv_func_atan2f_use=no
39786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39787 ac_ext=c
39788 ac_cpp='$CPP $CPPFLAGS'
39789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
39798 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
39800 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
39801 for ac_func in atan2f
39802 do :
39803 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
39804 if test "x$ac_cv_func_atan2f" = x""yes; then :
39805 cat >>confdefs.h <<_ACEOF
39806 #define HAVE_ATAN2F 1
39807 _ACEOF
39810 done
39812 else
39814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
39815 $as_echo_n "checking for _atan2f declaration... " >&6; }
39816 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
39817 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
39818 $as_echo_n "(cached) " >&6
39819 else
39822 ac_ext=cpp
39823 ac_cpp='$CXXCPP $CPPFLAGS'
39824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39829 /* end confdefs.h. */
39830 #include <math.h>
39832 main ()
39834 _atan2f(0, 0);
39836 return 0;
39838 _ACEOF
39839 if ac_fn_cxx_try_compile "$LINENO"; then :
39840 glibcxx_cv_func__atan2f_use=yes
39841 else
39842 glibcxx_cv_func__atan2f_use=no
39844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39845 ac_ext=c
39846 ac_cpp='$CPP $CPPFLAGS'
39847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
39856 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
39858 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
39859 for ac_func in _atan2f
39860 do :
39861 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
39862 if test "x$ac_cv_func__atan2f" = x""yes; then :
39863 cat >>confdefs.h <<_ACEOF
39864 #define HAVE__ATAN2F 1
39865 _ACEOF
39868 done
39877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
39878 $as_echo_n "checking for fabsf declaration... " >&6; }
39879 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
39880 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
39881 $as_echo_n "(cached) " >&6
39882 else
39885 ac_ext=cpp
39886 ac_cpp='$CXXCPP $CPPFLAGS'
39887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39892 /* end confdefs.h. */
39893 #include <math.h>
39894 #ifdef HAVE_IEEEFP_H
39895 #include <ieeefp.h>
39896 #endif
39899 main ()
39901 fabsf(0);
39903 return 0;
39905 _ACEOF
39906 if ac_fn_cxx_try_compile "$LINENO"; then :
39907 glibcxx_cv_func_fabsf_use=yes
39908 else
39909 glibcxx_cv_func_fabsf_use=no
39911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39912 ac_ext=c
39913 ac_cpp='$CPP $CPPFLAGS'
39914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
39923 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
39925 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
39926 for ac_func in fabsf
39927 do :
39928 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
39929 if test "x$ac_cv_func_fabsf" = x""yes; then :
39930 cat >>confdefs.h <<_ACEOF
39931 #define HAVE_FABSF 1
39932 _ACEOF
39935 done
39937 else
39939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
39940 $as_echo_n "checking for _fabsf declaration... " >&6; }
39941 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
39942 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
39943 $as_echo_n "(cached) " >&6
39944 else
39947 ac_ext=cpp
39948 ac_cpp='$CXXCPP $CPPFLAGS'
39949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39954 /* end confdefs.h. */
39955 #include <math.h>
39956 #ifdef HAVE_IEEEFP_H
39957 #include <ieeefp.h>
39958 #endif
39961 main ()
39963 _fabsf(0);
39965 return 0;
39967 _ACEOF
39968 if ac_fn_cxx_try_compile "$LINENO"; then :
39969 glibcxx_cv_func__fabsf_use=yes
39970 else
39971 glibcxx_cv_func__fabsf_use=no
39973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39974 ac_ext=c
39975 ac_cpp='$CPP $CPPFLAGS'
39976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
39985 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
39987 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
39988 for ac_func in _fabsf
39989 do :
39990 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
39991 if test "x$ac_cv_func__fabsf" = x""yes; then :
39992 cat >>confdefs.h <<_ACEOF
39993 #define HAVE__FABSF 1
39994 _ACEOF
39997 done
40006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
40007 $as_echo_n "checking for fmodf declaration... " >&6; }
40008 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
40009 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
40010 $as_echo_n "(cached) " >&6
40011 else
40014 ac_ext=cpp
40015 ac_cpp='$CXXCPP $CPPFLAGS'
40016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40021 /* end confdefs.h. */
40022 #include <math.h>
40024 main ()
40026 fmodf(0, 0);
40028 return 0;
40030 _ACEOF
40031 if ac_fn_cxx_try_compile "$LINENO"; then :
40032 glibcxx_cv_func_fmodf_use=yes
40033 else
40034 glibcxx_cv_func_fmodf_use=no
40036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40037 ac_ext=c
40038 ac_cpp='$CPP $CPPFLAGS'
40039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
40048 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
40050 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
40051 for ac_func in fmodf
40052 do :
40053 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
40054 if test "x$ac_cv_func_fmodf" = x""yes; then :
40055 cat >>confdefs.h <<_ACEOF
40056 #define HAVE_FMODF 1
40057 _ACEOF
40060 done
40062 else
40064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
40065 $as_echo_n "checking for _fmodf declaration... " >&6; }
40066 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
40067 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
40068 $as_echo_n "(cached) " >&6
40069 else
40072 ac_ext=cpp
40073 ac_cpp='$CXXCPP $CPPFLAGS'
40074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40079 /* end confdefs.h. */
40080 #include <math.h>
40082 main ()
40084 _fmodf(0, 0);
40086 return 0;
40088 _ACEOF
40089 if ac_fn_cxx_try_compile "$LINENO"; then :
40090 glibcxx_cv_func__fmodf_use=yes
40091 else
40092 glibcxx_cv_func__fmodf_use=no
40094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40095 ac_ext=c
40096 ac_cpp='$CPP $CPPFLAGS'
40097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
40106 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
40108 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
40109 for ac_func in _fmodf
40110 do :
40111 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
40112 if test "x$ac_cv_func__fmodf" = x""yes; then :
40113 cat >>confdefs.h <<_ACEOF
40114 #define HAVE__FMODF 1
40115 _ACEOF
40118 done
40127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
40128 $as_echo_n "checking for frexpf declaration... " >&6; }
40129 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
40130 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
40131 $as_echo_n "(cached) " >&6
40132 else
40135 ac_ext=cpp
40136 ac_cpp='$CXXCPP $CPPFLAGS'
40137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40142 /* end confdefs.h. */
40143 #include <math.h>
40145 main ()
40147 frexpf(0, 0);
40149 return 0;
40151 _ACEOF
40152 if ac_fn_cxx_try_compile "$LINENO"; then :
40153 glibcxx_cv_func_frexpf_use=yes
40154 else
40155 glibcxx_cv_func_frexpf_use=no
40157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40158 ac_ext=c
40159 ac_cpp='$CPP $CPPFLAGS'
40160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
40169 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
40171 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
40172 for ac_func in frexpf
40173 do :
40174 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
40175 if test "x$ac_cv_func_frexpf" = x""yes; then :
40176 cat >>confdefs.h <<_ACEOF
40177 #define HAVE_FREXPF 1
40178 _ACEOF
40181 done
40183 else
40185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
40186 $as_echo_n "checking for _frexpf declaration... " >&6; }
40187 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
40188 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
40189 $as_echo_n "(cached) " >&6
40190 else
40193 ac_ext=cpp
40194 ac_cpp='$CXXCPP $CPPFLAGS'
40195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40200 /* end confdefs.h. */
40201 #include <math.h>
40203 main ()
40205 _frexpf(0, 0);
40207 return 0;
40209 _ACEOF
40210 if ac_fn_cxx_try_compile "$LINENO"; then :
40211 glibcxx_cv_func__frexpf_use=yes
40212 else
40213 glibcxx_cv_func__frexpf_use=no
40215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40216 ac_ext=c
40217 ac_cpp='$CPP $CPPFLAGS'
40218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
40227 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
40229 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
40230 for ac_func in _frexpf
40231 do :
40232 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
40233 if test "x$ac_cv_func__frexpf" = x""yes; then :
40234 cat >>confdefs.h <<_ACEOF
40235 #define HAVE__FREXPF 1
40236 _ACEOF
40239 done
40248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
40249 $as_echo_n "checking for hypotf declaration... " >&6; }
40250 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
40251 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
40252 $as_echo_n "(cached) " >&6
40253 else
40256 ac_ext=cpp
40257 ac_cpp='$CXXCPP $CPPFLAGS'
40258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40263 /* end confdefs.h. */
40264 #include <math.h>
40266 main ()
40268 hypotf(0, 0);
40270 return 0;
40272 _ACEOF
40273 if ac_fn_cxx_try_compile "$LINENO"; then :
40274 glibcxx_cv_func_hypotf_use=yes
40275 else
40276 glibcxx_cv_func_hypotf_use=no
40278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40279 ac_ext=c
40280 ac_cpp='$CPP $CPPFLAGS'
40281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
40290 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
40292 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
40293 for ac_func in hypotf
40294 do :
40295 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
40296 if test "x$ac_cv_func_hypotf" = x""yes; then :
40297 cat >>confdefs.h <<_ACEOF
40298 #define HAVE_HYPOTF 1
40299 _ACEOF
40302 done
40304 else
40306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
40307 $as_echo_n "checking for _hypotf declaration... " >&6; }
40308 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
40309 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
40310 $as_echo_n "(cached) " >&6
40311 else
40314 ac_ext=cpp
40315 ac_cpp='$CXXCPP $CPPFLAGS'
40316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40321 /* end confdefs.h. */
40322 #include <math.h>
40324 main ()
40326 _hypotf(0, 0);
40328 return 0;
40330 _ACEOF
40331 if ac_fn_cxx_try_compile "$LINENO"; then :
40332 glibcxx_cv_func__hypotf_use=yes
40333 else
40334 glibcxx_cv_func__hypotf_use=no
40336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40337 ac_ext=c
40338 ac_cpp='$CPP $CPPFLAGS'
40339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
40348 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
40350 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
40351 for ac_func in _hypotf
40352 do :
40353 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
40354 if test "x$ac_cv_func__hypotf" = x""yes; then :
40355 cat >>confdefs.h <<_ACEOF
40356 #define HAVE__HYPOTF 1
40357 _ACEOF
40360 done
40369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
40370 $as_echo_n "checking for ldexpf declaration... " >&6; }
40371 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
40372 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
40373 $as_echo_n "(cached) " >&6
40374 else
40377 ac_ext=cpp
40378 ac_cpp='$CXXCPP $CPPFLAGS'
40379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40384 /* end confdefs.h. */
40385 #include <math.h>
40387 main ()
40389 ldexpf(0, 0);
40391 return 0;
40393 _ACEOF
40394 if ac_fn_cxx_try_compile "$LINENO"; then :
40395 glibcxx_cv_func_ldexpf_use=yes
40396 else
40397 glibcxx_cv_func_ldexpf_use=no
40399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40400 ac_ext=c
40401 ac_cpp='$CPP $CPPFLAGS'
40402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
40411 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
40413 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
40414 for ac_func in ldexpf
40415 do :
40416 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
40417 if test "x$ac_cv_func_ldexpf" = x""yes; then :
40418 cat >>confdefs.h <<_ACEOF
40419 #define HAVE_LDEXPF 1
40420 _ACEOF
40423 done
40425 else
40427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
40428 $as_echo_n "checking for _ldexpf declaration... " >&6; }
40429 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
40430 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
40431 $as_echo_n "(cached) " >&6
40432 else
40435 ac_ext=cpp
40436 ac_cpp='$CXXCPP $CPPFLAGS'
40437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40442 /* end confdefs.h. */
40443 #include <math.h>
40445 main ()
40447 _ldexpf(0, 0);
40449 return 0;
40451 _ACEOF
40452 if ac_fn_cxx_try_compile "$LINENO"; then :
40453 glibcxx_cv_func__ldexpf_use=yes
40454 else
40455 glibcxx_cv_func__ldexpf_use=no
40457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40458 ac_ext=c
40459 ac_cpp='$CPP $CPPFLAGS'
40460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
40469 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
40471 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
40472 for ac_func in _ldexpf
40473 do :
40474 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
40475 if test "x$ac_cv_func__ldexpf" = x""yes; then :
40476 cat >>confdefs.h <<_ACEOF
40477 #define HAVE__LDEXPF 1
40478 _ACEOF
40481 done
40490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
40491 $as_echo_n "checking for logf declaration... " >&6; }
40492 if test x${glibcxx_cv_func_logf_use+set} != xset; then
40493 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
40494 $as_echo_n "(cached) " >&6
40495 else
40498 ac_ext=cpp
40499 ac_cpp='$CXXCPP $CPPFLAGS'
40500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40505 /* end confdefs.h. */
40506 #include <math.h>
40507 #ifdef HAVE_IEEEFP_H
40508 #include <ieeefp.h>
40509 #endif
40512 main ()
40514 logf(0);
40516 return 0;
40518 _ACEOF
40519 if ac_fn_cxx_try_compile "$LINENO"; then :
40520 glibcxx_cv_func_logf_use=yes
40521 else
40522 glibcxx_cv_func_logf_use=no
40524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40525 ac_ext=c
40526 ac_cpp='$CPP $CPPFLAGS'
40527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
40536 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
40538 if test x$glibcxx_cv_func_logf_use = x"yes"; then
40539 for ac_func in logf
40540 do :
40541 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
40542 if test "x$ac_cv_func_logf" = x""yes; then :
40543 cat >>confdefs.h <<_ACEOF
40544 #define HAVE_LOGF 1
40545 _ACEOF
40548 done
40550 else
40552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
40553 $as_echo_n "checking for _logf declaration... " >&6; }
40554 if test x${glibcxx_cv_func__logf_use+set} != xset; then
40555 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
40556 $as_echo_n "(cached) " >&6
40557 else
40560 ac_ext=cpp
40561 ac_cpp='$CXXCPP $CPPFLAGS'
40562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40567 /* end confdefs.h. */
40568 #include <math.h>
40569 #ifdef HAVE_IEEEFP_H
40570 #include <ieeefp.h>
40571 #endif
40574 main ()
40576 _logf(0);
40578 return 0;
40580 _ACEOF
40581 if ac_fn_cxx_try_compile "$LINENO"; then :
40582 glibcxx_cv_func__logf_use=yes
40583 else
40584 glibcxx_cv_func__logf_use=no
40586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40587 ac_ext=c
40588 ac_cpp='$CPP $CPPFLAGS'
40589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
40598 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
40600 if test x$glibcxx_cv_func__logf_use = x"yes"; then
40601 for ac_func in _logf
40602 do :
40603 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
40604 if test "x$ac_cv_func__logf" = x""yes; then :
40605 cat >>confdefs.h <<_ACEOF
40606 #define HAVE__LOGF 1
40607 _ACEOF
40610 done
40619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
40620 $as_echo_n "checking for log10f declaration... " >&6; }
40621 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
40622 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
40623 $as_echo_n "(cached) " >&6
40624 else
40627 ac_ext=cpp
40628 ac_cpp='$CXXCPP $CPPFLAGS'
40629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40634 /* end confdefs.h. */
40635 #include <math.h>
40636 #ifdef HAVE_IEEEFP_H
40637 #include <ieeefp.h>
40638 #endif
40641 main ()
40643 log10f(0);
40645 return 0;
40647 _ACEOF
40648 if ac_fn_cxx_try_compile "$LINENO"; then :
40649 glibcxx_cv_func_log10f_use=yes
40650 else
40651 glibcxx_cv_func_log10f_use=no
40653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40654 ac_ext=c
40655 ac_cpp='$CPP $CPPFLAGS'
40656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
40665 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
40667 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
40668 for ac_func in log10f
40669 do :
40670 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
40671 if test "x$ac_cv_func_log10f" = x""yes; then :
40672 cat >>confdefs.h <<_ACEOF
40673 #define HAVE_LOG10F 1
40674 _ACEOF
40677 done
40679 else
40681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
40682 $as_echo_n "checking for _log10f declaration... " >&6; }
40683 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
40684 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
40685 $as_echo_n "(cached) " >&6
40686 else
40689 ac_ext=cpp
40690 ac_cpp='$CXXCPP $CPPFLAGS'
40691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40696 /* end confdefs.h. */
40697 #include <math.h>
40698 #ifdef HAVE_IEEEFP_H
40699 #include <ieeefp.h>
40700 #endif
40703 main ()
40705 _log10f(0);
40707 return 0;
40709 _ACEOF
40710 if ac_fn_cxx_try_compile "$LINENO"; then :
40711 glibcxx_cv_func__log10f_use=yes
40712 else
40713 glibcxx_cv_func__log10f_use=no
40715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40716 ac_ext=c
40717 ac_cpp='$CPP $CPPFLAGS'
40718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
40727 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
40729 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
40730 for ac_func in _log10f
40731 do :
40732 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
40733 if test "x$ac_cv_func__log10f" = x""yes; then :
40734 cat >>confdefs.h <<_ACEOF
40735 #define HAVE__LOG10F 1
40736 _ACEOF
40739 done
40748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
40749 $as_echo_n "checking for modff declaration... " >&6; }
40750 if test x${glibcxx_cv_func_modff_use+set} != xset; then
40751 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
40752 $as_echo_n "(cached) " >&6
40753 else
40756 ac_ext=cpp
40757 ac_cpp='$CXXCPP $CPPFLAGS'
40758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40763 /* end confdefs.h. */
40764 #include <math.h>
40766 main ()
40768 modff(0, 0);
40770 return 0;
40772 _ACEOF
40773 if ac_fn_cxx_try_compile "$LINENO"; then :
40774 glibcxx_cv_func_modff_use=yes
40775 else
40776 glibcxx_cv_func_modff_use=no
40778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40779 ac_ext=c
40780 ac_cpp='$CPP $CPPFLAGS'
40781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
40790 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
40792 if test x$glibcxx_cv_func_modff_use = x"yes"; then
40793 for ac_func in modff
40794 do :
40795 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
40796 if test "x$ac_cv_func_modff" = x""yes; then :
40797 cat >>confdefs.h <<_ACEOF
40798 #define HAVE_MODFF 1
40799 _ACEOF
40802 done
40804 else
40806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
40807 $as_echo_n "checking for _modff declaration... " >&6; }
40808 if test x${glibcxx_cv_func__modff_use+set} != xset; then
40809 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
40810 $as_echo_n "(cached) " >&6
40811 else
40814 ac_ext=cpp
40815 ac_cpp='$CXXCPP $CPPFLAGS'
40816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40821 /* end confdefs.h. */
40822 #include <math.h>
40824 main ()
40826 _modff(0, 0);
40828 return 0;
40830 _ACEOF
40831 if ac_fn_cxx_try_compile "$LINENO"; then :
40832 glibcxx_cv_func__modff_use=yes
40833 else
40834 glibcxx_cv_func__modff_use=no
40836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40837 ac_ext=c
40838 ac_cpp='$CPP $CPPFLAGS'
40839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
40848 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
40850 if test x$glibcxx_cv_func__modff_use = x"yes"; then
40851 for ac_func in _modff
40852 do :
40853 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
40854 if test "x$ac_cv_func__modff" = x""yes; then :
40855 cat >>confdefs.h <<_ACEOF
40856 #define HAVE__MODFF 1
40857 _ACEOF
40860 done
40869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
40870 $as_echo_n "checking for modf declaration... " >&6; }
40871 if test x${glibcxx_cv_func_modf_use+set} != xset; then
40872 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
40873 $as_echo_n "(cached) " >&6
40874 else
40877 ac_ext=cpp
40878 ac_cpp='$CXXCPP $CPPFLAGS'
40879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40884 /* end confdefs.h. */
40885 #include <math.h>
40887 main ()
40889 modf(0, 0);
40891 return 0;
40893 _ACEOF
40894 if ac_fn_cxx_try_compile "$LINENO"; then :
40895 glibcxx_cv_func_modf_use=yes
40896 else
40897 glibcxx_cv_func_modf_use=no
40899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40900 ac_ext=c
40901 ac_cpp='$CPP $CPPFLAGS'
40902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
40911 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
40913 if test x$glibcxx_cv_func_modf_use = x"yes"; then
40914 for ac_func in modf
40915 do :
40916 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
40917 if test "x$ac_cv_func_modf" = x""yes; then :
40918 cat >>confdefs.h <<_ACEOF
40919 #define HAVE_MODF 1
40920 _ACEOF
40923 done
40925 else
40927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
40928 $as_echo_n "checking for _modf declaration... " >&6; }
40929 if test x${glibcxx_cv_func__modf_use+set} != xset; then
40930 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
40931 $as_echo_n "(cached) " >&6
40932 else
40935 ac_ext=cpp
40936 ac_cpp='$CXXCPP $CPPFLAGS'
40937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40942 /* end confdefs.h. */
40943 #include <math.h>
40945 main ()
40947 _modf(0, 0);
40949 return 0;
40951 _ACEOF
40952 if ac_fn_cxx_try_compile "$LINENO"; then :
40953 glibcxx_cv_func__modf_use=yes
40954 else
40955 glibcxx_cv_func__modf_use=no
40957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40958 ac_ext=c
40959 ac_cpp='$CPP $CPPFLAGS'
40960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
40969 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
40971 if test x$glibcxx_cv_func__modf_use = x"yes"; then
40972 for ac_func in _modf
40973 do :
40974 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
40975 if test "x$ac_cv_func__modf" = x""yes; then :
40976 cat >>confdefs.h <<_ACEOF
40977 #define HAVE__MODF 1
40978 _ACEOF
40981 done
40990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
40991 $as_echo_n "checking for powf declaration... " >&6; }
40992 if test x${glibcxx_cv_func_powf_use+set} != xset; then
40993 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
40994 $as_echo_n "(cached) " >&6
40995 else
40998 ac_ext=cpp
40999 ac_cpp='$CXXCPP $CPPFLAGS'
41000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41005 /* end confdefs.h. */
41006 #include <math.h>
41008 main ()
41010 powf(0, 0);
41012 return 0;
41014 _ACEOF
41015 if ac_fn_cxx_try_compile "$LINENO"; then :
41016 glibcxx_cv_func_powf_use=yes
41017 else
41018 glibcxx_cv_func_powf_use=no
41020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41021 ac_ext=c
41022 ac_cpp='$CPP $CPPFLAGS'
41023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
41032 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
41034 if test x$glibcxx_cv_func_powf_use = x"yes"; then
41035 for ac_func in powf
41036 do :
41037 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
41038 if test "x$ac_cv_func_powf" = x""yes; then :
41039 cat >>confdefs.h <<_ACEOF
41040 #define HAVE_POWF 1
41041 _ACEOF
41044 done
41046 else
41048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
41049 $as_echo_n "checking for _powf declaration... " >&6; }
41050 if test x${glibcxx_cv_func__powf_use+set} != xset; then
41051 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
41052 $as_echo_n "(cached) " >&6
41053 else
41056 ac_ext=cpp
41057 ac_cpp='$CXXCPP $CPPFLAGS'
41058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41063 /* end confdefs.h. */
41064 #include <math.h>
41066 main ()
41068 _powf(0, 0);
41070 return 0;
41072 _ACEOF
41073 if ac_fn_cxx_try_compile "$LINENO"; then :
41074 glibcxx_cv_func__powf_use=yes
41075 else
41076 glibcxx_cv_func__powf_use=no
41078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41079 ac_ext=c
41080 ac_cpp='$CPP $CPPFLAGS'
41081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
41090 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
41092 if test x$glibcxx_cv_func__powf_use = x"yes"; then
41093 for ac_func in _powf
41094 do :
41095 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
41096 if test "x$ac_cv_func__powf" = x""yes; then :
41097 cat >>confdefs.h <<_ACEOF
41098 #define HAVE__POWF 1
41099 _ACEOF
41102 done
41111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
41112 $as_echo_n "checking for sqrtf declaration... " >&6; }
41113 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
41114 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
41115 $as_echo_n "(cached) " >&6
41116 else
41119 ac_ext=cpp
41120 ac_cpp='$CXXCPP $CPPFLAGS'
41121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41126 /* end confdefs.h. */
41127 #include <math.h>
41128 #ifdef HAVE_IEEEFP_H
41129 #include <ieeefp.h>
41130 #endif
41133 main ()
41135 sqrtf(0);
41137 return 0;
41139 _ACEOF
41140 if ac_fn_cxx_try_compile "$LINENO"; then :
41141 glibcxx_cv_func_sqrtf_use=yes
41142 else
41143 glibcxx_cv_func_sqrtf_use=no
41145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41146 ac_ext=c
41147 ac_cpp='$CPP $CPPFLAGS'
41148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
41157 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
41159 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
41160 for ac_func in sqrtf
41161 do :
41162 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
41163 if test "x$ac_cv_func_sqrtf" = x""yes; then :
41164 cat >>confdefs.h <<_ACEOF
41165 #define HAVE_SQRTF 1
41166 _ACEOF
41169 done
41171 else
41173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
41174 $as_echo_n "checking for _sqrtf declaration... " >&6; }
41175 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
41176 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
41177 $as_echo_n "(cached) " >&6
41178 else
41181 ac_ext=cpp
41182 ac_cpp='$CXXCPP $CPPFLAGS'
41183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41188 /* end confdefs.h. */
41189 #include <math.h>
41190 #ifdef HAVE_IEEEFP_H
41191 #include <ieeefp.h>
41192 #endif
41195 main ()
41197 _sqrtf(0);
41199 return 0;
41201 _ACEOF
41202 if ac_fn_cxx_try_compile "$LINENO"; then :
41203 glibcxx_cv_func__sqrtf_use=yes
41204 else
41205 glibcxx_cv_func__sqrtf_use=no
41207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41208 ac_ext=c
41209 ac_cpp='$CPP $CPPFLAGS'
41210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
41219 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
41221 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
41222 for ac_func in _sqrtf
41223 do :
41224 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
41225 if test "x$ac_cv_func__sqrtf" = x""yes; then :
41226 cat >>confdefs.h <<_ACEOF
41227 #define HAVE__SQRTF 1
41228 _ACEOF
41231 done
41240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
41241 $as_echo_n "checking for sincosf declaration... " >&6; }
41242 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
41243 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
41244 $as_echo_n "(cached) " >&6
41245 else
41248 ac_ext=cpp
41249 ac_cpp='$CXXCPP $CPPFLAGS'
41250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41255 /* end confdefs.h. */
41256 #include <math.h>
41258 main ()
41260 sincosf(0, 0, 0);
41262 return 0;
41264 _ACEOF
41265 if ac_fn_cxx_try_compile "$LINENO"; then :
41266 glibcxx_cv_func_sincosf_use=yes
41267 else
41268 glibcxx_cv_func_sincosf_use=no
41270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41271 ac_ext=c
41272 ac_cpp='$CPP $CPPFLAGS'
41273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
41282 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
41284 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
41285 for ac_func in sincosf
41286 do :
41287 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
41288 if test "x$ac_cv_func_sincosf" = x""yes; then :
41289 cat >>confdefs.h <<_ACEOF
41290 #define HAVE_SINCOSF 1
41291 _ACEOF
41294 done
41296 else
41298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
41299 $as_echo_n "checking for _sincosf declaration... " >&6; }
41300 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
41301 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
41302 $as_echo_n "(cached) " >&6
41303 else
41306 ac_ext=cpp
41307 ac_cpp='$CXXCPP $CPPFLAGS'
41308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41313 /* end confdefs.h. */
41314 #include <math.h>
41316 main ()
41318 _sincosf(0, 0, 0);
41320 return 0;
41322 _ACEOF
41323 if ac_fn_cxx_try_compile "$LINENO"; then :
41324 glibcxx_cv_func__sincosf_use=yes
41325 else
41326 glibcxx_cv_func__sincosf_use=no
41328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41329 ac_ext=c
41330 ac_cpp='$CPP $CPPFLAGS'
41331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
41340 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
41342 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
41343 for ac_func in _sincosf
41344 do :
41345 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
41346 if test "x$ac_cv_func__sincosf" = x""yes; then :
41347 cat >>confdefs.h <<_ACEOF
41348 #define HAVE__SINCOSF 1
41349 _ACEOF
41352 done
41361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
41362 $as_echo_n "checking for finitef declaration... " >&6; }
41363 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
41364 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
41365 $as_echo_n "(cached) " >&6
41366 else
41369 ac_ext=cpp
41370 ac_cpp='$CXXCPP $CPPFLAGS'
41371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41376 /* end confdefs.h. */
41377 #include <math.h>
41378 #ifdef HAVE_IEEEFP_H
41379 #include <ieeefp.h>
41380 #endif
41383 main ()
41385 finitef(0);
41387 return 0;
41389 _ACEOF
41390 if ac_fn_cxx_try_compile "$LINENO"; then :
41391 glibcxx_cv_func_finitef_use=yes
41392 else
41393 glibcxx_cv_func_finitef_use=no
41395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41396 ac_ext=c
41397 ac_cpp='$CPP $CPPFLAGS'
41398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
41407 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
41409 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
41410 for ac_func in finitef
41411 do :
41412 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
41413 if test "x$ac_cv_func_finitef" = x""yes; then :
41414 cat >>confdefs.h <<_ACEOF
41415 #define HAVE_FINITEF 1
41416 _ACEOF
41419 done
41421 else
41423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
41424 $as_echo_n "checking for _finitef declaration... " >&6; }
41425 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
41426 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
41427 $as_echo_n "(cached) " >&6
41428 else
41431 ac_ext=cpp
41432 ac_cpp='$CXXCPP $CPPFLAGS'
41433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41438 /* end confdefs.h. */
41439 #include <math.h>
41440 #ifdef HAVE_IEEEFP_H
41441 #include <ieeefp.h>
41442 #endif
41445 main ()
41447 _finitef(0);
41449 return 0;
41451 _ACEOF
41452 if ac_fn_cxx_try_compile "$LINENO"; then :
41453 glibcxx_cv_func__finitef_use=yes
41454 else
41455 glibcxx_cv_func__finitef_use=no
41457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41458 ac_ext=c
41459 ac_cpp='$CPP $CPPFLAGS'
41460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
41469 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
41471 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
41472 for ac_func in _finitef
41473 do :
41474 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
41475 if test "x$ac_cv_func__finitef" = x""yes; then :
41476 cat >>confdefs.h <<_ACEOF
41477 #define HAVE__FINITEF 1
41478 _ACEOF
41481 done
41490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
41491 $as_echo_n "checking for long double trig functions... " >&6; }
41492 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
41493 $as_echo_n "(cached) " >&6
41494 else
41497 ac_ext=cpp
41498 ac_cpp='$CXXCPP $CPPFLAGS'
41499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41504 /* end confdefs.h. */
41505 #include <math.h>
41507 main ()
41509 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
41511 return 0;
41513 _ACEOF
41514 if ac_fn_cxx_try_compile "$LINENO"; then :
41515 glibcxx_cv_func_long_double_trig_use=yes
41516 else
41517 glibcxx_cv_func_long_double_trig_use=no
41519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41520 ac_ext=c
41521 ac_cpp='$CPP $CPPFLAGS'
41522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
41529 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
41530 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
41531 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
41532 do :
41533 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41534 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41535 eval as_val=\$$as_ac_var
41536 if test "x$as_val" = x""yes; then :
41537 cat >>confdefs.h <<_ACEOF
41538 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41539 _ACEOF
41542 done
41544 else
41545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
41546 $as_echo_n "checking for _long double trig functions... " >&6; }
41547 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
41548 $as_echo_n "(cached) " >&6
41549 else
41552 ac_ext=cpp
41553 ac_cpp='$CXXCPP $CPPFLAGS'
41554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41559 /* end confdefs.h. */
41560 #include <math.h>
41562 main ()
41564 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
41566 return 0;
41568 _ACEOF
41569 if ac_fn_cxx_try_compile "$LINENO"; then :
41570 glibcxx_cv_func__long_double_trig_use=yes
41571 else
41572 glibcxx_cv_func__long_double_trig_use=no
41574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41575 ac_ext=c
41576 ac_cpp='$CPP $CPPFLAGS'
41577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
41584 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
41585 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
41586 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
41587 do :
41588 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41589 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41590 eval as_val=\$$as_ac_var
41591 if test "x$as_val" = x""yes; then :
41592 cat >>confdefs.h <<_ACEOF
41593 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41594 _ACEOF
41597 done
41606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
41607 $as_echo_n "checking for long double round functions... " >&6; }
41608 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
41609 $as_echo_n "(cached) " >&6
41610 else
41613 ac_ext=cpp
41614 ac_cpp='$CXXCPP $CPPFLAGS'
41615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41620 /* end confdefs.h. */
41621 #include <math.h>
41623 main ()
41625 ceill (0); floorl (0);
41627 return 0;
41629 _ACEOF
41630 if ac_fn_cxx_try_compile "$LINENO"; then :
41631 glibcxx_cv_func_long_double_round_use=yes
41632 else
41633 glibcxx_cv_func_long_double_round_use=no
41635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41636 ac_ext=c
41637 ac_cpp='$CPP $CPPFLAGS'
41638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
41645 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
41646 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
41647 for ac_func in ceill floorl
41648 do :
41649 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41650 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41651 eval as_val=\$$as_ac_var
41652 if test "x$as_val" = x""yes; then :
41653 cat >>confdefs.h <<_ACEOF
41654 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41655 _ACEOF
41658 done
41660 else
41661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
41662 $as_echo_n "checking for _long double round functions... " >&6; }
41663 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
41664 $as_echo_n "(cached) " >&6
41665 else
41668 ac_ext=cpp
41669 ac_cpp='$CXXCPP $CPPFLAGS'
41670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41675 /* end confdefs.h. */
41676 #include <math.h>
41678 main ()
41680 _ceill (0); _floorl (0);
41682 return 0;
41684 _ACEOF
41685 if ac_fn_cxx_try_compile "$LINENO"; then :
41686 glibcxx_cv_func__long_double_round_use=yes
41687 else
41688 glibcxx_cv_func__long_double_round_use=no
41690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41691 ac_ext=c
41692 ac_cpp='$CPP $CPPFLAGS'
41693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
41700 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
41701 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
41702 for ac_func in _ceill _floorl
41703 do :
41704 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41705 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41706 eval as_val=\$$as_ac_var
41707 if test "x$as_val" = x""yes; then :
41708 cat >>confdefs.h <<_ACEOF
41709 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41710 _ACEOF
41713 done
41723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
41724 $as_echo_n "checking for isnanl declaration... " >&6; }
41725 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
41726 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
41727 $as_echo_n "(cached) " >&6
41728 else
41731 ac_ext=cpp
41732 ac_cpp='$CXXCPP $CPPFLAGS'
41733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41738 /* end confdefs.h. */
41739 #include <math.h>
41740 #ifdef HAVE_IEEEFP_H
41741 #include <ieeefp.h>
41742 #endif
41745 main ()
41747 isnanl(0);
41749 return 0;
41751 _ACEOF
41752 if ac_fn_cxx_try_compile "$LINENO"; then :
41753 glibcxx_cv_func_isnanl_use=yes
41754 else
41755 glibcxx_cv_func_isnanl_use=no
41757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41758 ac_ext=c
41759 ac_cpp='$CPP $CPPFLAGS'
41760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
41769 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
41771 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
41772 for ac_func in isnanl
41773 do :
41774 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
41775 if test "x$ac_cv_func_isnanl" = x""yes; then :
41776 cat >>confdefs.h <<_ACEOF
41777 #define HAVE_ISNANL 1
41778 _ACEOF
41781 done
41783 else
41785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
41786 $as_echo_n "checking for _isnanl declaration... " >&6; }
41787 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
41788 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
41789 $as_echo_n "(cached) " >&6
41790 else
41793 ac_ext=cpp
41794 ac_cpp='$CXXCPP $CPPFLAGS'
41795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41800 /* end confdefs.h. */
41801 #include <math.h>
41802 #ifdef HAVE_IEEEFP_H
41803 #include <ieeefp.h>
41804 #endif
41807 main ()
41809 _isnanl(0);
41811 return 0;
41813 _ACEOF
41814 if ac_fn_cxx_try_compile "$LINENO"; then :
41815 glibcxx_cv_func__isnanl_use=yes
41816 else
41817 glibcxx_cv_func__isnanl_use=no
41819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41820 ac_ext=c
41821 ac_cpp='$CPP $CPPFLAGS'
41822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
41831 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
41833 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
41834 for ac_func in _isnanl
41835 do :
41836 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
41837 if test "x$ac_cv_func__isnanl" = x""yes; then :
41838 cat >>confdefs.h <<_ACEOF
41839 #define HAVE__ISNANL 1
41840 _ACEOF
41843 done
41852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
41853 $as_echo_n "checking for isinfl declaration... " >&6; }
41854 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
41855 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
41856 $as_echo_n "(cached) " >&6
41857 else
41860 ac_ext=cpp
41861 ac_cpp='$CXXCPP $CPPFLAGS'
41862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41867 /* end confdefs.h. */
41868 #include <math.h>
41869 #ifdef HAVE_IEEEFP_H
41870 #include <ieeefp.h>
41871 #endif
41874 main ()
41876 isinfl(0);
41878 return 0;
41880 _ACEOF
41881 if ac_fn_cxx_try_compile "$LINENO"; then :
41882 glibcxx_cv_func_isinfl_use=yes
41883 else
41884 glibcxx_cv_func_isinfl_use=no
41886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41887 ac_ext=c
41888 ac_cpp='$CPP $CPPFLAGS'
41889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
41898 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
41900 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
41901 for ac_func in isinfl
41902 do :
41903 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
41904 if test "x$ac_cv_func_isinfl" = x""yes; then :
41905 cat >>confdefs.h <<_ACEOF
41906 #define HAVE_ISINFL 1
41907 _ACEOF
41910 done
41912 else
41914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
41915 $as_echo_n "checking for _isinfl declaration... " >&6; }
41916 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
41917 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
41918 $as_echo_n "(cached) " >&6
41919 else
41922 ac_ext=cpp
41923 ac_cpp='$CXXCPP $CPPFLAGS'
41924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41929 /* end confdefs.h. */
41930 #include <math.h>
41931 #ifdef HAVE_IEEEFP_H
41932 #include <ieeefp.h>
41933 #endif
41936 main ()
41938 _isinfl(0);
41940 return 0;
41942 _ACEOF
41943 if ac_fn_cxx_try_compile "$LINENO"; then :
41944 glibcxx_cv_func__isinfl_use=yes
41945 else
41946 glibcxx_cv_func__isinfl_use=no
41948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41949 ac_ext=c
41950 ac_cpp='$CPP $CPPFLAGS'
41951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
41960 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
41962 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
41963 for ac_func in _isinfl
41964 do :
41965 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
41966 if test "x$ac_cv_func__isinfl" = x""yes; then :
41967 cat >>confdefs.h <<_ACEOF
41968 #define HAVE__ISINFL 1
41969 _ACEOF
41972 done
41981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
41982 $as_echo_n "checking for atan2l declaration... " >&6; }
41983 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
41984 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
41985 $as_echo_n "(cached) " >&6
41986 else
41989 ac_ext=cpp
41990 ac_cpp='$CXXCPP $CPPFLAGS'
41991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41996 /* end confdefs.h. */
41997 #include <math.h>
41999 main ()
42001 atan2l(0, 0);
42003 return 0;
42005 _ACEOF
42006 if ac_fn_cxx_try_compile "$LINENO"; then :
42007 glibcxx_cv_func_atan2l_use=yes
42008 else
42009 glibcxx_cv_func_atan2l_use=no
42011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42012 ac_ext=c
42013 ac_cpp='$CPP $CPPFLAGS'
42014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
42023 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
42025 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
42026 for ac_func in atan2l
42027 do :
42028 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
42029 if test "x$ac_cv_func_atan2l" = x""yes; then :
42030 cat >>confdefs.h <<_ACEOF
42031 #define HAVE_ATAN2L 1
42032 _ACEOF
42035 done
42037 else
42039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
42040 $as_echo_n "checking for _atan2l declaration... " >&6; }
42041 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
42042 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
42043 $as_echo_n "(cached) " >&6
42044 else
42047 ac_ext=cpp
42048 ac_cpp='$CXXCPP $CPPFLAGS'
42049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42054 /* end confdefs.h. */
42055 #include <math.h>
42057 main ()
42059 _atan2l(0, 0);
42061 return 0;
42063 _ACEOF
42064 if ac_fn_cxx_try_compile "$LINENO"; then :
42065 glibcxx_cv_func__atan2l_use=yes
42066 else
42067 glibcxx_cv_func__atan2l_use=no
42069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42070 ac_ext=c
42071 ac_cpp='$CPP $CPPFLAGS'
42072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
42081 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
42083 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
42084 for ac_func in _atan2l
42085 do :
42086 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
42087 if test "x$ac_cv_func__atan2l" = x""yes; then :
42088 cat >>confdefs.h <<_ACEOF
42089 #define HAVE__ATAN2L 1
42090 _ACEOF
42093 done
42102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
42103 $as_echo_n "checking for expl declaration... " >&6; }
42104 if test x${glibcxx_cv_func_expl_use+set} != xset; then
42105 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
42106 $as_echo_n "(cached) " >&6
42107 else
42110 ac_ext=cpp
42111 ac_cpp='$CXXCPP $CPPFLAGS'
42112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42117 /* end confdefs.h. */
42118 #include <math.h>
42119 #ifdef HAVE_IEEEFP_H
42120 #include <ieeefp.h>
42121 #endif
42124 main ()
42126 expl(0);
42128 return 0;
42130 _ACEOF
42131 if ac_fn_cxx_try_compile "$LINENO"; then :
42132 glibcxx_cv_func_expl_use=yes
42133 else
42134 glibcxx_cv_func_expl_use=no
42136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42137 ac_ext=c
42138 ac_cpp='$CPP $CPPFLAGS'
42139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
42148 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
42150 if test x$glibcxx_cv_func_expl_use = x"yes"; then
42151 for ac_func in expl
42152 do :
42153 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
42154 if test "x$ac_cv_func_expl" = x""yes; then :
42155 cat >>confdefs.h <<_ACEOF
42156 #define HAVE_EXPL 1
42157 _ACEOF
42160 done
42162 else
42164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
42165 $as_echo_n "checking for _expl declaration... " >&6; }
42166 if test x${glibcxx_cv_func__expl_use+set} != xset; then
42167 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
42168 $as_echo_n "(cached) " >&6
42169 else
42172 ac_ext=cpp
42173 ac_cpp='$CXXCPP $CPPFLAGS'
42174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42179 /* end confdefs.h. */
42180 #include <math.h>
42181 #ifdef HAVE_IEEEFP_H
42182 #include <ieeefp.h>
42183 #endif
42186 main ()
42188 _expl(0);
42190 return 0;
42192 _ACEOF
42193 if ac_fn_cxx_try_compile "$LINENO"; then :
42194 glibcxx_cv_func__expl_use=yes
42195 else
42196 glibcxx_cv_func__expl_use=no
42198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42199 ac_ext=c
42200 ac_cpp='$CPP $CPPFLAGS'
42201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
42210 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
42212 if test x$glibcxx_cv_func__expl_use = x"yes"; then
42213 for ac_func in _expl
42214 do :
42215 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
42216 if test "x$ac_cv_func__expl" = x""yes; then :
42217 cat >>confdefs.h <<_ACEOF
42218 #define HAVE__EXPL 1
42219 _ACEOF
42222 done
42231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
42232 $as_echo_n "checking for fabsl declaration... " >&6; }
42233 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
42234 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
42235 $as_echo_n "(cached) " >&6
42236 else
42239 ac_ext=cpp
42240 ac_cpp='$CXXCPP $CPPFLAGS'
42241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42246 /* end confdefs.h. */
42247 #include <math.h>
42248 #ifdef HAVE_IEEEFP_H
42249 #include <ieeefp.h>
42250 #endif
42253 main ()
42255 fabsl(0);
42257 return 0;
42259 _ACEOF
42260 if ac_fn_cxx_try_compile "$LINENO"; then :
42261 glibcxx_cv_func_fabsl_use=yes
42262 else
42263 glibcxx_cv_func_fabsl_use=no
42265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42266 ac_ext=c
42267 ac_cpp='$CPP $CPPFLAGS'
42268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
42277 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
42279 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
42280 for ac_func in fabsl
42281 do :
42282 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
42283 if test "x$ac_cv_func_fabsl" = x""yes; then :
42284 cat >>confdefs.h <<_ACEOF
42285 #define HAVE_FABSL 1
42286 _ACEOF
42289 done
42291 else
42293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
42294 $as_echo_n "checking for _fabsl declaration... " >&6; }
42295 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
42296 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
42297 $as_echo_n "(cached) " >&6
42298 else
42301 ac_ext=cpp
42302 ac_cpp='$CXXCPP $CPPFLAGS'
42303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42308 /* end confdefs.h. */
42309 #include <math.h>
42310 #ifdef HAVE_IEEEFP_H
42311 #include <ieeefp.h>
42312 #endif
42315 main ()
42317 _fabsl(0);
42319 return 0;
42321 _ACEOF
42322 if ac_fn_cxx_try_compile "$LINENO"; then :
42323 glibcxx_cv_func__fabsl_use=yes
42324 else
42325 glibcxx_cv_func__fabsl_use=no
42327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42328 ac_ext=c
42329 ac_cpp='$CPP $CPPFLAGS'
42330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
42339 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
42341 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
42342 for ac_func in _fabsl
42343 do :
42344 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
42345 if test "x$ac_cv_func__fabsl" = x""yes; then :
42346 cat >>confdefs.h <<_ACEOF
42347 #define HAVE__FABSL 1
42348 _ACEOF
42351 done
42360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
42361 $as_echo_n "checking for fmodl declaration... " >&6; }
42362 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
42363 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
42364 $as_echo_n "(cached) " >&6
42365 else
42368 ac_ext=cpp
42369 ac_cpp='$CXXCPP $CPPFLAGS'
42370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42375 /* end confdefs.h. */
42376 #include <math.h>
42378 main ()
42380 fmodl(0, 0);
42382 return 0;
42384 _ACEOF
42385 if ac_fn_cxx_try_compile "$LINENO"; then :
42386 glibcxx_cv_func_fmodl_use=yes
42387 else
42388 glibcxx_cv_func_fmodl_use=no
42390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42391 ac_ext=c
42392 ac_cpp='$CPP $CPPFLAGS'
42393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
42402 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
42404 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
42405 for ac_func in fmodl
42406 do :
42407 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
42408 if test "x$ac_cv_func_fmodl" = x""yes; then :
42409 cat >>confdefs.h <<_ACEOF
42410 #define HAVE_FMODL 1
42411 _ACEOF
42414 done
42416 else
42418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
42419 $as_echo_n "checking for _fmodl declaration... " >&6; }
42420 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
42421 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
42422 $as_echo_n "(cached) " >&6
42423 else
42426 ac_ext=cpp
42427 ac_cpp='$CXXCPP $CPPFLAGS'
42428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42433 /* end confdefs.h. */
42434 #include <math.h>
42436 main ()
42438 _fmodl(0, 0);
42440 return 0;
42442 _ACEOF
42443 if ac_fn_cxx_try_compile "$LINENO"; then :
42444 glibcxx_cv_func__fmodl_use=yes
42445 else
42446 glibcxx_cv_func__fmodl_use=no
42448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42449 ac_ext=c
42450 ac_cpp='$CPP $CPPFLAGS'
42451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
42460 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
42462 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
42463 for ac_func in _fmodl
42464 do :
42465 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
42466 if test "x$ac_cv_func__fmodl" = x""yes; then :
42467 cat >>confdefs.h <<_ACEOF
42468 #define HAVE__FMODL 1
42469 _ACEOF
42472 done
42481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
42482 $as_echo_n "checking for frexpl declaration... " >&6; }
42483 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
42484 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
42485 $as_echo_n "(cached) " >&6
42486 else
42489 ac_ext=cpp
42490 ac_cpp='$CXXCPP $CPPFLAGS'
42491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42496 /* end confdefs.h. */
42497 #include <math.h>
42499 main ()
42501 frexpl(0, 0);
42503 return 0;
42505 _ACEOF
42506 if ac_fn_cxx_try_compile "$LINENO"; then :
42507 glibcxx_cv_func_frexpl_use=yes
42508 else
42509 glibcxx_cv_func_frexpl_use=no
42511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42512 ac_ext=c
42513 ac_cpp='$CPP $CPPFLAGS'
42514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
42523 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
42525 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
42526 for ac_func in frexpl
42527 do :
42528 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
42529 if test "x$ac_cv_func_frexpl" = x""yes; then :
42530 cat >>confdefs.h <<_ACEOF
42531 #define HAVE_FREXPL 1
42532 _ACEOF
42535 done
42537 else
42539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
42540 $as_echo_n "checking for _frexpl declaration... " >&6; }
42541 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
42542 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
42543 $as_echo_n "(cached) " >&6
42544 else
42547 ac_ext=cpp
42548 ac_cpp='$CXXCPP $CPPFLAGS'
42549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42554 /* end confdefs.h. */
42555 #include <math.h>
42557 main ()
42559 _frexpl(0, 0);
42561 return 0;
42563 _ACEOF
42564 if ac_fn_cxx_try_compile "$LINENO"; then :
42565 glibcxx_cv_func__frexpl_use=yes
42566 else
42567 glibcxx_cv_func__frexpl_use=no
42569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42570 ac_ext=c
42571 ac_cpp='$CPP $CPPFLAGS'
42572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
42581 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
42583 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
42584 for ac_func in _frexpl
42585 do :
42586 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
42587 if test "x$ac_cv_func__frexpl" = x""yes; then :
42588 cat >>confdefs.h <<_ACEOF
42589 #define HAVE__FREXPL 1
42590 _ACEOF
42593 done
42602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
42603 $as_echo_n "checking for hypotl declaration... " >&6; }
42604 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
42605 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
42606 $as_echo_n "(cached) " >&6
42607 else
42610 ac_ext=cpp
42611 ac_cpp='$CXXCPP $CPPFLAGS'
42612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42617 /* end confdefs.h. */
42618 #include <math.h>
42620 main ()
42622 hypotl(0, 0);
42624 return 0;
42626 _ACEOF
42627 if ac_fn_cxx_try_compile "$LINENO"; then :
42628 glibcxx_cv_func_hypotl_use=yes
42629 else
42630 glibcxx_cv_func_hypotl_use=no
42632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42633 ac_ext=c
42634 ac_cpp='$CPP $CPPFLAGS'
42635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
42644 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
42646 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
42647 for ac_func in hypotl
42648 do :
42649 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
42650 if test "x$ac_cv_func_hypotl" = x""yes; then :
42651 cat >>confdefs.h <<_ACEOF
42652 #define HAVE_HYPOTL 1
42653 _ACEOF
42656 done
42658 else
42660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
42661 $as_echo_n "checking for _hypotl declaration... " >&6; }
42662 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
42663 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
42664 $as_echo_n "(cached) " >&6
42665 else
42668 ac_ext=cpp
42669 ac_cpp='$CXXCPP $CPPFLAGS'
42670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42675 /* end confdefs.h. */
42676 #include <math.h>
42678 main ()
42680 _hypotl(0, 0);
42682 return 0;
42684 _ACEOF
42685 if ac_fn_cxx_try_compile "$LINENO"; then :
42686 glibcxx_cv_func__hypotl_use=yes
42687 else
42688 glibcxx_cv_func__hypotl_use=no
42690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42691 ac_ext=c
42692 ac_cpp='$CPP $CPPFLAGS'
42693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
42702 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
42704 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
42705 for ac_func in _hypotl
42706 do :
42707 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
42708 if test "x$ac_cv_func__hypotl" = x""yes; then :
42709 cat >>confdefs.h <<_ACEOF
42710 #define HAVE__HYPOTL 1
42711 _ACEOF
42714 done
42723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
42724 $as_echo_n "checking for ldexpl declaration... " >&6; }
42725 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
42726 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
42727 $as_echo_n "(cached) " >&6
42728 else
42731 ac_ext=cpp
42732 ac_cpp='$CXXCPP $CPPFLAGS'
42733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42738 /* end confdefs.h. */
42739 #include <math.h>
42741 main ()
42743 ldexpl(0, 0);
42745 return 0;
42747 _ACEOF
42748 if ac_fn_cxx_try_compile "$LINENO"; then :
42749 glibcxx_cv_func_ldexpl_use=yes
42750 else
42751 glibcxx_cv_func_ldexpl_use=no
42753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42754 ac_ext=c
42755 ac_cpp='$CPP $CPPFLAGS'
42756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
42765 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
42767 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
42768 for ac_func in ldexpl
42769 do :
42770 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
42771 if test "x$ac_cv_func_ldexpl" = x""yes; then :
42772 cat >>confdefs.h <<_ACEOF
42773 #define HAVE_LDEXPL 1
42774 _ACEOF
42777 done
42779 else
42781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
42782 $as_echo_n "checking for _ldexpl declaration... " >&6; }
42783 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
42784 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
42785 $as_echo_n "(cached) " >&6
42786 else
42789 ac_ext=cpp
42790 ac_cpp='$CXXCPP $CPPFLAGS'
42791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42796 /* end confdefs.h. */
42797 #include <math.h>
42799 main ()
42801 _ldexpl(0, 0);
42803 return 0;
42805 _ACEOF
42806 if ac_fn_cxx_try_compile "$LINENO"; then :
42807 glibcxx_cv_func__ldexpl_use=yes
42808 else
42809 glibcxx_cv_func__ldexpl_use=no
42811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42812 ac_ext=c
42813 ac_cpp='$CPP $CPPFLAGS'
42814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
42823 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
42825 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
42826 for ac_func in _ldexpl
42827 do :
42828 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
42829 if test "x$ac_cv_func__ldexpl" = x""yes; then :
42830 cat >>confdefs.h <<_ACEOF
42831 #define HAVE__LDEXPL 1
42832 _ACEOF
42835 done
42844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
42845 $as_echo_n "checking for logl declaration... " >&6; }
42846 if test x${glibcxx_cv_func_logl_use+set} != xset; then
42847 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
42848 $as_echo_n "(cached) " >&6
42849 else
42852 ac_ext=cpp
42853 ac_cpp='$CXXCPP $CPPFLAGS'
42854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42859 /* end confdefs.h. */
42860 #include <math.h>
42861 #ifdef HAVE_IEEEFP_H
42862 #include <ieeefp.h>
42863 #endif
42866 main ()
42868 logl(0);
42870 return 0;
42872 _ACEOF
42873 if ac_fn_cxx_try_compile "$LINENO"; then :
42874 glibcxx_cv_func_logl_use=yes
42875 else
42876 glibcxx_cv_func_logl_use=no
42878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42879 ac_ext=c
42880 ac_cpp='$CPP $CPPFLAGS'
42881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
42890 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
42892 if test x$glibcxx_cv_func_logl_use = x"yes"; then
42893 for ac_func in logl
42894 do :
42895 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
42896 if test "x$ac_cv_func_logl" = x""yes; then :
42897 cat >>confdefs.h <<_ACEOF
42898 #define HAVE_LOGL 1
42899 _ACEOF
42902 done
42904 else
42906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
42907 $as_echo_n "checking for _logl declaration... " >&6; }
42908 if test x${glibcxx_cv_func__logl_use+set} != xset; then
42909 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
42910 $as_echo_n "(cached) " >&6
42911 else
42914 ac_ext=cpp
42915 ac_cpp='$CXXCPP $CPPFLAGS'
42916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42921 /* end confdefs.h. */
42922 #include <math.h>
42923 #ifdef HAVE_IEEEFP_H
42924 #include <ieeefp.h>
42925 #endif
42928 main ()
42930 _logl(0);
42932 return 0;
42934 _ACEOF
42935 if ac_fn_cxx_try_compile "$LINENO"; then :
42936 glibcxx_cv_func__logl_use=yes
42937 else
42938 glibcxx_cv_func__logl_use=no
42940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42941 ac_ext=c
42942 ac_cpp='$CPP $CPPFLAGS'
42943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
42952 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
42954 if test x$glibcxx_cv_func__logl_use = x"yes"; then
42955 for ac_func in _logl
42956 do :
42957 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
42958 if test "x$ac_cv_func__logl" = x""yes; then :
42959 cat >>confdefs.h <<_ACEOF
42960 #define HAVE__LOGL 1
42961 _ACEOF
42964 done
42973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
42974 $as_echo_n "checking for log10l declaration... " >&6; }
42975 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
42976 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
42977 $as_echo_n "(cached) " >&6
42978 else
42981 ac_ext=cpp
42982 ac_cpp='$CXXCPP $CPPFLAGS'
42983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42988 /* end confdefs.h. */
42989 #include <math.h>
42990 #ifdef HAVE_IEEEFP_H
42991 #include <ieeefp.h>
42992 #endif
42995 main ()
42997 log10l(0);
42999 return 0;
43001 _ACEOF
43002 if ac_fn_cxx_try_compile "$LINENO"; then :
43003 glibcxx_cv_func_log10l_use=yes
43004 else
43005 glibcxx_cv_func_log10l_use=no
43007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43008 ac_ext=c
43009 ac_cpp='$CPP $CPPFLAGS'
43010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
43019 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
43021 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
43022 for ac_func in log10l
43023 do :
43024 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
43025 if test "x$ac_cv_func_log10l" = x""yes; then :
43026 cat >>confdefs.h <<_ACEOF
43027 #define HAVE_LOG10L 1
43028 _ACEOF
43031 done
43033 else
43035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
43036 $as_echo_n "checking for _log10l declaration... " >&6; }
43037 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
43038 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
43039 $as_echo_n "(cached) " >&6
43040 else
43043 ac_ext=cpp
43044 ac_cpp='$CXXCPP $CPPFLAGS'
43045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43050 /* end confdefs.h. */
43051 #include <math.h>
43052 #ifdef HAVE_IEEEFP_H
43053 #include <ieeefp.h>
43054 #endif
43057 main ()
43059 _log10l(0);
43061 return 0;
43063 _ACEOF
43064 if ac_fn_cxx_try_compile "$LINENO"; then :
43065 glibcxx_cv_func__log10l_use=yes
43066 else
43067 glibcxx_cv_func__log10l_use=no
43069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43070 ac_ext=c
43071 ac_cpp='$CPP $CPPFLAGS'
43072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
43081 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
43083 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
43084 for ac_func in _log10l
43085 do :
43086 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
43087 if test "x$ac_cv_func__log10l" = x""yes; then :
43088 cat >>confdefs.h <<_ACEOF
43089 #define HAVE__LOG10L 1
43090 _ACEOF
43093 done
43102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
43103 $as_echo_n "checking for modfl declaration... " >&6; }
43104 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
43105 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
43106 $as_echo_n "(cached) " >&6
43107 else
43110 ac_ext=cpp
43111 ac_cpp='$CXXCPP $CPPFLAGS'
43112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43117 /* end confdefs.h. */
43118 #include <math.h>
43120 main ()
43122 modfl(0, 0);
43124 return 0;
43126 _ACEOF
43127 if ac_fn_cxx_try_compile "$LINENO"; then :
43128 glibcxx_cv_func_modfl_use=yes
43129 else
43130 glibcxx_cv_func_modfl_use=no
43132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43133 ac_ext=c
43134 ac_cpp='$CPP $CPPFLAGS'
43135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
43144 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
43146 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
43147 for ac_func in modfl
43148 do :
43149 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
43150 if test "x$ac_cv_func_modfl" = x""yes; then :
43151 cat >>confdefs.h <<_ACEOF
43152 #define HAVE_MODFL 1
43153 _ACEOF
43156 done
43158 else
43160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
43161 $as_echo_n "checking for _modfl declaration... " >&6; }
43162 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
43163 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
43164 $as_echo_n "(cached) " >&6
43165 else
43168 ac_ext=cpp
43169 ac_cpp='$CXXCPP $CPPFLAGS'
43170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43175 /* end confdefs.h. */
43176 #include <math.h>
43178 main ()
43180 _modfl(0, 0);
43182 return 0;
43184 _ACEOF
43185 if ac_fn_cxx_try_compile "$LINENO"; then :
43186 glibcxx_cv_func__modfl_use=yes
43187 else
43188 glibcxx_cv_func__modfl_use=no
43190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43191 ac_ext=c
43192 ac_cpp='$CPP $CPPFLAGS'
43193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
43202 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
43204 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
43205 for ac_func in _modfl
43206 do :
43207 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
43208 if test "x$ac_cv_func__modfl" = x""yes; then :
43209 cat >>confdefs.h <<_ACEOF
43210 #define HAVE__MODFL 1
43211 _ACEOF
43214 done
43223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
43224 $as_echo_n "checking for powl declaration... " >&6; }
43225 if test x${glibcxx_cv_func_powl_use+set} != xset; then
43226 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
43227 $as_echo_n "(cached) " >&6
43228 else
43231 ac_ext=cpp
43232 ac_cpp='$CXXCPP $CPPFLAGS'
43233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43238 /* end confdefs.h. */
43239 #include <math.h>
43241 main ()
43243 powl(0, 0);
43245 return 0;
43247 _ACEOF
43248 if ac_fn_cxx_try_compile "$LINENO"; then :
43249 glibcxx_cv_func_powl_use=yes
43250 else
43251 glibcxx_cv_func_powl_use=no
43253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43254 ac_ext=c
43255 ac_cpp='$CPP $CPPFLAGS'
43256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
43265 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
43267 if test x$glibcxx_cv_func_powl_use = x"yes"; then
43268 for ac_func in powl
43269 do :
43270 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
43271 if test "x$ac_cv_func_powl" = x""yes; then :
43272 cat >>confdefs.h <<_ACEOF
43273 #define HAVE_POWL 1
43274 _ACEOF
43277 done
43279 else
43281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
43282 $as_echo_n "checking for _powl declaration... " >&6; }
43283 if test x${glibcxx_cv_func__powl_use+set} != xset; then
43284 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
43285 $as_echo_n "(cached) " >&6
43286 else
43289 ac_ext=cpp
43290 ac_cpp='$CXXCPP $CPPFLAGS'
43291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43296 /* end confdefs.h. */
43297 #include <math.h>
43299 main ()
43301 _powl(0, 0);
43303 return 0;
43305 _ACEOF
43306 if ac_fn_cxx_try_compile "$LINENO"; then :
43307 glibcxx_cv_func__powl_use=yes
43308 else
43309 glibcxx_cv_func__powl_use=no
43311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43312 ac_ext=c
43313 ac_cpp='$CPP $CPPFLAGS'
43314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
43323 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
43325 if test x$glibcxx_cv_func__powl_use = x"yes"; then
43326 for ac_func in _powl
43327 do :
43328 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
43329 if test "x$ac_cv_func__powl" = x""yes; then :
43330 cat >>confdefs.h <<_ACEOF
43331 #define HAVE__POWL 1
43332 _ACEOF
43335 done
43344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
43345 $as_echo_n "checking for sqrtl declaration... " >&6; }
43346 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
43347 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
43348 $as_echo_n "(cached) " >&6
43349 else
43352 ac_ext=cpp
43353 ac_cpp='$CXXCPP $CPPFLAGS'
43354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43359 /* end confdefs.h. */
43360 #include <math.h>
43361 #ifdef HAVE_IEEEFP_H
43362 #include <ieeefp.h>
43363 #endif
43366 main ()
43368 sqrtl(0);
43370 return 0;
43372 _ACEOF
43373 if ac_fn_cxx_try_compile "$LINENO"; then :
43374 glibcxx_cv_func_sqrtl_use=yes
43375 else
43376 glibcxx_cv_func_sqrtl_use=no
43378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43379 ac_ext=c
43380 ac_cpp='$CPP $CPPFLAGS'
43381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
43390 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
43392 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
43393 for ac_func in sqrtl
43394 do :
43395 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
43396 if test "x$ac_cv_func_sqrtl" = x""yes; then :
43397 cat >>confdefs.h <<_ACEOF
43398 #define HAVE_SQRTL 1
43399 _ACEOF
43402 done
43404 else
43406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
43407 $as_echo_n "checking for _sqrtl declaration... " >&6; }
43408 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
43409 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
43410 $as_echo_n "(cached) " >&6
43411 else
43414 ac_ext=cpp
43415 ac_cpp='$CXXCPP $CPPFLAGS'
43416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43421 /* end confdefs.h. */
43422 #include <math.h>
43423 #ifdef HAVE_IEEEFP_H
43424 #include <ieeefp.h>
43425 #endif
43428 main ()
43430 _sqrtl(0);
43432 return 0;
43434 _ACEOF
43435 if ac_fn_cxx_try_compile "$LINENO"; then :
43436 glibcxx_cv_func__sqrtl_use=yes
43437 else
43438 glibcxx_cv_func__sqrtl_use=no
43440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43441 ac_ext=c
43442 ac_cpp='$CPP $CPPFLAGS'
43443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
43452 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
43454 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
43455 for ac_func in _sqrtl
43456 do :
43457 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
43458 if test "x$ac_cv_func__sqrtl" = x""yes; then :
43459 cat >>confdefs.h <<_ACEOF
43460 #define HAVE__SQRTL 1
43461 _ACEOF
43464 done
43473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
43474 $as_echo_n "checking for sincosl declaration... " >&6; }
43475 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
43476 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
43477 $as_echo_n "(cached) " >&6
43478 else
43481 ac_ext=cpp
43482 ac_cpp='$CXXCPP $CPPFLAGS'
43483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43488 /* end confdefs.h. */
43489 #include <math.h>
43491 main ()
43493 sincosl(0, 0, 0);
43495 return 0;
43497 _ACEOF
43498 if ac_fn_cxx_try_compile "$LINENO"; then :
43499 glibcxx_cv_func_sincosl_use=yes
43500 else
43501 glibcxx_cv_func_sincosl_use=no
43503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43504 ac_ext=c
43505 ac_cpp='$CPP $CPPFLAGS'
43506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
43515 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
43517 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
43518 for ac_func in sincosl
43519 do :
43520 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
43521 if test "x$ac_cv_func_sincosl" = x""yes; then :
43522 cat >>confdefs.h <<_ACEOF
43523 #define HAVE_SINCOSL 1
43524 _ACEOF
43527 done
43529 else
43531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
43532 $as_echo_n "checking for _sincosl declaration... " >&6; }
43533 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
43534 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
43535 $as_echo_n "(cached) " >&6
43536 else
43539 ac_ext=cpp
43540 ac_cpp='$CXXCPP $CPPFLAGS'
43541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43546 /* end confdefs.h. */
43547 #include <math.h>
43549 main ()
43551 _sincosl(0, 0, 0);
43553 return 0;
43555 _ACEOF
43556 if ac_fn_cxx_try_compile "$LINENO"; then :
43557 glibcxx_cv_func__sincosl_use=yes
43558 else
43559 glibcxx_cv_func__sincosl_use=no
43561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43562 ac_ext=c
43563 ac_cpp='$CPP $CPPFLAGS'
43564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
43573 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
43575 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
43576 for ac_func in _sincosl
43577 do :
43578 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
43579 if test "x$ac_cv_func__sincosl" = x""yes; then :
43580 cat >>confdefs.h <<_ACEOF
43581 #define HAVE__SINCOSL 1
43582 _ACEOF
43585 done
43594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
43595 $as_echo_n "checking for finitel declaration... " >&6; }
43596 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
43597 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
43598 $as_echo_n "(cached) " >&6
43599 else
43602 ac_ext=cpp
43603 ac_cpp='$CXXCPP $CPPFLAGS'
43604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43609 /* end confdefs.h. */
43610 #include <math.h>
43611 #ifdef HAVE_IEEEFP_H
43612 #include <ieeefp.h>
43613 #endif
43616 main ()
43618 finitel(0);
43620 return 0;
43622 _ACEOF
43623 if ac_fn_cxx_try_compile "$LINENO"; then :
43624 glibcxx_cv_func_finitel_use=yes
43625 else
43626 glibcxx_cv_func_finitel_use=no
43628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43629 ac_ext=c
43630 ac_cpp='$CPP $CPPFLAGS'
43631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
43640 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
43642 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
43643 for ac_func in finitel
43644 do :
43645 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
43646 if test "x$ac_cv_func_finitel" = x""yes; then :
43647 cat >>confdefs.h <<_ACEOF
43648 #define HAVE_FINITEL 1
43649 _ACEOF
43652 done
43654 else
43656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
43657 $as_echo_n "checking for _finitel declaration... " >&6; }
43658 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
43659 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
43660 $as_echo_n "(cached) " >&6
43661 else
43664 ac_ext=cpp
43665 ac_cpp='$CXXCPP $CPPFLAGS'
43666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43671 /* end confdefs.h. */
43672 #include <math.h>
43673 #ifdef HAVE_IEEEFP_H
43674 #include <ieeefp.h>
43675 #endif
43678 main ()
43680 _finitel(0);
43682 return 0;
43684 _ACEOF
43685 if ac_fn_cxx_try_compile "$LINENO"; then :
43686 glibcxx_cv_func__finitel_use=yes
43687 else
43688 glibcxx_cv_func__finitel_use=no
43690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43691 ac_ext=c
43692 ac_cpp='$CPP $CPPFLAGS'
43693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
43702 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
43704 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
43705 for ac_func in _finitel
43706 do :
43707 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
43708 if test "x$ac_cv_func__finitel" = x""yes; then :
43709 cat >>confdefs.h <<_ACEOF
43710 #define HAVE__FINITEL 1
43711 _ACEOF
43714 done
43722 LIBS="$ac_save_LIBS"
43723 CXXFLAGS="$ac_save_CXXFLAGS"
43726 ac_test_CXXFLAGS="${CXXFLAGS+set}"
43727 ac_save_CXXFLAGS="$CXXFLAGS"
43728 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
43731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
43732 $as_echo_n "checking for strtold declaration... " >&6; }
43733 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
43734 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
43735 $as_echo_n "(cached) " >&6
43736 else
43739 ac_ext=cpp
43740 ac_cpp='$CXXCPP $CPPFLAGS'
43741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43746 /* end confdefs.h. */
43747 #include <stdlib.h>
43749 main ()
43751 strtold(0, 0);
43753 return 0;
43755 _ACEOF
43756 if ac_fn_cxx_try_compile "$LINENO"; then :
43757 glibcxx_cv_func_strtold_use=yes
43758 else
43759 glibcxx_cv_func_strtold_use=no
43761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43762 ac_ext=c
43763 ac_cpp='$CPP $CPPFLAGS'
43764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
43773 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
43774 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
43775 for ac_func in strtold
43776 do :
43777 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
43778 if test "x$ac_cv_func_strtold" = x""yes; then :
43779 cat >>confdefs.h <<_ACEOF
43780 #define HAVE_STRTOLD 1
43781 _ACEOF
43784 done
43791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
43792 $as_echo_n "checking for strtof declaration... " >&6; }
43793 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
43794 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
43795 $as_echo_n "(cached) " >&6
43796 else
43799 ac_ext=cpp
43800 ac_cpp='$CXXCPP $CPPFLAGS'
43801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43806 /* end confdefs.h. */
43807 #include <stdlib.h>
43809 main ()
43811 strtof(0, 0);
43813 return 0;
43815 _ACEOF
43816 if ac_fn_cxx_try_compile "$LINENO"; then :
43817 glibcxx_cv_func_strtof_use=yes
43818 else
43819 glibcxx_cv_func_strtof_use=no
43821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43822 ac_ext=c
43823 ac_cpp='$CPP $CPPFLAGS'
43824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
43833 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
43834 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
43835 for ac_func in strtof
43836 do :
43837 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
43838 if test "x$ac_cv_func_strtof" = x""yes; then :
43839 cat >>confdefs.h <<_ACEOF
43840 #define HAVE_STRTOF 1
43841 _ACEOF
43844 done
43851 CXXFLAGS="$ac_save_CXXFLAGS"
43855 *djgpp)
43856 # GLIBCXX_CHECK_MATH_SUPPORT
43857 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
43859 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
43861 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
43863 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
43865 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
43869 *-freebsd*)
43870 SECTION_FLAGS='-ffunction-sections -fdata-sections'
43873 # If we're not using GNU ld, then there's no point in even trying these
43874 # tests. Check for that first. We should have already tested for gld
43875 # by now (in libtool), but require it now just to be safe...
43876 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
43877 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
43881 # The name set by libtool depends on the version of libtool. Shame on us
43882 # for depending on an impl detail, but c'est la vie. Older versions used
43883 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
43884 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
43885 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
43886 # set (hence we're using an older libtool), then set it.
43887 if test x${with_gnu_ld+set} != xset; then
43888 if test x${ac_cv_prog_gnu_ld+set} != xset; then
43889 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
43890 with_gnu_ld=no
43891 else
43892 with_gnu_ld=$ac_cv_prog_gnu_ld
43896 # Start by getting the version number. I think the libtool test already
43897 # does some of this, but throws away the result.
43898 glibcxx_ld_is_gold=no
43899 if test x"$with_gnu_ld" = x"yes"; then
43900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
43901 $as_echo_n "checking for ld version... " >&6; }
43903 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
43904 glibcxx_ld_is_gold=yes
43906 ldver=`$LD --version 2>/dev/null |
43907 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
43909 glibcxx_gnu_ld_version=`echo $ldver | \
43910 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
43911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
43912 $as_echo "$glibcxx_gnu_ld_version" >&6; }
43915 # Set --gc-sections.
43916 glibcxx_have_gc_sections=no
43917 if test "$glibcxx_ld_is_gold" = "yes"; then
43918 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
43919 glibcxx_have_gc_sections=yes
43921 else
43922 glibcxx_gcsections_min_ld=21602
43923 if test x"$with_gnu_ld" = x"yes" &&
43924 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
43925 glibcxx_have_gc_sections=yes
43928 if test "$glibcxx_have_gc_sections" = "yes"; then
43929 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
43930 # NB: This flag only works reliably after 2.16.1. Configure tests
43931 # for this are difficult, so hard wire a value that should work.
43933 ac_test_CFLAGS="${CFLAGS+set}"
43934 ac_save_CFLAGS="$CFLAGS"
43935 CFLAGS='-Wl,--gc-sections'
43937 # Check for -Wl,--gc-sections
43938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
43939 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
43940 if test x$gcc_no_link = xyes; then
43941 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
43943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43944 /* end confdefs.h. */
43945 int one(void) { return 1; }
43946 int two(void) { return 2; }
43949 main ()
43951 two();
43953 return 0;
43955 _ACEOF
43956 if ac_fn_c_try_link "$LINENO"; then :
43957 ac_gcsections=yes
43958 else
43959 ac_gcsections=no
43961 rm -f core conftest.err conftest.$ac_objext \
43962 conftest$ac_exeext conftest.$ac_ext
43963 if test "$ac_gcsections" = "yes"; then
43964 rm -f conftest.c
43965 touch conftest.c
43966 if $CC -c conftest.c; then
43967 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
43968 grep "Warning: gc-sections option ignored" > /dev/null; then
43969 ac_gcsections=no
43972 rm -f conftest.c conftest.o conftest
43974 if test "$ac_gcsections" = "yes"; then
43975 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
43977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
43978 $as_echo "$ac_gcsections" >&6; }
43980 if test "$ac_test_CFLAGS" = set; then
43981 CFLAGS="$ac_save_CFLAGS"
43982 else
43983 # this is the suspicious part
43984 CFLAGS=''
43988 # Set -z,relro.
43989 # Note this is only for shared objects.
43990 ac_ld_relro=no
43991 if test x"$with_gnu_ld" = x"yes"; then
43992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
43993 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
43994 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
43995 if test -n "$cxx_z_relo"; then
43996 OPT_LDFLAGS="-Wl,-z,relro"
43997 ac_ld_relro=yes
43999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44000 $as_echo "$ac_ld_relro" >&6; }
44003 # Set linker optimization flags.
44004 if test x"$with_gnu_ld" = x"yes"; then
44005 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44011 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
44013 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44015 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44017 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44019 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44021 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
44023 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44025 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44027 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44030 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44032 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44034 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44036 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44038 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
44040 $as_echo "#define HAVE_COSF 1" >>confdefs.h
44042 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44044 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44046 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44048 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
44050 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44052 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44054 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
44056 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44058 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44060 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
44062 $as_echo "#define HAVE_POWF 1" >>confdefs.h
44064 $as_echo "#define HAVE_SINF 1" >>confdefs.h
44066 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44068 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44070 $as_echo "#define HAVE_TANF 1" >>confdefs.h
44072 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44074 if test x"long_double_math_on_this_cpu" = x"yes"; then
44075 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
44077 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
44079 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
44083 *-hpux*)
44084 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44087 # If we're not using GNU ld, then there's no point in even trying these
44088 # tests. Check for that first. We should have already tested for gld
44089 # by now (in libtool), but require it now just to be safe...
44090 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44091 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44095 # The name set by libtool depends on the version of libtool. Shame on us
44096 # for depending on an impl detail, but c'est la vie. Older versions used
44097 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44098 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44099 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44100 # set (hence we're using an older libtool), then set it.
44101 if test x${with_gnu_ld+set} != xset; then
44102 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44103 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44104 with_gnu_ld=no
44105 else
44106 with_gnu_ld=$ac_cv_prog_gnu_ld
44110 # Start by getting the version number. I think the libtool test already
44111 # does some of this, but throws away the result.
44112 glibcxx_ld_is_gold=no
44113 if test x"$with_gnu_ld" = x"yes"; then
44114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44115 $as_echo_n "checking for ld version... " >&6; }
44117 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44118 glibcxx_ld_is_gold=yes
44120 ldver=`$LD --version 2>/dev/null |
44121 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
44123 glibcxx_gnu_ld_version=`echo $ldver | \
44124 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44126 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44129 # Set --gc-sections.
44130 glibcxx_have_gc_sections=no
44131 if test "$glibcxx_ld_is_gold" = "yes"; then
44132 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44133 glibcxx_have_gc_sections=yes
44135 else
44136 glibcxx_gcsections_min_ld=21602
44137 if test x"$with_gnu_ld" = x"yes" &&
44138 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44139 glibcxx_have_gc_sections=yes
44142 if test "$glibcxx_have_gc_sections" = "yes"; then
44143 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44144 # NB: This flag only works reliably after 2.16.1. Configure tests
44145 # for this are difficult, so hard wire a value that should work.
44147 ac_test_CFLAGS="${CFLAGS+set}"
44148 ac_save_CFLAGS="$CFLAGS"
44149 CFLAGS='-Wl,--gc-sections'
44151 # Check for -Wl,--gc-sections
44152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44153 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44154 if test x$gcc_no_link = xyes; then
44155 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44158 /* end confdefs.h. */
44159 int one(void) { return 1; }
44160 int two(void) { return 2; }
44163 main ()
44165 two();
44167 return 0;
44169 _ACEOF
44170 if ac_fn_c_try_link "$LINENO"; then :
44171 ac_gcsections=yes
44172 else
44173 ac_gcsections=no
44175 rm -f core conftest.err conftest.$ac_objext \
44176 conftest$ac_exeext conftest.$ac_ext
44177 if test "$ac_gcsections" = "yes"; then
44178 rm -f conftest.c
44179 touch conftest.c
44180 if $CC -c conftest.c; then
44181 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44182 grep "Warning: gc-sections option ignored" > /dev/null; then
44183 ac_gcsections=no
44186 rm -f conftest.c conftest.o conftest
44188 if test "$ac_gcsections" = "yes"; then
44189 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44192 $as_echo "$ac_gcsections" >&6; }
44194 if test "$ac_test_CFLAGS" = set; then
44195 CFLAGS="$ac_save_CFLAGS"
44196 else
44197 # this is the suspicious part
44198 CFLAGS=''
44202 # Set -z,relro.
44203 # Note this is only for shared objects.
44204 ac_ld_relro=no
44205 if test x"$with_gnu_ld" = x"yes"; then
44206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44207 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44208 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44209 if test -n "$cxx_z_relo"; then
44210 OPT_LDFLAGS="-Wl,-z,relro"
44211 ac_ld_relro=yes
44213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44214 $as_echo "$ac_ld_relro" >&6; }
44217 # Set linker optimization flags.
44218 if test x"$with_gnu_ld" = x"yes"; then
44219 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44226 # GLIBCXX_CHECK_MATH_SUPPORT
44227 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44229 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44231 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44233 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44235 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44237 $as_echo "#define HAVE_COSF 1" >>confdefs.h
44239 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44241 $as_echo "#define HAVE_SINF 1" >>confdefs.h
44243 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44245 $as_echo "#define HAVE_TANF 1" >>confdefs.h
44247 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44249 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44251 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44253 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44255 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44257 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44259 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44261 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44263 $as_echo "#define HAVE_MODF 1" >>confdefs.h
44265 $as_echo "#define HAVE_POWF 1" >>confdefs.h
44267 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44270 # GLIBCXX_CHECK_STDLIB_SUPPORT
44271 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
44276 # Check whether --enable-tls was given.
44277 if test "${enable_tls+set}" = set; then :
44278 enableval=$enable_tls;
44279 case "$enableval" in
44280 yes|no) ;;
44281 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
44282 esac
44284 else
44285 enable_tls=yes
44289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
44290 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
44291 if test "${gcc_cv_have_tls+set}" = set; then :
44292 $as_echo_n "(cached) " >&6
44293 else
44295 if test "$cross_compiling" = yes; then :
44296 if test x$gcc_no_link = xyes; then
44297 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44300 /* end confdefs.h. */
44301 __thread int a; int b; int main() { return a = b; }
44302 _ACEOF
44303 if ac_fn_c_try_link "$LINENO"; then :
44304 chktls_save_LDFLAGS="$LDFLAGS"
44305 case $host in
44306 *-*-linux*)
44307 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
44309 esac
44310 chktls_save_CFLAGS="$CFLAGS"
44311 CFLAGS="-fPIC $CFLAGS"
44312 if test x$gcc_no_link = xyes; then
44313 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44316 /* end confdefs.h. */
44317 int f() { return 0; }
44318 _ACEOF
44319 if ac_fn_c_try_link "$LINENO"; then :
44320 if test x$gcc_no_link = xyes; then
44321 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44324 /* end confdefs.h. */
44325 __thread int a; int b; int f() { return a = b; }
44326 _ACEOF
44327 if ac_fn_c_try_link "$LINENO"; then :
44328 gcc_cv_have_tls=yes
44329 else
44330 gcc_cv_have_tls=no
44332 rm -f core conftest.err conftest.$ac_objext \
44333 conftest$ac_exeext conftest.$ac_ext
44334 else
44335 gcc_cv_have_tls=yes
44337 rm -f core conftest.err conftest.$ac_objext \
44338 conftest$ac_exeext conftest.$ac_ext
44339 CFLAGS="$chktls_save_CFLAGS"
44340 LDFLAGS="$chktls_save_LDFLAGS"
44341 else
44342 gcc_cv_have_tls=no
44344 rm -f core conftest.err conftest.$ac_objext \
44345 conftest$ac_exeext conftest.$ac_ext
44348 else
44349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44350 /* end confdefs.h. */
44351 __thread int a; int b; int main() { return a = b; }
44352 _ACEOF
44353 if ac_fn_c_try_run "$LINENO"; then :
44354 chktls_save_LDFLAGS="$LDFLAGS"
44355 LDFLAGS="-static $LDFLAGS"
44356 if test x$gcc_no_link = xyes; then
44357 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44360 /* end confdefs.h. */
44361 int main() { return 0; }
44362 _ACEOF
44363 if ac_fn_c_try_link "$LINENO"; then :
44364 if test "$cross_compiling" = yes; then :
44365 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44366 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44367 as_fn_error "cannot run test program while cross compiling
44368 See \`config.log' for more details." "$LINENO" 5; }
44369 else
44370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44371 /* end confdefs.h. */
44372 __thread int a; int b; int main() { return a = b; }
44373 _ACEOF
44374 if ac_fn_c_try_run "$LINENO"; then :
44375 gcc_cv_have_tls=yes
44376 else
44377 gcc_cv_have_tls=no
44379 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44380 conftest.$ac_objext conftest.beam conftest.$ac_ext
44383 else
44384 gcc_cv_have_tls=yes
44386 rm -f core conftest.err conftest.$ac_objext \
44387 conftest$ac_exeext conftest.$ac_ext
44388 LDFLAGS="$chktls_save_LDFLAGS"
44389 if test $gcc_cv_have_tls = yes; then
44390 chktls_save_CFLAGS="$CFLAGS"
44391 thread_CFLAGS=failed
44392 for flag in '' '-pthread' '-lpthread'; do
44393 CFLAGS="$flag $chktls_save_CFLAGS"
44394 if test x$gcc_no_link = xyes; then
44395 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44398 /* end confdefs.h. */
44399 #include <pthread.h>
44400 void *g(void *d) { return NULL; }
44402 main ()
44404 pthread_t t; pthread_create(&t,NULL,g,NULL);
44406 return 0;
44408 _ACEOF
44409 if ac_fn_c_try_link "$LINENO"; then :
44410 thread_CFLAGS="$flag"
44412 rm -f core conftest.err conftest.$ac_objext \
44413 conftest$ac_exeext conftest.$ac_ext
44414 if test "X$thread_CFLAGS" != Xfailed; then
44415 break
44417 done
44418 CFLAGS="$chktls_save_CFLAGS"
44419 if test "X$thread_CFLAGS" != Xfailed; then
44420 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
44421 if test "$cross_compiling" = yes; then :
44422 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44423 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44424 as_fn_error "cannot run test program while cross compiling
44425 See \`config.log' for more details." "$LINENO" 5; }
44426 else
44427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44428 /* end confdefs.h. */
44429 #include <pthread.h>
44430 __thread int a;
44431 static int *a_in_other_thread;
44432 static void *
44433 thread_func (void *arg)
44435 a_in_other_thread = &a;
44436 return (void *)0;
44439 main ()
44441 pthread_t thread;
44442 void *thread_retval;
44443 int *a_in_main_thread;
44444 if (pthread_create (&thread, (pthread_attr_t *)0,
44445 thread_func, (void *)0))
44446 return 0;
44447 a_in_main_thread = &a;
44448 if (pthread_join (thread, &thread_retval))
44449 return 0;
44450 return (a_in_other_thread == a_in_main_thread);
44452 return 0;
44454 _ACEOF
44455 if ac_fn_c_try_run "$LINENO"; then :
44456 gcc_cv_have_tls=yes
44457 else
44458 gcc_cv_have_tls=no
44460 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44461 conftest.$ac_objext conftest.beam conftest.$ac_ext
44464 CFLAGS="$chktls_save_CFLAGS"
44467 else
44468 gcc_cv_have_tls=no
44470 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44471 conftest.$ac_objext conftest.beam conftest.$ac_ext
44475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
44476 $as_echo "$gcc_cv_have_tls" >&6; }
44477 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
44479 $as_echo "#define HAVE_TLS 1" >>confdefs.h
44482 case "$target" in
44483 *-hpux10*)
44484 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44486 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
44488 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44490 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44492 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44495 esac
44497 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
44499 # All these tests are for C++; save the language and the compiler flags.
44500 # The CXXFLAGS thing is suspicious, but based on similar bits previously
44501 # found in GLIBCXX_CONFIGURE.
44503 ac_ext=cpp
44504 ac_cpp='$CXXCPP $CPPFLAGS'
44505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44509 ac_test_CXXFLAGS="${CXXFLAGS+set}"
44510 ac_save_CXXFLAGS="$CXXFLAGS"
44512 # Check for maintainer-mode bits.
44513 if test x"$USE_MAINTAINER_MODE" = xno; then
44514 WERROR=''
44515 else
44516 WERROR='-Werror'
44519 # Check for -ffunction-sections -fdata-sections
44520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
44521 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
44522 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
44523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44524 /* end confdefs.h. */
44525 int foo; void bar() { };
44527 main ()
44531 return 0;
44533 _ACEOF
44534 if ac_fn_cxx_try_compile "$LINENO"; then :
44535 ac_fdsections=yes
44536 else
44537 ac_fdsections=no
44539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44540 if test "$ac_test_CXXFLAGS" = set; then
44541 CXXFLAGS="$ac_save_CXXFLAGS"
44542 else
44543 # this is the suspicious part
44544 CXXFLAGS=''
44546 if test x"$ac_fdsections" = x"yes"; then
44547 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
44550 $as_echo "$ac_fdsections" >&6; }
44552 ac_ext=c
44553 ac_cpp='$CPP $CPPFLAGS'
44554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44562 # If we're not using GNU ld, then there's no point in even trying these
44563 # tests. Check for that first. We should have already tested for gld
44564 # by now (in libtool), but require it now just to be safe...
44565 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44566 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44570 # The name set by libtool depends on the version of libtool. Shame on us
44571 # for depending on an impl detail, but c'est la vie. Older versions used
44572 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44573 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44574 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44575 # set (hence we're using an older libtool), then set it.
44576 if test x${with_gnu_ld+set} != xset; then
44577 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44578 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44579 with_gnu_ld=no
44580 else
44581 with_gnu_ld=$ac_cv_prog_gnu_ld
44585 # Start by getting the version number. I think the libtool test already
44586 # does some of this, but throws away the result.
44587 glibcxx_ld_is_gold=no
44588 if test x"$with_gnu_ld" = x"yes"; then
44589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44590 $as_echo_n "checking for ld version... " >&6; }
44592 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44593 glibcxx_ld_is_gold=yes
44595 ldver=`$LD --version 2>/dev/null |
44596 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
44598 glibcxx_gnu_ld_version=`echo $ldver | \
44599 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44601 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44604 # Set --gc-sections.
44605 glibcxx_have_gc_sections=no
44606 if test "$glibcxx_ld_is_gold" = "yes"; then
44607 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44608 glibcxx_have_gc_sections=yes
44610 else
44611 glibcxx_gcsections_min_ld=21602
44612 if test x"$with_gnu_ld" = x"yes" &&
44613 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44614 glibcxx_have_gc_sections=yes
44617 if test "$glibcxx_have_gc_sections" = "yes"; then
44618 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44619 # NB: This flag only works reliably after 2.16.1. Configure tests
44620 # for this are difficult, so hard wire a value that should work.
44622 ac_test_CFLAGS="${CFLAGS+set}"
44623 ac_save_CFLAGS="$CFLAGS"
44624 CFLAGS='-Wl,--gc-sections'
44626 # Check for -Wl,--gc-sections
44627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44628 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44629 if test x$gcc_no_link = xyes; then
44630 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44633 /* end confdefs.h. */
44634 int one(void) { return 1; }
44635 int two(void) { return 2; }
44638 main ()
44640 two();
44642 return 0;
44644 _ACEOF
44645 if ac_fn_c_try_link "$LINENO"; then :
44646 ac_gcsections=yes
44647 else
44648 ac_gcsections=no
44650 rm -f core conftest.err conftest.$ac_objext \
44651 conftest$ac_exeext conftest.$ac_ext
44652 if test "$ac_gcsections" = "yes"; then
44653 rm -f conftest.c
44654 touch conftest.c
44655 if $CC -c conftest.c; then
44656 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44657 grep "Warning: gc-sections option ignored" > /dev/null; then
44658 ac_gcsections=no
44661 rm -f conftest.c conftest.o conftest
44663 if test "$ac_gcsections" = "yes"; then
44664 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44667 $as_echo "$ac_gcsections" >&6; }
44669 if test "$ac_test_CFLAGS" = set; then
44670 CFLAGS="$ac_save_CFLAGS"
44671 else
44672 # this is the suspicious part
44673 CFLAGS=''
44677 # Set -z,relro.
44678 # Note this is only for shared objects.
44679 ac_ld_relro=no
44680 if test x"$with_gnu_ld" = x"yes"; then
44681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44682 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44683 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44684 if test -n "$cxx_z_relo"; then
44685 OPT_LDFLAGS="-Wl,-z,relro"
44686 ac_ld_relro=yes
44688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44689 $as_echo "$ac_ld_relro" >&6; }
44692 # Set linker optimization flags.
44693 if test x"$with_gnu_ld" = x"yes"; then
44694 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44701 ac_test_CXXFLAGS="${CXXFLAGS+set}"
44702 ac_save_CXXFLAGS="$CXXFLAGS"
44703 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
44705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
44706 $as_echo_n "checking for sin in -lm... " >&6; }
44707 if test "${ac_cv_lib_m_sin+set}" = set; then :
44708 $as_echo_n "(cached) " >&6
44709 else
44710 ac_check_lib_save_LIBS=$LIBS
44711 LIBS="-lm $LIBS"
44712 if test x$gcc_no_link = xyes; then
44713 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44716 /* end confdefs.h. */
44718 /* Override any GCC internal prototype to avoid an error.
44719 Use char because int might match the return type of a GCC
44720 builtin and then its argument prototype would still apply. */
44721 #ifdef __cplusplus
44722 extern "C"
44723 #endif
44724 char sin ();
44726 main ()
44728 return sin ();
44730 return 0;
44732 _ACEOF
44733 if ac_fn_c_try_link "$LINENO"; then :
44734 ac_cv_lib_m_sin=yes
44735 else
44736 ac_cv_lib_m_sin=no
44738 rm -f core conftest.err conftest.$ac_objext \
44739 conftest$ac_exeext conftest.$ac_ext
44740 LIBS=$ac_check_lib_save_LIBS
44742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
44743 $as_echo "$ac_cv_lib_m_sin" >&6; }
44744 if test "x$ac_cv_lib_m_sin" = x""yes; then :
44745 libm="-lm"
44748 ac_save_LIBS="$LIBS"
44749 LIBS="$LIBS $libm"
44753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
44754 $as_echo_n "checking for isinf declaration... " >&6; }
44755 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
44756 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
44757 $as_echo_n "(cached) " >&6
44758 else
44761 ac_ext=cpp
44762 ac_cpp='$CXXCPP $CPPFLAGS'
44763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44768 /* end confdefs.h. */
44769 #include <math.h>
44770 #ifdef HAVE_IEEEFP_H
44771 #include <ieeefp.h>
44772 #endif
44775 main ()
44777 isinf(0);
44779 return 0;
44781 _ACEOF
44782 if ac_fn_cxx_try_compile "$LINENO"; then :
44783 glibcxx_cv_func_isinf_use=yes
44784 else
44785 glibcxx_cv_func_isinf_use=no
44787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44788 ac_ext=c
44789 ac_cpp='$CPP $CPPFLAGS'
44790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
44799 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
44801 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
44802 for ac_func in isinf
44803 do :
44804 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
44805 if test "x$ac_cv_func_isinf" = x""yes; then :
44806 cat >>confdefs.h <<_ACEOF
44807 #define HAVE_ISINF 1
44808 _ACEOF
44811 done
44813 else
44815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
44816 $as_echo_n "checking for _isinf declaration... " >&6; }
44817 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
44818 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
44819 $as_echo_n "(cached) " >&6
44820 else
44823 ac_ext=cpp
44824 ac_cpp='$CXXCPP $CPPFLAGS'
44825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44830 /* end confdefs.h. */
44831 #include <math.h>
44832 #ifdef HAVE_IEEEFP_H
44833 #include <ieeefp.h>
44834 #endif
44837 main ()
44839 _isinf(0);
44841 return 0;
44843 _ACEOF
44844 if ac_fn_cxx_try_compile "$LINENO"; then :
44845 glibcxx_cv_func__isinf_use=yes
44846 else
44847 glibcxx_cv_func__isinf_use=no
44849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44850 ac_ext=c
44851 ac_cpp='$CPP $CPPFLAGS'
44852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
44861 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
44863 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
44864 for ac_func in _isinf
44865 do :
44866 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
44867 if test "x$ac_cv_func__isinf" = x""yes; then :
44868 cat >>confdefs.h <<_ACEOF
44869 #define HAVE__ISINF 1
44870 _ACEOF
44873 done
44882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
44883 $as_echo_n "checking for isnan declaration... " >&6; }
44884 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
44885 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
44886 $as_echo_n "(cached) " >&6
44887 else
44890 ac_ext=cpp
44891 ac_cpp='$CXXCPP $CPPFLAGS'
44892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44897 /* end confdefs.h. */
44898 #include <math.h>
44899 #ifdef HAVE_IEEEFP_H
44900 #include <ieeefp.h>
44901 #endif
44904 main ()
44906 isnan(0);
44908 return 0;
44910 _ACEOF
44911 if ac_fn_cxx_try_compile "$LINENO"; then :
44912 glibcxx_cv_func_isnan_use=yes
44913 else
44914 glibcxx_cv_func_isnan_use=no
44916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44917 ac_ext=c
44918 ac_cpp='$CPP $CPPFLAGS'
44919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
44928 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
44930 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
44931 for ac_func in isnan
44932 do :
44933 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
44934 if test "x$ac_cv_func_isnan" = x""yes; then :
44935 cat >>confdefs.h <<_ACEOF
44936 #define HAVE_ISNAN 1
44937 _ACEOF
44940 done
44942 else
44944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
44945 $as_echo_n "checking for _isnan declaration... " >&6; }
44946 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
44947 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
44948 $as_echo_n "(cached) " >&6
44949 else
44952 ac_ext=cpp
44953 ac_cpp='$CXXCPP $CPPFLAGS'
44954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44959 /* end confdefs.h. */
44960 #include <math.h>
44961 #ifdef HAVE_IEEEFP_H
44962 #include <ieeefp.h>
44963 #endif
44966 main ()
44968 _isnan(0);
44970 return 0;
44972 _ACEOF
44973 if ac_fn_cxx_try_compile "$LINENO"; then :
44974 glibcxx_cv_func__isnan_use=yes
44975 else
44976 glibcxx_cv_func__isnan_use=no
44978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44979 ac_ext=c
44980 ac_cpp='$CPP $CPPFLAGS'
44981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
44990 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
44992 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
44993 for ac_func in _isnan
44994 do :
44995 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
44996 if test "x$ac_cv_func__isnan" = x""yes; then :
44997 cat >>confdefs.h <<_ACEOF
44998 #define HAVE__ISNAN 1
44999 _ACEOF
45002 done
45011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
45012 $as_echo_n "checking for finite declaration... " >&6; }
45013 if test x${glibcxx_cv_func_finite_use+set} != xset; then
45014 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
45015 $as_echo_n "(cached) " >&6
45016 else
45019 ac_ext=cpp
45020 ac_cpp='$CXXCPP $CPPFLAGS'
45021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45026 /* end confdefs.h. */
45027 #include <math.h>
45028 #ifdef HAVE_IEEEFP_H
45029 #include <ieeefp.h>
45030 #endif
45033 main ()
45035 finite(0);
45037 return 0;
45039 _ACEOF
45040 if ac_fn_cxx_try_compile "$LINENO"; then :
45041 glibcxx_cv_func_finite_use=yes
45042 else
45043 glibcxx_cv_func_finite_use=no
45045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45046 ac_ext=c
45047 ac_cpp='$CPP $CPPFLAGS'
45048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
45057 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
45059 if test x$glibcxx_cv_func_finite_use = x"yes"; then
45060 for ac_func in finite
45061 do :
45062 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
45063 if test "x$ac_cv_func_finite" = x""yes; then :
45064 cat >>confdefs.h <<_ACEOF
45065 #define HAVE_FINITE 1
45066 _ACEOF
45069 done
45071 else
45073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
45074 $as_echo_n "checking for _finite declaration... " >&6; }
45075 if test x${glibcxx_cv_func__finite_use+set} != xset; then
45076 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
45077 $as_echo_n "(cached) " >&6
45078 else
45081 ac_ext=cpp
45082 ac_cpp='$CXXCPP $CPPFLAGS'
45083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45088 /* end confdefs.h. */
45089 #include <math.h>
45090 #ifdef HAVE_IEEEFP_H
45091 #include <ieeefp.h>
45092 #endif
45095 main ()
45097 _finite(0);
45099 return 0;
45101 _ACEOF
45102 if ac_fn_cxx_try_compile "$LINENO"; then :
45103 glibcxx_cv_func__finite_use=yes
45104 else
45105 glibcxx_cv_func__finite_use=no
45107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45108 ac_ext=c
45109 ac_cpp='$CPP $CPPFLAGS'
45110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
45119 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
45121 if test x$glibcxx_cv_func__finite_use = x"yes"; then
45122 for ac_func in _finite
45123 do :
45124 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
45125 if test "x$ac_cv_func__finite" = x""yes; then :
45126 cat >>confdefs.h <<_ACEOF
45127 #define HAVE__FINITE 1
45128 _ACEOF
45131 done
45140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
45141 $as_echo_n "checking for sincos declaration... " >&6; }
45142 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
45143 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
45144 $as_echo_n "(cached) " >&6
45145 else
45148 ac_ext=cpp
45149 ac_cpp='$CXXCPP $CPPFLAGS'
45150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45155 /* end confdefs.h. */
45156 #include <math.h>
45158 main ()
45160 sincos(0, 0, 0);
45162 return 0;
45164 _ACEOF
45165 if ac_fn_cxx_try_compile "$LINENO"; then :
45166 glibcxx_cv_func_sincos_use=yes
45167 else
45168 glibcxx_cv_func_sincos_use=no
45170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45171 ac_ext=c
45172 ac_cpp='$CPP $CPPFLAGS'
45173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
45182 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
45184 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
45185 for ac_func in sincos
45186 do :
45187 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
45188 if test "x$ac_cv_func_sincos" = x""yes; then :
45189 cat >>confdefs.h <<_ACEOF
45190 #define HAVE_SINCOS 1
45191 _ACEOF
45194 done
45196 else
45198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
45199 $as_echo_n "checking for _sincos declaration... " >&6; }
45200 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
45201 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
45202 $as_echo_n "(cached) " >&6
45203 else
45206 ac_ext=cpp
45207 ac_cpp='$CXXCPP $CPPFLAGS'
45208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45213 /* end confdefs.h. */
45214 #include <math.h>
45216 main ()
45218 _sincos(0, 0, 0);
45220 return 0;
45222 _ACEOF
45223 if ac_fn_cxx_try_compile "$LINENO"; then :
45224 glibcxx_cv_func__sincos_use=yes
45225 else
45226 glibcxx_cv_func__sincos_use=no
45228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45229 ac_ext=c
45230 ac_cpp='$CPP $CPPFLAGS'
45231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
45240 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
45242 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
45243 for ac_func in _sincos
45244 do :
45245 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
45246 if test "x$ac_cv_func__sincos" = x""yes; then :
45247 cat >>confdefs.h <<_ACEOF
45248 #define HAVE__SINCOS 1
45249 _ACEOF
45252 done
45261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
45262 $as_echo_n "checking for fpclass declaration... " >&6; }
45263 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
45264 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
45265 $as_echo_n "(cached) " >&6
45266 else
45269 ac_ext=cpp
45270 ac_cpp='$CXXCPP $CPPFLAGS'
45271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45276 /* end confdefs.h. */
45277 #include <math.h>
45278 #ifdef HAVE_IEEEFP_H
45279 #include <ieeefp.h>
45280 #endif
45283 main ()
45285 fpclass(0);
45287 return 0;
45289 _ACEOF
45290 if ac_fn_cxx_try_compile "$LINENO"; then :
45291 glibcxx_cv_func_fpclass_use=yes
45292 else
45293 glibcxx_cv_func_fpclass_use=no
45295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45296 ac_ext=c
45297 ac_cpp='$CPP $CPPFLAGS'
45298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
45307 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
45309 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
45310 for ac_func in fpclass
45311 do :
45312 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
45313 if test "x$ac_cv_func_fpclass" = x""yes; then :
45314 cat >>confdefs.h <<_ACEOF
45315 #define HAVE_FPCLASS 1
45316 _ACEOF
45319 done
45321 else
45323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
45324 $as_echo_n "checking for _fpclass declaration... " >&6; }
45325 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
45326 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
45327 $as_echo_n "(cached) " >&6
45328 else
45331 ac_ext=cpp
45332 ac_cpp='$CXXCPP $CPPFLAGS'
45333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45338 /* end confdefs.h. */
45339 #include <math.h>
45340 #ifdef HAVE_IEEEFP_H
45341 #include <ieeefp.h>
45342 #endif
45345 main ()
45347 _fpclass(0);
45349 return 0;
45351 _ACEOF
45352 if ac_fn_cxx_try_compile "$LINENO"; then :
45353 glibcxx_cv_func__fpclass_use=yes
45354 else
45355 glibcxx_cv_func__fpclass_use=no
45357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45358 ac_ext=c
45359 ac_cpp='$CPP $CPPFLAGS'
45360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
45369 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
45371 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
45372 for ac_func in _fpclass
45373 do :
45374 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
45375 if test "x$ac_cv_func__fpclass" = x""yes; then :
45376 cat >>confdefs.h <<_ACEOF
45377 #define HAVE__FPCLASS 1
45378 _ACEOF
45381 done
45390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
45391 $as_echo_n "checking for qfpclass declaration... " >&6; }
45392 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
45393 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
45394 $as_echo_n "(cached) " >&6
45395 else
45398 ac_ext=cpp
45399 ac_cpp='$CXXCPP $CPPFLAGS'
45400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45405 /* end confdefs.h. */
45406 #include <math.h>
45407 #ifdef HAVE_IEEEFP_H
45408 #include <ieeefp.h>
45409 #endif
45412 main ()
45414 qfpclass(0);
45416 return 0;
45418 _ACEOF
45419 if ac_fn_cxx_try_compile "$LINENO"; then :
45420 glibcxx_cv_func_qfpclass_use=yes
45421 else
45422 glibcxx_cv_func_qfpclass_use=no
45424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45425 ac_ext=c
45426 ac_cpp='$CPP $CPPFLAGS'
45427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
45436 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
45438 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
45439 for ac_func in qfpclass
45440 do :
45441 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
45442 if test "x$ac_cv_func_qfpclass" = x""yes; then :
45443 cat >>confdefs.h <<_ACEOF
45444 #define HAVE_QFPCLASS 1
45445 _ACEOF
45448 done
45450 else
45452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
45453 $as_echo_n "checking for _qfpclass declaration... " >&6; }
45454 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
45455 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
45456 $as_echo_n "(cached) " >&6
45457 else
45460 ac_ext=cpp
45461 ac_cpp='$CXXCPP $CPPFLAGS'
45462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45467 /* end confdefs.h. */
45468 #include <math.h>
45469 #ifdef HAVE_IEEEFP_H
45470 #include <ieeefp.h>
45471 #endif
45474 main ()
45476 _qfpclass(0);
45478 return 0;
45480 _ACEOF
45481 if ac_fn_cxx_try_compile "$LINENO"; then :
45482 glibcxx_cv_func__qfpclass_use=yes
45483 else
45484 glibcxx_cv_func__qfpclass_use=no
45486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45487 ac_ext=c
45488 ac_cpp='$CPP $CPPFLAGS'
45489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
45498 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
45500 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
45501 for ac_func in _qfpclass
45502 do :
45503 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
45504 if test "x$ac_cv_func__qfpclass" = x""yes; then :
45505 cat >>confdefs.h <<_ACEOF
45506 #define HAVE__QFPCLASS 1
45507 _ACEOF
45510 done
45519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
45520 $as_echo_n "checking for hypot declaration... " >&6; }
45521 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
45522 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
45523 $as_echo_n "(cached) " >&6
45524 else
45527 ac_ext=cpp
45528 ac_cpp='$CXXCPP $CPPFLAGS'
45529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45534 /* end confdefs.h. */
45535 #include <math.h>
45537 main ()
45539 hypot(0, 0);
45541 return 0;
45543 _ACEOF
45544 if ac_fn_cxx_try_compile "$LINENO"; then :
45545 glibcxx_cv_func_hypot_use=yes
45546 else
45547 glibcxx_cv_func_hypot_use=no
45549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45550 ac_ext=c
45551 ac_cpp='$CPP $CPPFLAGS'
45552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
45561 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
45563 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
45564 for ac_func in hypot
45565 do :
45566 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
45567 if test "x$ac_cv_func_hypot" = x""yes; then :
45568 cat >>confdefs.h <<_ACEOF
45569 #define HAVE_HYPOT 1
45570 _ACEOF
45573 done
45575 else
45577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
45578 $as_echo_n "checking for _hypot declaration... " >&6; }
45579 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
45580 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
45581 $as_echo_n "(cached) " >&6
45582 else
45585 ac_ext=cpp
45586 ac_cpp='$CXXCPP $CPPFLAGS'
45587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45592 /* end confdefs.h. */
45593 #include <math.h>
45595 main ()
45597 _hypot(0, 0);
45599 return 0;
45601 _ACEOF
45602 if ac_fn_cxx_try_compile "$LINENO"; then :
45603 glibcxx_cv_func__hypot_use=yes
45604 else
45605 glibcxx_cv_func__hypot_use=no
45607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45608 ac_ext=c
45609 ac_cpp='$CPP $CPPFLAGS'
45610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
45619 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
45621 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
45622 for ac_func in _hypot
45623 do :
45624 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
45625 if test "x$ac_cv_func__hypot" = x""yes; then :
45626 cat >>confdefs.h <<_ACEOF
45627 #define HAVE__HYPOT 1
45628 _ACEOF
45631 done
45640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
45641 $as_echo_n "checking for float trig functions... " >&6; }
45642 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
45643 $as_echo_n "(cached) " >&6
45644 else
45647 ac_ext=cpp
45648 ac_cpp='$CXXCPP $CPPFLAGS'
45649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45654 /* end confdefs.h. */
45655 #include <math.h>
45657 main ()
45659 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
45661 return 0;
45663 _ACEOF
45664 if ac_fn_cxx_try_compile "$LINENO"; then :
45665 glibcxx_cv_func_float_trig_use=yes
45666 else
45667 glibcxx_cv_func_float_trig_use=no
45669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45670 ac_ext=c
45671 ac_cpp='$CPP $CPPFLAGS'
45672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
45679 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
45680 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
45681 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
45682 do :
45683 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45684 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45685 eval as_val=\$$as_ac_var
45686 if test "x$as_val" = x""yes; then :
45687 cat >>confdefs.h <<_ACEOF
45688 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45689 _ACEOF
45692 done
45694 else
45695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
45696 $as_echo_n "checking for _float trig functions... " >&6; }
45697 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
45698 $as_echo_n "(cached) " >&6
45699 else
45702 ac_ext=cpp
45703 ac_cpp='$CXXCPP $CPPFLAGS'
45704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45709 /* end confdefs.h. */
45710 #include <math.h>
45712 main ()
45714 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
45716 return 0;
45718 _ACEOF
45719 if ac_fn_cxx_try_compile "$LINENO"; then :
45720 glibcxx_cv_func__float_trig_use=yes
45721 else
45722 glibcxx_cv_func__float_trig_use=no
45724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45725 ac_ext=c
45726 ac_cpp='$CPP $CPPFLAGS'
45727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
45734 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
45735 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
45736 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
45737 do :
45738 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45739 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45740 eval as_val=\$$as_ac_var
45741 if test "x$as_val" = x""yes; then :
45742 cat >>confdefs.h <<_ACEOF
45743 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45744 _ACEOF
45747 done
45756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
45757 $as_echo_n "checking for float round functions... " >&6; }
45758 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
45759 $as_echo_n "(cached) " >&6
45760 else
45763 ac_ext=cpp
45764 ac_cpp='$CXXCPP $CPPFLAGS'
45765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45770 /* end confdefs.h. */
45771 #include <math.h>
45773 main ()
45775 ceilf (0); floorf (0);
45777 return 0;
45779 _ACEOF
45780 if ac_fn_cxx_try_compile "$LINENO"; then :
45781 glibcxx_cv_func_float_round_use=yes
45782 else
45783 glibcxx_cv_func_float_round_use=no
45785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45786 ac_ext=c
45787 ac_cpp='$CPP $CPPFLAGS'
45788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
45795 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
45796 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
45797 for ac_func in ceilf floorf
45798 do :
45799 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45800 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45801 eval as_val=\$$as_ac_var
45802 if test "x$as_val" = x""yes; then :
45803 cat >>confdefs.h <<_ACEOF
45804 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45805 _ACEOF
45808 done
45810 else
45811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
45812 $as_echo_n "checking for _float round functions... " >&6; }
45813 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
45814 $as_echo_n "(cached) " >&6
45815 else
45818 ac_ext=cpp
45819 ac_cpp='$CXXCPP $CPPFLAGS'
45820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45825 /* end confdefs.h. */
45826 #include <math.h>
45828 main ()
45830 _ceilf (0); _floorf (0);
45832 return 0;
45834 _ACEOF
45835 if ac_fn_cxx_try_compile "$LINENO"; then :
45836 glibcxx_cv_func__float_round_use=yes
45837 else
45838 glibcxx_cv_func__float_round_use=no
45840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45841 ac_ext=c
45842 ac_cpp='$CPP $CPPFLAGS'
45843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
45850 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
45851 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
45852 for ac_func in _ceilf _floorf
45853 do :
45854 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45855 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45856 eval as_val=\$$as_ac_var
45857 if test "x$as_val" = x""yes; then :
45858 cat >>confdefs.h <<_ACEOF
45859 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45860 _ACEOF
45863 done
45873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
45874 $as_echo_n "checking for expf declaration... " >&6; }
45875 if test x${glibcxx_cv_func_expf_use+set} != xset; then
45876 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
45877 $as_echo_n "(cached) " >&6
45878 else
45881 ac_ext=cpp
45882 ac_cpp='$CXXCPP $CPPFLAGS'
45883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45888 /* end confdefs.h. */
45889 #include <math.h>
45890 #ifdef HAVE_IEEEFP_H
45891 #include <ieeefp.h>
45892 #endif
45895 main ()
45897 expf(0);
45899 return 0;
45901 _ACEOF
45902 if ac_fn_cxx_try_compile "$LINENO"; then :
45903 glibcxx_cv_func_expf_use=yes
45904 else
45905 glibcxx_cv_func_expf_use=no
45907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45908 ac_ext=c
45909 ac_cpp='$CPP $CPPFLAGS'
45910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
45919 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
45921 if test x$glibcxx_cv_func_expf_use = x"yes"; then
45922 for ac_func in expf
45923 do :
45924 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
45925 if test "x$ac_cv_func_expf" = x""yes; then :
45926 cat >>confdefs.h <<_ACEOF
45927 #define HAVE_EXPF 1
45928 _ACEOF
45931 done
45933 else
45935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
45936 $as_echo_n "checking for _expf declaration... " >&6; }
45937 if test x${glibcxx_cv_func__expf_use+set} != xset; then
45938 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
45939 $as_echo_n "(cached) " >&6
45940 else
45943 ac_ext=cpp
45944 ac_cpp='$CXXCPP $CPPFLAGS'
45945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45950 /* end confdefs.h. */
45951 #include <math.h>
45952 #ifdef HAVE_IEEEFP_H
45953 #include <ieeefp.h>
45954 #endif
45957 main ()
45959 _expf(0);
45961 return 0;
45963 _ACEOF
45964 if ac_fn_cxx_try_compile "$LINENO"; then :
45965 glibcxx_cv_func__expf_use=yes
45966 else
45967 glibcxx_cv_func__expf_use=no
45969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45970 ac_ext=c
45971 ac_cpp='$CPP $CPPFLAGS'
45972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
45981 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
45983 if test x$glibcxx_cv_func__expf_use = x"yes"; then
45984 for ac_func in _expf
45985 do :
45986 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
45987 if test "x$ac_cv_func__expf" = x""yes; then :
45988 cat >>confdefs.h <<_ACEOF
45989 #define HAVE__EXPF 1
45990 _ACEOF
45993 done
46002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
46003 $as_echo_n "checking for isnanf declaration... " >&6; }
46004 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
46005 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
46006 $as_echo_n "(cached) " >&6
46007 else
46010 ac_ext=cpp
46011 ac_cpp='$CXXCPP $CPPFLAGS'
46012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46017 /* end confdefs.h. */
46018 #include <math.h>
46019 #ifdef HAVE_IEEEFP_H
46020 #include <ieeefp.h>
46021 #endif
46024 main ()
46026 isnanf(0);
46028 return 0;
46030 _ACEOF
46031 if ac_fn_cxx_try_compile "$LINENO"; then :
46032 glibcxx_cv_func_isnanf_use=yes
46033 else
46034 glibcxx_cv_func_isnanf_use=no
46036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46037 ac_ext=c
46038 ac_cpp='$CPP $CPPFLAGS'
46039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
46048 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
46050 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
46051 for ac_func in isnanf
46052 do :
46053 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
46054 if test "x$ac_cv_func_isnanf" = x""yes; then :
46055 cat >>confdefs.h <<_ACEOF
46056 #define HAVE_ISNANF 1
46057 _ACEOF
46060 done
46062 else
46064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
46065 $as_echo_n "checking for _isnanf declaration... " >&6; }
46066 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
46067 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
46068 $as_echo_n "(cached) " >&6
46069 else
46072 ac_ext=cpp
46073 ac_cpp='$CXXCPP $CPPFLAGS'
46074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46079 /* end confdefs.h. */
46080 #include <math.h>
46081 #ifdef HAVE_IEEEFP_H
46082 #include <ieeefp.h>
46083 #endif
46086 main ()
46088 _isnanf(0);
46090 return 0;
46092 _ACEOF
46093 if ac_fn_cxx_try_compile "$LINENO"; then :
46094 glibcxx_cv_func__isnanf_use=yes
46095 else
46096 glibcxx_cv_func__isnanf_use=no
46098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46099 ac_ext=c
46100 ac_cpp='$CPP $CPPFLAGS'
46101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
46110 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
46112 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
46113 for ac_func in _isnanf
46114 do :
46115 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
46116 if test "x$ac_cv_func__isnanf" = x""yes; then :
46117 cat >>confdefs.h <<_ACEOF
46118 #define HAVE__ISNANF 1
46119 _ACEOF
46122 done
46131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
46132 $as_echo_n "checking for isinff declaration... " >&6; }
46133 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
46134 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
46135 $as_echo_n "(cached) " >&6
46136 else
46139 ac_ext=cpp
46140 ac_cpp='$CXXCPP $CPPFLAGS'
46141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46146 /* end confdefs.h. */
46147 #include <math.h>
46148 #ifdef HAVE_IEEEFP_H
46149 #include <ieeefp.h>
46150 #endif
46153 main ()
46155 isinff(0);
46157 return 0;
46159 _ACEOF
46160 if ac_fn_cxx_try_compile "$LINENO"; then :
46161 glibcxx_cv_func_isinff_use=yes
46162 else
46163 glibcxx_cv_func_isinff_use=no
46165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46166 ac_ext=c
46167 ac_cpp='$CPP $CPPFLAGS'
46168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
46177 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
46179 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
46180 for ac_func in isinff
46181 do :
46182 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
46183 if test "x$ac_cv_func_isinff" = x""yes; then :
46184 cat >>confdefs.h <<_ACEOF
46185 #define HAVE_ISINFF 1
46186 _ACEOF
46189 done
46191 else
46193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
46194 $as_echo_n "checking for _isinff declaration... " >&6; }
46195 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
46196 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
46197 $as_echo_n "(cached) " >&6
46198 else
46201 ac_ext=cpp
46202 ac_cpp='$CXXCPP $CPPFLAGS'
46203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46208 /* end confdefs.h. */
46209 #include <math.h>
46210 #ifdef HAVE_IEEEFP_H
46211 #include <ieeefp.h>
46212 #endif
46215 main ()
46217 _isinff(0);
46219 return 0;
46221 _ACEOF
46222 if ac_fn_cxx_try_compile "$LINENO"; then :
46223 glibcxx_cv_func__isinff_use=yes
46224 else
46225 glibcxx_cv_func__isinff_use=no
46227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46228 ac_ext=c
46229 ac_cpp='$CPP $CPPFLAGS'
46230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
46239 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
46241 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
46242 for ac_func in _isinff
46243 do :
46244 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
46245 if test "x$ac_cv_func__isinff" = x""yes; then :
46246 cat >>confdefs.h <<_ACEOF
46247 #define HAVE__ISINFF 1
46248 _ACEOF
46251 done
46260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
46261 $as_echo_n "checking for atan2f declaration... " >&6; }
46262 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
46263 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
46264 $as_echo_n "(cached) " >&6
46265 else
46268 ac_ext=cpp
46269 ac_cpp='$CXXCPP $CPPFLAGS'
46270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46275 /* end confdefs.h. */
46276 #include <math.h>
46278 main ()
46280 atan2f(0, 0);
46282 return 0;
46284 _ACEOF
46285 if ac_fn_cxx_try_compile "$LINENO"; then :
46286 glibcxx_cv_func_atan2f_use=yes
46287 else
46288 glibcxx_cv_func_atan2f_use=no
46290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46291 ac_ext=c
46292 ac_cpp='$CPP $CPPFLAGS'
46293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
46302 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
46304 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
46305 for ac_func in atan2f
46306 do :
46307 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
46308 if test "x$ac_cv_func_atan2f" = x""yes; then :
46309 cat >>confdefs.h <<_ACEOF
46310 #define HAVE_ATAN2F 1
46311 _ACEOF
46314 done
46316 else
46318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
46319 $as_echo_n "checking for _atan2f declaration... " >&6; }
46320 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
46321 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
46322 $as_echo_n "(cached) " >&6
46323 else
46326 ac_ext=cpp
46327 ac_cpp='$CXXCPP $CPPFLAGS'
46328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46333 /* end confdefs.h. */
46334 #include <math.h>
46336 main ()
46338 _atan2f(0, 0);
46340 return 0;
46342 _ACEOF
46343 if ac_fn_cxx_try_compile "$LINENO"; then :
46344 glibcxx_cv_func__atan2f_use=yes
46345 else
46346 glibcxx_cv_func__atan2f_use=no
46348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46349 ac_ext=c
46350 ac_cpp='$CPP $CPPFLAGS'
46351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
46360 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
46362 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
46363 for ac_func in _atan2f
46364 do :
46365 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
46366 if test "x$ac_cv_func__atan2f" = x""yes; then :
46367 cat >>confdefs.h <<_ACEOF
46368 #define HAVE__ATAN2F 1
46369 _ACEOF
46372 done
46381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
46382 $as_echo_n "checking for fabsf declaration... " >&6; }
46383 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
46384 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
46385 $as_echo_n "(cached) " >&6
46386 else
46389 ac_ext=cpp
46390 ac_cpp='$CXXCPP $CPPFLAGS'
46391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46396 /* end confdefs.h. */
46397 #include <math.h>
46398 #ifdef HAVE_IEEEFP_H
46399 #include <ieeefp.h>
46400 #endif
46403 main ()
46405 fabsf(0);
46407 return 0;
46409 _ACEOF
46410 if ac_fn_cxx_try_compile "$LINENO"; then :
46411 glibcxx_cv_func_fabsf_use=yes
46412 else
46413 glibcxx_cv_func_fabsf_use=no
46415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46416 ac_ext=c
46417 ac_cpp='$CPP $CPPFLAGS'
46418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
46427 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
46429 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
46430 for ac_func in fabsf
46431 do :
46432 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
46433 if test "x$ac_cv_func_fabsf" = x""yes; then :
46434 cat >>confdefs.h <<_ACEOF
46435 #define HAVE_FABSF 1
46436 _ACEOF
46439 done
46441 else
46443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
46444 $as_echo_n "checking for _fabsf declaration... " >&6; }
46445 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
46446 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
46447 $as_echo_n "(cached) " >&6
46448 else
46451 ac_ext=cpp
46452 ac_cpp='$CXXCPP $CPPFLAGS'
46453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46458 /* end confdefs.h. */
46459 #include <math.h>
46460 #ifdef HAVE_IEEEFP_H
46461 #include <ieeefp.h>
46462 #endif
46465 main ()
46467 _fabsf(0);
46469 return 0;
46471 _ACEOF
46472 if ac_fn_cxx_try_compile "$LINENO"; then :
46473 glibcxx_cv_func__fabsf_use=yes
46474 else
46475 glibcxx_cv_func__fabsf_use=no
46477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46478 ac_ext=c
46479 ac_cpp='$CPP $CPPFLAGS'
46480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
46489 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
46491 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
46492 for ac_func in _fabsf
46493 do :
46494 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
46495 if test "x$ac_cv_func__fabsf" = x""yes; then :
46496 cat >>confdefs.h <<_ACEOF
46497 #define HAVE__FABSF 1
46498 _ACEOF
46501 done
46510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
46511 $as_echo_n "checking for fmodf declaration... " >&6; }
46512 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
46513 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
46514 $as_echo_n "(cached) " >&6
46515 else
46518 ac_ext=cpp
46519 ac_cpp='$CXXCPP $CPPFLAGS'
46520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46525 /* end confdefs.h. */
46526 #include <math.h>
46528 main ()
46530 fmodf(0, 0);
46532 return 0;
46534 _ACEOF
46535 if ac_fn_cxx_try_compile "$LINENO"; then :
46536 glibcxx_cv_func_fmodf_use=yes
46537 else
46538 glibcxx_cv_func_fmodf_use=no
46540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46541 ac_ext=c
46542 ac_cpp='$CPP $CPPFLAGS'
46543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
46552 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
46554 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
46555 for ac_func in fmodf
46556 do :
46557 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
46558 if test "x$ac_cv_func_fmodf" = x""yes; then :
46559 cat >>confdefs.h <<_ACEOF
46560 #define HAVE_FMODF 1
46561 _ACEOF
46564 done
46566 else
46568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
46569 $as_echo_n "checking for _fmodf declaration... " >&6; }
46570 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
46571 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
46572 $as_echo_n "(cached) " >&6
46573 else
46576 ac_ext=cpp
46577 ac_cpp='$CXXCPP $CPPFLAGS'
46578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46583 /* end confdefs.h. */
46584 #include <math.h>
46586 main ()
46588 _fmodf(0, 0);
46590 return 0;
46592 _ACEOF
46593 if ac_fn_cxx_try_compile "$LINENO"; then :
46594 glibcxx_cv_func__fmodf_use=yes
46595 else
46596 glibcxx_cv_func__fmodf_use=no
46598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46599 ac_ext=c
46600 ac_cpp='$CPP $CPPFLAGS'
46601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
46610 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
46612 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
46613 for ac_func in _fmodf
46614 do :
46615 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
46616 if test "x$ac_cv_func__fmodf" = x""yes; then :
46617 cat >>confdefs.h <<_ACEOF
46618 #define HAVE__FMODF 1
46619 _ACEOF
46622 done
46631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
46632 $as_echo_n "checking for frexpf declaration... " >&6; }
46633 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
46634 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
46635 $as_echo_n "(cached) " >&6
46636 else
46639 ac_ext=cpp
46640 ac_cpp='$CXXCPP $CPPFLAGS'
46641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46646 /* end confdefs.h. */
46647 #include <math.h>
46649 main ()
46651 frexpf(0, 0);
46653 return 0;
46655 _ACEOF
46656 if ac_fn_cxx_try_compile "$LINENO"; then :
46657 glibcxx_cv_func_frexpf_use=yes
46658 else
46659 glibcxx_cv_func_frexpf_use=no
46661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46662 ac_ext=c
46663 ac_cpp='$CPP $CPPFLAGS'
46664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
46673 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
46675 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
46676 for ac_func in frexpf
46677 do :
46678 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
46679 if test "x$ac_cv_func_frexpf" = x""yes; then :
46680 cat >>confdefs.h <<_ACEOF
46681 #define HAVE_FREXPF 1
46682 _ACEOF
46685 done
46687 else
46689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
46690 $as_echo_n "checking for _frexpf declaration... " >&6; }
46691 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
46692 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
46693 $as_echo_n "(cached) " >&6
46694 else
46697 ac_ext=cpp
46698 ac_cpp='$CXXCPP $CPPFLAGS'
46699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46704 /* end confdefs.h. */
46705 #include <math.h>
46707 main ()
46709 _frexpf(0, 0);
46711 return 0;
46713 _ACEOF
46714 if ac_fn_cxx_try_compile "$LINENO"; then :
46715 glibcxx_cv_func__frexpf_use=yes
46716 else
46717 glibcxx_cv_func__frexpf_use=no
46719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46720 ac_ext=c
46721 ac_cpp='$CPP $CPPFLAGS'
46722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
46731 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
46733 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
46734 for ac_func in _frexpf
46735 do :
46736 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
46737 if test "x$ac_cv_func__frexpf" = x""yes; then :
46738 cat >>confdefs.h <<_ACEOF
46739 #define HAVE__FREXPF 1
46740 _ACEOF
46743 done
46752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
46753 $as_echo_n "checking for hypotf declaration... " >&6; }
46754 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
46755 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
46756 $as_echo_n "(cached) " >&6
46757 else
46760 ac_ext=cpp
46761 ac_cpp='$CXXCPP $CPPFLAGS'
46762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46767 /* end confdefs.h. */
46768 #include <math.h>
46770 main ()
46772 hypotf(0, 0);
46774 return 0;
46776 _ACEOF
46777 if ac_fn_cxx_try_compile "$LINENO"; then :
46778 glibcxx_cv_func_hypotf_use=yes
46779 else
46780 glibcxx_cv_func_hypotf_use=no
46782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46783 ac_ext=c
46784 ac_cpp='$CPP $CPPFLAGS'
46785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
46794 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
46796 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
46797 for ac_func in hypotf
46798 do :
46799 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
46800 if test "x$ac_cv_func_hypotf" = x""yes; then :
46801 cat >>confdefs.h <<_ACEOF
46802 #define HAVE_HYPOTF 1
46803 _ACEOF
46806 done
46808 else
46810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
46811 $as_echo_n "checking for _hypotf declaration... " >&6; }
46812 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
46813 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
46814 $as_echo_n "(cached) " >&6
46815 else
46818 ac_ext=cpp
46819 ac_cpp='$CXXCPP $CPPFLAGS'
46820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46825 /* end confdefs.h. */
46826 #include <math.h>
46828 main ()
46830 _hypotf(0, 0);
46832 return 0;
46834 _ACEOF
46835 if ac_fn_cxx_try_compile "$LINENO"; then :
46836 glibcxx_cv_func__hypotf_use=yes
46837 else
46838 glibcxx_cv_func__hypotf_use=no
46840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46841 ac_ext=c
46842 ac_cpp='$CPP $CPPFLAGS'
46843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
46852 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
46854 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
46855 for ac_func in _hypotf
46856 do :
46857 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
46858 if test "x$ac_cv_func__hypotf" = x""yes; then :
46859 cat >>confdefs.h <<_ACEOF
46860 #define HAVE__HYPOTF 1
46861 _ACEOF
46864 done
46873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
46874 $as_echo_n "checking for ldexpf declaration... " >&6; }
46875 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
46876 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
46877 $as_echo_n "(cached) " >&6
46878 else
46881 ac_ext=cpp
46882 ac_cpp='$CXXCPP $CPPFLAGS'
46883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46888 /* end confdefs.h. */
46889 #include <math.h>
46891 main ()
46893 ldexpf(0, 0);
46895 return 0;
46897 _ACEOF
46898 if ac_fn_cxx_try_compile "$LINENO"; then :
46899 glibcxx_cv_func_ldexpf_use=yes
46900 else
46901 glibcxx_cv_func_ldexpf_use=no
46903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46904 ac_ext=c
46905 ac_cpp='$CPP $CPPFLAGS'
46906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
46915 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
46917 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
46918 for ac_func in ldexpf
46919 do :
46920 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
46921 if test "x$ac_cv_func_ldexpf" = x""yes; then :
46922 cat >>confdefs.h <<_ACEOF
46923 #define HAVE_LDEXPF 1
46924 _ACEOF
46927 done
46929 else
46931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
46932 $as_echo_n "checking for _ldexpf declaration... " >&6; }
46933 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
46934 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
46935 $as_echo_n "(cached) " >&6
46936 else
46939 ac_ext=cpp
46940 ac_cpp='$CXXCPP $CPPFLAGS'
46941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46946 /* end confdefs.h. */
46947 #include <math.h>
46949 main ()
46951 _ldexpf(0, 0);
46953 return 0;
46955 _ACEOF
46956 if ac_fn_cxx_try_compile "$LINENO"; then :
46957 glibcxx_cv_func__ldexpf_use=yes
46958 else
46959 glibcxx_cv_func__ldexpf_use=no
46961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46962 ac_ext=c
46963 ac_cpp='$CPP $CPPFLAGS'
46964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
46973 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
46975 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
46976 for ac_func in _ldexpf
46977 do :
46978 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
46979 if test "x$ac_cv_func__ldexpf" = x""yes; then :
46980 cat >>confdefs.h <<_ACEOF
46981 #define HAVE__LDEXPF 1
46982 _ACEOF
46985 done
46994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
46995 $as_echo_n "checking for logf declaration... " >&6; }
46996 if test x${glibcxx_cv_func_logf_use+set} != xset; then
46997 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
46998 $as_echo_n "(cached) " >&6
46999 else
47002 ac_ext=cpp
47003 ac_cpp='$CXXCPP $CPPFLAGS'
47004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47009 /* end confdefs.h. */
47010 #include <math.h>
47011 #ifdef HAVE_IEEEFP_H
47012 #include <ieeefp.h>
47013 #endif
47016 main ()
47018 logf(0);
47020 return 0;
47022 _ACEOF
47023 if ac_fn_cxx_try_compile "$LINENO"; then :
47024 glibcxx_cv_func_logf_use=yes
47025 else
47026 glibcxx_cv_func_logf_use=no
47028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47029 ac_ext=c
47030 ac_cpp='$CPP $CPPFLAGS'
47031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
47040 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
47042 if test x$glibcxx_cv_func_logf_use = x"yes"; then
47043 for ac_func in logf
47044 do :
47045 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
47046 if test "x$ac_cv_func_logf" = x""yes; then :
47047 cat >>confdefs.h <<_ACEOF
47048 #define HAVE_LOGF 1
47049 _ACEOF
47052 done
47054 else
47056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
47057 $as_echo_n "checking for _logf declaration... " >&6; }
47058 if test x${glibcxx_cv_func__logf_use+set} != xset; then
47059 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
47060 $as_echo_n "(cached) " >&6
47061 else
47064 ac_ext=cpp
47065 ac_cpp='$CXXCPP $CPPFLAGS'
47066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47071 /* end confdefs.h. */
47072 #include <math.h>
47073 #ifdef HAVE_IEEEFP_H
47074 #include <ieeefp.h>
47075 #endif
47078 main ()
47080 _logf(0);
47082 return 0;
47084 _ACEOF
47085 if ac_fn_cxx_try_compile "$LINENO"; then :
47086 glibcxx_cv_func__logf_use=yes
47087 else
47088 glibcxx_cv_func__logf_use=no
47090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47091 ac_ext=c
47092 ac_cpp='$CPP $CPPFLAGS'
47093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
47102 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
47104 if test x$glibcxx_cv_func__logf_use = x"yes"; then
47105 for ac_func in _logf
47106 do :
47107 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
47108 if test "x$ac_cv_func__logf" = x""yes; then :
47109 cat >>confdefs.h <<_ACEOF
47110 #define HAVE__LOGF 1
47111 _ACEOF
47114 done
47123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
47124 $as_echo_n "checking for log10f declaration... " >&6; }
47125 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
47126 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
47127 $as_echo_n "(cached) " >&6
47128 else
47131 ac_ext=cpp
47132 ac_cpp='$CXXCPP $CPPFLAGS'
47133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47138 /* end confdefs.h. */
47139 #include <math.h>
47140 #ifdef HAVE_IEEEFP_H
47141 #include <ieeefp.h>
47142 #endif
47145 main ()
47147 log10f(0);
47149 return 0;
47151 _ACEOF
47152 if ac_fn_cxx_try_compile "$LINENO"; then :
47153 glibcxx_cv_func_log10f_use=yes
47154 else
47155 glibcxx_cv_func_log10f_use=no
47157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47158 ac_ext=c
47159 ac_cpp='$CPP $CPPFLAGS'
47160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
47169 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
47171 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
47172 for ac_func in log10f
47173 do :
47174 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
47175 if test "x$ac_cv_func_log10f" = x""yes; then :
47176 cat >>confdefs.h <<_ACEOF
47177 #define HAVE_LOG10F 1
47178 _ACEOF
47181 done
47183 else
47185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
47186 $as_echo_n "checking for _log10f declaration... " >&6; }
47187 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
47188 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
47189 $as_echo_n "(cached) " >&6
47190 else
47193 ac_ext=cpp
47194 ac_cpp='$CXXCPP $CPPFLAGS'
47195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47200 /* end confdefs.h. */
47201 #include <math.h>
47202 #ifdef HAVE_IEEEFP_H
47203 #include <ieeefp.h>
47204 #endif
47207 main ()
47209 _log10f(0);
47211 return 0;
47213 _ACEOF
47214 if ac_fn_cxx_try_compile "$LINENO"; then :
47215 glibcxx_cv_func__log10f_use=yes
47216 else
47217 glibcxx_cv_func__log10f_use=no
47219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47220 ac_ext=c
47221 ac_cpp='$CPP $CPPFLAGS'
47222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
47231 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
47233 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
47234 for ac_func in _log10f
47235 do :
47236 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
47237 if test "x$ac_cv_func__log10f" = x""yes; then :
47238 cat >>confdefs.h <<_ACEOF
47239 #define HAVE__LOG10F 1
47240 _ACEOF
47243 done
47252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
47253 $as_echo_n "checking for modff declaration... " >&6; }
47254 if test x${glibcxx_cv_func_modff_use+set} != xset; then
47255 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
47256 $as_echo_n "(cached) " >&6
47257 else
47260 ac_ext=cpp
47261 ac_cpp='$CXXCPP $CPPFLAGS'
47262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47267 /* end confdefs.h. */
47268 #include <math.h>
47270 main ()
47272 modff(0, 0);
47274 return 0;
47276 _ACEOF
47277 if ac_fn_cxx_try_compile "$LINENO"; then :
47278 glibcxx_cv_func_modff_use=yes
47279 else
47280 glibcxx_cv_func_modff_use=no
47282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47283 ac_ext=c
47284 ac_cpp='$CPP $CPPFLAGS'
47285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
47294 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
47296 if test x$glibcxx_cv_func_modff_use = x"yes"; then
47297 for ac_func in modff
47298 do :
47299 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
47300 if test "x$ac_cv_func_modff" = x""yes; then :
47301 cat >>confdefs.h <<_ACEOF
47302 #define HAVE_MODFF 1
47303 _ACEOF
47306 done
47308 else
47310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
47311 $as_echo_n "checking for _modff declaration... " >&6; }
47312 if test x${glibcxx_cv_func__modff_use+set} != xset; then
47313 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
47314 $as_echo_n "(cached) " >&6
47315 else
47318 ac_ext=cpp
47319 ac_cpp='$CXXCPP $CPPFLAGS'
47320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47325 /* end confdefs.h. */
47326 #include <math.h>
47328 main ()
47330 _modff(0, 0);
47332 return 0;
47334 _ACEOF
47335 if ac_fn_cxx_try_compile "$LINENO"; then :
47336 glibcxx_cv_func__modff_use=yes
47337 else
47338 glibcxx_cv_func__modff_use=no
47340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47341 ac_ext=c
47342 ac_cpp='$CPP $CPPFLAGS'
47343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
47352 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
47354 if test x$glibcxx_cv_func__modff_use = x"yes"; then
47355 for ac_func in _modff
47356 do :
47357 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
47358 if test "x$ac_cv_func__modff" = x""yes; then :
47359 cat >>confdefs.h <<_ACEOF
47360 #define HAVE__MODFF 1
47361 _ACEOF
47364 done
47373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
47374 $as_echo_n "checking for modf declaration... " >&6; }
47375 if test x${glibcxx_cv_func_modf_use+set} != xset; then
47376 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
47377 $as_echo_n "(cached) " >&6
47378 else
47381 ac_ext=cpp
47382 ac_cpp='$CXXCPP $CPPFLAGS'
47383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47388 /* end confdefs.h. */
47389 #include <math.h>
47391 main ()
47393 modf(0, 0);
47395 return 0;
47397 _ACEOF
47398 if ac_fn_cxx_try_compile "$LINENO"; then :
47399 glibcxx_cv_func_modf_use=yes
47400 else
47401 glibcxx_cv_func_modf_use=no
47403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47404 ac_ext=c
47405 ac_cpp='$CPP $CPPFLAGS'
47406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
47415 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
47417 if test x$glibcxx_cv_func_modf_use = x"yes"; then
47418 for ac_func in modf
47419 do :
47420 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
47421 if test "x$ac_cv_func_modf" = x""yes; then :
47422 cat >>confdefs.h <<_ACEOF
47423 #define HAVE_MODF 1
47424 _ACEOF
47427 done
47429 else
47431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
47432 $as_echo_n "checking for _modf declaration... " >&6; }
47433 if test x${glibcxx_cv_func__modf_use+set} != xset; then
47434 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
47435 $as_echo_n "(cached) " >&6
47436 else
47439 ac_ext=cpp
47440 ac_cpp='$CXXCPP $CPPFLAGS'
47441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47446 /* end confdefs.h. */
47447 #include <math.h>
47449 main ()
47451 _modf(0, 0);
47453 return 0;
47455 _ACEOF
47456 if ac_fn_cxx_try_compile "$LINENO"; then :
47457 glibcxx_cv_func__modf_use=yes
47458 else
47459 glibcxx_cv_func__modf_use=no
47461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47462 ac_ext=c
47463 ac_cpp='$CPP $CPPFLAGS'
47464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
47473 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
47475 if test x$glibcxx_cv_func__modf_use = x"yes"; then
47476 for ac_func in _modf
47477 do :
47478 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
47479 if test "x$ac_cv_func__modf" = x""yes; then :
47480 cat >>confdefs.h <<_ACEOF
47481 #define HAVE__MODF 1
47482 _ACEOF
47485 done
47494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
47495 $as_echo_n "checking for powf declaration... " >&6; }
47496 if test x${glibcxx_cv_func_powf_use+set} != xset; then
47497 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
47498 $as_echo_n "(cached) " >&6
47499 else
47502 ac_ext=cpp
47503 ac_cpp='$CXXCPP $CPPFLAGS'
47504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47509 /* end confdefs.h. */
47510 #include <math.h>
47512 main ()
47514 powf(0, 0);
47516 return 0;
47518 _ACEOF
47519 if ac_fn_cxx_try_compile "$LINENO"; then :
47520 glibcxx_cv_func_powf_use=yes
47521 else
47522 glibcxx_cv_func_powf_use=no
47524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47525 ac_ext=c
47526 ac_cpp='$CPP $CPPFLAGS'
47527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
47536 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
47538 if test x$glibcxx_cv_func_powf_use = x"yes"; then
47539 for ac_func in powf
47540 do :
47541 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
47542 if test "x$ac_cv_func_powf" = x""yes; then :
47543 cat >>confdefs.h <<_ACEOF
47544 #define HAVE_POWF 1
47545 _ACEOF
47548 done
47550 else
47552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
47553 $as_echo_n "checking for _powf declaration... " >&6; }
47554 if test x${glibcxx_cv_func__powf_use+set} != xset; then
47555 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
47556 $as_echo_n "(cached) " >&6
47557 else
47560 ac_ext=cpp
47561 ac_cpp='$CXXCPP $CPPFLAGS'
47562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47567 /* end confdefs.h. */
47568 #include <math.h>
47570 main ()
47572 _powf(0, 0);
47574 return 0;
47576 _ACEOF
47577 if ac_fn_cxx_try_compile "$LINENO"; then :
47578 glibcxx_cv_func__powf_use=yes
47579 else
47580 glibcxx_cv_func__powf_use=no
47582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47583 ac_ext=c
47584 ac_cpp='$CPP $CPPFLAGS'
47585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
47594 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
47596 if test x$glibcxx_cv_func__powf_use = x"yes"; then
47597 for ac_func in _powf
47598 do :
47599 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
47600 if test "x$ac_cv_func__powf" = x""yes; then :
47601 cat >>confdefs.h <<_ACEOF
47602 #define HAVE__POWF 1
47603 _ACEOF
47606 done
47615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
47616 $as_echo_n "checking for sqrtf declaration... " >&6; }
47617 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
47618 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
47619 $as_echo_n "(cached) " >&6
47620 else
47623 ac_ext=cpp
47624 ac_cpp='$CXXCPP $CPPFLAGS'
47625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47630 /* end confdefs.h. */
47631 #include <math.h>
47632 #ifdef HAVE_IEEEFP_H
47633 #include <ieeefp.h>
47634 #endif
47637 main ()
47639 sqrtf(0);
47641 return 0;
47643 _ACEOF
47644 if ac_fn_cxx_try_compile "$LINENO"; then :
47645 glibcxx_cv_func_sqrtf_use=yes
47646 else
47647 glibcxx_cv_func_sqrtf_use=no
47649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47650 ac_ext=c
47651 ac_cpp='$CPP $CPPFLAGS'
47652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
47661 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
47663 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
47664 for ac_func in sqrtf
47665 do :
47666 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
47667 if test "x$ac_cv_func_sqrtf" = x""yes; then :
47668 cat >>confdefs.h <<_ACEOF
47669 #define HAVE_SQRTF 1
47670 _ACEOF
47673 done
47675 else
47677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
47678 $as_echo_n "checking for _sqrtf declaration... " >&6; }
47679 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
47680 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
47681 $as_echo_n "(cached) " >&6
47682 else
47685 ac_ext=cpp
47686 ac_cpp='$CXXCPP $CPPFLAGS'
47687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47692 /* end confdefs.h. */
47693 #include <math.h>
47694 #ifdef HAVE_IEEEFP_H
47695 #include <ieeefp.h>
47696 #endif
47699 main ()
47701 _sqrtf(0);
47703 return 0;
47705 _ACEOF
47706 if ac_fn_cxx_try_compile "$LINENO"; then :
47707 glibcxx_cv_func__sqrtf_use=yes
47708 else
47709 glibcxx_cv_func__sqrtf_use=no
47711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47712 ac_ext=c
47713 ac_cpp='$CPP $CPPFLAGS'
47714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
47723 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
47725 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
47726 for ac_func in _sqrtf
47727 do :
47728 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
47729 if test "x$ac_cv_func__sqrtf" = x""yes; then :
47730 cat >>confdefs.h <<_ACEOF
47731 #define HAVE__SQRTF 1
47732 _ACEOF
47735 done
47744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
47745 $as_echo_n "checking for sincosf declaration... " >&6; }
47746 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
47747 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
47748 $as_echo_n "(cached) " >&6
47749 else
47752 ac_ext=cpp
47753 ac_cpp='$CXXCPP $CPPFLAGS'
47754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47759 /* end confdefs.h. */
47760 #include <math.h>
47762 main ()
47764 sincosf(0, 0, 0);
47766 return 0;
47768 _ACEOF
47769 if ac_fn_cxx_try_compile "$LINENO"; then :
47770 glibcxx_cv_func_sincosf_use=yes
47771 else
47772 glibcxx_cv_func_sincosf_use=no
47774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47775 ac_ext=c
47776 ac_cpp='$CPP $CPPFLAGS'
47777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
47786 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
47788 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
47789 for ac_func in sincosf
47790 do :
47791 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
47792 if test "x$ac_cv_func_sincosf" = x""yes; then :
47793 cat >>confdefs.h <<_ACEOF
47794 #define HAVE_SINCOSF 1
47795 _ACEOF
47798 done
47800 else
47802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
47803 $as_echo_n "checking for _sincosf declaration... " >&6; }
47804 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
47805 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
47806 $as_echo_n "(cached) " >&6
47807 else
47810 ac_ext=cpp
47811 ac_cpp='$CXXCPP $CPPFLAGS'
47812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47817 /* end confdefs.h. */
47818 #include <math.h>
47820 main ()
47822 _sincosf(0, 0, 0);
47824 return 0;
47826 _ACEOF
47827 if ac_fn_cxx_try_compile "$LINENO"; then :
47828 glibcxx_cv_func__sincosf_use=yes
47829 else
47830 glibcxx_cv_func__sincosf_use=no
47832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47833 ac_ext=c
47834 ac_cpp='$CPP $CPPFLAGS'
47835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
47844 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
47846 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
47847 for ac_func in _sincosf
47848 do :
47849 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
47850 if test "x$ac_cv_func__sincosf" = x""yes; then :
47851 cat >>confdefs.h <<_ACEOF
47852 #define HAVE__SINCOSF 1
47853 _ACEOF
47856 done
47865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
47866 $as_echo_n "checking for finitef declaration... " >&6; }
47867 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
47868 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
47869 $as_echo_n "(cached) " >&6
47870 else
47873 ac_ext=cpp
47874 ac_cpp='$CXXCPP $CPPFLAGS'
47875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47880 /* end confdefs.h. */
47881 #include <math.h>
47882 #ifdef HAVE_IEEEFP_H
47883 #include <ieeefp.h>
47884 #endif
47887 main ()
47889 finitef(0);
47891 return 0;
47893 _ACEOF
47894 if ac_fn_cxx_try_compile "$LINENO"; then :
47895 glibcxx_cv_func_finitef_use=yes
47896 else
47897 glibcxx_cv_func_finitef_use=no
47899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47900 ac_ext=c
47901 ac_cpp='$CPP $CPPFLAGS'
47902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
47911 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
47913 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
47914 for ac_func in finitef
47915 do :
47916 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
47917 if test "x$ac_cv_func_finitef" = x""yes; then :
47918 cat >>confdefs.h <<_ACEOF
47919 #define HAVE_FINITEF 1
47920 _ACEOF
47923 done
47925 else
47927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
47928 $as_echo_n "checking for _finitef declaration... " >&6; }
47929 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
47930 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
47931 $as_echo_n "(cached) " >&6
47932 else
47935 ac_ext=cpp
47936 ac_cpp='$CXXCPP $CPPFLAGS'
47937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47942 /* end confdefs.h. */
47943 #include <math.h>
47944 #ifdef HAVE_IEEEFP_H
47945 #include <ieeefp.h>
47946 #endif
47949 main ()
47951 _finitef(0);
47953 return 0;
47955 _ACEOF
47956 if ac_fn_cxx_try_compile "$LINENO"; then :
47957 glibcxx_cv_func__finitef_use=yes
47958 else
47959 glibcxx_cv_func__finitef_use=no
47961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47962 ac_ext=c
47963 ac_cpp='$CPP $CPPFLAGS'
47964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
47973 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
47975 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
47976 for ac_func in _finitef
47977 do :
47978 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
47979 if test "x$ac_cv_func__finitef" = x""yes; then :
47980 cat >>confdefs.h <<_ACEOF
47981 #define HAVE__FINITEF 1
47982 _ACEOF
47985 done
47994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
47995 $as_echo_n "checking for long double trig functions... " >&6; }
47996 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
47997 $as_echo_n "(cached) " >&6
47998 else
48001 ac_ext=cpp
48002 ac_cpp='$CXXCPP $CPPFLAGS'
48003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48008 /* end confdefs.h. */
48009 #include <math.h>
48011 main ()
48013 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
48015 return 0;
48017 _ACEOF
48018 if ac_fn_cxx_try_compile "$LINENO"; then :
48019 glibcxx_cv_func_long_double_trig_use=yes
48020 else
48021 glibcxx_cv_func_long_double_trig_use=no
48023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48024 ac_ext=c
48025 ac_cpp='$CPP $CPPFLAGS'
48026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
48033 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
48034 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
48035 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
48036 do :
48037 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48038 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48039 eval as_val=\$$as_ac_var
48040 if test "x$as_val" = x""yes; then :
48041 cat >>confdefs.h <<_ACEOF
48042 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48043 _ACEOF
48046 done
48048 else
48049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
48050 $as_echo_n "checking for _long double trig functions... " >&6; }
48051 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
48052 $as_echo_n "(cached) " >&6
48053 else
48056 ac_ext=cpp
48057 ac_cpp='$CXXCPP $CPPFLAGS'
48058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48063 /* end confdefs.h. */
48064 #include <math.h>
48066 main ()
48068 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
48070 return 0;
48072 _ACEOF
48073 if ac_fn_cxx_try_compile "$LINENO"; then :
48074 glibcxx_cv_func__long_double_trig_use=yes
48075 else
48076 glibcxx_cv_func__long_double_trig_use=no
48078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48079 ac_ext=c
48080 ac_cpp='$CPP $CPPFLAGS'
48081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
48088 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
48089 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
48090 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
48091 do :
48092 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48093 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48094 eval as_val=\$$as_ac_var
48095 if test "x$as_val" = x""yes; then :
48096 cat >>confdefs.h <<_ACEOF
48097 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48098 _ACEOF
48101 done
48110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
48111 $as_echo_n "checking for long double round functions... " >&6; }
48112 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
48113 $as_echo_n "(cached) " >&6
48114 else
48117 ac_ext=cpp
48118 ac_cpp='$CXXCPP $CPPFLAGS'
48119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48124 /* end confdefs.h. */
48125 #include <math.h>
48127 main ()
48129 ceill (0); floorl (0);
48131 return 0;
48133 _ACEOF
48134 if ac_fn_cxx_try_compile "$LINENO"; then :
48135 glibcxx_cv_func_long_double_round_use=yes
48136 else
48137 glibcxx_cv_func_long_double_round_use=no
48139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48140 ac_ext=c
48141 ac_cpp='$CPP $CPPFLAGS'
48142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
48149 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
48150 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
48151 for ac_func in ceill floorl
48152 do :
48153 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48154 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48155 eval as_val=\$$as_ac_var
48156 if test "x$as_val" = x""yes; then :
48157 cat >>confdefs.h <<_ACEOF
48158 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48159 _ACEOF
48162 done
48164 else
48165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
48166 $as_echo_n "checking for _long double round functions... " >&6; }
48167 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
48168 $as_echo_n "(cached) " >&6
48169 else
48172 ac_ext=cpp
48173 ac_cpp='$CXXCPP $CPPFLAGS'
48174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48179 /* end confdefs.h. */
48180 #include <math.h>
48182 main ()
48184 _ceill (0); _floorl (0);
48186 return 0;
48188 _ACEOF
48189 if ac_fn_cxx_try_compile "$LINENO"; then :
48190 glibcxx_cv_func__long_double_round_use=yes
48191 else
48192 glibcxx_cv_func__long_double_round_use=no
48194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48195 ac_ext=c
48196 ac_cpp='$CPP $CPPFLAGS'
48197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
48204 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
48205 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
48206 for ac_func in _ceill _floorl
48207 do :
48208 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48209 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48210 eval as_val=\$$as_ac_var
48211 if test "x$as_val" = x""yes; then :
48212 cat >>confdefs.h <<_ACEOF
48213 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48214 _ACEOF
48217 done
48227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
48228 $as_echo_n "checking for isnanl declaration... " >&6; }
48229 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
48230 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
48231 $as_echo_n "(cached) " >&6
48232 else
48235 ac_ext=cpp
48236 ac_cpp='$CXXCPP $CPPFLAGS'
48237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48242 /* end confdefs.h. */
48243 #include <math.h>
48244 #ifdef HAVE_IEEEFP_H
48245 #include <ieeefp.h>
48246 #endif
48249 main ()
48251 isnanl(0);
48253 return 0;
48255 _ACEOF
48256 if ac_fn_cxx_try_compile "$LINENO"; then :
48257 glibcxx_cv_func_isnanl_use=yes
48258 else
48259 glibcxx_cv_func_isnanl_use=no
48261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48262 ac_ext=c
48263 ac_cpp='$CPP $CPPFLAGS'
48264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
48273 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
48275 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
48276 for ac_func in isnanl
48277 do :
48278 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
48279 if test "x$ac_cv_func_isnanl" = x""yes; then :
48280 cat >>confdefs.h <<_ACEOF
48281 #define HAVE_ISNANL 1
48282 _ACEOF
48285 done
48287 else
48289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
48290 $as_echo_n "checking for _isnanl declaration... " >&6; }
48291 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
48292 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
48293 $as_echo_n "(cached) " >&6
48294 else
48297 ac_ext=cpp
48298 ac_cpp='$CXXCPP $CPPFLAGS'
48299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48304 /* end confdefs.h. */
48305 #include <math.h>
48306 #ifdef HAVE_IEEEFP_H
48307 #include <ieeefp.h>
48308 #endif
48311 main ()
48313 _isnanl(0);
48315 return 0;
48317 _ACEOF
48318 if ac_fn_cxx_try_compile "$LINENO"; then :
48319 glibcxx_cv_func__isnanl_use=yes
48320 else
48321 glibcxx_cv_func__isnanl_use=no
48323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48324 ac_ext=c
48325 ac_cpp='$CPP $CPPFLAGS'
48326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
48335 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
48337 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
48338 for ac_func in _isnanl
48339 do :
48340 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
48341 if test "x$ac_cv_func__isnanl" = x""yes; then :
48342 cat >>confdefs.h <<_ACEOF
48343 #define HAVE__ISNANL 1
48344 _ACEOF
48347 done
48356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
48357 $as_echo_n "checking for isinfl declaration... " >&6; }
48358 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
48359 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
48360 $as_echo_n "(cached) " >&6
48361 else
48364 ac_ext=cpp
48365 ac_cpp='$CXXCPP $CPPFLAGS'
48366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48371 /* end confdefs.h. */
48372 #include <math.h>
48373 #ifdef HAVE_IEEEFP_H
48374 #include <ieeefp.h>
48375 #endif
48378 main ()
48380 isinfl(0);
48382 return 0;
48384 _ACEOF
48385 if ac_fn_cxx_try_compile "$LINENO"; then :
48386 glibcxx_cv_func_isinfl_use=yes
48387 else
48388 glibcxx_cv_func_isinfl_use=no
48390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48391 ac_ext=c
48392 ac_cpp='$CPP $CPPFLAGS'
48393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
48402 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
48404 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
48405 for ac_func in isinfl
48406 do :
48407 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
48408 if test "x$ac_cv_func_isinfl" = x""yes; then :
48409 cat >>confdefs.h <<_ACEOF
48410 #define HAVE_ISINFL 1
48411 _ACEOF
48414 done
48416 else
48418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
48419 $as_echo_n "checking for _isinfl declaration... " >&6; }
48420 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
48421 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
48422 $as_echo_n "(cached) " >&6
48423 else
48426 ac_ext=cpp
48427 ac_cpp='$CXXCPP $CPPFLAGS'
48428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48433 /* end confdefs.h. */
48434 #include <math.h>
48435 #ifdef HAVE_IEEEFP_H
48436 #include <ieeefp.h>
48437 #endif
48440 main ()
48442 _isinfl(0);
48444 return 0;
48446 _ACEOF
48447 if ac_fn_cxx_try_compile "$LINENO"; then :
48448 glibcxx_cv_func__isinfl_use=yes
48449 else
48450 glibcxx_cv_func__isinfl_use=no
48452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48453 ac_ext=c
48454 ac_cpp='$CPP $CPPFLAGS'
48455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
48464 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
48466 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
48467 for ac_func in _isinfl
48468 do :
48469 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
48470 if test "x$ac_cv_func__isinfl" = x""yes; then :
48471 cat >>confdefs.h <<_ACEOF
48472 #define HAVE__ISINFL 1
48473 _ACEOF
48476 done
48485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
48486 $as_echo_n "checking for atan2l declaration... " >&6; }
48487 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
48488 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
48489 $as_echo_n "(cached) " >&6
48490 else
48493 ac_ext=cpp
48494 ac_cpp='$CXXCPP $CPPFLAGS'
48495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48500 /* end confdefs.h. */
48501 #include <math.h>
48503 main ()
48505 atan2l(0, 0);
48507 return 0;
48509 _ACEOF
48510 if ac_fn_cxx_try_compile "$LINENO"; then :
48511 glibcxx_cv_func_atan2l_use=yes
48512 else
48513 glibcxx_cv_func_atan2l_use=no
48515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48516 ac_ext=c
48517 ac_cpp='$CPP $CPPFLAGS'
48518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
48527 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
48529 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
48530 for ac_func in atan2l
48531 do :
48532 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
48533 if test "x$ac_cv_func_atan2l" = x""yes; then :
48534 cat >>confdefs.h <<_ACEOF
48535 #define HAVE_ATAN2L 1
48536 _ACEOF
48539 done
48541 else
48543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
48544 $as_echo_n "checking for _atan2l declaration... " >&6; }
48545 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
48546 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
48547 $as_echo_n "(cached) " >&6
48548 else
48551 ac_ext=cpp
48552 ac_cpp='$CXXCPP $CPPFLAGS'
48553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48558 /* end confdefs.h. */
48559 #include <math.h>
48561 main ()
48563 _atan2l(0, 0);
48565 return 0;
48567 _ACEOF
48568 if ac_fn_cxx_try_compile "$LINENO"; then :
48569 glibcxx_cv_func__atan2l_use=yes
48570 else
48571 glibcxx_cv_func__atan2l_use=no
48573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48574 ac_ext=c
48575 ac_cpp='$CPP $CPPFLAGS'
48576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
48585 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
48587 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
48588 for ac_func in _atan2l
48589 do :
48590 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
48591 if test "x$ac_cv_func__atan2l" = x""yes; then :
48592 cat >>confdefs.h <<_ACEOF
48593 #define HAVE__ATAN2L 1
48594 _ACEOF
48597 done
48606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
48607 $as_echo_n "checking for expl declaration... " >&6; }
48608 if test x${glibcxx_cv_func_expl_use+set} != xset; then
48609 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
48610 $as_echo_n "(cached) " >&6
48611 else
48614 ac_ext=cpp
48615 ac_cpp='$CXXCPP $CPPFLAGS'
48616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48621 /* end confdefs.h. */
48622 #include <math.h>
48623 #ifdef HAVE_IEEEFP_H
48624 #include <ieeefp.h>
48625 #endif
48628 main ()
48630 expl(0);
48632 return 0;
48634 _ACEOF
48635 if ac_fn_cxx_try_compile "$LINENO"; then :
48636 glibcxx_cv_func_expl_use=yes
48637 else
48638 glibcxx_cv_func_expl_use=no
48640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48641 ac_ext=c
48642 ac_cpp='$CPP $CPPFLAGS'
48643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
48652 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
48654 if test x$glibcxx_cv_func_expl_use = x"yes"; then
48655 for ac_func in expl
48656 do :
48657 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
48658 if test "x$ac_cv_func_expl" = x""yes; then :
48659 cat >>confdefs.h <<_ACEOF
48660 #define HAVE_EXPL 1
48661 _ACEOF
48664 done
48666 else
48668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
48669 $as_echo_n "checking for _expl declaration... " >&6; }
48670 if test x${glibcxx_cv_func__expl_use+set} != xset; then
48671 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
48672 $as_echo_n "(cached) " >&6
48673 else
48676 ac_ext=cpp
48677 ac_cpp='$CXXCPP $CPPFLAGS'
48678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48683 /* end confdefs.h. */
48684 #include <math.h>
48685 #ifdef HAVE_IEEEFP_H
48686 #include <ieeefp.h>
48687 #endif
48690 main ()
48692 _expl(0);
48694 return 0;
48696 _ACEOF
48697 if ac_fn_cxx_try_compile "$LINENO"; then :
48698 glibcxx_cv_func__expl_use=yes
48699 else
48700 glibcxx_cv_func__expl_use=no
48702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48703 ac_ext=c
48704 ac_cpp='$CPP $CPPFLAGS'
48705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
48714 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
48716 if test x$glibcxx_cv_func__expl_use = x"yes"; then
48717 for ac_func in _expl
48718 do :
48719 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
48720 if test "x$ac_cv_func__expl" = x""yes; then :
48721 cat >>confdefs.h <<_ACEOF
48722 #define HAVE__EXPL 1
48723 _ACEOF
48726 done
48735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
48736 $as_echo_n "checking for fabsl declaration... " >&6; }
48737 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
48738 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
48739 $as_echo_n "(cached) " >&6
48740 else
48743 ac_ext=cpp
48744 ac_cpp='$CXXCPP $CPPFLAGS'
48745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48750 /* end confdefs.h. */
48751 #include <math.h>
48752 #ifdef HAVE_IEEEFP_H
48753 #include <ieeefp.h>
48754 #endif
48757 main ()
48759 fabsl(0);
48761 return 0;
48763 _ACEOF
48764 if ac_fn_cxx_try_compile "$LINENO"; then :
48765 glibcxx_cv_func_fabsl_use=yes
48766 else
48767 glibcxx_cv_func_fabsl_use=no
48769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48770 ac_ext=c
48771 ac_cpp='$CPP $CPPFLAGS'
48772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
48781 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
48783 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
48784 for ac_func in fabsl
48785 do :
48786 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
48787 if test "x$ac_cv_func_fabsl" = x""yes; then :
48788 cat >>confdefs.h <<_ACEOF
48789 #define HAVE_FABSL 1
48790 _ACEOF
48793 done
48795 else
48797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
48798 $as_echo_n "checking for _fabsl declaration... " >&6; }
48799 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
48800 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
48801 $as_echo_n "(cached) " >&6
48802 else
48805 ac_ext=cpp
48806 ac_cpp='$CXXCPP $CPPFLAGS'
48807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48812 /* end confdefs.h. */
48813 #include <math.h>
48814 #ifdef HAVE_IEEEFP_H
48815 #include <ieeefp.h>
48816 #endif
48819 main ()
48821 _fabsl(0);
48823 return 0;
48825 _ACEOF
48826 if ac_fn_cxx_try_compile "$LINENO"; then :
48827 glibcxx_cv_func__fabsl_use=yes
48828 else
48829 glibcxx_cv_func__fabsl_use=no
48831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48832 ac_ext=c
48833 ac_cpp='$CPP $CPPFLAGS'
48834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
48843 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
48845 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
48846 for ac_func in _fabsl
48847 do :
48848 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
48849 if test "x$ac_cv_func__fabsl" = x""yes; then :
48850 cat >>confdefs.h <<_ACEOF
48851 #define HAVE__FABSL 1
48852 _ACEOF
48855 done
48864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
48865 $as_echo_n "checking for fmodl declaration... " >&6; }
48866 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
48867 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
48868 $as_echo_n "(cached) " >&6
48869 else
48872 ac_ext=cpp
48873 ac_cpp='$CXXCPP $CPPFLAGS'
48874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48879 /* end confdefs.h. */
48880 #include <math.h>
48882 main ()
48884 fmodl(0, 0);
48886 return 0;
48888 _ACEOF
48889 if ac_fn_cxx_try_compile "$LINENO"; then :
48890 glibcxx_cv_func_fmodl_use=yes
48891 else
48892 glibcxx_cv_func_fmodl_use=no
48894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48895 ac_ext=c
48896 ac_cpp='$CPP $CPPFLAGS'
48897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
48906 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
48908 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
48909 for ac_func in fmodl
48910 do :
48911 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
48912 if test "x$ac_cv_func_fmodl" = x""yes; then :
48913 cat >>confdefs.h <<_ACEOF
48914 #define HAVE_FMODL 1
48915 _ACEOF
48918 done
48920 else
48922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
48923 $as_echo_n "checking for _fmodl declaration... " >&6; }
48924 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
48925 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
48926 $as_echo_n "(cached) " >&6
48927 else
48930 ac_ext=cpp
48931 ac_cpp='$CXXCPP $CPPFLAGS'
48932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48937 /* end confdefs.h. */
48938 #include <math.h>
48940 main ()
48942 _fmodl(0, 0);
48944 return 0;
48946 _ACEOF
48947 if ac_fn_cxx_try_compile "$LINENO"; then :
48948 glibcxx_cv_func__fmodl_use=yes
48949 else
48950 glibcxx_cv_func__fmodl_use=no
48952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48953 ac_ext=c
48954 ac_cpp='$CPP $CPPFLAGS'
48955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
48964 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
48966 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
48967 for ac_func in _fmodl
48968 do :
48969 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
48970 if test "x$ac_cv_func__fmodl" = x""yes; then :
48971 cat >>confdefs.h <<_ACEOF
48972 #define HAVE__FMODL 1
48973 _ACEOF
48976 done
48985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
48986 $as_echo_n "checking for frexpl declaration... " >&6; }
48987 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
48988 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
48989 $as_echo_n "(cached) " >&6
48990 else
48993 ac_ext=cpp
48994 ac_cpp='$CXXCPP $CPPFLAGS'
48995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49000 /* end confdefs.h. */
49001 #include <math.h>
49003 main ()
49005 frexpl(0, 0);
49007 return 0;
49009 _ACEOF
49010 if ac_fn_cxx_try_compile "$LINENO"; then :
49011 glibcxx_cv_func_frexpl_use=yes
49012 else
49013 glibcxx_cv_func_frexpl_use=no
49015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49016 ac_ext=c
49017 ac_cpp='$CPP $CPPFLAGS'
49018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
49027 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
49029 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
49030 for ac_func in frexpl
49031 do :
49032 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
49033 if test "x$ac_cv_func_frexpl" = x""yes; then :
49034 cat >>confdefs.h <<_ACEOF
49035 #define HAVE_FREXPL 1
49036 _ACEOF
49039 done
49041 else
49043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
49044 $as_echo_n "checking for _frexpl declaration... " >&6; }
49045 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
49046 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
49047 $as_echo_n "(cached) " >&6
49048 else
49051 ac_ext=cpp
49052 ac_cpp='$CXXCPP $CPPFLAGS'
49053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49058 /* end confdefs.h. */
49059 #include <math.h>
49061 main ()
49063 _frexpl(0, 0);
49065 return 0;
49067 _ACEOF
49068 if ac_fn_cxx_try_compile "$LINENO"; then :
49069 glibcxx_cv_func__frexpl_use=yes
49070 else
49071 glibcxx_cv_func__frexpl_use=no
49073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49074 ac_ext=c
49075 ac_cpp='$CPP $CPPFLAGS'
49076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
49085 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
49087 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
49088 for ac_func in _frexpl
49089 do :
49090 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
49091 if test "x$ac_cv_func__frexpl" = x""yes; then :
49092 cat >>confdefs.h <<_ACEOF
49093 #define HAVE__FREXPL 1
49094 _ACEOF
49097 done
49106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
49107 $as_echo_n "checking for hypotl declaration... " >&6; }
49108 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
49109 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
49110 $as_echo_n "(cached) " >&6
49111 else
49114 ac_ext=cpp
49115 ac_cpp='$CXXCPP $CPPFLAGS'
49116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49121 /* end confdefs.h. */
49122 #include <math.h>
49124 main ()
49126 hypotl(0, 0);
49128 return 0;
49130 _ACEOF
49131 if ac_fn_cxx_try_compile "$LINENO"; then :
49132 glibcxx_cv_func_hypotl_use=yes
49133 else
49134 glibcxx_cv_func_hypotl_use=no
49136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49137 ac_ext=c
49138 ac_cpp='$CPP $CPPFLAGS'
49139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
49148 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
49150 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
49151 for ac_func in hypotl
49152 do :
49153 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
49154 if test "x$ac_cv_func_hypotl" = x""yes; then :
49155 cat >>confdefs.h <<_ACEOF
49156 #define HAVE_HYPOTL 1
49157 _ACEOF
49160 done
49162 else
49164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
49165 $as_echo_n "checking for _hypotl declaration... " >&6; }
49166 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
49167 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
49168 $as_echo_n "(cached) " >&6
49169 else
49172 ac_ext=cpp
49173 ac_cpp='$CXXCPP $CPPFLAGS'
49174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49179 /* end confdefs.h. */
49180 #include <math.h>
49182 main ()
49184 _hypotl(0, 0);
49186 return 0;
49188 _ACEOF
49189 if ac_fn_cxx_try_compile "$LINENO"; then :
49190 glibcxx_cv_func__hypotl_use=yes
49191 else
49192 glibcxx_cv_func__hypotl_use=no
49194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49195 ac_ext=c
49196 ac_cpp='$CPP $CPPFLAGS'
49197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
49206 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
49208 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
49209 for ac_func in _hypotl
49210 do :
49211 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
49212 if test "x$ac_cv_func__hypotl" = x""yes; then :
49213 cat >>confdefs.h <<_ACEOF
49214 #define HAVE__HYPOTL 1
49215 _ACEOF
49218 done
49227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
49228 $as_echo_n "checking for ldexpl declaration... " >&6; }
49229 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
49230 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
49231 $as_echo_n "(cached) " >&6
49232 else
49235 ac_ext=cpp
49236 ac_cpp='$CXXCPP $CPPFLAGS'
49237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49242 /* end confdefs.h. */
49243 #include <math.h>
49245 main ()
49247 ldexpl(0, 0);
49249 return 0;
49251 _ACEOF
49252 if ac_fn_cxx_try_compile "$LINENO"; then :
49253 glibcxx_cv_func_ldexpl_use=yes
49254 else
49255 glibcxx_cv_func_ldexpl_use=no
49257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49258 ac_ext=c
49259 ac_cpp='$CPP $CPPFLAGS'
49260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
49269 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
49271 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
49272 for ac_func in ldexpl
49273 do :
49274 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
49275 if test "x$ac_cv_func_ldexpl" = x""yes; then :
49276 cat >>confdefs.h <<_ACEOF
49277 #define HAVE_LDEXPL 1
49278 _ACEOF
49281 done
49283 else
49285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
49286 $as_echo_n "checking for _ldexpl declaration... " >&6; }
49287 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
49288 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
49289 $as_echo_n "(cached) " >&6
49290 else
49293 ac_ext=cpp
49294 ac_cpp='$CXXCPP $CPPFLAGS'
49295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49300 /* end confdefs.h. */
49301 #include <math.h>
49303 main ()
49305 _ldexpl(0, 0);
49307 return 0;
49309 _ACEOF
49310 if ac_fn_cxx_try_compile "$LINENO"; then :
49311 glibcxx_cv_func__ldexpl_use=yes
49312 else
49313 glibcxx_cv_func__ldexpl_use=no
49315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49316 ac_ext=c
49317 ac_cpp='$CPP $CPPFLAGS'
49318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
49327 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
49329 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
49330 for ac_func in _ldexpl
49331 do :
49332 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
49333 if test "x$ac_cv_func__ldexpl" = x""yes; then :
49334 cat >>confdefs.h <<_ACEOF
49335 #define HAVE__LDEXPL 1
49336 _ACEOF
49339 done
49348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
49349 $as_echo_n "checking for logl declaration... " >&6; }
49350 if test x${glibcxx_cv_func_logl_use+set} != xset; then
49351 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
49352 $as_echo_n "(cached) " >&6
49353 else
49356 ac_ext=cpp
49357 ac_cpp='$CXXCPP $CPPFLAGS'
49358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49363 /* end confdefs.h. */
49364 #include <math.h>
49365 #ifdef HAVE_IEEEFP_H
49366 #include <ieeefp.h>
49367 #endif
49370 main ()
49372 logl(0);
49374 return 0;
49376 _ACEOF
49377 if ac_fn_cxx_try_compile "$LINENO"; then :
49378 glibcxx_cv_func_logl_use=yes
49379 else
49380 glibcxx_cv_func_logl_use=no
49382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49383 ac_ext=c
49384 ac_cpp='$CPP $CPPFLAGS'
49385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
49394 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
49396 if test x$glibcxx_cv_func_logl_use = x"yes"; then
49397 for ac_func in logl
49398 do :
49399 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
49400 if test "x$ac_cv_func_logl" = x""yes; then :
49401 cat >>confdefs.h <<_ACEOF
49402 #define HAVE_LOGL 1
49403 _ACEOF
49406 done
49408 else
49410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
49411 $as_echo_n "checking for _logl declaration... " >&6; }
49412 if test x${glibcxx_cv_func__logl_use+set} != xset; then
49413 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
49414 $as_echo_n "(cached) " >&6
49415 else
49418 ac_ext=cpp
49419 ac_cpp='$CXXCPP $CPPFLAGS'
49420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49425 /* end confdefs.h. */
49426 #include <math.h>
49427 #ifdef HAVE_IEEEFP_H
49428 #include <ieeefp.h>
49429 #endif
49432 main ()
49434 _logl(0);
49436 return 0;
49438 _ACEOF
49439 if ac_fn_cxx_try_compile "$LINENO"; then :
49440 glibcxx_cv_func__logl_use=yes
49441 else
49442 glibcxx_cv_func__logl_use=no
49444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49445 ac_ext=c
49446 ac_cpp='$CPP $CPPFLAGS'
49447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
49456 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
49458 if test x$glibcxx_cv_func__logl_use = x"yes"; then
49459 for ac_func in _logl
49460 do :
49461 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
49462 if test "x$ac_cv_func__logl" = x""yes; then :
49463 cat >>confdefs.h <<_ACEOF
49464 #define HAVE__LOGL 1
49465 _ACEOF
49468 done
49477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
49478 $as_echo_n "checking for log10l declaration... " >&6; }
49479 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
49480 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
49481 $as_echo_n "(cached) " >&6
49482 else
49485 ac_ext=cpp
49486 ac_cpp='$CXXCPP $CPPFLAGS'
49487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49492 /* end confdefs.h. */
49493 #include <math.h>
49494 #ifdef HAVE_IEEEFP_H
49495 #include <ieeefp.h>
49496 #endif
49499 main ()
49501 log10l(0);
49503 return 0;
49505 _ACEOF
49506 if ac_fn_cxx_try_compile "$LINENO"; then :
49507 glibcxx_cv_func_log10l_use=yes
49508 else
49509 glibcxx_cv_func_log10l_use=no
49511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49512 ac_ext=c
49513 ac_cpp='$CPP $CPPFLAGS'
49514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
49523 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
49525 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
49526 for ac_func in log10l
49527 do :
49528 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
49529 if test "x$ac_cv_func_log10l" = x""yes; then :
49530 cat >>confdefs.h <<_ACEOF
49531 #define HAVE_LOG10L 1
49532 _ACEOF
49535 done
49537 else
49539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
49540 $as_echo_n "checking for _log10l declaration... " >&6; }
49541 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
49542 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
49543 $as_echo_n "(cached) " >&6
49544 else
49547 ac_ext=cpp
49548 ac_cpp='$CXXCPP $CPPFLAGS'
49549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49554 /* end confdefs.h. */
49555 #include <math.h>
49556 #ifdef HAVE_IEEEFP_H
49557 #include <ieeefp.h>
49558 #endif
49561 main ()
49563 _log10l(0);
49565 return 0;
49567 _ACEOF
49568 if ac_fn_cxx_try_compile "$LINENO"; then :
49569 glibcxx_cv_func__log10l_use=yes
49570 else
49571 glibcxx_cv_func__log10l_use=no
49573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49574 ac_ext=c
49575 ac_cpp='$CPP $CPPFLAGS'
49576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
49585 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
49587 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
49588 for ac_func in _log10l
49589 do :
49590 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
49591 if test "x$ac_cv_func__log10l" = x""yes; then :
49592 cat >>confdefs.h <<_ACEOF
49593 #define HAVE__LOG10L 1
49594 _ACEOF
49597 done
49606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
49607 $as_echo_n "checking for modfl declaration... " >&6; }
49608 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
49609 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
49610 $as_echo_n "(cached) " >&6
49611 else
49614 ac_ext=cpp
49615 ac_cpp='$CXXCPP $CPPFLAGS'
49616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49621 /* end confdefs.h. */
49622 #include <math.h>
49624 main ()
49626 modfl(0, 0);
49628 return 0;
49630 _ACEOF
49631 if ac_fn_cxx_try_compile "$LINENO"; then :
49632 glibcxx_cv_func_modfl_use=yes
49633 else
49634 glibcxx_cv_func_modfl_use=no
49636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49637 ac_ext=c
49638 ac_cpp='$CPP $CPPFLAGS'
49639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
49648 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
49650 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
49651 for ac_func in modfl
49652 do :
49653 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
49654 if test "x$ac_cv_func_modfl" = x""yes; then :
49655 cat >>confdefs.h <<_ACEOF
49656 #define HAVE_MODFL 1
49657 _ACEOF
49660 done
49662 else
49664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
49665 $as_echo_n "checking for _modfl declaration... " >&6; }
49666 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
49667 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
49668 $as_echo_n "(cached) " >&6
49669 else
49672 ac_ext=cpp
49673 ac_cpp='$CXXCPP $CPPFLAGS'
49674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49679 /* end confdefs.h. */
49680 #include <math.h>
49682 main ()
49684 _modfl(0, 0);
49686 return 0;
49688 _ACEOF
49689 if ac_fn_cxx_try_compile "$LINENO"; then :
49690 glibcxx_cv_func__modfl_use=yes
49691 else
49692 glibcxx_cv_func__modfl_use=no
49694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49695 ac_ext=c
49696 ac_cpp='$CPP $CPPFLAGS'
49697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
49706 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
49708 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
49709 for ac_func in _modfl
49710 do :
49711 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
49712 if test "x$ac_cv_func__modfl" = x""yes; then :
49713 cat >>confdefs.h <<_ACEOF
49714 #define HAVE__MODFL 1
49715 _ACEOF
49718 done
49727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
49728 $as_echo_n "checking for powl declaration... " >&6; }
49729 if test x${glibcxx_cv_func_powl_use+set} != xset; then
49730 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
49731 $as_echo_n "(cached) " >&6
49732 else
49735 ac_ext=cpp
49736 ac_cpp='$CXXCPP $CPPFLAGS'
49737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49742 /* end confdefs.h. */
49743 #include <math.h>
49745 main ()
49747 powl(0, 0);
49749 return 0;
49751 _ACEOF
49752 if ac_fn_cxx_try_compile "$LINENO"; then :
49753 glibcxx_cv_func_powl_use=yes
49754 else
49755 glibcxx_cv_func_powl_use=no
49757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49758 ac_ext=c
49759 ac_cpp='$CPP $CPPFLAGS'
49760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
49769 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
49771 if test x$glibcxx_cv_func_powl_use = x"yes"; then
49772 for ac_func in powl
49773 do :
49774 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
49775 if test "x$ac_cv_func_powl" = x""yes; then :
49776 cat >>confdefs.h <<_ACEOF
49777 #define HAVE_POWL 1
49778 _ACEOF
49781 done
49783 else
49785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
49786 $as_echo_n "checking for _powl declaration... " >&6; }
49787 if test x${glibcxx_cv_func__powl_use+set} != xset; then
49788 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
49789 $as_echo_n "(cached) " >&6
49790 else
49793 ac_ext=cpp
49794 ac_cpp='$CXXCPP $CPPFLAGS'
49795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49800 /* end confdefs.h. */
49801 #include <math.h>
49803 main ()
49805 _powl(0, 0);
49807 return 0;
49809 _ACEOF
49810 if ac_fn_cxx_try_compile "$LINENO"; then :
49811 glibcxx_cv_func__powl_use=yes
49812 else
49813 glibcxx_cv_func__powl_use=no
49815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49816 ac_ext=c
49817 ac_cpp='$CPP $CPPFLAGS'
49818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
49827 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
49829 if test x$glibcxx_cv_func__powl_use = x"yes"; then
49830 for ac_func in _powl
49831 do :
49832 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
49833 if test "x$ac_cv_func__powl" = x""yes; then :
49834 cat >>confdefs.h <<_ACEOF
49835 #define HAVE__POWL 1
49836 _ACEOF
49839 done
49848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
49849 $as_echo_n "checking for sqrtl declaration... " >&6; }
49850 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
49851 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
49852 $as_echo_n "(cached) " >&6
49853 else
49856 ac_ext=cpp
49857 ac_cpp='$CXXCPP $CPPFLAGS'
49858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49863 /* end confdefs.h. */
49864 #include <math.h>
49865 #ifdef HAVE_IEEEFP_H
49866 #include <ieeefp.h>
49867 #endif
49870 main ()
49872 sqrtl(0);
49874 return 0;
49876 _ACEOF
49877 if ac_fn_cxx_try_compile "$LINENO"; then :
49878 glibcxx_cv_func_sqrtl_use=yes
49879 else
49880 glibcxx_cv_func_sqrtl_use=no
49882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49883 ac_ext=c
49884 ac_cpp='$CPP $CPPFLAGS'
49885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
49894 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
49896 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
49897 for ac_func in sqrtl
49898 do :
49899 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
49900 if test "x$ac_cv_func_sqrtl" = x""yes; then :
49901 cat >>confdefs.h <<_ACEOF
49902 #define HAVE_SQRTL 1
49903 _ACEOF
49906 done
49908 else
49910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
49911 $as_echo_n "checking for _sqrtl declaration... " >&6; }
49912 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
49913 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
49914 $as_echo_n "(cached) " >&6
49915 else
49918 ac_ext=cpp
49919 ac_cpp='$CXXCPP $CPPFLAGS'
49920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49925 /* end confdefs.h. */
49926 #include <math.h>
49927 #ifdef HAVE_IEEEFP_H
49928 #include <ieeefp.h>
49929 #endif
49932 main ()
49934 _sqrtl(0);
49936 return 0;
49938 _ACEOF
49939 if ac_fn_cxx_try_compile "$LINENO"; then :
49940 glibcxx_cv_func__sqrtl_use=yes
49941 else
49942 glibcxx_cv_func__sqrtl_use=no
49944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49945 ac_ext=c
49946 ac_cpp='$CPP $CPPFLAGS'
49947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
49956 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
49958 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
49959 for ac_func in _sqrtl
49960 do :
49961 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
49962 if test "x$ac_cv_func__sqrtl" = x""yes; then :
49963 cat >>confdefs.h <<_ACEOF
49964 #define HAVE__SQRTL 1
49965 _ACEOF
49968 done
49977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
49978 $as_echo_n "checking for sincosl declaration... " >&6; }
49979 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
49980 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
49981 $as_echo_n "(cached) " >&6
49982 else
49985 ac_ext=cpp
49986 ac_cpp='$CXXCPP $CPPFLAGS'
49987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49992 /* end confdefs.h. */
49993 #include <math.h>
49995 main ()
49997 sincosl(0, 0, 0);
49999 return 0;
50001 _ACEOF
50002 if ac_fn_cxx_try_compile "$LINENO"; then :
50003 glibcxx_cv_func_sincosl_use=yes
50004 else
50005 glibcxx_cv_func_sincosl_use=no
50007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50008 ac_ext=c
50009 ac_cpp='$CPP $CPPFLAGS'
50010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
50019 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
50021 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
50022 for ac_func in sincosl
50023 do :
50024 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
50025 if test "x$ac_cv_func_sincosl" = x""yes; then :
50026 cat >>confdefs.h <<_ACEOF
50027 #define HAVE_SINCOSL 1
50028 _ACEOF
50031 done
50033 else
50035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
50036 $as_echo_n "checking for _sincosl declaration... " >&6; }
50037 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
50038 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
50039 $as_echo_n "(cached) " >&6
50040 else
50043 ac_ext=cpp
50044 ac_cpp='$CXXCPP $CPPFLAGS'
50045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50050 /* end confdefs.h. */
50051 #include <math.h>
50053 main ()
50055 _sincosl(0, 0, 0);
50057 return 0;
50059 _ACEOF
50060 if ac_fn_cxx_try_compile "$LINENO"; then :
50061 glibcxx_cv_func__sincosl_use=yes
50062 else
50063 glibcxx_cv_func__sincosl_use=no
50065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50066 ac_ext=c
50067 ac_cpp='$CPP $CPPFLAGS'
50068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
50077 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
50079 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
50080 for ac_func in _sincosl
50081 do :
50082 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
50083 if test "x$ac_cv_func__sincosl" = x""yes; then :
50084 cat >>confdefs.h <<_ACEOF
50085 #define HAVE__SINCOSL 1
50086 _ACEOF
50089 done
50098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
50099 $as_echo_n "checking for finitel declaration... " >&6; }
50100 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
50101 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
50102 $as_echo_n "(cached) " >&6
50103 else
50106 ac_ext=cpp
50107 ac_cpp='$CXXCPP $CPPFLAGS'
50108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50113 /* end confdefs.h. */
50114 #include <math.h>
50115 #ifdef HAVE_IEEEFP_H
50116 #include <ieeefp.h>
50117 #endif
50120 main ()
50122 finitel(0);
50124 return 0;
50126 _ACEOF
50127 if ac_fn_cxx_try_compile "$LINENO"; then :
50128 glibcxx_cv_func_finitel_use=yes
50129 else
50130 glibcxx_cv_func_finitel_use=no
50132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50133 ac_ext=c
50134 ac_cpp='$CPP $CPPFLAGS'
50135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
50144 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
50146 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
50147 for ac_func in finitel
50148 do :
50149 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
50150 if test "x$ac_cv_func_finitel" = x""yes; then :
50151 cat >>confdefs.h <<_ACEOF
50152 #define HAVE_FINITEL 1
50153 _ACEOF
50156 done
50158 else
50160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
50161 $as_echo_n "checking for _finitel declaration... " >&6; }
50162 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
50163 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
50164 $as_echo_n "(cached) " >&6
50165 else
50168 ac_ext=cpp
50169 ac_cpp='$CXXCPP $CPPFLAGS'
50170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50175 /* end confdefs.h. */
50176 #include <math.h>
50177 #ifdef HAVE_IEEEFP_H
50178 #include <ieeefp.h>
50179 #endif
50182 main ()
50184 _finitel(0);
50186 return 0;
50188 _ACEOF
50189 if ac_fn_cxx_try_compile "$LINENO"; then :
50190 glibcxx_cv_func__finitel_use=yes
50191 else
50192 glibcxx_cv_func__finitel_use=no
50194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50195 ac_ext=c
50196 ac_cpp='$CPP $CPPFLAGS'
50197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
50206 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
50208 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
50209 for ac_func in _finitel
50210 do :
50211 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
50212 if test "x$ac_cv_func__finitel" = x""yes; then :
50213 cat >>confdefs.h <<_ACEOF
50214 #define HAVE__FINITEL 1
50215 _ACEOF
50218 done
50226 LIBS="$ac_save_LIBS"
50227 CXXFLAGS="$ac_save_CXXFLAGS"
50230 ac_test_CXXFLAGS="${CXXFLAGS+set}"
50231 ac_save_CXXFLAGS="$CXXFLAGS"
50232 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
50235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
50236 $as_echo_n "checking for strtold declaration... " >&6; }
50237 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
50238 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
50239 $as_echo_n "(cached) " >&6
50240 else
50243 ac_ext=cpp
50244 ac_cpp='$CXXCPP $CPPFLAGS'
50245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50250 /* end confdefs.h. */
50251 #include <stdlib.h>
50253 main ()
50255 strtold(0, 0);
50257 return 0;
50259 _ACEOF
50260 if ac_fn_cxx_try_compile "$LINENO"; then :
50261 glibcxx_cv_func_strtold_use=yes
50262 else
50263 glibcxx_cv_func_strtold_use=no
50265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50266 ac_ext=c
50267 ac_cpp='$CPP $CPPFLAGS'
50268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
50277 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
50278 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
50279 for ac_func in strtold
50280 do :
50281 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
50282 if test "x$ac_cv_func_strtold" = x""yes; then :
50283 cat >>confdefs.h <<_ACEOF
50284 #define HAVE_STRTOLD 1
50285 _ACEOF
50288 done
50295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
50296 $as_echo_n "checking for strtof declaration... " >&6; }
50297 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
50298 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
50299 $as_echo_n "(cached) " >&6
50300 else
50303 ac_ext=cpp
50304 ac_cpp='$CXXCPP $CPPFLAGS'
50305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50310 /* end confdefs.h. */
50311 #include <stdlib.h>
50313 main ()
50315 strtof(0, 0);
50317 return 0;
50319 _ACEOF
50320 if ac_fn_cxx_try_compile "$LINENO"; then :
50321 glibcxx_cv_func_strtof_use=yes
50322 else
50323 glibcxx_cv_func_strtof_use=no
50325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50326 ac_ext=c
50327 ac_cpp='$CPP $CPPFLAGS'
50328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
50337 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
50338 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
50339 for ac_func in strtof
50340 do :
50341 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
50342 if test "x$ac_cv_func_strtof" = x""yes; then :
50343 cat >>confdefs.h <<_ACEOF
50344 #define HAVE_STRTOF 1
50345 _ACEOF
50348 done
50355 CXXFLAGS="$ac_save_CXXFLAGS"
50357 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
50361 # Check whether --enable-tls was given.
50362 if test "${enable_tls+set}" = set; then :
50363 enableval=$enable_tls;
50364 case "$enableval" in
50365 yes|no) ;;
50366 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
50367 esac
50369 else
50370 enable_tls=yes
50374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
50375 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
50376 if test "${gcc_cv_have_tls+set}" = set; then :
50377 $as_echo_n "(cached) " >&6
50378 else
50380 if test "$cross_compiling" = yes; then :
50381 if test x$gcc_no_link = xyes; then
50382 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50385 /* end confdefs.h. */
50386 __thread int a; int b; int main() { return a = b; }
50387 _ACEOF
50388 if ac_fn_c_try_link "$LINENO"; then :
50389 chktls_save_LDFLAGS="$LDFLAGS"
50390 case $host in
50391 *-*-linux*)
50392 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
50394 esac
50395 chktls_save_CFLAGS="$CFLAGS"
50396 CFLAGS="-fPIC $CFLAGS"
50397 if test x$gcc_no_link = xyes; then
50398 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50401 /* end confdefs.h. */
50402 int f() { return 0; }
50403 _ACEOF
50404 if ac_fn_c_try_link "$LINENO"; then :
50405 if test x$gcc_no_link = xyes; then
50406 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50409 /* end confdefs.h. */
50410 __thread int a; int b; int f() { return a = b; }
50411 _ACEOF
50412 if ac_fn_c_try_link "$LINENO"; then :
50413 gcc_cv_have_tls=yes
50414 else
50415 gcc_cv_have_tls=no
50417 rm -f core conftest.err conftest.$ac_objext \
50418 conftest$ac_exeext conftest.$ac_ext
50419 else
50420 gcc_cv_have_tls=yes
50422 rm -f core conftest.err conftest.$ac_objext \
50423 conftest$ac_exeext conftest.$ac_ext
50424 CFLAGS="$chktls_save_CFLAGS"
50425 LDFLAGS="$chktls_save_LDFLAGS"
50426 else
50427 gcc_cv_have_tls=no
50429 rm -f core conftest.err conftest.$ac_objext \
50430 conftest$ac_exeext conftest.$ac_ext
50433 else
50434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50435 /* end confdefs.h. */
50436 __thread int a; int b; int main() { return a = b; }
50437 _ACEOF
50438 if ac_fn_c_try_run "$LINENO"; then :
50439 chktls_save_LDFLAGS="$LDFLAGS"
50440 LDFLAGS="-static $LDFLAGS"
50441 if test x$gcc_no_link = xyes; then
50442 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50445 /* end confdefs.h. */
50446 int main() { return 0; }
50447 _ACEOF
50448 if ac_fn_c_try_link "$LINENO"; then :
50449 if test "$cross_compiling" = yes; then :
50450 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
50451 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
50452 as_fn_error "cannot run test program while cross compiling
50453 See \`config.log' for more details." "$LINENO" 5; }
50454 else
50455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50456 /* end confdefs.h. */
50457 __thread int a; int b; int main() { return a = b; }
50458 _ACEOF
50459 if ac_fn_c_try_run "$LINENO"; then :
50460 gcc_cv_have_tls=yes
50461 else
50462 gcc_cv_have_tls=no
50464 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50465 conftest.$ac_objext conftest.beam conftest.$ac_ext
50468 else
50469 gcc_cv_have_tls=yes
50471 rm -f core conftest.err conftest.$ac_objext \
50472 conftest$ac_exeext conftest.$ac_ext
50473 LDFLAGS="$chktls_save_LDFLAGS"
50474 if test $gcc_cv_have_tls = yes; then
50475 chktls_save_CFLAGS="$CFLAGS"
50476 thread_CFLAGS=failed
50477 for flag in '' '-pthread' '-lpthread'; do
50478 CFLAGS="$flag $chktls_save_CFLAGS"
50479 if test x$gcc_no_link = xyes; then
50480 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50483 /* end confdefs.h. */
50484 #include <pthread.h>
50485 void *g(void *d) { return NULL; }
50487 main ()
50489 pthread_t t; pthread_create(&t,NULL,g,NULL);
50491 return 0;
50493 _ACEOF
50494 if ac_fn_c_try_link "$LINENO"; then :
50495 thread_CFLAGS="$flag"
50497 rm -f core conftest.err conftest.$ac_objext \
50498 conftest$ac_exeext conftest.$ac_ext
50499 if test "X$thread_CFLAGS" != Xfailed; then
50500 break
50502 done
50503 CFLAGS="$chktls_save_CFLAGS"
50504 if test "X$thread_CFLAGS" != Xfailed; then
50505 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
50506 if test "$cross_compiling" = yes; then :
50507 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
50508 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
50509 as_fn_error "cannot run test program while cross compiling
50510 See \`config.log' for more details." "$LINENO" 5; }
50511 else
50512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50513 /* end confdefs.h. */
50514 #include <pthread.h>
50515 __thread int a;
50516 static int *a_in_other_thread;
50517 static void *
50518 thread_func (void *arg)
50520 a_in_other_thread = &a;
50521 return (void *)0;
50524 main ()
50526 pthread_t thread;
50527 void *thread_retval;
50528 int *a_in_main_thread;
50529 if (pthread_create (&thread, (pthread_attr_t *)0,
50530 thread_func, (void *)0))
50531 return 0;
50532 a_in_main_thread = &a;
50533 if (pthread_join (thread, &thread_retval))
50534 return 0;
50535 return (a_in_other_thread == a_in_main_thread);
50537 return 0;
50539 _ACEOF
50540 if ac_fn_c_try_run "$LINENO"; then :
50541 gcc_cv_have_tls=yes
50542 else
50543 gcc_cv_have_tls=no
50545 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50546 conftest.$ac_objext conftest.beam conftest.$ac_ext
50549 CFLAGS="$chktls_save_CFLAGS"
50552 else
50553 gcc_cv_have_tls=no
50555 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50556 conftest.$ac_objext conftest.beam conftest.$ac_ext
50560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
50561 $as_echo "$gcc_cv_have_tls" >&6; }
50562 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
50564 $as_echo "#define HAVE_TLS 1" >>confdefs.h
50572 am_save_CPPFLAGS="$CPPFLAGS"
50574 for element in $INCICONV; do
50575 haveit=
50576 for x in $CPPFLAGS; do
50578 acl_save_prefix="$prefix"
50579 prefix="$acl_final_prefix"
50580 acl_save_exec_prefix="$exec_prefix"
50581 exec_prefix="$acl_final_exec_prefix"
50582 eval x=\"$x\"
50583 exec_prefix="$acl_save_exec_prefix"
50584 prefix="$acl_save_prefix"
50586 if test "X$x" = "X$element"; then
50587 haveit=yes
50588 break
50590 done
50591 if test -z "$haveit"; then
50592 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
50594 done
50597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
50598 $as_echo_n "checking for iconv... " >&6; }
50599 if test "${am_cv_func_iconv+set}" = set; then :
50600 $as_echo_n "(cached) " >&6
50601 else
50603 am_cv_func_iconv="no, consider installing GNU libiconv"
50604 am_cv_lib_iconv=no
50605 if test x$gcc_no_link = xyes; then
50606 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50609 /* end confdefs.h. */
50610 #include <stdlib.h>
50611 #include <iconv.h>
50613 main ()
50615 iconv_t cd = iconv_open("","");
50616 iconv(cd,NULL,NULL,NULL,NULL);
50617 iconv_close(cd);
50619 return 0;
50621 _ACEOF
50622 if ac_fn_c_try_link "$LINENO"; then :
50623 am_cv_func_iconv=yes
50625 rm -f core conftest.err conftest.$ac_objext \
50626 conftest$ac_exeext conftest.$ac_ext
50627 if test "$am_cv_func_iconv" != yes; then
50628 am_save_LIBS="$LIBS"
50629 LIBS="$LIBS $LIBICONV"
50630 if test x$gcc_no_link = xyes; then
50631 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50634 /* end confdefs.h. */
50635 #include <stdlib.h>
50636 #include <iconv.h>
50638 main ()
50640 iconv_t cd = iconv_open("","");
50641 iconv(cd,NULL,NULL,NULL,NULL);
50642 iconv_close(cd);
50644 return 0;
50646 _ACEOF
50647 if ac_fn_c_try_link "$LINENO"; then :
50648 am_cv_lib_iconv=yes
50649 am_cv_func_iconv=yes
50651 rm -f core conftest.err conftest.$ac_objext \
50652 conftest$ac_exeext conftest.$ac_ext
50653 LIBS="$am_save_LIBS"
50657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
50658 $as_echo "$am_cv_func_iconv" >&6; }
50659 if test "$am_cv_func_iconv" = yes; then
50661 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
50664 if test "$am_cv_lib_iconv" = yes; then
50665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
50666 $as_echo_n "checking how to link with libiconv... " >&6; }
50667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
50668 $as_echo "$LIBICONV" >&6; }
50669 else
50670 CPPFLAGS="$am_save_CPPFLAGS"
50671 LIBICONV=
50672 LTLIBICONV=
50677 if test "$am_cv_func_iconv" = yes; then
50678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
50679 $as_echo_n "checking for iconv declaration... " >&6; }
50680 if test "${am_cv_proto_iconv+set}" = set; then :
50681 $as_echo_n "(cached) " >&6
50682 else
50684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50685 /* end confdefs.h. */
50687 #include <stdlib.h>
50688 #include <iconv.h>
50689 extern
50690 #ifdef __cplusplus
50692 #endif
50693 #if defined(__STDC__) || defined(__cplusplus)
50694 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
50695 #else
50696 size_t iconv();
50697 #endif
50700 main ()
50704 return 0;
50706 _ACEOF
50707 if ac_fn_c_try_compile "$LINENO"; then :
50708 am_cv_proto_iconv_arg1=""
50709 else
50710 am_cv_proto_iconv_arg1="const"
50712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50713 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);"
50716 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
50717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
50718 }$am_cv_proto_iconv" >&5
50719 $as_echo "${ac_t:-
50720 }$am_cv_proto_iconv" >&6; }
50722 cat >>confdefs.h <<_ACEOF
50723 #define ICONV_CONST $am_cv_proto_iconv_arg1
50724 _ACEOF
50729 *-mingw32*)
50731 # If we're not using GNU ld, then there's no point in even trying these
50732 # tests. Check for that first. We should have already tested for gld
50733 # by now (in libtool), but require it now just to be safe...
50734 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
50735 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
50739 # The name set by libtool depends on the version of libtool. Shame on us
50740 # for depending on an impl detail, but c'est la vie. Older versions used
50741 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
50742 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
50743 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
50744 # set (hence we're using an older libtool), then set it.
50745 if test x${with_gnu_ld+set} != xset; then
50746 if test x${ac_cv_prog_gnu_ld+set} != xset; then
50747 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
50748 with_gnu_ld=no
50749 else
50750 with_gnu_ld=$ac_cv_prog_gnu_ld
50754 # Start by getting the version number. I think the libtool test already
50755 # does some of this, but throws away the result.
50756 glibcxx_ld_is_gold=no
50757 if test x"$with_gnu_ld" = x"yes"; then
50758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
50759 $as_echo_n "checking for ld version... " >&6; }
50761 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
50762 glibcxx_ld_is_gold=yes
50764 ldver=`$LD --version 2>/dev/null |
50765 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
50767 glibcxx_gnu_ld_version=`echo $ldver | \
50768 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
50769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
50770 $as_echo "$glibcxx_gnu_ld_version" >&6; }
50773 # Set --gc-sections.
50774 glibcxx_have_gc_sections=no
50775 if test "$glibcxx_ld_is_gold" = "yes"; then
50776 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
50777 glibcxx_have_gc_sections=yes
50779 else
50780 glibcxx_gcsections_min_ld=21602
50781 if test x"$with_gnu_ld" = x"yes" &&
50782 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
50783 glibcxx_have_gc_sections=yes
50786 if test "$glibcxx_have_gc_sections" = "yes"; then
50787 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
50788 # NB: This flag only works reliably after 2.16.1. Configure tests
50789 # for this are difficult, so hard wire a value that should work.
50791 ac_test_CFLAGS="${CFLAGS+set}"
50792 ac_save_CFLAGS="$CFLAGS"
50793 CFLAGS='-Wl,--gc-sections'
50795 # Check for -Wl,--gc-sections
50796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
50797 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
50798 if test x$gcc_no_link = xyes; then
50799 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50802 /* end confdefs.h. */
50803 int one(void) { return 1; }
50804 int two(void) { return 2; }
50807 main ()
50809 two();
50811 return 0;
50813 _ACEOF
50814 if ac_fn_c_try_link "$LINENO"; then :
50815 ac_gcsections=yes
50816 else
50817 ac_gcsections=no
50819 rm -f core conftest.err conftest.$ac_objext \
50820 conftest$ac_exeext conftest.$ac_ext
50821 if test "$ac_gcsections" = "yes"; then
50822 rm -f conftest.c
50823 touch conftest.c
50824 if $CC -c conftest.c; then
50825 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
50826 grep "Warning: gc-sections option ignored" > /dev/null; then
50827 ac_gcsections=no
50830 rm -f conftest.c conftest.o conftest
50832 if test "$ac_gcsections" = "yes"; then
50833 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
50835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
50836 $as_echo "$ac_gcsections" >&6; }
50838 if test "$ac_test_CFLAGS" = set; then
50839 CFLAGS="$ac_save_CFLAGS"
50840 else
50841 # this is the suspicious part
50842 CFLAGS=''
50846 # Set -z,relro.
50847 # Note this is only for shared objects.
50848 ac_ld_relro=no
50849 if test x"$with_gnu_ld" = x"yes"; then
50850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
50851 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
50852 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
50853 if test -n "$cxx_z_relo"; then
50854 OPT_LDFLAGS="-Wl,-z,relro"
50855 ac_ld_relro=yes
50857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
50858 $as_echo "$ac_ld_relro" >&6; }
50861 # Set linker optimization flags.
50862 if test x"$with_gnu_ld" = x"yes"; then
50863 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
50870 ac_test_CXXFLAGS="${CXXFLAGS+set}"
50871 ac_save_CXXFLAGS="$CXXFLAGS"
50872 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
50874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
50875 $as_echo_n "checking for sin in -lm... " >&6; }
50876 if test "${ac_cv_lib_m_sin+set}" = set; then :
50877 $as_echo_n "(cached) " >&6
50878 else
50879 ac_check_lib_save_LIBS=$LIBS
50880 LIBS="-lm $LIBS"
50881 if test x$gcc_no_link = xyes; then
50882 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50885 /* end confdefs.h. */
50887 /* Override any GCC internal prototype to avoid an error.
50888 Use char because int might match the return type of a GCC
50889 builtin and then its argument prototype would still apply. */
50890 #ifdef __cplusplus
50891 extern "C"
50892 #endif
50893 char sin ();
50895 main ()
50897 return sin ();
50899 return 0;
50901 _ACEOF
50902 if ac_fn_c_try_link "$LINENO"; then :
50903 ac_cv_lib_m_sin=yes
50904 else
50905 ac_cv_lib_m_sin=no
50907 rm -f core conftest.err conftest.$ac_objext \
50908 conftest$ac_exeext conftest.$ac_ext
50909 LIBS=$ac_check_lib_save_LIBS
50911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
50912 $as_echo "$ac_cv_lib_m_sin" >&6; }
50913 if test "x$ac_cv_lib_m_sin" = x""yes; then :
50914 libm="-lm"
50917 ac_save_LIBS="$LIBS"
50918 LIBS="$LIBS $libm"
50922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
50923 $as_echo_n "checking for isinf declaration... " >&6; }
50924 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
50925 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
50926 $as_echo_n "(cached) " >&6
50927 else
50930 ac_ext=cpp
50931 ac_cpp='$CXXCPP $CPPFLAGS'
50932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50937 /* end confdefs.h. */
50938 #include <math.h>
50939 #ifdef HAVE_IEEEFP_H
50940 #include <ieeefp.h>
50941 #endif
50944 main ()
50946 isinf(0);
50948 return 0;
50950 _ACEOF
50951 if ac_fn_cxx_try_compile "$LINENO"; then :
50952 glibcxx_cv_func_isinf_use=yes
50953 else
50954 glibcxx_cv_func_isinf_use=no
50956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50957 ac_ext=c
50958 ac_cpp='$CPP $CPPFLAGS'
50959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
50968 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
50970 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
50971 for ac_func in isinf
50972 do :
50973 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
50974 if test "x$ac_cv_func_isinf" = x""yes; then :
50975 cat >>confdefs.h <<_ACEOF
50976 #define HAVE_ISINF 1
50977 _ACEOF
50980 done
50982 else
50984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
50985 $as_echo_n "checking for _isinf declaration... " >&6; }
50986 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
50987 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
50988 $as_echo_n "(cached) " >&6
50989 else
50992 ac_ext=cpp
50993 ac_cpp='$CXXCPP $CPPFLAGS'
50994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50999 /* end confdefs.h. */
51000 #include <math.h>
51001 #ifdef HAVE_IEEEFP_H
51002 #include <ieeefp.h>
51003 #endif
51006 main ()
51008 _isinf(0);
51010 return 0;
51012 _ACEOF
51013 if ac_fn_cxx_try_compile "$LINENO"; then :
51014 glibcxx_cv_func__isinf_use=yes
51015 else
51016 glibcxx_cv_func__isinf_use=no
51018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51019 ac_ext=c
51020 ac_cpp='$CPP $CPPFLAGS'
51021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
51030 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
51032 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
51033 for ac_func in _isinf
51034 do :
51035 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
51036 if test "x$ac_cv_func__isinf" = x""yes; then :
51037 cat >>confdefs.h <<_ACEOF
51038 #define HAVE__ISINF 1
51039 _ACEOF
51042 done
51051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
51052 $as_echo_n "checking for isnan declaration... " >&6; }
51053 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
51054 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
51055 $as_echo_n "(cached) " >&6
51056 else
51059 ac_ext=cpp
51060 ac_cpp='$CXXCPP $CPPFLAGS'
51061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51066 /* end confdefs.h. */
51067 #include <math.h>
51068 #ifdef HAVE_IEEEFP_H
51069 #include <ieeefp.h>
51070 #endif
51073 main ()
51075 isnan(0);
51077 return 0;
51079 _ACEOF
51080 if ac_fn_cxx_try_compile "$LINENO"; then :
51081 glibcxx_cv_func_isnan_use=yes
51082 else
51083 glibcxx_cv_func_isnan_use=no
51085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51086 ac_ext=c
51087 ac_cpp='$CPP $CPPFLAGS'
51088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
51097 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
51099 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
51100 for ac_func in isnan
51101 do :
51102 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
51103 if test "x$ac_cv_func_isnan" = x""yes; then :
51104 cat >>confdefs.h <<_ACEOF
51105 #define HAVE_ISNAN 1
51106 _ACEOF
51109 done
51111 else
51113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
51114 $as_echo_n "checking for _isnan declaration... " >&6; }
51115 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
51116 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
51117 $as_echo_n "(cached) " >&6
51118 else
51121 ac_ext=cpp
51122 ac_cpp='$CXXCPP $CPPFLAGS'
51123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51128 /* end confdefs.h. */
51129 #include <math.h>
51130 #ifdef HAVE_IEEEFP_H
51131 #include <ieeefp.h>
51132 #endif
51135 main ()
51137 _isnan(0);
51139 return 0;
51141 _ACEOF
51142 if ac_fn_cxx_try_compile "$LINENO"; then :
51143 glibcxx_cv_func__isnan_use=yes
51144 else
51145 glibcxx_cv_func__isnan_use=no
51147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51148 ac_ext=c
51149 ac_cpp='$CPP $CPPFLAGS'
51150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
51159 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
51161 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
51162 for ac_func in _isnan
51163 do :
51164 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
51165 if test "x$ac_cv_func__isnan" = x""yes; then :
51166 cat >>confdefs.h <<_ACEOF
51167 #define HAVE__ISNAN 1
51168 _ACEOF
51171 done
51180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
51181 $as_echo_n "checking for finite declaration... " >&6; }
51182 if test x${glibcxx_cv_func_finite_use+set} != xset; then
51183 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
51184 $as_echo_n "(cached) " >&6
51185 else
51188 ac_ext=cpp
51189 ac_cpp='$CXXCPP $CPPFLAGS'
51190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51195 /* end confdefs.h. */
51196 #include <math.h>
51197 #ifdef HAVE_IEEEFP_H
51198 #include <ieeefp.h>
51199 #endif
51202 main ()
51204 finite(0);
51206 return 0;
51208 _ACEOF
51209 if ac_fn_cxx_try_compile "$LINENO"; then :
51210 glibcxx_cv_func_finite_use=yes
51211 else
51212 glibcxx_cv_func_finite_use=no
51214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51215 ac_ext=c
51216 ac_cpp='$CPP $CPPFLAGS'
51217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
51226 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
51228 if test x$glibcxx_cv_func_finite_use = x"yes"; then
51229 for ac_func in finite
51230 do :
51231 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
51232 if test "x$ac_cv_func_finite" = x""yes; then :
51233 cat >>confdefs.h <<_ACEOF
51234 #define HAVE_FINITE 1
51235 _ACEOF
51238 done
51240 else
51242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
51243 $as_echo_n "checking for _finite declaration... " >&6; }
51244 if test x${glibcxx_cv_func__finite_use+set} != xset; then
51245 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
51246 $as_echo_n "(cached) " >&6
51247 else
51250 ac_ext=cpp
51251 ac_cpp='$CXXCPP $CPPFLAGS'
51252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51257 /* end confdefs.h. */
51258 #include <math.h>
51259 #ifdef HAVE_IEEEFP_H
51260 #include <ieeefp.h>
51261 #endif
51264 main ()
51266 _finite(0);
51268 return 0;
51270 _ACEOF
51271 if ac_fn_cxx_try_compile "$LINENO"; then :
51272 glibcxx_cv_func__finite_use=yes
51273 else
51274 glibcxx_cv_func__finite_use=no
51276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51277 ac_ext=c
51278 ac_cpp='$CPP $CPPFLAGS'
51279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
51288 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
51290 if test x$glibcxx_cv_func__finite_use = x"yes"; then
51291 for ac_func in _finite
51292 do :
51293 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
51294 if test "x$ac_cv_func__finite" = x""yes; then :
51295 cat >>confdefs.h <<_ACEOF
51296 #define HAVE__FINITE 1
51297 _ACEOF
51300 done
51309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
51310 $as_echo_n "checking for sincos declaration... " >&6; }
51311 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
51312 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
51313 $as_echo_n "(cached) " >&6
51314 else
51317 ac_ext=cpp
51318 ac_cpp='$CXXCPP $CPPFLAGS'
51319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51324 /* end confdefs.h. */
51325 #include <math.h>
51327 main ()
51329 sincos(0, 0, 0);
51331 return 0;
51333 _ACEOF
51334 if ac_fn_cxx_try_compile "$LINENO"; then :
51335 glibcxx_cv_func_sincos_use=yes
51336 else
51337 glibcxx_cv_func_sincos_use=no
51339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51340 ac_ext=c
51341 ac_cpp='$CPP $CPPFLAGS'
51342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
51351 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
51353 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
51354 for ac_func in sincos
51355 do :
51356 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
51357 if test "x$ac_cv_func_sincos" = x""yes; then :
51358 cat >>confdefs.h <<_ACEOF
51359 #define HAVE_SINCOS 1
51360 _ACEOF
51363 done
51365 else
51367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
51368 $as_echo_n "checking for _sincos declaration... " >&6; }
51369 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
51370 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
51371 $as_echo_n "(cached) " >&6
51372 else
51375 ac_ext=cpp
51376 ac_cpp='$CXXCPP $CPPFLAGS'
51377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51382 /* end confdefs.h. */
51383 #include <math.h>
51385 main ()
51387 _sincos(0, 0, 0);
51389 return 0;
51391 _ACEOF
51392 if ac_fn_cxx_try_compile "$LINENO"; then :
51393 glibcxx_cv_func__sincos_use=yes
51394 else
51395 glibcxx_cv_func__sincos_use=no
51397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51398 ac_ext=c
51399 ac_cpp='$CPP $CPPFLAGS'
51400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
51409 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
51411 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
51412 for ac_func in _sincos
51413 do :
51414 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
51415 if test "x$ac_cv_func__sincos" = x""yes; then :
51416 cat >>confdefs.h <<_ACEOF
51417 #define HAVE__SINCOS 1
51418 _ACEOF
51421 done
51430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
51431 $as_echo_n "checking for fpclass declaration... " >&6; }
51432 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
51433 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
51434 $as_echo_n "(cached) " >&6
51435 else
51438 ac_ext=cpp
51439 ac_cpp='$CXXCPP $CPPFLAGS'
51440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51445 /* end confdefs.h. */
51446 #include <math.h>
51447 #ifdef HAVE_IEEEFP_H
51448 #include <ieeefp.h>
51449 #endif
51452 main ()
51454 fpclass(0);
51456 return 0;
51458 _ACEOF
51459 if ac_fn_cxx_try_compile "$LINENO"; then :
51460 glibcxx_cv_func_fpclass_use=yes
51461 else
51462 glibcxx_cv_func_fpclass_use=no
51464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51465 ac_ext=c
51466 ac_cpp='$CPP $CPPFLAGS'
51467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
51476 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
51478 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
51479 for ac_func in fpclass
51480 do :
51481 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
51482 if test "x$ac_cv_func_fpclass" = x""yes; then :
51483 cat >>confdefs.h <<_ACEOF
51484 #define HAVE_FPCLASS 1
51485 _ACEOF
51488 done
51490 else
51492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
51493 $as_echo_n "checking for _fpclass declaration... " >&6; }
51494 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
51495 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
51496 $as_echo_n "(cached) " >&6
51497 else
51500 ac_ext=cpp
51501 ac_cpp='$CXXCPP $CPPFLAGS'
51502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51507 /* end confdefs.h. */
51508 #include <math.h>
51509 #ifdef HAVE_IEEEFP_H
51510 #include <ieeefp.h>
51511 #endif
51514 main ()
51516 _fpclass(0);
51518 return 0;
51520 _ACEOF
51521 if ac_fn_cxx_try_compile "$LINENO"; then :
51522 glibcxx_cv_func__fpclass_use=yes
51523 else
51524 glibcxx_cv_func__fpclass_use=no
51526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51527 ac_ext=c
51528 ac_cpp='$CPP $CPPFLAGS'
51529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
51538 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
51540 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
51541 for ac_func in _fpclass
51542 do :
51543 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
51544 if test "x$ac_cv_func__fpclass" = x""yes; then :
51545 cat >>confdefs.h <<_ACEOF
51546 #define HAVE__FPCLASS 1
51547 _ACEOF
51550 done
51559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
51560 $as_echo_n "checking for qfpclass declaration... " >&6; }
51561 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
51562 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
51563 $as_echo_n "(cached) " >&6
51564 else
51567 ac_ext=cpp
51568 ac_cpp='$CXXCPP $CPPFLAGS'
51569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51574 /* end confdefs.h. */
51575 #include <math.h>
51576 #ifdef HAVE_IEEEFP_H
51577 #include <ieeefp.h>
51578 #endif
51581 main ()
51583 qfpclass(0);
51585 return 0;
51587 _ACEOF
51588 if ac_fn_cxx_try_compile "$LINENO"; then :
51589 glibcxx_cv_func_qfpclass_use=yes
51590 else
51591 glibcxx_cv_func_qfpclass_use=no
51593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51594 ac_ext=c
51595 ac_cpp='$CPP $CPPFLAGS'
51596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
51605 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
51607 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
51608 for ac_func in qfpclass
51609 do :
51610 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
51611 if test "x$ac_cv_func_qfpclass" = x""yes; then :
51612 cat >>confdefs.h <<_ACEOF
51613 #define HAVE_QFPCLASS 1
51614 _ACEOF
51617 done
51619 else
51621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
51622 $as_echo_n "checking for _qfpclass declaration... " >&6; }
51623 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
51624 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
51625 $as_echo_n "(cached) " >&6
51626 else
51629 ac_ext=cpp
51630 ac_cpp='$CXXCPP $CPPFLAGS'
51631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51636 /* end confdefs.h. */
51637 #include <math.h>
51638 #ifdef HAVE_IEEEFP_H
51639 #include <ieeefp.h>
51640 #endif
51643 main ()
51645 _qfpclass(0);
51647 return 0;
51649 _ACEOF
51650 if ac_fn_cxx_try_compile "$LINENO"; then :
51651 glibcxx_cv_func__qfpclass_use=yes
51652 else
51653 glibcxx_cv_func__qfpclass_use=no
51655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51656 ac_ext=c
51657 ac_cpp='$CPP $CPPFLAGS'
51658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
51667 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
51669 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
51670 for ac_func in _qfpclass
51671 do :
51672 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
51673 if test "x$ac_cv_func__qfpclass" = x""yes; then :
51674 cat >>confdefs.h <<_ACEOF
51675 #define HAVE__QFPCLASS 1
51676 _ACEOF
51679 done
51688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
51689 $as_echo_n "checking for hypot declaration... " >&6; }
51690 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
51691 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
51692 $as_echo_n "(cached) " >&6
51693 else
51696 ac_ext=cpp
51697 ac_cpp='$CXXCPP $CPPFLAGS'
51698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51703 /* end confdefs.h. */
51704 #include <math.h>
51706 main ()
51708 hypot(0, 0);
51710 return 0;
51712 _ACEOF
51713 if ac_fn_cxx_try_compile "$LINENO"; then :
51714 glibcxx_cv_func_hypot_use=yes
51715 else
51716 glibcxx_cv_func_hypot_use=no
51718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51719 ac_ext=c
51720 ac_cpp='$CPP $CPPFLAGS'
51721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
51730 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
51732 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
51733 for ac_func in hypot
51734 do :
51735 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
51736 if test "x$ac_cv_func_hypot" = x""yes; then :
51737 cat >>confdefs.h <<_ACEOF
51738 #define HAVE_HYPOT 1
51739 _ACEOF
51742 done
51744 else
51746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
51747 $as_echo_n "checking for _hypot declaration... " >&6; }
51748 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
51749 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
51750 $as_echo_n "(cached) " >&6
51751 else
51754 ac_ext=cpp
51755 ac_cpp='$CXXCPP $CPPFLAGS'
51756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51761 /* end confdefs.h. */
51762 #include <math.h>
51764 main ()
51766 _hypot(0, 0);
51768 return 0;
51770 _ACEOF
51771 if ac_fn_cxx_try_compile "$LINENO"; then :
51772 glibcxx_cv_func__hypot_use=yes
51773 else
51774 glibcxx_cv_func__hypot_use=no
51776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51777 ac_ext=c
51778 ac_cpp='$CPP $CPPFLAGS'
51779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
51788 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
51790 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
51791 for ac_func in _hypot
51792 do :
51793 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
51794 if test "x$ac_cv_func__hypot" = x""yes; then :
51795 cat >>confdefs.h <<_ACEOF
51796 #define HAVE__HYPOT 1
51797 _ACEOF
51800 done
51809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
51810 $as_echo_n "checking for float trig functions... " >&6; }
51811 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
51812 $as_echo_n "(cached) " >&6
51813 else
51816 ac_ext=cpp
51817 ac_cpp='$CXXCPP $CPPFLAGS'
51818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51823 /* end confdefs.h. */
51824 #include <math.h>
51826 main ()
51828 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
51830 return 0;
51832 _ACEOF
51833 if ac_fn_cxx_try_compile "$LINENO"; then :
51834 glibcxx_cv_func_float_trig_use=yes
51835 else
51836 glibcxx_cv_func_float_trig_use=no
51838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51839 ac_ext=c
51840 ac_cpp='$CPP $CPPFLAGS'
51841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
51848 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
51849 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
51850 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
51851 do :
51852 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51853 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51854 eval as_val=\$$as_ac_var
51855 if test "x$as_val" = x""yes; then :
51856 cat >>confdefs.h <<_ACEOF
51857 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51858 _ACEOF
51861 done
51863 else
51864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
51865 $as_echo_n "checking for _float trig functions... " >&6; }
51866 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
51867 $as_echo_n "(cached) " >&6
51868 else
51871 ac_ext=cpp
51872 ac_cpp='$CXXCPP $CPPFLAGS'
51873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51878 /* end confdefs.h. */
51879 #include <math.h>
51881 main ()
51883 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
51885 return 0;
51887 _ACEOF
51888 if ac_fn_cxx_try_compile "$LINENO"; then :
51889 glibcxx_cv_func__float_trig_use=yes
51890 else
51891 glibcxx_cv_func__float_trig_use=no
51893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51894 ac_ext=c
51895 ac_cpp='$CPP $CPPFLAGS'
51896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
51903 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
51904 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
51905 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
51906 do :
51907 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51908 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51909 eval as_val=\$$as_ac_var
51910 if test "x$as_val" = x""yes; then :
51911 cat >>confdefs.h <<_ACEOF
51912 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51913 _ACEOF
51916 done
51925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
51926 $as_echo_n "checking for float round functions... " >&6; }
51927 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
51928 $as_echo_n "(cached) " >&6
51929 else
51932 ac_ext=cpp
51933 ac_cpp='$CXXCPP $CPPFLAGS'
51934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51939 /* end confdefs.h. */
51940 #include <math.h>
51942 main ()
51944 ceilf (0); floorf (0);
51946 return 0;
51948 _ACEOF
51949 if ac_fn_cxx_try_compile "$LINENO"; then :
51950 glibcxx_cv_func_float_round_use=yes
51951 else
51952 glibcxx_cv_func_float_round_use=no
51954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51955 ac_ext=c
51956 ac_cpp='$CPP $CPPFLAGS'
51957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
51964 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
51965 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
51966 for ac_func in ceilf floorf
51967 do :
51968 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51969 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51970 eval as_val=\$$as_ac_var
51971 if test "x$as_val" = x""yes; then :
51972 cat >>confdefs.h <<_ACEOF
51973 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51974 _ACEOF
51977 done
51979 else
51980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
51981 $as_echo_n "checking for _float round functions... " >&6; }
51982 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
51983 $as_echo_n "(cached) " >&6
51984 else
51987 ac_ext=cpp
51988 ac_cpp='$CXXCPP $CPPFLAGS'
51989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51994 /* end confdefs.h. */
51995 #include <math.h>
51997 main ()
51999 _ceilf (0); _floorf (0);
52001 return 0;
52003 _ACEOF
52004 if ac_fn_cxx_try_compile "$LINENO"; then :
52005 glibcxx_cv_func__float_round_use=yes
52006 else
52007 glibcxx_cv_func__float_round_use=no
52009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52010 ac_ext=c
52011 ac_cpp='$CPP $CPPFLAGS'
52012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
52019 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
52020 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
52021 for ac_func in _ceilf _floorf
52022 do :
52023 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52024 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52025 eval as_val=\$$as_ac_var
52026 if test "x$as_val" = x""yes; then :
52027 cat >>confdefs.h <<_ACEOF
52028 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52029 _ACEOF
52032 done
52042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
52043 $as_echo_n "checking for expf declaration... " >&6; }
52044 if test x${glibcxx_cv_func_expf_use+set} != xset; then
52045 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
52046 $as_echo_n "(cached) " >&6
52047 else
52050 ac_ext=cpp
52051 ac_cpp='$CXXCPP $CPPFLAGS'
52052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52057 /* end confdefs.h. */
52058 #include <math.h>
52059 #ifdef HAVE_IEEEFP_H
52060 #include <ieeefp.h>
52061 #endif
52064 main ()
52066 expf(0);
52068 return 0;
52070 _ACEOF
52071 if ac_fn_cxx_try_compile "$LINENO"; then :
52072 glibcxx_cv_func_expf_use=yes
52073 else
52074 glibcxx_cv_func_expf_use=no
52076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52077 ac_ext=c
52078 ac_cpp='$CPP $CPPFLAGS'
52079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
52088 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
52090 if test x$glibcxx_cv_func_expf_use = x"yes"; then
52091 for ac_func in expf
52092 do :
52093 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
52094 if test "x$ac_cv_func_expf" = x""yes; then :
52095 cat >>confdefs.h <<_ACEOF
52096 #define HAVE_EXPF 1
52097 _ACEOF
52100 done
52102 else
52104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
52105 $as_echo_n "checking for _expf declaration... " >&6; }
52106 if test x${glibcxx_cv_func__expf_use+set} != xset; then
52107 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
52108 $as_echo_n "(cached) " >&6
52109 else
52112 ac_ext=cpp
52113 ac_cpp='$CXXCPP $CPPFLAGS'
52114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52119 /* end confdefs.h. */
52120 #include <math.h>
52121 #ifdef HAVE_IEEEFP_H
52122 #include <ieeefp.h>
52123 #endif
52126 main ()
52128 _expf(0);
52130 return 0;
52132 _ACEOF
52133 if ac_fn_cxx_try_compile "$LINENO"; then :
52134 glibcxx_cv_func__expf_use=yes
52135 else
52136 glibcxx_cv_func__expf_use=no
52138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52139 ac_ext=c
52140 ac_cpp='$CPP $CPPFLAGS'
52141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
52150 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
52152 if test x$glibcxx_cv_func__expf_use = x"yes"; then
52153 for ac_func in _expf
52154 do :
52155 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
52156 if test "x$ac_cv_func__expf" = x""yes; then :
52157 cat >>confdefs.h <<_ACEOF
52158 #define HAVE__EXPF 1
52159 _ACEOF
52162 done
52171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
52172 $as_echo_n "checking for isnanf declaration... " >&6; }
52173 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
52174 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
52175 $as_echo_n "(cached) " >&6
52176 else
52179 ac_ext=cpp
52180 ac_cpp='$CXXCPP $CPPFLAGS'
52181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52186 /* end confdefs.h. */
52187 #include <math.h>
52188 #ifdef HAVE_IEEEFP_H
52189 #include <ieeefp.h>
52190 #endif
52193 main ()
52195 isnanf(0);
52197 return 0;
52199 _ACEOF
52200 if ac_fn_cxx_try_compile "$LINENO"; then :
52201 glibcxx_cv_func_isnanf_use=yes
52202 else
52203 glibcxx_cv_func_isnanf_use=no
52205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52206 ac_ext=c
52207 ac_cpp='$CPP $CPPFLAGS'
52208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
52217 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
52219 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
52220 for ac_func in isnanf
52221 do :
52222 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
52223 if test "x$ac_cv_func_isnanf" = x""yes; then :
52224 cat >>confdefs.h <<_ACEOF
52225 #define HAVE_ISNANF 1
52226 _ACEOF
52229 done
52231 else
52233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
52234 $as_echo_n "checking for _isnanf declaration... " >&6; }
52235 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
52236 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
52237 $as_echo_n "(cached) " >&6
52238 else
52241 ac_ext=cpp
52242 ac_cpp='$CXXCPP $CPPFLAGS'
52243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52248 /* end confdefs.h. */
52249 #include <math.h>
52250 #ifdef HAVE_IEEEFP_H
52251 #include <ieeefp.h>
52252 #endif
52255 main ()
52257 _isnanf(0);
52259 return 0;
52261 _ACEOF
52262 if ac_fn_cxx_try_compile "$LINENO"; then :
52263 glibcxx_cv_func__isnanf_use=yes
52264 else
52265 glibcxx_cv_func__isnanf_use=no
52267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52268 ac_ext=c
52269 ac_cpp='$CPP $CPPFLAGS'
52270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
52279 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
52281 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
52282 for ac_func in _isnanf
52283 do :
52284 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
52285 if test "x$ac_cv_func__isnanf" = x""yes; then :
52286 cat >>confdefs.h <<_ACEOF
52287 #define HAVE__ISNANF 1
52288 _ACEOF
52291 done
52300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
52301 $as_echo_n "checking for isinff declaration... " >&6; }
52302 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
52303 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
52304 $as_echo_n "(cached) " >&6
52305 else
52308 ac_ext=cpp
52309 ac_cpp='$CXXCPP $CPPFLAGS'
52310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52315 /* end confdefs.h. */
52316 #include <math.h>
52317 #ifdef HAVE_IEEEFP_H
52318 #include <ieeefp.h>
52319 #endif
52322 main ()
52324 isinff(0);
52326 return 0;
52328 _ACEOF
52329 if ac_fn_cxx_try_compile "$LINENO"; then :
52330 glibcxx_cv_func_isinff_use=yes
52331 else
52332 glibcxx_cv_func_isinff_use=no
52334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52335 ac_ext=c
52336 ac_cpp='$CPP $CPPFLAGS'
52337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
52346 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
52348 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
52349 for ac_func in isinff
52350 do :
52351 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
52352 if test "x$ac_cv_func_isinff" = x""yes; then :
52353 cat >>confdefs.h <<_ACEOF
52354 #define HAVE_ISINFF 1
52355 _ACEOF
52358 done
52360 else
52362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
52363 $as_echo_n "checking for _isinff declaration... " >&6; }
52364 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
52365 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
52366 $as_echo_n "(cached) " >&6
52367 else
52370 ac_ext=cpp
52371 ac_cpp='$CXXCPP $CPPFLAGS'
52372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52377 /* end confdefs.h. */
52378 #include <math.h>
52379 #ifdef HAVE_IEEEFP_H
52380 #include <ieeefp.h>
52381 #endif
52384 main ()
52386 _isinff(0);
52388 return 0;
52390 _ACEOF
52391 if ac_fn_cxx_try_compile "$LINENO"; then :
52392 glibcxx_cv_func__isinff_use=yes
52393 else
52394 glibcxx_cv_func__isinff_use=no
52396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52397 ac_ext=c
52398 ac_cpp='$CPP $CPPFLAGS'
52399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
52408 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
52410 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
52411 for ac_func in _isinff
52412 do :
52413 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
52414 if test "x$ac_cv_func__isinff" = x""yes; then :
52415 cat >>confdefs.h <<_ACEOF
52416 #define HAVE__ISINFF 1
52417 _ACEOF
52420 done
52429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
52430 $as_echo_n "checking for atan2f declaration... " >&6; }
52431 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
52432 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
52433 $as_echo_n "(cached) " >&6
52434 else
52437 ac_ext=cpp
52438 ac_cpp='$CXXCPP $CPPFLAGS'
52439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52444 /* end confdefs.h. */
52445 #include <math.h>
52447 main ()
52449 atan2f(0, 0);
52451 return 0;
52453 _ACEOF
52454 if ac_fn_cxx_try_compile "$LINENO"; then :
52455 glibcxx_cv_func_atan2f_use=yes
52456 else
52457 glibcxx_cv_func_atan2f_use=no
52459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52460 ac_ext=c
52461 ac_cpp='$CPP $CPPFLAGS'
52462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
52471 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
52473 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
52474 for ac_func in atan2f
52475 do :
52476 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
52477 if test "x$ac_cv_func_atan2f" = x""yes; then :
52478 cat >>confdefs.h <<_ACEOF
52479 #define HAVE_ATAN2F 1
52480 _ACEOF
52483 done
52485 else
52487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
52488 $as_echo_n "checking for _atan2f declaration... " >&6; }
52489 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
52490 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
52491 $as_echo_n "(cached) " >&6
52492 else
52495 ac_ext=cpp
52496 ac_cpp='$CXXCPP $CPPFLAGS'
52497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52502 /* end confdefs.h. */
52503 #include <math.h>
52505 main ()
52507 _atan2f(0, 0);
52509 return 0;
52511 _ACEOF
52512 if ac_fn_cxx_try_compile "$LINENO"; then :
52513 glibcxx_cv_func__atan2f_use=yes
52514 else
52515 glibcxx_cv_func__atan2f_use=no
52517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52518 ac_ext=c
52519 ac_cpp='$CPP $CPPFLAGS'
52520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
52529 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
52531 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
52532 for ac_func in _atan2f
52533 do :
52534 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
52535 if test "x$ac_cv_func__atan2f" = x""yes; then :
52536 cat >>confdefs.h <<_ACEOF
52537 #define HAVE__ATAN2F 1
52538 _ACEOF
52541 done
52550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
52551 $as_echo_n "checking for fabsf declaration... " >&6; }
52552 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
52553 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
52554 $as_echo_n "(cached) " >&6
52555 else
52558 ac_ext=cpp
52559 ac_cpp='$CXXCPP $CPPFLAGS'
52560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52565 /* end confdefs.h. */
52566 #include <math.h>
52567 #ifdef HAVE_IEEEFP_H
52568 #include <ieeefp.h>
52569 #endif
52572 main ()
52574 fabsf(0);
52576 return 0;
52578 _ACEOF
52579 if ac_fn_cxx_try_compile "$LINENO"; then :
52580 glibcxx_cv_func_fabsf_use=yes
52581 else
52582 glibcxx_cv_func_fabsf_use=no
52584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52585 ac_ext=c
52586 ac_cpp='$CPP $CPPFLAGS'
52587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
52596 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
52598 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
52599 for ac_func in fabsf
52600 do :
52601 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
52602 if test "x$ac_cv_func_fabsf" = x""yes; then :
52603 cat >>confdefs.h <<_ACEOF
52604 #define HAVE_FABSF 1
52605 _ACEOF
52608 done
52610 else
52612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
52613 $as_echo_n "checking for _fabsf declaration... " >&6; }
52614 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
52615 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
52616 $as_echo_n "(cached) " >&6
52617 else
52620 ac_ext=cpp
52621 ac_cpp='$CXXCPP $CPPFLAGS'
52622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52627 /* end confdefs.h. */
52628 #include <math.h>
52629 #ifdef HAVE_IEEEFP_H
52630 #include <ieeefp.h>
52631 #endif
52634 main ()
52636 _fabsf(0);
52638 return 0;
52640 _ACEOF
52641 if ac_fn_cxx_try_compile "$LINENO"; then :
52642 glibcxx_cv_func__fabsf_use=yes
52643 else
52644 glibcxx_cv_func__fabsf_use=no
52646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52647 ac_ext=c
52648 ac_cpp='$CPP $CPPFLAGS'
52649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
52658 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
52660 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
52661 for ac_func in _fabsf
52662 do :
52663 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
52664 if test "x$ac_cv_func__fabsf" = x""yes; then :
52665 cat >>confdefs.h <<_ACEOF
52666 #define HAVE__FABSF 1
52667 _ACEOF
52670 done
52679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
52680 $as_echo_n "checking for fmodf declaration... " >&6; }
52681 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
52682 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
52683 $as_echo_n "(cached) " >&6
52684 else
52687 ac_ext=cpp
52688 ac_cpp='$CXXCPP $CPPFLAGS'
52689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52694 /* end confdefs.h. */
52695 #include <math.h>
52697 main ()
52699 fmodf(0, 0);
52701 return 0;
52703 _ACEOF
52704 if ac_fn_cxx_try_compile "$LINENO"; then :
52705 glibcxx_cv_func_fmodf_use=yes
52706 else
52707 glibcxx_cv_func_fmodf_use=no
52709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52710 ac_ext=c
52711 ac_cpp='$CPP $CPPFLAGS'
52712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
52721 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
52723 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
52724 for ac_func in fmodf
52725 do :
52726 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
52727 if test "x$ac_cv_func_fmodf" = x""yes; then :
52728 cat >>confdefs.h <<_ACEOF
52729 #define HAVE_FMODF 1
52730 _ACEOF
52733 done
52735 else
52737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
52738 $as_echo_n "checking for _fmodf declaration... " >&6; }
52739 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
52740 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
52741 $as_echo_n "(cached) " >&6
52742 else
52745 ac_ext=cpp
52746 ac_cpp='$CXXCPP $CPPFLAGS'
52747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52752 /* end confdefs.h. */
52753 #include <math.h>
52755 main ()
52757 _fmodf(0, 0);
52759 return 0;
52761 _ACEOF
52762 if ac_fn_cxx_try_compile "$LINENO"; then :
52763 glibcxx_cv_func__fmodf_use=yes
52764 else
52765 glibcxx_cv_func__fmodf_use=no
52767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52768 ac_ext=c
52769 ac_cpp='$CPP $CPPFLAGS'
52770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
52779 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
52781 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
52782 for ac_func in _fmodf
52783 do :
52784 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
52785 if test "x$ac_cv_func__fmodf" = x""yes; then :
52786 cat >>confdefs.h <<_ACEOF
52787 #define HAVE__FMODF 1
52788 _ACEOF
52791 done
52800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
52801 $as_echo_n "checking for frexpf declaration... " >&6; }
52802 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
52803 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
52804 $as_echo_n "(cached) " >&6
52805 else
52808 ac_ext=cpp
52809 ac_cpp='$CXXCPP $CPPFLAGS'
52810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52815 /* end confdefs.h. */
52816 #include <math.h>
52818 main ()
52820 frexpf(0, 0);
52822 return 0;
52824 _ACEOF
52825 if ac_fn_cxx_try_compile "$LINENO"; then :
52826 glibcxx_cv_func_frexpf_use=yes
52827 else
52828 glibcxx_cv_func_frexpf_use=no
52830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52831 ac_ext=c
52832 ac_cpp='$CPP $CPPFLAGS'
52833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
52842 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
52844 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
52845 for ac_func in frexpf
52846 do :
52847 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
52848 if test "x$ac_cv_func_frexpf" = x""yes; then :
52849 cat >>confdefs.h <<_ACEOF
52850 #define HAVE_FREXPF 1
52851 _ACEOF
52854 done
52856 else
52858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
52859 $as_echo_n "checking for _frexpf declaration... " >&6; }
52860 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
52861 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
52862 $as_echo_n "(cached) " >&6
52863 else
52866 ac_ext=cpp
52867 ac_cpp='$CXXCPP $CPPFLAGS'
52868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52873 /* end confdefs.h. */
52874 #include <math.h>
52876 main ()
52878 _frexpf(0, 0);
52880 return 0;
52882 _ACEOF
52883 if ac_fn_cxx_try_compile "$LINENO"; then :
52884 glibcxx_cv_func__frexpf_use=yes
52885 else
52886 glibcxx_cv_func__frexpf_use=no
52888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52889 ac_ext=c
52890 ac_cpp='$CPP $CPPFLAGS'
52891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
52900 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
52902 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
52903 for ac_func in _frexpf
52904 do :
52905 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
52906 if test "x$ac_cv_func__frexpf" = x""yes; then :
52907 cat >>confdefs.h <<_ACEOF
52908 #define HAVE__FREXPF 1
52909 _ACEOF
52912 done
52921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
52922 $as_echo_n "checking for hypotf declaration... " >&6; }
52923 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
52924 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
52925 $as_echo_n "(cached) " >&6
52926 else
52929 ac_ext=cpp
52930 ac_cpp='$CXXCPP $CPPFLAGS'
52931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52936 /* end confdefs.h. */
52937 #include <math.h>
52939 main ()
52941 hypotf(0, 0);
52943 return 0;
52945 _ACEOF
52946 if ac_fn_cxx_try_compile "$LINENO"; then :
52947 glibcxx_cv_func_hypotf_use=yes
52948 else
52949 glibcxx_cv_func_hypotf_use=no
52951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52952 ac_ext=c
52953 ac_cpp='$CPP $CPPFLAGS'
52954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
52963 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
52965 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
52966 for ac_func in hypotf
52967 do :
52968 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
52969 if test "x$ac_cv_func_hypotf" = x""yes; then :
52970 cat >>confdefs.h <<_ACEOF
52971 #define HAVE_HYPOTF 1
52972 _ACEOF
52975 done
52977 else
52979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
52980 $as_echo_n "checking for _hypotf declaration... " >&6; }
52981 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
52982 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
52983 $as_echo_n "(cached) " >&6
52984 else
52987 ac_ext=cpp
52988 ac_cpp='$CXXCPP $CPPFLAGS'
52989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52994 /* end confdefs.h. */
52995 #include <math.h>
52997 main ()
52999 _hypotf(0, 0);
53001 return 0;
53003 _ACEOF
53004 if ac_fn_cxx_try_compile "$LINENO"; then :
53005 glibcxx_cv_func__hypotf_use=yes
53006 else
53007 glibcxx_cv_func__hypotf_use=no
53009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53010 ac_ext=c
53011 ac_cpp='$CPP $CPPFLAGS'
53012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
53021 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
53023 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
53024 for ac_func in _hypotf
53025 do :
53026 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
53027 if test "x$ac_cv_func__hypotf" = x""yes; then :
53028 cat >>confdefs.h <<_ACEOF
53029 #define HAVE__HYPOTF 1
53030 _ACEOF
53033 done
53042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
53043 $as_echo_n "checking for ldexpf declaration... " >&6; }
53044 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
53045 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
53046 $as_echo_n "(cached) " >&6
53047 else
53050 ac_ext=cpp
53051 ac_cpp='$CXXCPP $CPPFLAGS'
53052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53057 /* end confdefs.h. */
53058 #include <math.h>
53060 main ()
53062 ldexpf(0, 0);
53064 return 0;
53066 _ACEOF
53067 if ac_fn_cxx_try_compile "$LINENO"; then :
53068 glibcxx_cv_func_ldexpf_use=yes
53069 else
53070 glibcxx_cv_func_ldexpf_use=no
53072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53073 ac_ext=c
53074 ac_cpp='$CPP $CPPFLAGS'
53075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
53084 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
53086 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
53087 for ac_func in ldexpf
53088 do :
53089 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
53090 if test "x$ac_cv_func_ldexpf" = x""yes; then :
53091 cat >>confdefs.h <<_ACEOF
53092 #define HAVE_LDEXPF 1
53093 _ACEOF
53096 done
53098 else
53100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
53101 $as_echo_n "checking for _ldexpf declaration... " >&6; }
53102 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
53103 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
53104 $as_echo_n "(cached) " >&6
53105 else
53108 ac_ext=cpp
53109 ac_cpp='$CXXCPP $CPPFLAGS'
53110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53115 /* end confdefs.h. */
53116 #include <math.h>
53118 main ()
53120 _ldexpf(0, 0);
53122 return 0;
53124 _ACEOF
53125 if ac_fn_cxx_try_compile "$LINENO"; then :
53126 glibcxx_cv_func__ldexpf_use=yes
53127 else
53128 glibcxx_cv_func__ldexpf_use=no
53130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53131 ac_ext=c
53132 ac_cpp='$CPP $CPPFLAGS'
53133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
53142 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
53144 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
53145 for ac_func in _ldexpf
53146 do :
53147 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
53148 if test "x$ac_cv_func__ldexpf" = x""yes; then :
53149 cat >>confdefs.h <<_ACEOF
53150 #define HAVE__LDEXPF 1
53151 _ACEOF
53154 done
53163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
53164 $as_echo_n "checking for logf declaration... " >&6; }
53165 if test x${glibcxx_cv_func_logf_use+set} != xset; then
53166 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
53167 $as_echo_n "(cached) " >&6
53168 else
53171 ac_ext=cpp
53172 ac_cpp='$CXXCPP $CPPFLAGS'
53173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53178 /* end confdefs.h. */
53179 #include <math.h>
53180 #ifdef HAVE_IEEEFP_H
53181 #include <ieeefp.h>
53182 #endif
53185 main ()
53187 logf(0);
53189 return 0;
53191 _ACEOF
53192 if ac_fn_cxx_try_compile "$LINENO"; then :
53193 glibcxx_cv_func_logf_use=yes
53194 else
53195 glibcxx_cv_func_logf_use=no
53197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53198 ac_ext=c
53199 ac_cpp='$CPP $CPPFLAGS'
53200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
53209 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
53211 if test x$glibcxx_cv_func_logf_use = x"yes"; then
53212 for ac_func in logf
53213 do :
53214 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
53215 if test "x$ac_cv_func_logf" = x""yes; then :
53216 cat >>confdefs.h <<_ACEOF
53217 #define HAVE_LOGF 1
53218 _ACEOF
53221 done
53223 else
53225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
53226 $as_echo_n "checking for _logf declaration... " >&6; }
53227 if test x${glibcxx_cv_func__logf_use+set} != xset; then
53228 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
53229 $as_echo_n "(cached) " >&6
53230 else
53233 ac_ext=cpp
53234 ac_cpp='$CXXCPP $CPPFLAGS'
53235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53240 /* end confdefs.h. */
53241 #include <math.h>
53242 #ifdef HAVE_IEEEFP_H
53243 #include <ieeefp.h>
53244 #endif
53247 main ()
53249 _logf(0);
53251 return 0;
53253 _ACEOF
53254 if ac_fn_cxx_try_compile "$LINENO"; then :
53255 glibcxx_cv_func__logf_use=yes
53256 else
53257 glibcxx_cv_func__logf_use=no
53259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53260 ac_ext=c
53261 ac_cpp='$CPP $CPPFLAGS'
53262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
53271 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
53273 if test x$glibcxx_cv_func__logf_use = x"yes"; then
53274 for ac_func in _logf
53275 do :
53276 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
53277 if test "x$ac_cv_func__logf" = x""yes; then :
53278 cat >>confdefs.h <<_ACEOF
53279 #define HAVE__LOGF 1
53280 _ACEOF
53283 done
53292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
53293 $as_echo_n "checking for log10f declaration... " >&6; }
53294 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
53295 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
53296 $as_echo_n "(cached) " >&6
53297 else
53300 ac_ext=cpp
53301 ac_cpp='$CXXCPP $CPPFLAGS'
53302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53307 /* end confdefs.h. */
53308 #include <math.h>
53309 #ifdef HAVE_IEEEFP_H
53310 #include <ieeefp.h>
53311 #endif
53314 main ()
53316 log10f(0);
53318 return 0;
53320 _ACEOF
53321 if ac_fn_cxx_try_compile "$LINENO"; then :
53322 glibcxx_cv_func_log10f_use=yes
53323 else
53324 glibcxx_cv_func_log10f_use=no
53326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53327 ac_ext=c
53328 ac_cpp='$CPP $CPPFLAGS'
53329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
53338 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
53340 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
53341 for ac_func in log10f
53342 do :
53343 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
53344 if test "x$ac_cv_func_log10f" = x""yes; then :
53345 cat >>confdefs.h <<_ACEOF
53346 #define HAVE_LOG10F 1
53347 _ACEOF
53350 done
53352 else
53354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
53355 $as_echo_n "checking for _log10f declaration... " >&6; }
53356 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
53357 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
53358 $as_echo_n "(cached) " >&6
53359 else
53362 ac_ext=cpp
53363 ac_cpp='$CXXCPP $CPPFLAGS'
53364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53369 /* end confdefs.h. */
53370 #include <math.h>
53371 #ifdef HAVE_IEEEFP_H
53372 #include <ieeefp.h>
53373 #endif
53376 main ()
53378 _log10f(0);
53380 return 0;
53382 _ACEOF
53383 if ac_fn_cxx_try_compile "$LINENO"; then :
53384 glibcxx_cv_func__log10f_use=yes
53385 else
53386 glibcxx_cv_func__log10f_use=no
53388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53389 ac_ext=c
53390 ac_cpp='$CPP $CPPFLAGS'
53391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
53400 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
53402 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
53403 for ac_func in _log10f
53404 do :
53405 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
53406 if test "x$ac_cv_func__log10f" = x""yes; then :
53407 cat >>confdefs.h <<_ACEOF
53408 #define HAVE__LOG10F 1
53409 _ACEOF
53412 done
53421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
53422 $as_echo_n "checking for modff declaration... " >&6; }
53423 if test x${glibcxx_cv_func_modff_use+set} != xset; then
53424 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
53425 $as_echo_n "(cached) " >&6
53426 else
53429 ac_ext=cpp
53430 ac_cpp='$CXXCPP $CPPFLAGS'
53431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53436 /* end confdefs.h. */
53437 #include <math.h>
53439 main ()
53441 modff(0, 0);
53443 return 0;
53445 _ACEOF
53446 if ac_fn_cxx_try_compile "$LINENO"; then :
53447 glibcxx_cv_func_modff_use=yes
53448 else
53449 glibcxx_cv_func_modff_use=no
53451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53452 ac_ext=c
53453 ac_cpp='$CPP $CPPFLAGS'
53454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
53463 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
53465 if test x$glibcxx_cv_func_modff_use = x"yes"; then
53466 for ac_func in modff
53467 do :
53468 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
53469 if test "x$ac_cv_func_modff" = x""yes; then :
53470 cat >>confdefs.h <<_ACEOF
53471 #define HAVE_MODFF 1
53472 _ACEOF
53475 done
53477 else
53479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
53480 $as_echo_n "checking for _modff declaration... " >&6; }
53481 if test x${glibcxx_cv_func__modff_use+set} != xset; then
53482 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
53483 $as_echo_n "(cached) " >&6
53484 else
53487 ac_ext=cpp
53488 ac_cpp='$CXXCPP $CPPFLAGS'
53489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53494 /* end confdefs.h. */
53495 #include <math.h>
53497 main ()
53499 _modff(0, 0);
53501 return 0;
53503 _ACEOF
53504 if ac_fn_cxx_try_compile "$LINENO"; then :
53505 glibcxx_cv_func__modff_use=yes
53506 else
53507 glibcxx_cv_func__modff_use=no
53509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53510 ac_ext=c
53511 ac_cpp='$CPP $CPPFLAGS'
53512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
53521 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
53523 if test x$glibcxx_cv_func__modff_use = x"yes"; then
53524 for ac_func in _modff
53525 do :
53526 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
53527 if test "x$ac_cv_func__modff" = x""yes; then :
53528 cat >>confdefs.h <<_ACEOF
53529 #define HAVE__MODFF 1
53530 _ACEOF
53533 done
53542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
53543 $as_echo_n "checking for modf declaration... " >&6; }
53544 if test x${glibcxx_cv_func_modf_use+set} != xset; then
53545 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
53546 $as_echo_n "(cached) " >&6
53547 else
53550 ac_ext=cpp
53551 ac_cpp='$CXXCPP $CPPFLAGS'
53552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53557 /* end confdefs.h. */
53558 #include <math.h>
53560 main ()
53562 modf(0, 0);
53564 return 0;
53566 _ACEOF
53567 if ac_fn_cxx_try_compile "$LINENO"; then :
53568 glibcxx_cv_func_modf_use=yes
53569 else
53570 glibcxx_cv_func_modf_use=no
53572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53573 ac_ext=c
53574 ac_cpp='$CPP $CPPFLAGS'
53575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
53584 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
53586 if test x$glibcxx_cv_func_modf_use = x"yes"; then
53587 for ac_func in modf
53588 do :
53589 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
53590 if test "x$ac_cv_func_modf" = x""yes; then :
53591 cat >>confdefs.h <<_ACEOF
53592 #define HAVE_MODF 1
53593 _ACEOF
53596 done
53598 else
53600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
53601 $as_echo_n "checking for _modf declaration... " >&6; }
53602 if test x${glibcxx_cv_func__modf_use+set} != xset; then
53603 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
53604 $as_echo_n "(cached) " >&6
53605 else
53608 ac_ext=cpp
53609 ac_cpp='$CXXCPP $CPPFLAGS'
53610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53615 /* end confdefs.h. */
53616 #include <math.h>
53618 main ()
53620 _modf(0, 0);
53622 return 0;
53624 _ACEOF
53625 if ac_fn_cxx_try_compile "$LINENO"; then :
53626 glibcxx_cv_func__modf_use=yes
53627 else
53628 glibcxx_cv_func__modf_use=no
53630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53631 ac_ext=c
53632 ac_cpp='$CPP $CPPFLAGS'
53633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
53642 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
53644 if test x$glibcxx_cv_func__modf_use = x"yes"; then
53645 for ac_func in _modf
53646 do :
53647 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
53648 if test "x$ac_cv_func__modf" = x""yes; then :
53649 cat >>confdefs.h <<_ACEOF
53650 #define HAVE__MODF 1
53651 _ACEOF
53654 done
53663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
53664 $as_echo_n "checking for powf declaration... " >&6; }
53665 if test x${glibcxx_cv_func_powf_use+set} != xset; then
53666 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
53667 $as_echo_n "(cached) " >&6
53668 else
53671 ac_ext=cpp
53672 ac_cpp='$CXXCPP $CPPFLAGS'
53673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53678 /* end confdefs.h. */
53679 #include <math.h>
53681 main ()
53683 powf(0, 0);
53685 return 0;
53687 _ACEOF
53688 if ac_fn_cxx_try_compile "$LINENO"; then :
53689 glibcxx_cv_func_powf_use=yes
53690 else
53691 glibcxx_cv_func_powf_use=no
53693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53694 ac_ext=c
53695 ac_cpp='$CPP $CPPFLAGS'
53696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
53705 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
53707 if test x$glibcxx_cv_func_powf_use = x"yes"; then
53708 for ac_func in powf
53709 do :
53710 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
53711 if test "x$ac_cv_func_powf" = x""yes; then :
53712 cat >>confdefs.h <<_ACEOF
53713 #define HAVE_POWF 1
53714 _ACEOF
53717 done
53719 else
53721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
53722 $as_echo_n "checking for _powf declaration... " >&6; }
53723 if test x${glibcxx_cv_func__powf_use+set} != xset; then
53724 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
53725 $as_echo_n "(cached) " >&6
53726 else
53729 ac_ext=cpp
53730 ac_cpp='$CXXCPP $CPPFLAGS'
53731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53736 /* end confdefs.h. */
53737 #include <math.h>
53739 main ()
53741 _powf(0, 0);
53743 return 0;
53745 _ACEOF
53746 if ac_fn_cxx_try_compile "$LINENO"; then :
53747 glibcxx_cv_func__powf_use=yes
53748 else
53749 glibcxx_cv_func__powf_use=no
53751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53752 ac_ext=c
53753 ac_cpp='$CPP $CPPFLAGS'
53754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
53763 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
53765 if test x$glibcxx_cv_func__powf_use = x"yes"; then
53766 for ac_func in _powf
53767 do :
53768 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
53769 if test "x$ac_cv_func__powf" = x""yes; then :
53770 cat >>confdefs.h <<_ACEOF
53771 #define HAVE__POWF 1
53772 _ACEOF
53775 done
53784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
53785 $as_echo_n "checking for sqrtf declaration... " >&6; }
53786 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
53787 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
53788 $as_echo_n "(cached) " >&6
53789 else
53792 ac_ext=cpp
53793 ac_cpp='$CXXCPP $CPPFLAGS'
53794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53799 /* end confdefs.h. */
53800 #include <math.h>
53801 #ifdef HAVE_IEEEFP_H
53802 #include <ieeefp.h>
53803 #endif
53806 main ()
53808 sqrtf(0);
53810 return 0;
53812 _ACEOF
53813 if ac_fn_cxx_try_compile "$LINENO"; then :
53814 glibcxx_cv_func_sqrtf_use=yes
53815 else
53816 glibcxx_cv_func_sqrtf_use=no
53818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53819 ac_ext=c
53820 ac_cpp='$CPP $CPPFLAGS'
53821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
53830 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
53832 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
53833 for ac_func in sqrtf
53834 do :
53835 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
53836 if test "x$ac_cv_func_sqrtf" = x""yes; then :
53837 cat >>confdefs.h <<_ACEOF
53838 #define HAVE_SQRTF 1
53839 _ACEOF
53842 done
53844 else
53846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
53847 $as_echo_n "checking for _sqrtf declaration... " >&6; }
53848 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
53849 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
53850 $as_echo_n "(cached) " >&6
53851 else
53854 ac_ext=cpp
53855 ac_cpp='$CXXCPP $CPPFLAGS'
53856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53861 /* end confdefs.h. */
53862 #include <math.h>
53863 #ifdef HAVE_IEEEFP_H
53864 #include <ieeefp.h>
53865 #endif
53868 main ()
53870 _sqrtf(0);
53872 return 0;
53874 _ACEOF
53875 if ac_fn_cxx_try_compile "$LINENO"; then :
53876 glibcxx_cv_func__sqrtf_use=yes
53877 else
53878 glibcxx_cv_func__sqrtf_use=no
53880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53881 ac_ext=c
53882 ac_cpp='$CPP $CPPFLAGS'
53883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
53892 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
53894 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
53895 for ac_func in _sqrtf
53896 do :
53897 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
53898 if test "x$ac_cv_func__sqrtf" = x""yes; then :
53899 cat >>confdefs.h <<_ACEOF
53900 #define HAVE__SQRTF 1
53901 _ACEOF
53904 done
53913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
53914 $as_echo_n "checking for sincosf declaration... " >&6; }
53915 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
53916 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
53917 $as_echo_n "(cached) " >&6
53918 else
53921 ac_ext=cpp
53922 ac_cpp='$CXXCPP $CPPFLAGS'
53923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53928 /* end confdefs.h. */
53929 #include <math.h>
53931 main ()
53933 sincosf(0, 0, 0);
53935 return 0;
53937 _ACEOF
53938 if ac_fn_cxx_try_compile "$LINENO"; then :
53939 glibcxx_cv_func_sincosf_use=yes
53940 else
53941 glibcxx_cv_func_sincosf_use=no
53943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53944 ac_ext=c
53945 ac_cpp='$CPP $CPPFLAGS'
53946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
53955 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
53957 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
53958 for ac_func in sincosf
53959 do :
53960 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
53961 if test "x$ac_cv_func_sincosf" = x""yes; then :
53962 cat >>confdefs.h <<_ACEOF
53963 #define HAVE_SINCOSF 1
53964 _ACEOF
53967 done
53969 else
53971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
53972 $as_echo_n "checking for _sincosf declaration... " >&6; }
53973 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
53974 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
53975 $as_echo_n "(cached) " >&6
53976 else
53979 ac_ext=cpp
53980 ac_cpp='$CXXCPP $CPPFLAGS'
53981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53986 /* end confdefs.h. */
53987 #include <math.h>
53989 main ()
53991 _sincosf(0, 0, 0);
53993 return 0;
53995 _ACEOF
53996 if ac_fn_cxx_try_compile "$LINENO"; then :
53997 glibcxx_cv_func__sincosf_use=yes
53998 else
53999 glibcxx_cv_func__sincosf_use=no
54001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54002 ac_ext=c
54003 ac_cpp='$CPP $CPPFLAGS'
54004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
54013 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
54015 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
54016 for ac_func in _sincosf
54017 do :
54018 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
54019 if test "x$ac_cv_func__sincosf" = x""yes; then :
54020 cat >>confdefs.h <<_ACEOF
54021 #define HAVE__SINCOSF 1
54022 _ACEOF
54025 done
54034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
54035 $as_echo_n "checking for finitef declaration... " >&6; }
54036 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
54037 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
54038 $as_echo_n "(cached) " >&6
54039 else
54042 ac_ext=cpp
54043 ac_cpp='$CXXCPP $CPPFLAGS'
54044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54049 /* end confdefs.h. */
54050 #include <math.h>
54051 #ifdef HAVE_IEEEFP_H
54052 #include <ieeefp.h>
54053 #endif
54056 main ()
54058 finitef(0);
54060 return 0;
54062 _ACEOF
54063 if ac_fn_cxx_try_compile "$LINENO"; then :
54064 glibcxx_cv_func_finitef_use=yes
54065 else
54066 glibcxx_cv_func_finitef_use=no
54068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54069 ac_ext=c
54070 ac_cpp='$CPP $CPPFLAGS'
54071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
54080 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
54082 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
54083 for ac_func in finitef
54084 do :
54085 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
54086 if test "x$ac_cv_func_finitef" = x""yes; then :
54087 cat >>confdefs.h <<_ACEOF
54088 #define HAVE_FINITEF 1
54089 _ACEOF
54092 done
54094 else
54096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
54097 $as_echo_n "checking for _finitef declaration... " >&6; }
54098 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
54099 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
54100 $as_echo_n "(cached) " >&6
54101 else
54104 ac_ext=cpp
54105 ac_cpp='$CXXCPP $CPPFLAGS'
54106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54111 /* end confdefs.h. */
54112 #include <math.h>
54113 #ifdef HAVE_IEEEFP_H
54114 #include <ieeefp.h>
54115 #endif
54118 main ()
54120 _finitef(0);
54122 return 0;
54124 _ACEOF
54125 if ac_fn_cxx_try_compile "$LINENO"; then :
54126 glibcxx_cv_func__finitef_use=yes
54127 else
54128 glibcxx_cv_func__finitef_use=no
54130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54131 ac_ext=c
54132 ac_cpp='$CPP $CPPFLAGS'
54133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
54142 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
54144 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
54145 for ac_func in _finitef
54146 do :
54147 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
54148 if test "x$ac_cv_func__finitef" = x""yes; then :
54149 cat >>confdefs.h <<_ACEOF
54150 #define HAVE__FINITEF 1
54151 _ACEOF
54154 done
54163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
54164 $as_echo_n "checking for long double trig functions... " >&6; }
54165 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
54166 $as_echo_n "(cached) " >&6
54167 else
54170 ac_ext=cpp
54171 ac_cpp='$CXXCPP $CPPFLAGS'
54172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54177 /* end confdefs.h. */
54178 #include <math.h>
54180 main ()
54182 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
54184 return 0;
54186 _ACEOF
54187 if ac_fn_cxx_try_compile "$LINENO"; then :
54188 glibcxx_cv_func_long_double_trig_use=yes
54189 else
54190 glibcxx_cv_func_long_double_trig_use=no
54192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54193 ac_ext=c
54194 ac_cpp='$CPP $CPPFLAGS'
54195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
54202 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
54203 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
54204 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
54205 do :
54206 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54207 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54208 eval as_val=\$$as_ac_var
54209 if test "x$as_val" = x""yes; then :
54210 cat >>confdefs.h <<_ACEOF
54211 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54212 _ACEOF
54215 done
54217 else
54218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
54219 $as_echo_n "checking for _long double trig functions... " >&6; }
54220 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
54221 $as_echo_n "(cached) " >&6
54222 else
54225 ac_ext=cpp
54226 ac_cpp='$CXXCPP $CPPFLAGS'
54227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54232 /* end confdefs.h. */
54233 #include <math.h>
54235 main ()
54237 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
54239 return 0;
54241 _ACEOF
54242 if ac_fn_cxx_try_compile "$LINENO"; then :
54243 glibcxx_cv_func__long_double_trig_use=yes
54244 else
54245 glibcxx_cv_func__long_double_trig_use=no
54247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54248 ac_ext=c
54249 ac_cpp='$CPP $CPPFLAGS'
54250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
54257 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
54258 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
54259 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
54260 do :
54261 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54262 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54263 eval as_val=\$$as_ac_var
54264 if test "x$as_val" = x""yes; then :
54265 cat >>confdefs.h <<_ACEOF
54266 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54267 _ACEOF
54270 done
54279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
54280 $as_echo_n "checking for long double round functions... " >&6; }
54281 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
54282 $as_echo_n "(cached) " >&6
54283 else
54286 ac_ext=cpp
54287 ac_cpp='$CXXCPP $CPPFLAGS'
54288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54293 /* end confdefs.h. */
54294 #include <math.h>
54296 main ()
54298 ceill (0); floorl (0);
54300 return 0;
54302 _ACEOF
54303 if ac_fn_cxx_try_compile "$LINENO"; then :
54304 glibcxx_cv_func_long_double_round_use=yes
54305 else
54306 glibcxx_cv_func_long_double_round_use=no
54308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54309 ac_ext=c
54310 ac_cpp='$CPP $CPPFLAGS'
54311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
54318 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
54319 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
54320 for ac_func in ceill floorl
54321 do :
54322 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54323 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54324 eval as_val=\$$as_ac_var
54325 if test "x$as_val" = x""yes; then :
54326 cat >>confdefs.h <<_ACEOF
54327 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54328 _ACEOF
54331 done
54333 else
54334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
54335 $as_echo_n "checking for _long double round functions... " >&6; }
54336 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
54337 $as_echo_n "(cached) " >&6
54338 else
54341 ac_ext=cpp
54342 ac_cpp='$CXXCPP $CPPFLAGS'
54343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54348 /* end confdefs.h. */
54349 #include <math.h>
54351 main ()
54353 _ceill (0); _floorl (0);
54355 return 0;
54357 _ACEOF
54358 if ac_fn_cxx_try_compile "$LINENO"; then :
54359 glibcxx_cv_func__long_double_round_use=yes
54360 else
54361 glibcxx_cv_func__long_double_round_use=no
54363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54364 ac_ext=c
54365 ac_cpp='$CPP $CPPFLAGS'
54366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
54373 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
54374 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
54375 for ac_func in _ceill _floorl
54376 do :
54377 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54378 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54379 eval as_val=\$$as_ac_var
54380 if test "x$as_val" = x""yes; then :
54381 cat >>confdefs.h <<_ACEOF
54382 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54383 _ACEOF
54386 done
54396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
54397 $as_echo_n "checking for isnanl declaration... " >&6; }
54398 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
54399 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
54400 $as_echo_n "(cached) " >&6
54401 else
54404 ac_ext=cpp
54405 ac_cpp='$CXXCPP $CPPFLAGS'
54406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54411 /* end confdefs.h. */
54412 #include <math.h>
54413 #ifdef HAVE_IEEEFP_H
54414 #include <ieeefp.h>
54415 #endif
54418 main ()
54420 isnanl(0);
54422 return 0;
54424 _ACEOF
54425 if ac_fn_cxx_try_compile "$LINENO"; then :
54426 glibcxx_cv_func_isnanl_use=yes
54427 else
54428 glibcxx_cv_func_isnanl_use=no
54430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54431 ac_ext=c
54432 ac_cpp='$CPP $CPPFLAGS'
54433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
54442 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
54444 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
54445 for ac_func in isnanl
54446 do :
54447 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
54448 if test "x$ac_cv_func_isnanl" = x""yes; then :
54449 cat >>confdefs.h <<_ACEOF
54450 #define HAVE_ISNANL 1
54451 _ACEOF
54454 done
54456 else
54458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
54459 $as_echo_n "checking for _isnanl declaration... " >&6; }
54460 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
54461 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
54462 $as_echo_n "(cached) " >&6
54463 else
54466 ac_ext=cpp
54467 ac_cpp='$CXXCPP $CPPFLAGS'
54468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54473 /* end confdefs.h. */
54474 #include <math.h>
54475 #ifdef HAVE_IEEEFP_H
54476 #include <ieeefp.h>
54477 #endif
54480 main ()
54482 _isnanl(0);
54484 return 0;
54486 _ACEOF
54487 if ac_fn_cxx_try_compile "$LINENO"; then :
54488 glibcxx_cv_func__isnanl_use=yes
54489 else
54490 glibcxx_cv_func__isnanl_use=no
54492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54493 ac_ext=c
54494 ac_cpp='$CPP $CPPFLAGS'
54495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
54504 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
54506 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
54507 for ac_func in _isnanl
54508 do :
54509 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
54510 if test "x$ac_cv_func__isnanl" = x""yes; then :
54511 cat >>confdefs.h <<_ACEOF
54512 #define HAVE__ISNANL 1
54513 _ACEOF
54516 done
54525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
54526 $as_echo_n "checking for isinfl declaration... " >&6; }
54527 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
54528 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
54529 $as_echo_n "(cached) " >&6
54530 else
54533 ac_ext=cpp
54534 ac_cpp='$CXXCPP $CPPFLAGS'
54535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54540 /* end confdefs.h. */
54541 #include <math.h>
54542 #ifdef HAVE_IEEEFP_H
54543 #include <ieeefp.h>
54544 #endif
54547 main ()
54549 isinfl(0);
54551 return 0;
54553 _ACEOF
54554 if ac_fn_cxx_try_compile "$LINENO"; then :
54555 glibcxx_cv_func_isinfl_use=yes
54556 else
54557 glibcxx_cv_func_isinfl_use=no
54559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54560 ac_ext=c
54561 ac_cpp='$CPP $CPPFLAGS'
54562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
54571 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
54573 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
54574 for ac_func in isinfl
54575 do :
54576 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
54577 if test "x$ac_cv_func_isinfl" = x""yes; then :
54578 cat >>confdefs.h <<_ACEOF
54579 #define HAVE_ISINFL 1
54580 _ACEOF
54583 done
54585 else
54587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
54588 $as_echo_n "checking for _isinfl declaration... " >&6; }
54589 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
54590 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
54591 $as_echo_n "(cached) " >&6
54592 else
54595 ac_ext=cpp
54596 ac_cpp='$CXXCPP $CPPFLAGS'
54597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54602 /* end confdefs.h. */
54603 #include <math.h>
54604 #ifdef HAVE_IEEEFP_H
54605 #include <ieeefp.h>
54606 #endif
54609 main ()
54611 _isinfl(0);
54613 return 0;
54615 _ACEOF
54616 if ac_fn_cxx_try_compile "$LINENO"; then :
54617 glibcxx_cv_func__isinfl_use=yes
54618 else
54619 glibcxx_cv_func__isinfl_use=no
54621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54622 ac_ext=c
54623 ac_cpp='$CPP $CPPFLAGS'
54624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
54633 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
54635 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
54636 for ac_func in _isinfl
54637 do :
54638 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
54639 if test "x$ac_cv_func__isinfl" = x""yes; then :
54640 cat >>confdefs.h <<_ACEOF
54641 #define HAVE__ISINFL 1
54642 _ACEOF
54645 done
54654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
54655 $as_echo_n "checking for atan2l declaration... " >&6; }
54656 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
54657 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
54658 $as_echo_n "(cached) " >&6
54659 else
54662 ac_ext=cpp
54663 ac_cpp='$CXXCPP $CPPFLAGS'
54664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54669 /* end confdefs.h. */
54670 #include <math.h>
54672 main ()
54674 atan2l(0, 0);
54676 return 0;
54678 _ACEOF
54679 if ac_fn_cxx_try_compile "$LINENO"; then :
54680 glibcxx_cv_func_atan2l_use=yes
54681 else
54682 glibcxx_cv_func_atan2l_use=no
54684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54685 ac_ext=c
54686 ac_cpp='$CPP $CPPFLAGS'
54687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
54696 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
54698 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
54699 for ac_func in atan2l
54700 do :
54701 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
54702 if test "x$ac_cv_func_atan2l" = x""yes; then :
54703 cat >>confdefs.h <<_ACEOF
54704 #define HAVE_ATAN2L 1
54705 _ACEOF
54708 done
54710 else
54712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
54713 $as_echo_n "checking for _atan2l declaration... " >&6; }
54714 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
54715 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
54716 $as_echo_n "(cached) " >&6
54717 else
54720 ac_ext=cpp
54721 ac_cpp='$CXXCPP $CPPFLAGS'
54722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54727 /* end confdefs.h. */
54728 #include <math.h>
54730 main ()
54732 _atan2l(0, 0);
54734 return 0;
54736 _ACEOF
54737 if ac_fn_cxx_try_compile "$LINENO"; then :
54738 glibcxx_cv_func__atan2l_use=yes
54739 else
54740 glibcxx_cv_func__atan2l_use=no
54742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54743 ac_ext=c
54744 ac_cpp='$CPP $CPPFLAGS'
54745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
54754 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
54756 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
54757 for ac_func in _atan2l
54758 do :
54759 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
54760 if test "x$ac_cv_func__atan2l" = x""yes; then :
54761 cat >>confdefs.h <<_ACEOF
54762 #define HAVE__ATAN2L 1
54763 _ACEOF
54766 done
54775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
54776 $as_echo_n "checking for expl declaration... " >&6; }
54777 if test x${glibcxx_cv_func_expl_use+set} != xset; then
54778 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
54779 $as_echo_n "(cached) " >&6
54780 else
54783 ac_ext=cpp
54784 ac_cpp='$CXXCPP $CPPFLAGS'
54785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54790 /* end confdefs.h. */
54791 #include <math.h>
54792 #ifdef HAVE_IEEEFP_H
54793 #include <ieeefp.h>
54794 #endif
54797 main ()
54799 expl(0);
54801 return 0;
54803 _ACEOF
54804 if ac_fn_cxx_try_compile "$LINENO"; then :
54805 glibcxx_cv_func_expl_use=yes
54806 else
54807 glibcxx_cv_func_expl_use=no
54809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54810 ac_ext=c
54811 ac_cpp='$CPP $CPPFLAGS'
54812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
54821 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
54823 if test x$glibcxx_cv_func_expl_use = x"yes"; then
54824 for ac_func in expl
54825 do :
54826 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
54827 if test "x$ac_cv_func_expl" = x""yes; then :
54828 cat >>confdefs.h <<_ACEOF
54829 #define HAVE_EXPL 1
54830 _ACEOF
54833 done
54835 else
54837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
54838 $as_echo_n "checking for _expl declaration... " >&6; }
54839 if test x${glibcxx_cv_func__expl_use+set} != xset; then
54840 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
54841 $as_echo_n "(cached) " >&6
54842 else
54845 ac_ext=cpp
54846 ac_cpp='$CXXCPP $CPPFLAGS'
54847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54852 /* end confdefs.h. */
54853 #include <math.h>
54854 #ifdef HAVE_IEEEFP_H
54855 #include <ieeefp.h>
54856 #endif
54859 main ()
54861 _expl(0);
54863 return 0;
54865 _ACEOF
54866 if ac_fn_cxx_try_compile "$LINENO"; then :
54867 glibcxx_cv_func__expl_use=yes
54868 else
54869 glibcxx_cv_func__expl_use=no
54871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54872 ac_ext=c
54873 ac_cpp='$CPP $CPPFLAGS'
54874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
54883 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
54885 if test x$glibcxx_cv_func__expl_use = x"yes"; then
54886 for ac_func in _expl
54887 do :
54888 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
54889 if test "x$ac_cv_func__expl" = x""yes; then :
54890 cat >>confdefs.h <<_ACEOF
54891 #define HAVE__EXPL 1
54892 _ACEOF
54895 done
54904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
54905 $as_echo_n "checking for fabsl declaration... " >&6; }
54906 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
54907 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
54908 $as_echo_n "(cached) " >&6
54909 else
54912 ac_ext=cpp
54913 ac_cpp='$CXXCPP $CPPFLAGS'
54914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54919 /* end confdefs.h. */
54920 #include <math.h>
54921 #ifdef HAVE_IEEEFP_H
54922 #include <ieeefp.h>
54923 #endif
54926 main ()
54928 fabsl(0);
54930 return 0;
54932 _ACEOF
54933 if ac_fn_cxx_try_compile "$LINENO"; then :
54934 glibcxx_cv_func_fabsl_use=yes
54935 else
54936 glibcxx_cv_func_fabsl_use=no
54938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54939 ac_ext=c
54940 ac_cpp='$CPP $CPPFLAGS'
54941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
54950 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
54952 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
54953 for ac_func in fabsl
54954 do :
54955 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
54956 if test "x$ac_cv_func_fabsl" = x""yes; then :
54957 cat >>confdefs.h <<_ACEOF
54958 #define HAVE_FABSL 1
54959 _ACEOF
54962 done
54964 else
54966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
54967 $as_echo_n "checking for _fabsl declaration... " >&6; }
54968 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
54969 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
54970 $as_echo_n "(cached) " >&6
54971 else
54974 ac_ext=cpp
54975 ac_cpp='$CXXCPP $CPPFLAGS'
54976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54981 /* end confdefs.h. */
54982 #include <math.h>
54983 #ifdef HAVE_IEEEFP_H
54984 #include <ieeefp.h>
54985 #endif
54988 main ()
54990 _fabsl(0);
54992 return 0;
54994 _ACEOF
54995 if ac_fn_cxx_try_compile "$LINENO"; then :
54996 glibcxx_cv_func__fabsl_use=yes
54997 else
54998 glibcxx_cv_func__fabsl_use=no
55000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55001 ac_ext=c
55002 ac_cpp='$CPP $CPPFLAGS'
55003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
55012 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
55014 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
55015 for ac_func in _fabsl
55016 do :
55017 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
55018 if test "x$ac_cv_func__fabsl" = x""yes; then :
55019 cat >>confdefs.h <<_ACEOF
55020 #define HAVE__FABSL 1
55021 _ACEOF
55024 done
55033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
55034 $as_echo_n "checking for fmodl declaration... " >&6; }
55035 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
55036 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
55037 $as_echo_n "(cached) " >&6
55038 else
55041 ac_ext=cpp
55042 ac_cpp='$CXXCPP $CPPFLAGS'
55043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55048 /* end confdefs.h. */
55049 #include <math.h>
55051 main ()
55053 fmodl(0, 0);
55055 return 0;
55057 _ACEOF
55058 if ac_fn_cxx_try_compile "$LINENO"; then :
55059 glibcxx_cv_func_fmodl_use=yes
55060 else
55061 glibcxx_cv_func_fmodl_use=no
55063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55064 ac_ext=c
55065 ac_cpp='$CPP $CPPFLAGS'
55066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
55075 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
55077 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
55078 for ac_func in fmodl
55079 do :
55080 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
55081 if test "x$ac_cv_func_fmodl" = x""yes; then :
55082 cat >>confdefs.h <<_ACEOF
55083 #define HAVE_FMODL 1
55084 _ACEOF
55087 done
55089 else
55091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
55092 $as_echo_n "checking for _fmodl declaration... " >&6; }
55093 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
55094 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
55095 $as_echo_n "(cached) " >&6
55096 else
55099 ac_ext=cpp
55100 ac_cpp='$CXXCPP $CPPFLAGS'
55101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55106 /* end confdefs.h. */
55107 #include <math.h>
55109 main ()
55111 _fmodl(0, 0);
55113 return 0;
55115 _ACEOF
55116 if ac_fn_cxx_try_compile "$LINENO"; then :
55117 glibcxx_cv_func__fmodl_use=yes
55118 else
55119 glibcxx_cv_func__fmodl_use=no
55121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55122 ac_ext=c
55123 ac_cpp='$CPP $CPPFLAGS'
55124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
55133 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
55135 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
55136 for ac_func in _fmodl
55137 do :
55138 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
55139 if test "x$ac_cv_func__fmodl" = x""yes; then :
55140 cat >>confdefs.h <<_ACEOF
55141 #define HAVE__FMODL 1
55142 _ACEOF
55145 done
55154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
55155 $as_echo_n "checking for frexpl declaration... " >&6; }
55156 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
55157 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
55158 $as_echo_n "(cached) " >&6
55159 else
55162 ac_ext=cpp
55163 ac_cpp='$CXXCPP $CPPFLAGS'
55164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55169 /* end confdefs.h. */
55170 #include <math.h>
55172 main ()
55174 frexpl(0, 0);
55176 return 0;
55178 _ACEOF
55179 if ac_fn_cxx_try_compile "$LINENO"; then :
55180 glibcxx_cv_func_frexpl_use=yes
55181 else
55182 glibcxx_cv_func_frexpl_use=no
55184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55185 ac_ext=c
55186 ac_cpp='$CPP $CPPFLAGS'
55187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
55196 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
55198 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
55199 for ac_func in frexpl
55200 do :
55201 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
55202 if test "x$ac_cv_func_frexpl" = x""yes; then :
55203 cat >>confdefs.h <<_ACEOF
55204 #define HAVE_FREXPL 1
55205 _ACEOF
55208 done
55210 else
55212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
55213 $as_echo_n "checking for _frexpl declaration... " >&6; }
55214 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
55215 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
55216 $as_echo_n "(cached) " >&6
55217 else
55220 ac_ext=cpp
55221 ac_cpp='$CXXCPP $CPPFLAGS'
55222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55227 /* end confdefs.h. */
55228 #include <math.h>
55230 main ()
55232 _frexpl(0, 0);
55234 return 0;
55236 _ACEOF
55237 if ac_fn_cxx_try_compile "$LINENO"; then :
55238 glibcxx_cv_func__frexpl_use=yes
55239 else
55240 glibcxx_cv_func__frexpl_use=no
55242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55243 ac_ext=c
55244 ac_cpp='$CPP $CPPFLAGS'
55245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
55254 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
55256 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
55257 for ac_func in _frexpl
55258 do :
55259 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
55260 if test "x$ac_cv_func__frexpl" = x""yes; then :
55261 cat >>confdefs.h <<_ACEOF
55262 #define HAVE__FREXPL 1
55263 _ACEOF
55266 done
55275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
55276 $as_echo_n "checking for hypotl declaration... " >&6; }
55277 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
55278 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
55279 $as_echo_n "(cached) " >&6
55280 else
55283 ac_ext=cpp
55284 ac_cpp='$CXXCPP $CPPFLAGS'
55285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55290 /* end confdefs.h. */
55291 #include <math.h>
55293 main ()
55295 hypotl(0, 0);
55297 return 0;
55299 _ACEOF
55300 if ac_fn_cxx_try_compile "$LINENO"; then :
55301 glibcxx_cv_func_hypotl_use=yes
55302 else
55303 glibcxx_cv_func_hypotl_use=no
55305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55306 ac_ext=c
55307 ac_cpp='$CPP $CPPFLAGS'
55308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
55317 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
55319 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
55320 for ac_func in hypotl
55321 do :
55322 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
55323 if test "x$ac_cv_func_hypotl" = x""yes; then :
55324 cat >>confdefs.h <<_ACEOF
55325 #define HAVE_HYPOTL 1
55326 _ACEOF
55329 done
55331 else
55333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
55334 $as_echo_n "checking for _hypotl declaration... " >&6; }
55335 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
55336 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
55337 $as_echo_n "(cached) " >&6
55338 else
55341 ac_ext=cpp
55342 ac_cpp='$CXXCPP $CPPFLAGS'
55343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55348 /* end confdefs.h. */
55349 #include <math.h>
55351 main ()
55353 _hypotl(0, 0);
55355 return 0;
55357 _ACEOF
55358 if ac_fn_cxx_try_compile "$LINENO"; then :
55359 glibcxx_cv_func__hypotl_use=yes
55360 else
55361 glibcxx_cv_func__hypotl_use=no
55363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55364 ac_ext=c
55365 ac_cpp='$CPP $CPPFLAGS'
55366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
55375 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
55377 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
55378 for ac_func in _hypotl
55379 do :
55380 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
55381 if test "x$ac_cv_func__hypotl" = x""yes; then :
55382 cat >>confdefs.h <<_ACEOF
55383 #define HAVE__HYPOTL 1
55384 _ACEOF
55387 done
55396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
55397 $as_echo_n "checking for ldexpl declaration... " >&6; }
55398 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
55399 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
55400 $as_echo_n "(cached) " >&6
55401 else
55404 ac_ext=cpp
55405 ac_cpp='$CXXCPP $CPPFLAGS'
55406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55411 /* end confdefs.h. */
55412 #include <math.h>
55414 main ()
55416 ldexpl(0, 0);
55418 return 0;
55420 _ACEOF
55421 if ac_fn_cxx_try_compile "$LINENO"; then :
55422 glibcxx_cv_func_ldexpl_use=yes
55423 else
55424 glibcxx_cv_func_ldexpl_use=no
55426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55427 ac_ext=c
55428 ac_cpp='$CPP $CPPFLAGS'
55429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
55438 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
55440 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
55441 for ac_func in ldexpl
55442 do :
55443 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
55444 if test "x$ac_cv_func_ldexpl" = x""yes; then :
55445 cat >>confdefs.h <<_ACEOF
55446 #define HAVE_LDEXPL 1
55447 _ACEOF
55450 done
55452 else
55454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
55455 $as_echo_n "checking for _ldexpl declaration... " >&6; }
55456 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
55457 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
55458 $as_echo_n "(cached) " >&6
55459 else
55462 ac_ext=cpp
55463 ac_cpp='$CXXCPP $CPPFLAGS'
55464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55469 /* end confdefs.h. */
55470 #include <math.h>
55472 main ()
55474 _ldexpl(0, 0);
55476 return 0;
55478 _ACEOF
55479 if ac_fn_cxx_try_compile "$LINENO"; then :
55480 glibcxx_cv_func__ldexpl_use=yes
55481 else
55482 glibcxx_cv_func__ldexpl_use=no
55484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55485 ac_ext=c
55486 ac_cpp='$CPP $CPPFLAGS'
55487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
55496 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
55498 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
55499 for ac_func in _ldexpl
55500 do :
55501 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
55502 if test "x$ac_cv_func__ldexpl" = x""yes; then :
55503 cat >>confdefs.h <<_ACEOF
55504 #define HAVE__LDEXPL 1
55505 _ACEOF
55508 done
55517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
55518 $as_echo_n "checking for logl declaration... " >&6; }
55519 if test x${glibcxx_cv_func_logl_use+set} != xset; then
55520 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
55521 $as_echo_n "(cached) " >&6
55522 else
55525 ac_ext=cpp
55526 ac_cpp='$CXXCPP $CPPFLAGS'
55527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55532 /* end confdefs.h. */
55533 #include <math.h>
55534 #ifdef HAVE_IEEEFP_H
55535 #include <ieeefp.h>
55536 #endif
55539 main ()
55541 logl(0);
55543 return 0;
55545 _ACEOF
55546 if ac_fn_cxx_try_compile "$LINENO"; then :
55547 glibcxx_cv_func_logl_use=yes
55548 else
55549 glibcxx_cv_func_logl_use=no
55551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55552 ac_ext=c
55553 ac_cpp='$CPP $CPPFLAGS'
55554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
55563 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
55565 if test x$glibcxx_cv_func_logl_use = x"yes"; then
55566 for ac_func in logl
55567 do :
55568 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
55569 if test "x$ac_cv_func_logl" = x""yes; then :
55570 cat >>confdefs.h <<_ACEOF
55571 #define HAVE_LOGL 1
55572 _ACEOF
55575 done
55577 else
55579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
55580 $as_echo_n "checking for _logl declaration... " >&6; }
55581 if test x${glibcxx_cv_func__logl_use+set} != xset; then
55582 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
55583 $as_echo_n "(cached) " >&6
55584 else
55587 ac_ext=cpp
55588 ac_cpp='$CXXCPP $CPPFLAGS'
55589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55594 /* end confdefs.h. */
55595 #include <math.h>
55596 #ifdef HAVE_IEEEFP_H
55597 #include <ieeefp.h>
55598 #endif
55601 main ()
55603 _logl(0);
55605 return 0;
55607 _ACEOF
55608 if ac_fn_cxx_try_compile "$LINENO"; then :
55609 glibcxx_cv_func__logl_use=yes
55610 else
55611 glibcxx_cv_func__logl_use=no
55613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55614 ac_ext=c
55615 ac_cpp='$CPP $CPPFLAGS'
55616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
55625 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
55627 if test x$glibcxx_cv_func__logl_use = x"yes"; then
55628 for ac_func in _logl
55629 do :
55630 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
55631 if test "x$ac_cv_func__logl" = x""yes; then :
55632 cat >>confdefs.h <<_ACEOF
55633 #define HAVE__LOGL 1
55634 _ACEOF
55637 done
55646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
55647 $as_echo_n "checking for log10l declaration... " >&6; }
55648 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
55649 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
55650 $as_echo_n "(cached) " >&6
55651 else
55654 ac_ext=cpp
55655 ac_cpp='$CXXCPP $CPPFLAGS'
55656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55661 /* end confdefs.h. */
55662 #include <math.h>
55663 #ifdef HAVE_IEEEFP_H
55664 #include <ieeefp.h>
55665 #endif
55668 main ()
55670 log10l(0);
55672 return 0;
55674 _ACEOF
55675 if ac_fn_cxx_try_compile "$LINENO"; then :
55676 glibcxx_cv_func_log10l_use=yes
55677 else
55678 glibcxx_cv_func_log10l_use=no
55680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55681 ac_ext=c
55682 ac_cpp='$CPP $CPPFLAGS'
55683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
55692 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
55694 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
55695 for ac_func in log10l
55696 do :
55697 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
55698 if test "x$ac_cv_func_log10l" = x""yes; then :
55699 cat >>confdefs.h <<_ACEOF
55700 #define HAVE_LOG10L 1
55701 _ACEOF
55704 done
55706 else
55708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
55709 $as_echo_n "checking for _log10l declaration... " >&6; }
55710 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
55711 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
55712 $as_echo_n "(cached) " >&6
55713 else
55716 ac_ext=cpp
55717 ac_cpp='$CXXCPP $CPPFLAGS'
55718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55723 /* end confdefs.h. */
55724 #include <math.h>
55725 #ifdef HAVE_IEEEFP_H
55726 #include <ieeefp.h>
55727 #endif
55730 main ()
55732 _log10l(0);
55734 return 0;
55736 _ACEOF
55737 if ac_fn_cxx_try_compile "$LINENO"; then :
55738 glibcxx_cv_func__log10l_use=yes
55739 else
55740 glibcxx_cv_func__log10l_use=no
55742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55743 ac_ext=c
55744 ac_cpp='$CPP $CPPFLAGS'
55745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
55754 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
55756 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
55757 for ac_func in _log10l
55758 do :
55759 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
55760 if test "x$ac_cv_func__log10l" = x""yes; then :
55761 cat >>confdefs.h <<_ACEOF
55762 #define HAVE__LOG10L 1
55763 _ACEOF
55766 done
55775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
55776 $as_echo_n "checking for modfl declaration... " >&6; }
55777 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
55778 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
55779 $as_echo_n "(cached) " >&6
55780 else
55783 ac_ext=cpp
55784 ac_cpp='$CXXCPP $CPPFLAGS'
55785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55790 /* end confdefs.h. */
55791 #include <math.h>
55793 main ()
55795 modfl(0, 0);
55797 return 0;
55799 _ACEOF
55800 if ac_fn_cxx_try_compile "$LINENO"; then :
55801 glibcxx_cv_func_modfl_use=yes
55802 else
55803 glibcxx_cv_func_modfl_use=no
55805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55806 ac_ext=c
55807 ac_cpp='$CPP $CPPFLAGS'
55808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
55817 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
55819 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
55820 for ac_func in modfl
55821 do :
55822 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
55823 if test "x$ac_cv_func_modfl" = x""yes; then :
55824 cat >>confdefs.h <<_ACEOF
55825 #define HAVE_MODFL 1
55826 _ACEOF
55829 done
55831 else
55833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
55834 $as_echo_n "checking for _modfl declaration... " >&6; }
55835 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
55836 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
55837 $as_echo_n "(cached) " >&6
55838 else
55841 ac_ext=cpp
55842 ac_cpp='$CXXCPP $CPPFLAGS'
55843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55848 /* end confdefs.h. */
55849 #include <math.h>
55851 main ()
55853 _modfl(0, 0);
55855 return 0;
55857 _ACEOF
55858 if ac_fn_cxx_try_compile "$LINENO"; then :
55859 glibcxx_cv_func__modfl_use=yes
55860 else
55861 glibcxx_cv_func__modfl_use=no
55863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55864 ac_ext=c
55865 ac_cpp='$CPP $CPPFLAGS'
55866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
55875 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
55877 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
55878 for ac_func in _modfl
55879 do :
55880 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
55881 if test "x$ac_cv_func__modfl" = x""yes; then :
55882 cat >>confdefs.h <<_ACEOF
55883 #define HAVE__MODFL 1
55884 _ACEOF
55887 done
55896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
55897 $as_echo_n "checking for powl declaration... " >&6; }
55898 if test x${glibcxx_cv_func_powl_use+set} != xset; then
55899 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
55900 $as_echo_n "(cached) " >&6
55901 else
55904 ac_ext=cpp
55905 ac_cpp='$CXXCPP $CPPFLAGS'
55906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55911 /* end confdefs.h. */
55912 #include <math.h>
55914 main ()
55916 powl(0, 0);
55918 return 0;
55920 _ACEOF
55921 if ac_fn_cxx_try_compile "$LINENO"; then :
55922 glibcxx_cv_func_powl_use=yes
55923 else
55924 glibcxx_cv_func_powl_use=no
55926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55927 ac_ext=c
55928 ac_cpp='$CPP $CPPFLAGS'
55929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
55938 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
55940 if test x$glibcxx_cv_func_powl_use = x"yes"; then
55941 for ac_func in powl
55942 do :
55943 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
55944 if test "x$ac_cv_func_powl" = x""yes; then :
55945 cat >>confdefs.h <<_ACEOF
55946 #define HAVE_POWL 1
55947 _ACEOF
55950 done
55952 else
55954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
55955 $as_echo_n "checking for _powl declaration... " >&6; }
55956 if test x${glibcxx_cv_func__powl_use+set} != xset; then
55957 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
55958 $as_echo_n "(cached) " >&6
55959 else
55962 ac_ext=cpp
55963 ac_cpp='$CXXCPP $CPPFLAGS'
55964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55969 /* end confdefs.h. */
55970 #include <math.h>
55972 main ()
55974 _powl(0, 0);
55976 return 0;
55978 _ACEOF
55979 if ac_fn_cxx_try_compile "$LINENO"; then :
55980 glibcxx_cv_func__powl_use=yes
55981 else
55982 glibcxx_cv_func__powl_use=no
55984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55985 ac_ext=c
55986 ac_cpp='$CPP $CPPFLAGS'
55987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
55996 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
55998 if test x$glibcxx_cv_func__powl_use = x"yes"; then
55999 for ac_func in _powl
56000 do :
56001 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
56002 if test "x$ac_cv_func__powl" = x""yes; then :
56003 cat >>confdefs.h <<_ACEOF
56004 #define HAVE__POWL 1
56005 _ACEOF
56008 done
56017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
56018 $as_echo_n "checking for sqrtl declaration... " >&6; }
56019 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
56020 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
56021 $as_echo_n "(cached) " >&6
56022 else
56025 ac_ext=cpp
56026 ac_cpp='$CXXCPP $CPPFLAGS'
56027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56032 /* end confdefs.h. */
56033 #include <math.h>
56034 #ifdef HAVE_IEEEFP_H
56035 #include <ieeefp.h>
56036 #endif
56039 main ()
56041 sqrtl(0);
56043 return 0;
56045 _ACEOF
56046 if ac_fn_cxx_try_compile "$LINENO"; then :
56047 glibcxx_cv_func_sqrtl_use=yes
56048 else
56049 glibcxx_cv_func_sqrtl_use=no
56051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56052 ac_ext=c
56053 ac_cpp='$CPP $CPPFLAGS'
56054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
56063 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
56065 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
56066 for ac_func in sqrtl
56067 do :
56068 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
56069 if test "x$ac_cv_func_sqrtl" = x""yes; then :
56070 cat >>confdefs.h <<_ACEOF
56071 #define HAVE_SQRTL 1
56072 _ACEOF
56075 done
56077 else
56079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
56080 $as_echo_n "checking for _sqrtl declaration... " >&6; }
56081 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
56082 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
56083 $as_echo_n "(cached) " >&6
56084 else
56087 ac_ext=cpp
56088 ac_cpp='$CXXCPP $CPPFLAGS'
56089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56094 /* end confdefs.h. */
56095 #include <math.h>
56096 #ifdef HAVE_IEEEFP_H
56097 #include <ieeefp.h>
56098 #endif
56101 main ()
56103 _sqrtl(0);
56105 return 0;
56107 _ACEOF
56108 if ac_fn_cxx_try_compile "$LINENO"; then :
56109 glibcxx_cv_func__sqrtl_use=yes
56110 else
56111 glibcxx_cv_func__sqrtl_use=no
56113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56114 ac_ext=c
56115 ac_cpp='$CPP $CPPFLAGS'
56116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
56125 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
56127 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
56128 for ac_func in _sqrtl
56129 do :
56130 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
56131 if test "x$ac_cv_func__sqrtl" = x""yes; then :
56132 cat >>confdefs.h <<_ACEOF
56133 #define HAVE__SQRTL 1
56134 _ACEOF
56137 done
56146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
56147 $as_echo_n "checking for sincosl declaration... " >&6; }
56148 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
56149 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
56150 $as_echo_n "(cached) " >&6
56151 else
56154 ac_ext=cpp
56155 ac_cpp='$CXXCPP $CPPFLAGS'
56156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56161 /* end confdefs.h. */
56162 #include <math.h>
56164 main ()
56166 sincosl(0, 0, 0);
56168 return 0;
56170 _ACEOF
56171 if ac_fn_cxx_try_compile "$LINENO"; then :
56172 glibcxx_cv_func_sincosl_use=yes
56173 else
56174 glibcxx_cv_func_sincosl_use=no
56176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56177 ac_ext=c
56178 ac_cpp='$CPP $CPPFLAGS'
56179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
56188 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
56190 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
56191 for ac_func in sincosl
56192 do :
56193 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
56194 if test "x$ac_cv_func_sincosl" = x""yes; then :
56195 cat >>confdefs.h <<_ACEOF
56196 #define HAVE_SINCOSL 1
56197 _ACEOF
56200 done
56202 else
56204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
56205 $as_echo_n "checking for _sincosl declaration... " >&6; }
56206 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
56207 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
56208 $as_echo_n "(cached) " >&6
56209 else
56212 ac_ext=cpp
56213 ac_cpp='$CXXCPP $CPPFLAGS'
56214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56219 /* end confdefs.h. */
56220 #include <math.h>
56222 main ()
56224 _sincosl(0, 0, 0);
56226 return 0;
56228 _ACEOF
56229 if ac_fn_cxx_try_compile "$LINENO"; then :
56230 glibcxx_cv_func__sincosl_use=yes
56231 else
56232 glibcxx_cv_func__sincosl_use=no
56234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56235 ac_ext=c
56236 ac_cpp='$CPP $CPPFLAGS'
56237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
56246 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
56248 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
56249 for ac_func in _sincosl
56250 do :
56251 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
56252 if test "x$ac_cv_func__sincosl" = x""yes; then :
56253 cat >>confdefs.h <<_ACEOF
56254 #define HAVE__SINCOSL 1
56255 _ACEOF
56258 done
56267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
56268 $as_echo_n "checking for finitel declaration... " >&6; }
56269 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
56270 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
56271 $as_echo_n "(cached) " >&6
56272 else
56275 ac_ext=cpp
56276 ac_cpp='$CXXCPP $CPPFLAGS'
56277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56282 /* end confdefs.h. */
56283 #include <math.h>
56284 #ifdef HAVE_IEEEFP_H
56285 #include <ieeefp.h>
56286 #endif
56289 main ()
56291 finitel(0);
56293 return 0;
56295 _ACEOF
56296 if ac_fn_cxx_try_compile "$LINENO"; then :
56297 glibcxx_cv_func_finitel_use=yes
56298 else
56299 glibcxx_cv_func_finitel_use=no
56301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56302 ac_ext=c
56303 ac_cpp='$CPP $CPPFLAGS'
56304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
56313 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
56315 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
56316 for ac_func in finitel
56317 do :
56318 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
56319 if test "x$ac_cv_func_finitel" = x""yes; then :
56320 cat >>confdefs.h <<_ACEOF
56321 #define HAVE_FINITEL 1
56322 _ACEOF
56325 done
56327 else
56329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
56330 $as_echo_n "checking for _finitel declaration... " >&6; }
56331 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
56332 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
56333 $as_echo_n "(cached) " >&6
56334 else
56337 ac_ext=cpp
56338 ac_cpp='$CXXCPP $CPPFLAGS'
56339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56344 /* end confdefs.h. */
56345 #include <math.h>
56346 #ifdef HAVE_IEEEFP_H
56347 #include <ieeefp.h>
56348 #endif
56351 main ()
56353 _finitel(0);
56355 return 0;
56357 _ACEOF
56358 if ac_fn_cxx_try_compile "$LINENO"; then :
56359 glibcxx_cv_func__finitel_use=yes
56360 else
56361 glibcxx_cv_func__finitel_use=no
56363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56364 ac_ext=c
56365 ac_cpp='$CPP $CPPFLAGS'
56366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
56375 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
56377 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
56378 for ac_func in _finitel
56379 do :
56380 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
56381 if test "x$ac_cv_func__finitel" = x""yes; then :
56382 cat >>confdefs.h <<_ACEOF
56383 #define HAVE__FINITEL 1
56384 _ACEOF
56387 done
56395 LIBS="$ac_save_LIBS"
56396 CXXFLAGS="$ac_save_CXXFLAGS"
56399 ac_test_CXXFLAGS="${CXXFLAGS+set}"
56400 ac_save_CXXFLAGS="$CXXFLAGS"
56401 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
56404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
56405 $as_echo_n "checking for strtold declaration... " >&6; }
56406 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
56407 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
56408 $as_echo_n "(cached) " >&6
56409 else
56412 ac_ext=cpp
56413 ac_cpp='$CXXCPP $CPPFLAGS'
56414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56419 /* end confdefs.h. */
56420 #include <stdlib.h>
56422 main ()
56424 strtold(0, 0);
56426 return 0;
56428 _ACEOF
56429 if ac_fn_cxx_try_compile "$LINENO"; then :
56430 glibcxx_cv_func_strtold_use=yes
56431 else
56432 glibcxx_cv_func_strtold_use=no
56434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56435 ac_ext=c
56436 ac_cpp='$CPP $CPPFLAGS'
56437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
56446 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
56447 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
56448 for ac_func in strtold
56449 do :
56450 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
56451 if test "x$ac_cv_func_strtold" = x""yes; then :
56452 cat >>confdefs.h <<_ACEOF
56453 #define HAVE_STRTOLD 1
56454 _ACEOF
56457 done
56464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
56465 $as_echo_n "checking for strtof declaration... " >&6; }
56466 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
56467 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
56468 $as_echo_n "(cached) " >&6
56469 else
56472 ac_ext=cpp
56473 ac_cpp='$CXXCPP $CPPFLAGS'
56474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56479 /* end confdefs.h. */
56480 #include <stdlib.h>
56482 main ()
56484 strtof(0, 0);
56486 return 0;
56488 _ACEOF
56489 if ac_fn_cxx_try_compile "$LINENO"; then :
56490 glibcxx_cv_func_strtof_use=yes
56491 else
56492 glibcxx_cv_func_strtof_use=no
56494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56495 ac_ext=c
56496 ac_cpp='$CPP $CPPFLAGS'
56497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
56506 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
56507 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
56508 for ac_func in strtof
56509 do :
56510 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
56511 if test "x$ac_cv_func_strtof" = x""yes; then :
56512 cat >>confdefs.h <<_ACEOF
56513 #define HAVE_STRTOF 1
56514 _ACEOF
56517 done
56524 CXXFLAGS="$ac_save_CXXFLAGS"
56527 *-netbsd*)
56528 SECTION_FLAGS='-ffunction-sections -fdata-sections'
56531 # If we're not using GNU ld, then there's no point in even trying these
56532 # tests. Check for that first. We should have already tested for gld
56533 # by now (in libtool), but require it now just to be safe...
56534 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56535 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56539 # The name set by libtool depends on the version of libtool. Shame on us
56540 # for depending on an impl detail, but c'est la vie. Older versions used
56541 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56542 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56543 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
56544 # set (hence we're using an older libtool), then set it.
56545 if test x${with_gnu_ld+set} != xset; then
56546 if test x${ac_cv_prog_gnu_ld+set} != xset; then
56547 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
56548 with_gnu_ld=no
56549 else
56550 with_gnu_ld=$ac_cv_prog_gnu_ld
56554 # Start by getting the version number. I think the libtool test already
56555 # does some of this, but throws away the result.
56556 glibcxx_ld_is_gold=no
56557 if test x"$with_gnu_ld" = x"yes"; then
56558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56559 $as_echo_n "checking for ld version... " >&6; }
56561 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56562 glibcxx_ld_is_gold=yes
56564 ldver=`$LD --version 2>/dev/null |
56565 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
56567 glibcxx_gnu_ld_version=`echo $ldver | \
56568 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56570 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56573 # Set --gc-sections.
56574 glibcxx_have_gc_sections=no
56575 if test "$glibcxx_ld_is_gold" = "yes"; then
56576 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56577 glibcxx_have_gc_sections=yes
56579 else
56580 glibcxx_gcsections_min_ld=21602
56581 if test x"$with_gnu_ld" = x"yes" &&
56582 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56583 glibcxx_have_gc_sections=yes
56586 if test "$glibcxx_have_gc_sections" = "yes"; then
56587 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
56588 # NB: This flag only works reliably after 2.16.1. Configure tests
56589 # for this are difficult, so hard wire a value that should work.
56591 ac_test_CFLAGS="${CFLAGS+set}"
56592 ac_save_CFLAGS="$CFLAGS"
56593 CFLAGS='-Wl,--gc-sections'
56595 # Check for -Wl,--gc-sections
56596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56597 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56598 if test x$gcc_no_link = xyes; then
56599 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56602 /* end confdefs.h. */
56603 int one(void) { return 1; }
56604 int two(void) { return 2; }
56607 main ()
56609 two();
56611 return 0;
56613 _ACEOF
56614 if ac_fn_c_try_link "$LINENO"; then :
56615 ac_gcsections=yes
56616 else
56617 ac_gcsections=no
56619 rm -f core conftest.err conftest.$ac_objext \
56620 conftest$ac_exeext conftest.$ac_ext
56621 if test "$ac_gcsections" = "yes"; then
56622 rm -f conftest.c
56623 touch conftest.c
56624 if $CC -c conftest.c; then
56625 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56626 grep "Warning: gc-sections option ignored" > /dev/null; then
56627 ac_gcsections=no
56630 rm -f conftest.c conftest.o conftest
56632 if test "$ac_gcsections" = "yes"; then
56633 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
56636 $as_echo "$ac_gcsections" >&6; }
56638 if test "$ac_test_CFLAGS" = set; then
56639 CFLAGS="$ac_save_CFLAGS"
56640 else
56641 # this is the suspicious part
56642 CFLAGS=''
56646 # Set -z,relro.
56647 # Note this is only for shared objects.
56648 ac_ld_relro=no
56649 if test x"$with_gnu_ld" = x"yes"; then
56650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
56651 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
56652 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
56653 if test -n "$cxx_z_relo"; then
56654 OPT_LDFLAGS="-Wl,-z,relro"
56655 ac_ld_relro=yes
56657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
56658 $as_echo "$ac_ld_relro" >&6; }
56661 # Set linker optimization flags.
56662 if test x"$with_gnu_ld" = x"yes"; then
56663 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
56669 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
56671 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
56673 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
56675 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
56677 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
56679 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
56681 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
56683 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
56685 if test x"long_double_math_on_this_cpu" = x"yes"; then
56686 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
56688 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
56690 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
56694 *-netware)
56695 SECTION_FLAGS='-ffunction-sections -fdata-sections'
56698 # If we're not using GNU ld, then there's no point in even trying these
56699 # tests. Check for that first. We should have already tested for gld
56700 # by now (in libtool), but require it now just to be safe...
56701 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56702 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56706 # The name set by libtool depends on the version of libtool. Shame on us
56707 # for depending on an impl detail, but c'est la vie. Older versions used
56708 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56709 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56710 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
56711 # set (hence we're using an older libtool), then set it.
56712 if test x${with_gnu_ld+set} != xset; then
56713 if test x${ac_cv_prog_gnu_ld+set} != xset; then
56714 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
56715 with_gnu_ld=no
56716 else
56717 with_gnu_ld=$ac_cv_prog_gnu_ld
56721 # Start by getting the version number. I think the libtool test already
56722 # does some of this, but throws away the result.
56723 glibcxx_ld_is_gold=no
56724 if test x"$with_gnu_ld" = x"yes"; then
56725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56726 $as_echo_n "checking for ld version... " >&6; }
56728 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56729 glibcxx_ld_is_gold=yes
56731 ldver=`$LD --version 2>/dev/null |
56732 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
56734 glibcxx_gnu_ld_version=`echo $ldver | \
56735 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56737 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56740 # Set --gc-sections.
56741 glibcxx_have_gc_sections=no
56742 if test "$glibcxx_ld_is_gold" = "yes"; then
56743 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56744 glibcxx_have_gc_sections=yes
56746 else
56747 glibcxx_gcsections_min_ld=21602
56748 if test x"$with_gnu_ld" = x"yes" &&
56749 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56750 glibcxx_have_gc_sections=yes
56753 if test "$glibcxx_have_gc_sections" = "yes"; then
56754 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
56755 # NB: This flag only works reliably after 2.16.1. Configure tests
56756 # for this are difficult, so hard wire a value that should work.
56758 ac_test_CFLAGS="${CFLAGS+set}"
56759 ac_save_CFLAGS="$CFLAGS"
56760 CFLAGS='-Wl,--gc-sections'
56762 # Check for -Wl,--gc-sections
56763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56764 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56765 if test x$gcc_no_link = xyes; then
56766 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56769 /* end confdefs.h. */
56770 int one(void) { return 1; }
56771 int two(void) { return 2; }
56774 main ()
56776 two();
56778 return 0;
56780 _ACEOF
56781 if ac_fn_c_try_link "$LINENO"; then :
56782 ac_gcsections=yes
56783 else
56784 ac_gcsections=no
56786 rm -f core conftest.err conftest.$ac_objext \
56787 conftest$ac_exeext conftest.$ac_ext
56788 if test "$ac_gcsections" = "yes"; then
56789 rm -f conftest.c
56790 touch conftest.c
56791 if $CC -c conftest.c; then
56792 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56793 grep "Warning: gc-sections option ignored" > /dev/null; then
56794 ac_gcsections=no
56797 rm -f conftest.c conftest.o conftest
56799 if test "$ac_gcsections" = "yes"; then
56800 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
56803 $as_echo "$ac_gcsections" >&6; }
56805 if test "$ac_test_CFLAGS" = set; then
56806 CFLAGS="$ac_save_CFLAGS"
56807 else
56808 # this is the suspicious part
56809 CFLAGS=''
56813 # Set -z,relro.
56814 # Note this is only for shared objects.
56815 ac_ld_relro=no
56816 if test x"$with_gnu_ld" = x"yes"; then
56817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
56818 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
56819 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
56820 if test -n "$cxx_z_relo"; then
56821 OPT_LDFLAGS="-Wl,-z,relro"
56822 ac_ld_relro=yes
56824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
56825 $as_echo "$ac_ld_relro" >&6; }
56828 # Set linker optimization flags.
56829 if test x"$with_gnu_ld" = x"yes"; then
56830 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
56836 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
56838 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
56840 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
56843 *-qnx6.1* | *-qnx6.2*)
56844 SECTION_FLAGS='-ffunction-sections -fdata-sections'
56847 # If we're not using GNU ld, then there's no point in even trying these
56848 # tests. Check for that first. We should have already tested for gld
56849 # by now (in libtool), but require it now just to be safe...
56850 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56851 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56855 # The name set by libtool depends on the version of libtool. Shame on us
56856 # for depending on an impl detail, but c'est la vie. Older versions used
56857 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56858 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56859 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
56860 # set (hence we're using an older libtool), then set it.
56861 if test x${with_gnu_ld+set} != xset; then
56862 if test x${ac_cv_prog_gnu_ld+set} != xset; then
56863 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
56864 with_gnu_ld=no
56865 else
56866 with_gnu_ld=$ac_cv_prog_gnu_ld
56870 # Start by getting the version number. I think the libtool test already
56871 # does some of this, but throws away the result.
56872 glibcxx_ld_is_gold=no
56873 if test x"$with_gnu_ld" = x"yes"; then
56874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56875 $as_echo_n "checking for ld version... " >&6; }
56877 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56878 glibcxx_ld_is_gold=yes
56880 ldver=`$LD --version 2>/dev/null |
56881 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
56883 glibcxx_gnu_ld_version=`echo $ldver | \
56884 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56886 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56889 # Set --gc-sections.
56890 glibcxx_have_gc_sections=no
56891 if test "$glibcxx_ld_is_gold" = "yes"; then
56892 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56893 glibcxx_have_gc_sections=yes
56895 else
56896 glibcxx_gcsections_min_ld=21602
56897 if test x"$with_gnu_ld" = x"yes" &&
56898 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56899 glibcxx_have_gc_sections=yes
56902 if test "$glibcxx_have_gc_sections" = "yes"; then
56903 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
56904 # NB: This flag only works reliably after 2.16.1. Configure tests
56905 # for this are difficult, so hard wire a value that should work.
56907 ac_test_CFLAGS="${CFLAGS+set}"
56908 ac_save_CFLAGS="$CFLAGS"
56909 CFLAGS='-Wl,--gc-sections'
56911 # Check for -Wl,--gc-sections
56912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56913 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56914 if test x$gcc_no_link = xyes; then
56915 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56918 /* end confdefs.h. */
56919 int one(void) { return 1; }
56920 int two(void) { return 2; }
56923 main ()
56925 two();
56927 return 0;
56929 _ACEOF
56930 if ac_fn_c_try_link "$LINENO"; then :
56931 ac_gcsections=yes
56932 else
56933 ac_gcsections=no
56935 rm -f core conftest.err conftest.$ac_objext \
56936 conftest$ac_exeext conftest.$ac_ext
56937 if test "$ac_gcsections" = "yes"; then
56938 rm -f conftest.c
56939 touch conftest.c
56940 if $CC -c conftest.c; then
56941 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56942 grep "Warning: gc-sections option ignored" > /dev/null; then
56943 ac_gcsections=no
56946 rm -f conftest.c conftest.o conftest
56948 if test "$ac_gcsections" = "yes"; then
56949 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
56952 $as_echo "$ac_gcsections" >&6; }
56954 if test "$ac_test_CFLAGS" = set; then
56955 CFLAGS="$ac_save_CFLAGS"
56956 else
56957 # this is the suspicious part
56958 CFLAGS=''
56962 # Set -z,relro.
56963 # Note this is only for shared objects.
56964 ac_ld_relro=no
56965 if test x"$with_gnu_ld" = x"yes"; then
56966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
56967 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
56968 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
56969 if test -n "$cxx_z_relo"; then
56970 OPT_LDFLAGS="-Wl,-z,relro"
56971 ac_ld_relro=yes
56973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
56974 $as_echo "$ac_ld_relro" >&6; }
56977 # Set linker optimization flags.
56978 if test x"$with_gnu_ld" = x"yes"; then
56979 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
56985 $as_echo "#define HAVE_COSF 1" >>confdefs.h
56987 $as_echo "#define HAVE_COSL 1" >>confdefs.h
56989 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
56991 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
56993 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
56995 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
56997 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
56999 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57001 $as_echo "#define HAVE_SINF 1" >>confdefs.h
57003 $as_echo "#define HAVE_SINL 1" >>confdefs.h
57005 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57007 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57010 *-solaris*)
57011 case "$target" in
57012 *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
57014 # If we're not using GNU ld, then there's no point in even trying these
57015 # tests. Check for that first. We should have already tested for gld
57016 # by now (in libtool), but require it now just to be safe...
57017 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57018 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57022 # The name set by libtool depends on the version of libtool. Shame on us
57023 # for depending on an impl detail, but c'est la vie. Older versions used
57024 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57025 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57026 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57027 # set (hence we're using an older libtool), then set it.
57028 if test x${with_gnu_ld+set} != xset; then
57029 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57030 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57031 with_gnu_ld=no
57032 else
57033 with_gnu_ld=$ac_cv_prog_gnu_ld
57037 # Start by getting the version number. I think the libtool test already
57038 # does some of this, but throws away the result.
57039 glibcxx_ld_is_gold=no
57040 if test x"$with_gnu_ld" = x"yes"; then
57041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57042 $as_echo_n "checking for ld version... " >&6; }
57044 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57045 glibcxx_ld_is_gold=yes
57047 ldver=`$LD --version 2>/dev/null |
57048 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
57050 glibcxx_gnu_ld_version=`echo $ldver | \
57051 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57053 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57056 # Set --gc-sections.
57057 glibcxx_have_gc_sections=no
57058 if test "$glibcxx_ld_is_gold" = "yes"; then
57059 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57060 glibcxx_have_gc_sections=yes
57062 else
57063 glibcxx_gcsections_min_ld=21602
57064 if test x"$with_gnu_ld" = x"yes" &&
57065 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57066 glibcxx_have_gc_sections=yes
57069 if test "$glibcxx_have_gc_sections" = "yes"; then
57070 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57071 # NB: This flag only works reliably after 2.16.1. Configure tests
57072 # for this are difficult, so hard wire a value that should work.
57074 ac_test_CFLAGS="${CFLAGS+set}"
57075 ac_save_CFLAGS="$CFLAGS"
57076 CFLAGS='-Wl,--gc-sections'
57078 # Check for -Wl,--gc-sections
57079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57080 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57081 if test x$gcc_no_link = xyes; then
57082 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57085 /* end confdefs.h. */
57086 int one(void) { return 1; }
57087 int two(void) { return 2; }
57090 main ()
57092 two();
57094 return 0;
57096 _ACEOF
57097 if ac_fn_c_try_link "$LINENO"; then :
57098 ac_gcsections=yes
57099 else
57100 ac_gcsections=no
57102 rm -f core conftest.err conftest.$ac_objext \
57103 conftest$ac_exeext conftest.$ac_ext
57104 if test "$ac_gcsections" = "yes"; then
57105 rm -f conftest.c
57106 touch conftest.c
57107 if $CC -c conftest.c; then
57108 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57109 grep "Warning: gc-sections option ignored" > /dev/null; then
57110 ac_gcsections=no
57113 rm -f conftest.c conftest.o conftest
57115 if test "$ac_gcsections" = "yes"; then
57116 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57119 $as_echo "$ac_gcsections" >&6; }
57121 if test "$ac_test_CFLAGS" = set; then
57122 CFLAGS="$ac_save_CFLAGS"
57123 else
57124 # this is the suspicious part
57125 CFLAGS=''
57129 # Set -z,relro.
57130 # Note this is only for shared objects.
57131 ac_ld_relro=no
57132 if test x"$with_gnu_ld" = x"yes"; then
57133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57134 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57135 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57136 if test -n "$cxx_z_relo"; then
57137 OPT_LDFLAGS="-Wl,-z,relro"
57138 ac_ld_relro=yes
57140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57141 $as_echo "$ac_ld_relro" >&6; }
57144 # Set linker optimization flags.
57145 if test x"$with_gnu_ld" = x"yes"; then
57146 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57152 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
57154 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57156 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
57158 # All of the dependencies for wide character support are here, so
57159 # turn it on.
57160 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
57163 esac
57164 case "$target" in
57165 *-*-solaris2.10)
57166 # These two C99 functions are present only in Solaris >= 10
57167 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
57169 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
57172 esac
57173 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57175 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57177 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
57179 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
57182 *-tpf)
57183 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57186 # If we're not using GNU ld, then there's no point in even trying these
57187 # tests. Check for that first. We should have already tested for gld
57188 # by now (in libtool), but require it now just to be safe...
57189 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57190 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57194 # The name set by libtool depends on the version of libtool. Shame on us
57195 # for depending on an impl detail, but c'est la vie. Older versions used
57196 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57197 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57198 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57199 # set (hence we're using an older libtool), then set it.
57200 if test x${with_gnu_ld+set} != xset; then
57201 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57202 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57203 with_gnu_ld=no
57204 else
57205 with_gnu_ld=$ac_cv_prog_gnu_ld
57209 # Start by getting the version number. I think the libtool test already
57210 # does some of this, but throws away the result.
57211 glibcxx_ld_is_gold=no
57212 if test x"$with_gnu_ld" = x"yes"; then
57213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57214 $as_echo_n "checking for ld version... " >&6; }
57216 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57217 glibcxx_ld_is_gold=yes
57219 ldver=`$LD --version 2>/dev/null |
57220 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
57222 glibcxx_gnu_ld_version=`echo $ldver | \
57223 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57225 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57228 # Set --gc-sections.
57229 glibcxx_have_gc_sections=no
57230 if test "$glibcxx_ld_is_gold" = "yes"; then
57231 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57232 glibcxx_have_gc_sections=yes
57234 else
57235 glibcxx_gcsections_min_ld=21602
57236 if test x"$with_gnu_ld" = x"yes" &&
57237 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57238 glibcxx_have_gc_sections=yes
57241 if test "$glibcxx_have_gc_sections" = "yes"; then
57242 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57243 # NB: This flag only works reliably after 2.16.1. Configure tests
57244 # for this are difficult, so hard wire a value that should work.
57246 ac_test_CFLAGS="${CFLAGS+set}"
57247 ac_save_CFLAGS="$CFLAGS"
57248 CFLAGS='-Wl,--gc-sections'
57250 # Check for -Wl,--gc-sections
57251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57252 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57253 if test x$gcc_no_link = xyes; then
57254 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57257 /* end confdefs.h. */
57258 int one(void) { return 1; }
57259 int two(void) { return 2; }
57262 main ()
57264 two();
57266 return 0;
57268 _ACEOF
57269 if ac_fn_c_try_link "$LINENO"; then :
57270 ac_gcsections=yes
57271 else
57272 ac_gcsections=no
57274 rm -f core conftest.err conftest.$ac_objext \
57275 conftest$ac_exeext conftest.$ac_ext
57276 if test "$ac_gcsections" = "yes"; then
57277 rm -f conftest.c
57278 touch conftest.c
57279 if $CC -c conftest.c; then
57280 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57281 grep "Warning: gc-sections option ignored" > /dev/null; then
57282 ac_gcsections=no
57285 rm -f conftest.c conftest.o conftest
57287 if test "$ac_gcsections" = "yes"; then
57288 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57291 $as_echo "$ac_gcsections" >&6; }
57293 if test "$ac_test_CFLAGS" = set; then
57294 CFLAGS="$ac_save_CFLAGS"
57295 else
57296 # this is the suspicious part
57297 CFLAGS=''
57301 # Set -z,relro.
57302 # Note this is only for shared objects.
57303 ac_ld_relro=no
57304 if test x"$with_gnu_ld" = x"yes"; then
57305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57306 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57307 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57308 if test -n "$cxx_z_relo"; then
57309 OPT_LDFLAGS="-Wl,-z,relro"
57310 ac_ld_relro=yes
57312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57313 $as_echo "$ac_ld_relro" >&6; }
57316 # Set linker optimization flags.
57317 if test x"$with_gnu_ld" = x"yes"; then
57318 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57324 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57326 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
57328 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
57330 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
57332 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
57334 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
57336 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57338 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57340 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
57342 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
57344 if test x"long_double_math_on_this_cpu" = x"yes"; then
57345 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
57347 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
57349 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
57351 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
57355 *-vxworks)
57356 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
57358 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
57360 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
57362 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
57364 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
57366 $as_echo "#define HAVE_COSF 1" >>confdefs.h
57368 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57370 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
57372 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
57374 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
57376 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
57378 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
57380 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57382 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57384 $as_echo "#define HAVE_POWF 1" >>confdefs.h
57386 $as_echo "#define HAVE_SINF 1" >>confdefs.h
57388 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57390 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
57392 $as_echo "#define HAVE_TANF 1" >>confdefs.h
57394 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
57398 as_fn_error "No support for this host/target combination." "$LINENO" 5
57400 esac
57404 # At some point, we should differentiate between architectures
57405 # like x86, which have long double versions, and alpha/powerpc/etc.,
57406 # which don't. For the time being, punt.
57407 if test x"long_double_math_on_this_cpu" = x"yes"; then
57408 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
57410 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
57412 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
57414 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
57416 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
57418 $as_echo "#define HAVE_COSL 1" >>confdefs.h
57420 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57422 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
57424 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
57426 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
57428 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
57430 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
57432 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
57434 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57436 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57438 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
57440 $as_echo "#define HAVE_POWL 1" >>confdefs.h
57442 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
57444 $as_echo "#define HAVE_SINL 1" >>confdefs.h
57446 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57448 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
57450 $as_echo "#define HAVE_TANL 1" >>confdefs.h
57452 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
57457 # Check for _Unwind_GetIPInfo.
57460 # Check whether --with-system-libunwind was given.
57461 if test "${with_system_libunwind+set}" = set; then :
57462 withval=$with_system_libunwind;
57465 # If system-libunwind was not specifically set, pick a default setting.
57466 if test x$with_system_libunwind = x; then
57467 case ${target} in
57468 ia64-*-hpux*) with_system_libunwind=yes ;;
57469 *) with_system_libunwind=no ;;
57470 esac
57472 # Based on system-libunwind and target, do we have ipinfo?
57473 if test x$with_system_libunwind = xyes; then
57474 case ${target} in
57475 ia64-*-*) have_unwind_getipinfo=no ;;
57476 *) have_unwind_getipinfo=yes ;;
57477 esac
57478 else
57479 # Darwin before version 9 does not have _Unwind_GetIPInfo.
57481 case ${target} in
57482 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
57483 *) have_unwind_getipinfo=yes ;;
57484 esac
57488 if test x$have_unwind_getipinfo = xyes; then
57490 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
57496 # Check whether --enable-linux-futex was given.
57497 if test "${enable_linux_futex+set}" = set; then :
57498 enableval=$enable_linux_futex;
57499 case "$enableval" in
57500 yes|no|default) ;;
57501 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
57502 esac
57504 else
57505 enable_linux_futex=default
57509 case "$target" in
57510 *-linux*)
57511 case "$enable_linux_futex" in
57512 default)
57513 # If headers don't have gettid/futex syscalls definition, then
57514 # default to no, otherwise there will be compile time failures.
57515 # Otherwise, default to yes. If we don't detect we are
57516 # compiled/linked against NPTL and not cross-compiling, check
57517 # if programs are run by default against NPTL and if not, issue
57518 # a warning.
57519 enable_linux_futex=no
57520 if test x$gcc_no_link = xyes; then
57521 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57524 /* end confdefs.h. */
57525 #include <sys/syscall.h>
57526 int lk;
57528 main ()
57530 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
57532 return 0;
57534 _ACEOF
57535 if ac_fn_c_try_link "$LINENO"; then :
57536 save_LIBS="$LIBS"
57537 LIBS="-lpthread $LIBS"
57538 if test x$gcc_no_link = xyes; then
57539 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57542 /* end confdefs.h. */
57543 #ifndef _GNU_SOURCE
57544 #define _GNU_SOURCE 1
57545 #endif
57546 #include <pthread.h>
57547 pthread_t th; void *status;
57549 main ()
57551 pthread_tryjoin_np (th, &status);
57553 return 0;
57555 _ACEOF
57556 if ac_fn_c_try_link "$LINENO"; then :
57557 enable_linux_futex=yes
57558 else
57559 if test x$cross_compiling = xno; then
57560 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
57561 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
57562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
57563 If so, please configure with --disable-linux-futex" >&5
57564 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
57565 If so, please configure with --disable-linux-futex" >&2;}
57568 enable_linux_futex=yes
57570 rm -f core conftest.err conftest.$ac_objext \
57571 conftest$ac_exeext conftest.$ac_ext
57572 LIBS="$save_LIBS"
57574 rm -f core conftest.err conftest.$ac_objext \
57575 conftest$ac_exeext conftest.$ac_ext
57577 yes)
57578 if test x$gcc_no_link = xyes; then
57579 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57582 /* end confdefs.h. */
57583 #include <sys/syscall.h>
57584 int lk;
57586 main ()
57588 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
57590 return 0;
57592 _ACEOF
57593 if ac_fn_c_try_link "$LINENO"; then :
57595 else
57596 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
57598 rm -f core conftest.err conftest.$ac_objext \
57599 conftest$ac_exeext conftest.$ac_ext
57601 esac
57604 enable_linux_futex=no
57606 esac
57607 if test x$enable_linux_futex = xyes; then
57609 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
57616 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
57618 acx_cv_header_stdint=stddef.h
57619 acx_cv_header_stdint_kind="(already complete)"
57620 for i in stdint.h $inttype_headers; do
57621 unset ac_cv_type_uintptr_t
57622 unset ac_cv_type_uintmax_t
57623 unset ac_cv_type_int_least32_t
57624 unset ac_cv_type_int_fast32_t
57625 unset ac_cv_type_uint64_t
57626 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
57627 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
57628 #include <$i>
57630 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
57631 acx_cv_header_stdint=$i
57632 else
57633 continue
57636 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
57637 #include <$i>
57639 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
57641 else
57642 acx_cv_header_stdint_kind="(mostly complete)"
57645 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
57646 #include <$i>
57648 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
57650 else
57651 acx_cv_header_stdint_kind="(mostly complete)"
57654 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
57655 #include <$i>
57657 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
57659 else
57660 acx_cv_header_stdint_kind="(mostly complete)"
57663 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
57664 #include <$i>
57666 if test "x$ac_cv_type_uint64_t" = x""yes; then :
57668 else
57669 acx_cv_header_stdint_kind="(lacks uint64_t)"
57672 break
57673 done
57674 if test "$acx_cv_header_stdint" = stddef.h; then
57675 acx_cv_header_stdint_kind="(lacks uintmax_t)"
57676 for i in stdint.h $inttype_headers; do
57677 unset ac_cv_type_uintptr_t
57678 unset ac_cv_type_uint32_t
57679 unset ac_cv_type_uint64_t
57680 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
57681 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
57682 #include <$i>
57684 if test "x$ac_cv_type_uint32_t" = x""yes; then :
57685 acx_cv_header_stdint=$i
57686 else
57687 continue
57690 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
57691 #include <$i>
57693 if test "x$ac_cv_type_uint64_t" = x""yes; then :
57697 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
57698 #include <$i>
57700 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
57704 break
57705 done
57707 if test "$acx_cv_header_stdint" = stddef.h; then
57708 acx_cv_header_stdint_kind="(u_intXX_t style)"
57709 for i in sys/types.h $inttype_headers; do
57710 unset ac_cv_type_u_int32_t
57711 unset ac_cv_type_u_int64_t
57712 $as_echo_n "looking for u_intXX_t types in $i, " >&6
57713 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
57714 #include <$i>
57716 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
57717 acx_cv_header_stdint=$i
57718 else
57719 continue
57722 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
57723 #include <$i>
57725 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
57729 break
57730 done
57732 if test "$acx_cv_header_stdint" = stddef.h; then
57733 acx_cv_header_stdint_kind="(using manual detection)"
57736 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
57737 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
57738 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
57739 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
57740 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
57742 # ----------------- Summarize what we found so far
57744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
57745 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
57747 case `$as_basename -- include/gstdint.h ||
57748 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
57749 Xinclude/gstdint.h : 'X\(//\)$' \| \
57750 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
57751 $as_echo X/include/gstdint.h |
57752 sed '/^.*\/\([^/][^/]*\)\/*$/{
57753 s//\1/
57756 /^X\/\(\/\/\)$/{
57757 s//\1/
57760 /^X\/\(\/\).*/{
57761 s//\1/
57764 s/.*/./; q'` in
57765 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
57766 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
57767 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
57768 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
57769 *) ;;
57770 esac
57772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
57773 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
57775 # ----------------- done included file, check C basic types --------
57777 # Lacking an uintptr_t? Test size of void *
57778 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
57779 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
57780 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57781 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57782 # This bug is HP SR number 8606223364.
57783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
57784 $as_echo_n "checking size of void *... " >&6; }
57785 if test "${ac_cv_sizeof_void_p+set}" = set; then :
57786 $as_echo_n "(cached) " >&6
57787 else
57788 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
57790 else
57791 if test "$ac_cv_type_void_p" = yes; then
57792 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57793 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57794 { as_fn_set_status 77
57795 as_fn_error "cannot compute sizeof (void *)
57796 See \`config.log' for more details." "$LINENO" 5; }; }
57797 else
57798 ac_cv_sizeof_void_p=0
57803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
57804 $as_echo "$ac_cv_sizeof_void_p" >&6; }
57808 cat >>confdefs.h <<_ACEOF
57809 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
57810 _ACEOF
57813 esac
57815 # Lacking an uint64_t? Test size of long
57816 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
57817 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
57818 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57819 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57820 # This bug is HP SR number 8606223364.
57821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
57822 $as_echo_n "checking size of long... " >&6; }
57823 if test "${ac_cv_sizeof_long+set}" = set; then :
57824 $as_echo_n "(cached) " >&6
57825 else
57826 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
57828 else
57829 if test "$ac_cv_type_long" = yes; then
57830 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57831 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57832 { as_fn_set_status 77
57833 as_fn_error "cannot compute sizeof (long)
57834 See \`config.log' for more details." "$LINENO" 5; }; }
57835 else
57836 ac_cv_sizeof_long=0
57841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
57842 $as_echo "$ac_cv_sizeof_long" >&6; }
57846 cat >>confdefs.h <<_ACEOF
57847 #define SIZEOF_LONG $ac_cv_sizeof_long
57848 _ACEOF
57851 esac
57853 if test $acx_cv_header_stdint = stddef.h; then
57854 # Lacking a good header? Test size of everything and deduce all types.
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 int" >&5
57860 $as_echo_n "checking size of int... " >&6; }
57861 if test "${ac_cv_sizeof_int+set}" = set; then :
57862 $as_echo_n "(cached) " >&6
57863 else
57864 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
57866 else
57867 if test "$ac_cv_type_int" = 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 (int)
57872 See \`config.log' for more details." "$LINENO" 5; }; }
57873 else
57874 ac_cv_sizeof_int=0
57879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
57880 $as_echo "$ac_cv_sizeof_int" >&6; }
57884 cat >>confdefs.h <<_ACEOF
57885 #define SIZEOF_INT $ac_cv_sizeof_int
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 short" >&5
57894 $as_echo_n "checking size of short... " >&6; }
57895 if test "${ac_cv_sizeof_short+set}" = set; then :
57896 $as_echo_n "(cached) " >&6
57897 else
57898 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
57900 else
57901 if test "$ac_cv_type_short" = 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 (short)
57906 See \`config.log' for more details." "$LINENO" 5; }; }
57907 else
57908 ac_cv_sizeof_short=0
57913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
57914 $as_echo "$ac_cv_sizeof_short" >&6; }
57918 cat >>confdefs.h <<_ACEOF
57919 #define SIZEOF_SHORT $ac_cv_sizeof_short
57920 _ACEOF
57923 # The cast to long int works around a bug in the HP C Compiler
57924 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57925 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57926 # This bug is HP SR number 8606223364.
57927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
57928 $as_echo_n "checking size of char... " >&6; }
57929 if test "${ac_cv_sizeof_char+set}" = set; then :
57930 $as_echo_n "(cached) " >&6
57931 else
57932 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
57934 else
57935 if test "$ac_cv_type_char" = yes; then
57936 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57937 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57938 { as_fn_set_status 77
57939 as_fn_error "cannot compute sizeof (char)
57940 See \`config.log' for more details." "$LINENO" 5; }; }
57941 else
57942 ac_cv_sizeof_char=0
57947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
57948 $as_echo "$ac_cv_sizeof_char" >&6; }
57952 cat >>confdefs.h <<_ACEOF
57953 #define SIZEOF_CHAR $ac_cv_sizeof_char
57954 _ACEOF
57958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
57959 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
57960 case "$ac_cv_sizeof_char" in
57961 1) acx_cv_type_int8_t=char ;;
57962 *) { as_fn_set_status please report a bug
57963 as_fn_error "no 8-bit type" "$LINENO" 5; }
57964 esac
57965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
57966 $as_echo "$acx_cv_type_int8_t" >&6; }
57968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
57969 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
57970 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
57971 2:*) acx_cv_type_int16_t=int ;;
57972 *:2) acx_cv_type_int16_t=short ;;
57973 *) { as_fn_set_status please report a bug
57974 as_fn_error "no 16-bit type" "$LINENO" 5; }
57975 esac
57976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
57977 $as_echo "$acx_cv_type_int16_t" >&6; }
57979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
57980 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
57981 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
57982 4:*) acx_cv_type_int32_t=int ;;
57983 *:4) acx_cv_type_int32_t=long ;;
57984 *) { as_fn_set_status please report a bug
57985 as_fn_error "no 32-bit type" "$LINENO" 5; }
57986 esac
57987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
57988 $as_echo "$acx_cv_type_int32_t" >&6; }
57991 # These tests are here to make the output prettier
57993 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
57994 case "$ac_cv_sizeof_long" in
57995 8) acx_cv_type_int64_t=long ;;
57996 esac
57997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
57998 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
57999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
58000 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
58003 # Now we can use the above types
58005 if test "$ac_cv_type_uintptr_t" != yes; then
58006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
58007 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
58008 case $ac_cv_sizeof_void_p in
58009 2) acx_cv_type_intptr_t=int16_t ;;
58010 4) acx_cv_type_intptr_t=int32_t ;;
58011 8) acx_cv_type_intptr_t=int64_t ;;
58012 *) { as_fn_set_status please report a bug
58013 as_fn_error "no equivalent for intptr_t" "$LINENO" 5; }
58014 esac
58015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
58016 $as_echo "$acx_cv_type_intptr_t" >&6; }
58019 # ----------------- done all checks, emit header -------------
58020 ac_config_commands="$ac_config_commands include/gstdint.h"
58025 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
58028 # Check whether --enable-symvers was given.
58029 if test "${enable_symvers+set}" = set; then :
58030 enableval=$enable_symvers;
58031 case "$enableval" in
58032 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export) ;;
58033 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
58034 esac
58036 else
58037 enable_symvers=yes
58042 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
58043 # don't know enough about $LD to do tricks...
58046 # Turn a 'yes' into a suitable default.
58047 if test x$enable_symvers = xyes ; then
58048 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
58049 enable_symvers=no
58050 else
58051 if test $with_gnu_ld = yes ; then
58052 case ${target_os} in
58053 cygwin* | pe | mingw32* | hpux*)
58054 enable_symvers=no ;;
58056 enable_symvers=gnu ;;
58057 esac
58058 else
58059 case ${target_os} in
58060 darwin*)
58061 enable_symvers=darwin ;;
58063 enable_symvers=no ;;
58064 esac
58069 # Check to see if 'darwin' or 'darwin-export' can win.
58070 if test x$enable_symvers = xdarwin-export ; then
58071 enable_symvers=darwin
58074 # Check to see if 'gnu' can win.
58075 if test $enable_symvers = gnu || test $enable_symvers = gnu-versioned-namespace; then
58076 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
58077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
58078 $as_echo_n "checking for shared libgcc... " >&6; }
58079 ac_save_CFLAGS="$CFLAGS"
58080 CFLAGS=' -lgcc_s'
58081 if test x$gcc_no_link = xyes; then
58082 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58085 /* end confdefs.h. */
58088 main ()
58090 return 0;
58092 return 0;
58094 _ACEOF
58095 if ac_fn_c_try_link "$LINENO"; then :
58096 glibcxx_shared_libgcc=yes
58097 else
58098 glibcxx_shared_libgcc=no
58100 rm -f core conftest.err conftest.$ac_objext \
58101 conftest$ac_exeext conftest.$ac_ext
58102 CFLAGS="$ac_save_CFLAGS"
58103 if test $glibcxx_shared_libgcc = no; then
58104 cat > conftest.c <<EOF
58105 int main (void) { return 0; }
58107 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
58108 -shared -shared-libgcc -o conftest.so \
58109 conftest.c -v 2>&1 >/dev/null \
58110 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
58111 rm -f conftest.c conftest.so
58112 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
58113 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
58114 if test x$gcc_no_link = xyes; then
58115 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58118 /* end confdefs.h. */
58121 main ()
58123 return 0;
58125 return 0;
58127 _ACEOF
58128 if ac_fn_c_try_link "$LINENO"; then :
58129 glibcxx_shared_libgcc=yes
58131 rm -f core conftest.err conftest.$ac_objext \
58132 conftest$ac_exeext conftest.$ac_ext
58133 CFLAGS="$ac_save_CFLAGS"
58136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
58137 $as_echo "$glibcxx_shared_libgcc" >&6; }
58139 # For GNU ld, we need at least this version. The format is described in
58140 # GLIBCXX_CHECK_LINKER_FEATURES above.
58141 glibcxx_min_gnu_ld_version=21400
58143 # If no shared libgcc, can't win.
58144 if test $glibcxx_shared_libgcc != yes; then
58145 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
58146 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
58147 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
58148 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
58149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58150 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58151 enable_symvers=no
58152 elif test $with_gnu_ld != yes ; then
58153 # just fail for now
58154 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
58155 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
58156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
58157 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
58158 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58159 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58160 enable_symvers=no
58161 elif test $glibcxx_ld_is_gold = yes ; then
58162 : All versions of gold support symbol versioning.
58163 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
58164 # The right tools, the right setup, but too old. Fallbacks?
58165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
58166 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
58167 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
58168 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
58169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
58170 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
58171 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
58172 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
58173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58174 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58175 enable_symvers=no
58179 # Everything parsed; figure out what file to use.
58180 case $enable_symvers in
58182 SYMVER_FILE=config/abi/pre/none.ver
58184 gnu)
58185 SYMVER_FILE=config/abi/pre/gnu.ver
58187 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
58190 gnu-versioned-namespace)
58191 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
58193 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
58196 darwin)
58197 SYMVER_FILE=config/abi/pre/gnu.ver
58199 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
58202 esac
58204 if test x$enable_symvers != xno ; then
58206 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
58210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
58211 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
58212 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
58213 $as_echo_n "(cached) " >&6
58214 else
58216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58217 /* end confdefs.h. */
58218 void foo (void); __asm (".symver foo, bar@SYMVER");
58220 main ()
58224 return 0;
58226 _ACEOF
58227 if ac_fn_c_try_compile "$LINENO"; then :
58228 glibcxx_cv_have_as_symver_directive=yes
58229 else
58230 glibcxx_cv_have_as_symver_directive=no
58232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
58235 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
58236 if test $glibcxx_cv_have_as_symver_directive = yes; then
58238 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
58248 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
58249 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
58251 # Now, set up compatibility support, if any.
58252 # In addition, need this to deal with std::size_t mangling in
58253 # src/compatibility.cc. In a perfect world, could use
58254 # typeid(std::size_t).name()[0] to do direct substitution.
58255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
58256 $as_echo_n "checking for size_t as unsigned int... " >&6; }
58257 ac_save_CFLAGS="$CFLAGS"
58258 CFLAGS="-Werror"
58259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58260 /* end confdefs.h. */
58263 main ()
58265 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
58267 return 0;
58269 _ACEOF
58270 if ac_fn_c_try_compile "$LINENO"; then :
58271 glibcxx_size_t_is_i=yes
58272 else
58273 glibcxx_size_t_is_i=no
58275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58276 CFLAGS=$ac_save_CFLAGS
58277 if test "$glibcxx_size_t_is_i" = yes; then
58279 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
58282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
58283 $as_echo "$glibcxx_size_t_is_i" >&6; }
58285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
58286 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
58287 ac_save_CFLAGS="$CFLAGS"
58288 CFLAGS="-Werror"
58289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58290 /* end confdefs.h. */
58293 main ()
58295 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
58297 return 0;
58299 _ACEOF
58300 if ac_fn_c_try_compile "$LINENO"; then :
58301 glibcxx_ptrdiff_t_is_i=yes
58302 else
58303 glibcxx_ptrdiff_t_is_i=no
58305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58306 CFLAGS=$ac_save_CFLAGS
58307 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
58309 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
58312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
58313 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
58316 # Check whether --enable-visibility was given.
58317 if test "${enable_visibility+set}" = set; then :
58318 enableval=$enable_visibility;
58319 case "$enableval" in
58320 yes|no) ;;
58321 *) as_fn_error "Argument to enable/disable visibility must be yes or no" "$LINENO" 5 ;;
58322 esac
58324 else
58325 enable_visibility=yes
58330 if test x$enable_visibility = xyes ; then
58331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
58332 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
58333 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
58334 $as_echo_n "(cached) " >&6
58335 else
58337 save_CFLAGS="$CFLAGS"
58338 CFLAGS="$CFLAGS -Werror"
58339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58340 /* end confdefs.h. */
58341 void __attribute__((visibility("hidden"))) foo(void) { }
58343 main ()
58347 return 0;
58349 _ACEOF
58350 if ac_fn_c_try_compile "$LINENO"; then :
58351 glibcxx_cv_have_attribute_visibility=yes
58352 else
58353 glibcxx_cv_have_attribute_visibility=no
58355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58356 CFLAGS="$save_CFLAGS"
58358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
58359 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
58360 if test $glibcxx_cv_have_attribute_visibility = no; then
58361 enable_visibility=no
58366 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_visibility" >&5
58367 $as_echo "$as_me: visibility supported: $enable_visibility" >&6;}
58370 ac_ldbl_compat=no
58371 case "$target" in
58372 powerpc*-*-linux* | \
58373 powerpc*-*-gnu* | \
58374 sparc*-*-linux* | \
58375 s390*-*-linux* | \
58376 alpha*-*-linux*)
58377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58378 /* end confdefs.h. */
58381 main ()
58384 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
58385 #error no need for long double compatibility
58386 #endif
58389 return 0;
58391 _ACEOF
58392 if ac_fn_c_try_compile "$LINENO"; then :
58393 ac_ldbl_compat=yes
58394 else
58395 ac_ldbl_compat=no
58397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58398 if test "$ac_ldbl_compat" = yes; then
58400 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
58402 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
58404 esac
58407 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
58409 if $GLIBCXX_IS_NATIVE ; then
58410 # Do checks for resource limit functions.
58412 setrlimit_have_headers=yes
58413 for ac_header in unistd.h sys/time.h sys/resource.h
58414 do :
58415 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
58416 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
58417 eval as_val=\$$as_ac_Header
58418 if test "x$as_val" = x""yes; then :
58419 cat >>confdefs.h <<_ACEOF
58420 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
58421 _ACEOF
58423 else
58424 setrlimit_have_headers=no
58427 done
58429 # If don't have the headers, then we can't run the tests now, and we
58430 # won't be seeing any of these during testsuite compilation.
58431 if test $setrlimit_have_headers = yes; then
58432 # Can't do these in a loop, else the resulting syntax is wrong.
58434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
58435 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
58436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58437 /* end confdefs.h. */
58438 #include <unistd.h>
58439 #include <sys/time.h>
58440 #include <sys/resource.h>
58443 main ()
58445 int f = RLIMIT_DATA ;
58447 return 0;
58449 _ACEOF
58450 if ac_fn_c_try_compile "$LINENO"; then :
58451 glibcxx_mresult=1
58452 else
58453 glibcxx_mresult=0
58455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58457 cat >>confdefs.h <<_ACEOF
58458 #define HAVE_LIMIT_DATA $glibcxx_mresult
58459 _ACEOF
58461 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58463 $as_echo "$res" >&6; }
58466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
58467 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
58468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58469 /* end confdefs.h. */
58470 #include <unistd.h>
58471 #include <sys/time.h>
58472 #include <sys/resource.h>
58475 main ()
58477 int f = RLIMIT_RSS ;
58479 return 0;
58481 _ACEOF
58482 if ac_fn_c_try_compile "$LINENO"; then :
58483 glibcxx_mresult=1
58484 else
58485 glibcxx_mresult=0
58487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58489 cat >>confdefs.h <<_ACEOF
58490 #define HAVE_LIMIT_RSS $glibcxx_mresult
58491 _ACEOF
58493 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58495 $as_echo "$res" >&6; }
58498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
58499 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
58500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58501 /* end confdefs.h. */
58502 #include <unistd.h>
58503 #include <sys/time.h>
58504 #include <sys/resource.h>
58507 main ()
58509 int f = RLIMIT_VMEM ;
58511 return 0;
58513 _ACEOF
58514 if ac_fn_c_try_compile "$LINENO"; then :
58515 glibcxx_mresult=1
58516 else
58517 glibcxx_mresult=0
58519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58521 cat >>confdefs.h <<_ACEOF
58522 #define HAVE_LIMIT_VMEM $glibcxx_mresult
58523 _ACEOF
58525 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58527 $as_echo "$res" >&6; }
58530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
58531 $as_echo_n "checking for RLIMIT_AS... " >&6; }
58532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58533 /* end confdefs.h. */
58534 #include <unistd.h>
58535 #include <sys/time.h>
58536 #include <sys/resource.h>
58539 main ()
58541 int f = RLIMIT_AS ;
58543 return 0;
58545 _ACEOF
58546 if ac_fn_c_try_compile "$LINENO"; then :
58547 glibcxx_mresult=1
58548 else
58549 glibcxx_mresult=0
58551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58553 cat >>confdefs.h <<_ACEOF
58554 #define HAVE_LIMIT_AS $glibcxx_mresult
58555 _ACEOF
58557 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58559 $as_echo "$res" >&6; }
58562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
58563 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
58564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58565 /* end confdefs.h. */
58566 #include <unistd.h>
58567 #include <sys/time.h>
58568 #include <sys/resource.h>
58571 main ()
58573 int f = RLIMIT_FSIZE ;
58575 return 0;
58577 _ACEOF
58578 if ac_fn_c_try_compile "$LINENO"; then :
58579 glibcxx_mresult=1
58580 else
58581 glibcxx_mresult=0
58583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58585 cat >>confdefs.h <<_ACEOF
58586 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
58587 _ACEOF
58589 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58591 $as_echo "$res" >&6; }
58594 # Check for rlimit, setrlimit.
58595 if test "${glibcxx_cv_setrlimit+set}" = set; then :
58596 $as_echo_n "(cached) " >&6
58597 else
58599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58600 /* end confdefs.h. */
58601 #include <unistd.h>
58602 #include <sys/time.h>
58603 #include <sys/resource.h>
58606 main ()
58608 struct rlimit r;
58609 setrlimit(0, &r);
58611 return 0;
58613 _ACEOF
58614 if ac_fn_c_try_compile "$LINENO"; then :
58615 glibcxx_cv_setrlimit=yes
58616 else
58617 glibcxx_cv_setrlimit=no
58619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
58626 $as_echo_n "checking for testsuite resource limits support... " >&6; }
58627 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
58628 ac_res_limits=yes
58630 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
58632 else
58633 ac_res_limits=no
58635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
58636 $as_echo "$ac_res_limits" >&6; }
58639 # Look for setenv, so that extended locale tests can be performed.
58641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
58642 $as_echo_n "checking for setenv declaration... " >&6; }
58643 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
58644 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
58645 $as_echo_n "(cached) " >&6
58646 else
58649 ac_ext=cpp
58650 ac_cpp='$CXXCPP $CPPFLAGS'
58651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58656 /* end confdefs.h. */
58657 #include <stdlib.h>
58659 main ()
58661 setenv(0, 0, 0);
58663 return 0;
58665 _ACEOF
58666 if ac_fn_cxx_try_compile "$LINENO"; then :
58667 glibcxx_cv_func_setenv_use=yes
58668 else
58669 glibcxx_cv_func_setenv_use=no
58671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58672 ac_ext=c
58673 ac_cpp='$CPP $CPPFLAGS'
58674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
58683 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
58684 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
58685 for ac_func in setenv
58686 do :
58687 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
58688 if test "x$ac_cv_func_setenv" = x""yes; then :
58689 cat >>confdefs.h <<_ACEOF
58690 #define HAVE_SETENV 1
58691 _ACEOF
58694 done
58700 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
58701 test $enable_symvers != no; then
58702 case "$host" in
58703 *-*-cygwin*)
58704 enable_abi_check=no ;;
58706 enable_abi_check=yes ;;
58707 esac
58708 else
58709 # Only build this as native, since automake does not understand
58710 # CXX_FOR_BUILD.
58711 enable_abi_check=no
58714 # Export file names for ABI checking.
58715 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
58719 # Propagate the target-specific source directories through the build chain.
58720 ATOMICITY_SRCDIR=config/${atomicity_dir}
58721 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
58722 ATOMIC_FLAGS=${atomic_flags}
58723 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
58724 OS_INC_SRCDIR=config/${os_include_dir}
58725 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
58726 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
58736 # Determine cross-compile flags and AM_CONDITIONALs.
58737 #AC_SUBST(GLIBCXX_IS_NATIVE)
58738 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
58739 if test $is_hosted = yes; then
58740 GLIBCXX_HOSTED_TRUE=
58741 GLIBCXX_HOSTED_FALSE='#'
58742 else
58743 GLIBCXX_HOSTED_TRUE='#'
58744 GLIBCXX_HOSTED_FALSE=
58748 if test $enable_libstdcxx_pch = yes; then
58749 GLIBCXX_BUILD_PCH_TRUE=
58750 GLIBCXX_BUILD_PCH_FALSE='#'
58751 else
58752 GLIBCXX_BUILD_PCH_TRUE='#'
58753 GLIBCXX_BUILD_PCH_FALSE=
58757 if test $enable_cheaders = c; then
58758 GLIBCXX_C_HEADERS_C_TRUE=
58759 GLIBCXX_C_HEADERS_C_FALSE='#'
58760 else
58761 GLIBCXX_C_HEADERS_C_TRUE='#'
58762 GLIBCXX_C_HEADERS_C_FALSE=
58766 if test $enable_cheaders = c_std; then
58767 GLIBCXX_C_HEADERS_C_STD_TRUE=
58768 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
58769 else
58770 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
58771 GLIBCXX_C_HEADERS_C_STD_FALSE=
58775 if test $enable_cheaders = c_global; then
58776 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
58777 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
58778 else
58779 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
58780 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
58784 if test $c_compatibility = yes; then
58785 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
58786 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
58787 else
58788 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
58789 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
58793 if test $c_extra = yes; then
58794 GLIBCXX_C_HEADERS_EXTRA_TRUE=
58795 GLIBCXX_C_HEADERS_EXTRA_FALSE='#'
58796 else
58797 GLIBCXX_C_HEADERS_EXTRA_TRUE='#'
58798 GLIBCXX_C_HEADERS_EXTRA_FALSE=
58802 if test $enable_libstdcxx_debug = yes; then
58803 GLIBCXX_BUILD_DEBUG_TRUE=
58804 GLIBCXX_BUILD_DEBUG_FALSE='#'
58805 else
58806 GLIBCXX_BUILD_DEBUG_TRUE='#'
58807 GLIBCXX_BUILD_DEBUG_FALSE=
58811 if test $enable_parallel = yes; then
58812 ENABLE_PARALLEL_TRUE=
58813 ENABLE_PARALLEL_FALSE='#'
58814 else
58815 ENABLE_PARALLEL_TRUE='#'
58816 ENABLE_PARALLEL_FALSE=
58820 if test $enable_symvers != no; then
58821 ENABLE_SYMVERS_TRUE=
58822 ENABLE_SYMVERS_FALSE='#'
58823 else
58824 ENABLE_SYMVERS_TRUE='#'
58825 ENABLE_SYMVERS_FALSE=
58829 if test $enable_symvers = gnu; then
58830 ENABLE_SYMVERS_GNU_TRUE=
58831 ENABLE_SYMVERS_GNU_FALSE='#'
58832 else
58833 ENABLE_SYMVERS_GNU_TRUE='#'
58834 ENABLE_SYMVERS_GNU_FALSE=
58838 if test $enable_symvers = gnu-versioned-namespace; then
58839 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
58840 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
58841 else
58842 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
58843 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
58847 if test $enable_symvers = darwin; then
58848 ENABLE_SYMVERS_DARWIN_TRUE=
58849 ENABLE_SYMVERS_DARWIN_FALSE='#'
58850 else
58851 ENABLE_SYMVERS_DARWIN_TRUE='#'
58852 ENABLE_SYMVERS_DARWIN_FALSE=
58856 if test $enable_visibility = yes; then
58857 ENABLE_VISIBILITY_TRUE=
58858 ENABLE_VISIBILITY_FALSE='#'
58859 else
58860 ENABLE_VISIBILITY_TRUE='#'
58861 ENABLE_VISIBILITY_FALSE=
58865 if test $ac_ldbl_compat = yes; then
58866 GLIBCXX_LDBL_COMPAT_TRUE=
58867 GLIBCXX_LDBL_COMPAT_FALSE='#'
58868 else
58869 GLIBCXX_LDBL_COMPAT_TRUE='#'
58870 GLIBCXX_LDBL_COMPAT_FALSE=
58876 cat >confcache <<\_ACEOF
58877 # This file is a shell script that caches the results of configure
58878 # tests run on this system so they can be shared between configure
58879 # scripts and configure runs, see configure's option --config-cache.
58880 # It is not useful on other systems. If it contains results you don't
58881 # want to keep, you may remove or edit it.
58883 # config.status only pays attention to the cache file if you give it
58884 # the --recheck option to rerun configure.
58886 # `ac_cv_env_foo' variables (set or unset) will be overridden when
58887 # loading this file, other *unset* `ac_cv_foo' will be assigned the
58888 # following values.
58890 _ACEOF
58892 # The following way of writing the cache mishandles newlines in values,
58893 # but we know of no workaround that is simple, portable, and efficient.
58894 # So, we kill variables containing newlines.
58895 # Ultrix sh set writes to stderr and can't be redirected directly,
58896 # and sets the high bit in the cache file unless we assign to the vars.
58898 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
58899 eval ac_val=\$$ac_var
58900 case $ac_val in #(
58901 *${as_nl}*)
58902 case $ac_var in #(
58903 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
58904 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
58905 esac
58906 case $ac_var in #(
58907 _ | IFS | as_nl) ;; #(
58908 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
58909 *) { eval $ac_var=; unset $ac_var;} ;;
58910 esac ;;
58911 esac
58912 done
58914 (set) 2>&1 |
58915 case $as_nl`(ac_space=' '; set) 2>&1` in #(
58916 *${as_nl}ac_space=\ *)
58917 # `set' does not quote correctly, so add quotes: double-quote
58918 # substitution turns \\\\ into \\, and sed turns \\ into \.
58919 sed -n \
58920 "s/'/'\\\\''/g;
58921 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
58922 ;; #(
58924 # `set' quotes correctly as required by POSIX, so do not add quotes.
58925 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
58927 esac |
58928 sort
58930 sed '
58931 /^ac_cv_env_/b end
58932 t clear
58933 :clear
58934 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
58935 t end
58936 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
58937 :end' >>confcache
58938 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
58939 if test -w "$cache_file"; then
58940 test "x$cache_file" != "x/dev/null" &&
58941 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
58942 $as_echo "$as_me: updating cache $cache_file" >&6;}
58943 cat confcache >$cache_file
58944 else
58945 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
58946 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
58949 rm -f confcache
58951 if test ${multilib} = yes; then
58952 multilib_arg="--enable-multilib"
58953 else
58954 multilib_arg=
58957 # Export all the install information.
58959 glibcxx_toolexecdir=no
58960 glibcxx_toolexeclibdir=no
58961 glibcxx_prefixdir=$prefix
58963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
58964 $as_echo_n "checking for gxx-include-dir... " >&6; }
58966 # Check whether --with-gxx-include-dir was given.
58967 if test "${with_gxx_include_dir+set}" = set; then :
58968 withval=$with_gxx_include_dir; case "$withval" in
58969 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
58970 no) gxx_include_dir=no ;;
58971 *) gxx_include_dir=$withval ;;
58972 esac
58973 else
58974 gxx_include_dir=no
58977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
58978 $as_echo "$gxx_include_dir" >&6; }
58980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
58981 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
58982 # Check whether --enable-version-specific-runtime-libs was given.
58983 if test "${enable_version_specific_runtime_libs+set}" = set; then :
58984 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
58985 yes) version_specific_libs=yes ;;
58986 no) version_specific_libs=no ;;
58987 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
58988 esac
58989 else
58990 version_specific_libs=no
58993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
58994 $as_echo "$version_specific_libs" >&6; }
58996 # Default case for install directory for include files.
58997 if test $version_specific_libs = no && test $gxx_include_dir = no; then
58998 gxx_include_dir='include/c++/${gcc_version}'
58999 if test -n "$with_cross_host" &&
59000 test x"$with_cross_host" != x"no"; then
59001 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
59002 else
59003 gxx_include_dir='${prefix}/'"$gxx_include_dir"
59007 # Version-specific runtime libs processing.
59008 if test $version_specific_libs = yes; then
59009 # Need the gcc compiler version to know where to install libraries
59010 # and header files if --enable-version-specific-runtime-libs option
59011 # is selected. FIXME: these variables are misnamed, there are
59012 # no executables installed in _toolexecdir or _toolexeclibdir.
59013 if test x"$gxx_include_dir" = x"no"; then
59014 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
59016 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
59017 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
59020 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
59021 # Install a library built with a cross compiler in tooldir, not libdir.
59022 if test x"$glibcxx_toolexecdir" = x"no"; then
59023 if test -n "$with_cross_host" &&
59024 test x"$with_cross_host" != x"no"; then
59025 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
59026 glibcxx_toolexeclibdir='${toolexecdir}/lib'
59027 else
59028 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
59029 glibcxx_toolexeclibdir='${libdir}'
59031 multi_os_directory=`$CXX -print-multi-os-directory`
59032 case $multi_os_directory in
59033 .) ;; # Avoid trailing /.
59034 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
59035 esac
59038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
59039 $as_echo_n "checking for install location... " >&6; }
59040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
59041 $as_echo "$gxx_include_dir" >&6; }
59049 # Export all the include and flag information to Makefiles.
59051 # Used for every C++ compile we perform.
59052 GLIBCXX_INCLUDES="\
59053 -I$glibcxx_builddir/include/$host_alias \
59054 -I$glibcxx_builddir/include \
59055 -I$glibcxx_srcdir/libsupc++"
59057 # For Canadian crosses, pick this up too.
59058 if test $CANADIAN = yes; then
59059 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
59062 # Stuff in the actual top level. Currently only used by libsupc++ to
59063 # get unwind* headers from the gcc dir.
59064 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
59065 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
59067 # Now, export this to all the little Makefiles....
59072 # Optimization flags that are probably a good idea for thrill-seekers. Just
59073 # uncomment the lines below and make, everything else is ready to go...
59074 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
59075 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
59078 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
59082 if test "$enable_shared" = yes; then
59083 LIBSUPCXX_PICFLAGS="-prefer-pic"
59084 else
59085 LIBSUPCXX_PICFLAGS=
59089 ac_config_files="$ac_config_files Makefile"
59091 ac_config_files="$ac_config_files scripts/testsuite_flags"
59094 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
59095 # that multilib installs will end up installed in the correct place.
59096 # The testsuite needs it for multilib-aware ABI baseline files.
59097 # To work around this not being passed down from config-ml.in ->
59098 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
59099 # append it here. Only modify Makefiles that have just been created.
59101 # Also, get rid of this simulated-VPATH thing that automake does.
59102 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile python/Makefile src/Makefile doc/Makefile po/Makefile testsuite/Makefile"
59105 ac_config_commands="$ac_config_commands generate-headers"
59108 cat >confcache <<\_ACEOF
59109 # This file is a shell script that caches the results of configure
59110 # tests run on this system so they can be shared between configure
59111 # scripts and configure runs, see configure's option --config-cache.
59112 # It is not useful on other systems. If it contains results you don't
59113 # want to keep, you may remove or edit it.
59115 # config.status only pays attention to the cache file if you give it
59116 # the --recheck option to rerun configure.
59118 # `ac_cv_env_foo' variables (set or unset) will be overridden when
59119 # loading this file, other *unset* `ac_cv_foo' will be assigned the
59120 # following values.
59122 _ACEOF
59124 # The following way of writing the cache mishandles newlines in values,
59125 # but we know of no workaround that is simple, portable, and efficient.
59126 # So, we kill variables containing newlines.
59127 # Ultrix sh set writes to stderr and can't be redirected directly,
59128 # and sets the high bit in the cache file unless we assign to the vars.
59130 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
59131 eval ac_val=\$$ac_var
59132 case $ac_val in #(
59133 *${as_nl}*)
59134 case $ac_var in #(
59135 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
59136 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
59137 esac
59138 case $ac_var in #(
59139 _ | IFS | as_nl) ;; #(
59140 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
59141 *) { eval $ac_var=; unset $ac_var;} ;;
59142 esac ;;
59143 esac
59144 done
59146 (set) 2>&1 |
59147 case $as_nl`(ac_space=' '; set) 2>&1` in #(
59148 *${as_nl}ac_space=\ *)
59149 # `set' does not quote correctly, so add quotes: double-quote
59150 # substitution turns \\\\ into \\, and sed turns \\ into \.
59151 sed -n \
59152 "s/'/'\\\\''/g;
59153 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
59154 ;; #(
59156 # `set' quotes correctly as required by POSIX, so do not add quotes.
59157 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
59159 esac |
59160 sort
59162 sed '
59163 /^ac_cv_env_/b end
59164 t clear
59165 :clear
59166 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
59167 t end
59168 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
59169 :end' >>confcache
59170 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
59171 if test -w "$cache_file"; then
59172 test "x$cache_file" != "x/dev/null" &&
59173 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
59174 $as_echo "$as_me: updating cache $cache_file" >&6;}
59175 cat confcache >$cache_file
59176 else
59177 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
59178 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
59181 rm -f confcache
59183 test "x$prefix" = xNONE && prefix=$ac_default_prefix
59184 # Let make expand exec_prefix.
59185 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
59187 DEFS=-DHAVE_CONFIG_H
59189 ac_libobjs=
59190 ac_ltlibobjs=
59191 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
59192 # 1. Remove the extension, and $U if already installed.
59193 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
59194 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
59195 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
59196 # will be set to the directory where LIBOBJS objects are built.
59197 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
59198 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
59199 done
59200 LIBOBJS=$ac_libobjs
59202 LTLIBOBJS=$ac_ltlibobjs
59205 if test -n "$EXEEXT"; then
59206 am__EXEEXT_TRUE=
59207 am__EXEEXT_FALSE='#'
59208 else
59209 am__EXEEXT_TRUE='#'
59210 am__EXEEXT_FALSE=
59213 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
59214 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
59215 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59217 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
59218 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
59219 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59221 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
59222 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
59223 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59225 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
59226 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
59227 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59229 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
59230 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
59231 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59233 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
59234 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
59235 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59237 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
59238 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
59239 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59241 if test -z "${GLIBCXX_C_HEADERS_EXTRA_TRUE}" && test -z "${GLIBCXX_C_HEADERS_EXTRA_FALSE}"; then
59242 as_fn_error "conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
59243 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59245 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
59246 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
59247 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59249 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
59250 as_fn_error "conditional \"ENABLE_PARALLEL\" was never defined.
59251 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59253 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
59254 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
59255 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59257 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
59258 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
59259 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59261 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
59262 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
59263 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59265 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
59266 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
59267 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59269 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
59270 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
59271 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59273 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
59274 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
59275 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59278 : ${CONFIG_STATUS=./config.status}
59279 ac_write_fail=0
59280 ac_clean_files_save=$ac_clean_files
59281 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
59282 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
59283 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
59284 as_write_fail=0
59285 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
59286 #! $SHELL
59287 # Generated by $as_me.
59288 # Run this file to recreate the current configuration.
59289 # Compiler output produced by configure, useful for debugging
59290 # configure, is in config.log if it exists.
59292 debug=false
59293 ac_cs_recheck=false
59294 ac_cs_silent=false
59296 SHELL=\${CONFIG_SHELL-$SHELL}
59297 export SHELL
59298 _ASEOF
59299 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
59300 ## -------------------- ##
59301 ## M4sh Initialization. ##
59302 ## -------------------- ##
59304 # Be more Bourne compatible
59305 DUALCASE=1; export DUALCASE # for MKS sh
59306 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
59307 emulate sh
59308 NULLCMD=:
59309 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
59310 # is contrary to our usage. Disable this feature.
59311 alias -g '${1+"$@"}'='"$@"'
59312 setopt NO_GLOB_SUBST
59313 else
59314 case `(set -o) 2>/dev/null` in #(
59315 *posix*) :
59316 set -o posix ;; #(
59317 *) :
59319 esac
59323 as_nl='
59325 export as_nl
59326 # Printing a long string crashes Solaris 7 /usr/bin/printf.
59327 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
59328 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
59329 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
59330 # Prefer a ksh shell builtin over an external printf program on Solaris,
59331 # but without wasting forks for bash or zsh.
59332 if test -z "$BASH_VERSION$ZSH_VERSION" \
59333 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
59334 as_echo='print -r --'
59335 as_echo_n='print -rn --'
59336 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
59337 as_echo='printf %s\n'
59338 as_echo_n='printf %s'
59339 else
59340 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
59341 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
59342 as_echo_n='/usr/ucb/echo -n'
59343 else
59344 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
59345 as_echo_n_body='eval
59346 arg=$1;
59347 case $arg in #(
59348 *"$as_nl"*)
59349 expr "X$arg" : "X\\(.*\\)$as_nl";
59350 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
59351 esac;
59352 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
59354 export as_echo_n_body
59355 as_echo_n='sh -c $as_echo_n_body as_echo'
59357 export as_echo_body
59358 as_echo='sh -c $as_echo_body as_echo'
59361 # The user is always right.
59362 if test "${PATH_SEPARATOR+set}" != set; then
59363 PATH_SEPARATOR=:
59364 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
59365 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
59366 PATH_SEPARATOR=';'
59371 # IFS
59372 # We need space, tab and new line, in precisely that order. Quoting is
59373 # there to prevent editors from complaining about space-tab.
59374 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
59375 # splitting by setting IFS to empty value.)
59376 IFS=" "" $as_nl"
59378 # Find who we are. Look in the path if we contain no directory separator.
59379 case $0 in #((
59380 *[\\/]* ) as_myself=$0 ;;
59381 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
59382 for as_dir in $PATH
59384 IFS=$as_save_IFS
59385 test -z "$as_dir" && as_dir=.
59386 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
59387 done
59388 IFS=$as_save_IFS
59391 esac
59392 # We did not find ourselves, most probably we were run as `sh COMMAND'
59393 # in which case we are not to be found in the path.
59394 if test "x$as_myself" = x; then
59395 as_myself=$0
59397 if test ! -f "$as_myself"; then
59398 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
59399 exit 1
59402 # Unset variables that we do not need and which cause bugs (e.g. in
59403 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
59404 # suppresses any "Segmentation fault" message there. '((' could
59405 # trigger a bug in pdksh 5.2.14.
59406 for as_var in BASH_ENV ENV MAIL MAILPATH
59407 do eval test x\${$as_var+set} = xset \
59408 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
59409 done
59410 PS1='$ '
59411 PS2='> '
59412 PS4='+ '
59414 # NLS nuisances.
59415 LC_ALL=C
59416 export LC_ALL
59417 LANGUAGE=C
59418 export LANGUAGE
59420 # CDPATH.
59421 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
59424 # as_fn_error ERROR [LINENO LOG_FD]
59425 # ---------------------------------
59426 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
59427 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
59428 # script with status $?, using 1 if that was 0.
59429 as_fn_error ()
59431 as_status=$?; test $as_status -eq 0 && as_status=1
59432 if test "$3"; then
59433 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
59434 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
59436 $as_echo "$as_me: error: $1" >&2
59437 as_fn_exit $as_status
59438 } # as_fn_error
59441 # as_fn_set_status STATUS
59442 # -----------------------
59443 # Set $? to STATUS, without forking.
59444 as_fn_set_status ()
59446 return $1
59447 } # as_fn_set_status
59449 # as_fn_exit STATUS
59450 # -----------------
59451 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
59452 as_fn_exit ()
59454 set +e
59455 as_fn_set_status $1
59456 exit $1
59457 } # as_fn_exit
59459 # as_fn_unset VAR
59460 # ---------------
59461 # Portably unset VAR.
59462 as_fn_unset ()
59464 { eval $1=; unset $1;}
59466 as_unset=as_fn_unset
59467 # as_fn_append VAR VALUE
59468 # ----------------------
59469 # Append the text in VALUE to the end of the definition contained in VAR. Take
59470 # advantage of any shell optimizations that allow amortized linear growth over
59471 # repeated appends, instead of the typical quadratic growth present in naive
59472 # implementations.
59473 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
59474 eval 'as_fn_append ()
59476 eval $1+=\$2
59478 else
59479 as_fn_append ()
59481 eval $1=\$$1\$2
59483 fi # as_fn_append
59485 # as_fn_arith ARG...
59486 # ------------------
59487 # Perform arithmetic evaluation on the ARGs, and store the result in the
59488 # global $as_val. Take advantage of shells that can avoid forks. The arguments
59489 # must be portable across $(()) and expr.
59490 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
59491 eval 'as_fn_arith ()
59493 as_val=$(( $* ))
59495 else
59496 as_fn_arith ()
59498 as_val=`expr "$@" || test $? -eq 1`
59500 fi # as_fn_arith
59503 if expr a : '\(a\)' >/dev/null 2>&1 &&
59504 test "X`expr 00001 : '.*\(...\)'`" = X001; then
59505 as_expr=expr
59506 else
59507 as_expr=false
59510 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
59511 as_basename=basename
59512 else
59513 as_basename=false
59516 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
59517 as_dirname=dirname
59518 else
59519 as_dirname=false
59522 as_me=`$as_basename -- "$0" ||
59523 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
59524 X"$0" : 'X\(//\)$' \| \
59525 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
59526 $as_echo X/"$0" |
59527 sed '/^.*\/\([^/][^/]*\)\/*$/{
59528 s//\1/
59531 /^X\/\(\/\/\)$/{
59532 s//\1/
59535 /^X\/\(\/\).*/{
59536 s//\1/
59539 s/.*/./; q'`
59541 # Avoid depending upon Character Ranges.
59542 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
59543 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
59544 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
59545 as_cr_digits='0123456789'
59546 as_cr_alnum=$as_cr_Letters$as_cr_digits
59548 ECHO_C= ECHO_N= ECHO_T=
59549 case `echo -n x` in #(((((
59550 -n*)
59551 case `echo 'xy\c'` in
59552 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
59553 xy) ECHO_C='\c';;
59554 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
59555 ECHO_T=' ';;
59556 esac;;
59558 ECHO_N='-n';;
59559 esac
59561 rm -f conf$$ conf$$.exe conf$$.file
59562 if test -d conf$$.dir; then
59563 rm -f conf$$.dir/conf$$.file
59564 else
59565 rm -f conf$$.dir
59566 mkdir conf$$.dir 2>/dev/null
59568 if (echo >conf$$.file) 2>/dev/null; then
59569 if ln -s conf$$.file conf$$ 2>/dev/null; then
59570 as_ln_s='ln -s'
59571 # ... but there are two gotchas:
59572 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
59573 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
59574 # In both cases, we have to default to `cp -p'.
59575 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
59576 as_ln_s='cp -p'
59577 elif ln conf$$.file conf$$ 2>/dev/null; then
59578 as_ln_s=ln
59579 else
59580 as_ln_s='cp -p'
59582 else
59583 as_ln_s='cp -p'
59585 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
59586 rmdir conf$$.dir 2>/dev/null
59589 # as_fn_mkdir_p
59590 # -------------
59591 # Create "$as_dir" as a directory, including parents if necessary.
59592 as_fn_mkdir_p ()
59595 case $as_dir in #(
59596 -*) as_dir=./$as_dir;;
59597 esac
59598 test -d "$as_dir" || eval $as_mkdir_p || {
59599 as_dirs=
59600 while :; do
59601 case $as_dir in #(
59602 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
59603 *) as_qdir=$as_dir;;
59604 esac
59605 as_dirs="'$as_qdir' $as_dirs"
59606 as_dir=`$as_dirname -- "$as_dir" ||
59607 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
59608 X"$as_dir" : 'X\(//\)[^/]' \| \
59609 X"$as_dir" : 'X\(//\)$' \| \
59610 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
59611 $as_echo X"$as_dir" |
59612 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
59613 s//\1/
59616 /^X\(\/\/\)[^/].*/{
59617 s//\1/
59620 /^X\(\/\/\)$/{
59621 s//\1/
59624 /^X\(\/\).*/{
59625 s//\1/
59628 s/.*/./; q'`
59629 test -d "$as_dir" && break
59630 done
59631 test -z "$as_dirs" || eval "mkdir $as_dirs"
59632 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
59635 } # as_fn_mkdir_p
59636 if mkdir -p . 2>/dev/null; then
59637 as_mkdir_p='mkdir -p "$as_dir"'
59638 else
59639 test -d ./-p && rmdir ./-p
59640 as_mkdir_p=false
59643 if test -x / >/dev/null 2>&1; then
59644 as_test_x='test -x'
59645 else
59646 if ls -dL / >/dev/null 2>&1; then
59647 as_ls_L_option=L
59648 else
59649 as_ls_L_option=
59651 as_test_x='
59652 eval sh -c '\''
59653 if test -d "$1"; then
59654 test -d "$1/.";
59655 else
59656 case $1 in #(
59657 -*)set "./$1";;
59658 esac;
59659 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
59660 ???[sx]*):;;*)false;;esac;fi
59661 '\'' sh
59664 as_executable_p=$as_test_x
59666 # Sed expression to map a string onto a valid CPP name.
59667 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
59669 # Sed expression to map a string onto a valid variable name.
59670 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
59673 exec 6>&1
59674 ## ----------------------------------- ##
59675 ## Main body of $CONFIG_STATUS script. ##
59676 ## ----------------------------------- ##
59677 _ASEOF
59678 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
59680 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59681 # Save the log message, to keep $0 and so on meaningful, and to
59682 # report actual input values of CONFIG_FILES etc. instead of their
59683 # values after options handling.
59684 ac_log="
59685 This file was extended by package-unused $as_me version-unused, which was
59686 generated by GNU Autoconf 2.64. Invocation command line was
59688 CONFIG_FILES = $CONFIG_FILES
59689 CONFIG_HEADERS = $CONFIG_HEADERS
59690 CONFIG_LINKS = $CONFIG_LINKS
59691 CONFIG_COMMANDS = $CONFIG_COMMANDS
59692 $ $0 $@
59694 on `(hostname || uname -n) 2>/dev/null | sed 1q`
59697 _ACEOF
59699 case $ac_config_files in *"
59700 "*) set x $ac_config_files; shift; ac_config_files=$*;;
59701 esac
59703 case $ac_config_headers in *"
59704 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
59705 esac
59708 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59709 # Files that config.status was made for.
59710 config_files="$ac_config_files"
59711 config_headers="$ac_config_headers"
59712 config_commands="$ac_config_commands"
59714 _ACEOF
59716 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59717 ac_cs_usage="\
59718 \`$as_me' instantiates files and other configuration actions
59719 from templates according to the current configuration. Unless the files
59720 and actions are specified as TAGs, all are instantiated by default.
59722 Usage: $0 [OPTION]... [TAG]...
59724 -h, --help print this help, then exit
59725 -V, --version print version number and configuration settings, then exit
59726 -q, --quiet, --silent
59727 do not print progress messages
59728 -d, --debug don't remove temporary files
59729 --recheck update $as_me by reconfiguring in the same conditions
59730 --file=FILE[:TEMPLATE]
59731 instantiate the configuration file FILE
59732 --header=FILE[:TEMPLATE]
59733 instantiate the configuration header FILE
59735 Configuration files:
59736 $config_files
59738 Configuration headers:
59739 $config_headers
59741 Configuration commands:
59742 $config_commands
59744 Report bugs to the package provider."
59746 _ACEOF
59747 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59748 ac_cs_version="\\
59749 package-unused config.status version-unused
59750 configured by $0, generated by GNU Autoconf 2.64,
59751 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
59753 Copyright (C) 2009 Free Software Foundation, Inc.
59754 This config.status script is free software; the Free Software Foundation
59755 gives unlimited permission to copy, distribute and modify it."
59757 ac_pwd='$ac_pwd'
59758 srcdir='$srcdir'
59759 INSTALL='$INSTALL'
59760 MKDIR_P='$MKDIR_P'
59761 AWK='$AWK'
59762 test -n "\$AWK" || AWK=awk
59763 _ACEOF
59765 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59766 # The default lists apply if the user does not specify any file.
59767 ac_need_defaults=:
59768 while test $# != 0
59770 case $1 in
59771 --*=*)
59772 ac_option=`expr "X$1" : 'X\([^=]*\)='`
59773 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
59774 ac_shift=:
59777 ac_option=$1
59778 ac_optarg=$2
59779 ac_shift=shift
59781 esac
59783 case $ac_option in
59784 # Handling of the options.
59785 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
59786 ac_cs_recheck=: ;;
59787 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
59788 $as_echo "$ac_cs_version"; exit ;;
59789 --debug | --debu | --deb | --de | --d | -d )
59790 debug=: ;;
59791 --file | --fil | --fi | --f )
59792 $ac_shift
59793 case $ac_optarg in
59794 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
59795 esac
59796 as_fn_append CONFIG_FILES " '$ac_optarg'"
59797 ac_need_defaults=false;;
59798 --header | --heade | --head | --hea )
59799 $ac_shift
59800 case $ac_optarg in
59801 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
59802 esac
59803 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
59804 ac_need_defaults=false;;
59805 --he | --h)
59806 # Conflict between --help and --header
59807 as_fn_error "ambiguous option: \`$1'
59808 Try \`$0 --help' for more information.";;
59809 --help | --hel | -h )
59810 $as_echo "$ac_cs_usage"; exit ;;
59811 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
59812 | -silent | --silent | --silen | --sile | --sil | --si | --s)
59813 ac_cs_silent=: ;;
59815 # This is an error.
59816 -*) as_fn_error "unrecognized option: \`$1'
59817 Try \`$0 --help' for more information." ;;
59819 *) as_fn_append ac_config_targets " $1"
59820 ac_need_defaults=false ;;
59822 esac
59823 shift
59824 done
59826 ac_configure_extra_args=
59828 if $ac_cs_silent; then
59829 exec 6>/dev/null
59830 ac_configure_extra_args="$ac_configure_extra_args --silent"
59833 _ACEOF
59834 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59835 if \$ac_cs_recheck; then
59836 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
59837 shift
59838 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
59839 CONFIG_SHELL='$SHELL'
59840 export CONFIG_SHELL
59841 exec "\$@"
59844 _ACEOF
59845 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59846 exec 5>>config.log
59848 echo
59849 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
59850 ## Running $as_me. ##
59851 _ASBOX
59852 $as_echo "$ac_log"
59853 } >&5
59855 _ACEOF
59856 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59858 # INIT-COMMANDS
59861 srcdir="$srcdir"
59862 host="$host"
59863 target="$target"
59864 with_multisubdir="$with_multisubdir"
59865 with_multisrctop="$with_multisrctop"
59866 with_target_subdir="$with_target_subdir"
59867 ac_configure_args="${multilib_arg} ${ac_configure_args}"
59868 multi_basedir="$multi_basedir"
59869 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
59870 CC="$CC"
59871 CXX="$CXX"
59872 GFORTRAN="$GFORTRAN"
59873 GCJ="$GCJ"
59876 # The HP-UX ksh and POSIX shell print the target directory to stdout
59877 # if CDPATH is set.
59878 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
59880 sed_quote_subst='$sed_quote_subst'
59881 double_quote_subst='$double_quote_subst'
59882 delay_variable_subst='$delay_variable_subst'
59883 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
59884 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
59885 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
59886 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
59887 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
59888 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
59889 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
59890 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
59891 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
59892 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
59893 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
59894 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
59895 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
59896 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
59897 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
59898 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
59899 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
59900 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
59901 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
59902 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
59903 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
59904 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
59905 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
59906 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
59907 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
59908 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
59909 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
59910 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
59911 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
59912 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
59913 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
59914 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
59915 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
59916 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
59917 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
59918 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
59919 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
59920 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
59921 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
59922 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
59923 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
59924 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
59925 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
59926 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
59927 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"`'
59928 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"`'
59929 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
59930 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
59931 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
59932 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
59933 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
59934 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
59935 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
59936 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
59937 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
59938 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
59939 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
59940 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
59941 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
59942 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
59943 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
59944 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
59945 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
59946 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
59947 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
59948 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
59949 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
59950 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
59951 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
59952 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
59953 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
59954 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
59955 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
59956 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
59957 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
59958 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
59959 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
59960 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
59961 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
59962 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
59963 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
59964 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
59965 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
59966 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
59967 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
59968 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
59969 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
59970 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
59971 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
59972 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
59973 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
59974 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
59975 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
59976 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
59977 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
59978 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
59979 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
59980 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
59981 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
59982 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
59983 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
59984 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
59985 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
59986 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
59987 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
59988 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
59989 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
59990 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
59991 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
59992 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
59993 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
59994 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
59995 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
59996 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
59997 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
59998 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
59999 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
60000 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
60001 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
60002 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
60003 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
60004 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
60005 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
60006 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
60007 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60008 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60009 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60010 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60011 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60012 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60013 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60014 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60015 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60016 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60017 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60018 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60019 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60020 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60021 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60022 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60023 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60024 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60025 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60026 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60027 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60028 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60029 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60030 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60031 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60032 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60033 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60034 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60035 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60036 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60037 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60038 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60039 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60040 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60041 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60042 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60043 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60044 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60045 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60046 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60047 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60048 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60049 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60050 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60051 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60052 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60053 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
60055 LTCC='$LTCC'
60056 LTCFLAGS='$LTCFLAGS'
60057 compiler='$compiler_DEFAULT'
60059 # Quote evaled strings.
60060 for var in SED \
60061 GREP \
60062 EGREP \
60063 FGREP \
60064 LD \
60065 NM \
60066 LN_S \
60067 lt_SP2NL \
60068 lt_NL2SP \
60069 reload_flag \
60070 OBJDUMP \
60071 deplibs_check_method \
60072 file_magic_cmd \
60073 AR \
60074 AR_FLAGS \
60075 STRIP \
60076 RANLIB \
60077 CC \
60078 CFLAGS \
60079 compiler \
60080 lt_cv_sys_global_symbol_pipe \
60081 lt_cv_sys_global_symbol_to_cdecl \
60082 lt_cv_sys_global_symbol_to_c_name_address \
60083 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
60084 SHELL \
60085 ECHO \
60086 lt_prog_compiler_no_builtin_flag \
60087 lt_prog_compiler_wl \
60088 lt_prog_compiler_pic \
60089 lt_prog_compiler_static \
60090 lt_cv_prog_compiler_c_o \
60091 need_locks \
60092 DSYMUTIL \
60093 NMEDIT \
60094 LIPO \
60095 OTOOL \
60096 OTOOL64 \
60097 shrext_cmds \
60098 export_dynamic_flag_spec \
60099 whole_archive_flag_spec \
60100 compiler_needs_object \
60101 with_gnu_ld \
60102 allow_undefined_flag \
60103 no_undefined_flag \
60104 hardcode_libdir_flag_spec \
60105 hardcode_libdir_flag_spec_ld \
60106 hardcode_libdir_separator \
60107 fix_srcfile_path \
60108 exclude_expsyms \
60109 include_expsyms \
60110 file_list_spec \
60111 variables_saved_for_relink \
60112 libname_spec \
60113 library_names_spec \
60114 soname_spec \
60115 finish_eval \
60116 old_striplib \
60117 striplib \
60118 compiler_lib_search_dirs \
60119 predep_objects \
60120 postdep_objects \
60121 predeps \
60122 postdeps \
60123 compiler_lib_search_path \
60124 LD_CXX \
60125 compiler_CXX \
60126 lt_prog_compiler_no_builtin_flag_CXX \
60127 lt_prog_compiler_wl_CXX \
60128 lt_prog_compiler_pic_CXX \
60129 lt_prog_compiler_static_CXX \
60130 lt_cv_prog_compiler_c_o_CXX \
60131 export_dynamic_flag_spec_CXX \
60132 whole_archive_flag_spec_CXX \
60133 compiler_needs_object_CXX \
60134 with_gnu_ld_CXX \
60135 allow_undefined_flag_CXX \
60136 no_undefined_flag_CXX \
60137 hardcode_libdir_flag_spec_CXX \
60138 hardcode_libdir_flag_spec_ld_CXX \
60139 hardcode_libdir_separator_CXX \
60140 fix_srcfile_path_CXX \
60141 exclude_expsyms_CXX \
60142 include_expsyms_CXX \
60143 file_list_spec_CXX \
60144 compiler_lib_search_dirs_CXX \
60145 predep_objects_CXX \
60146 postdep_objects_CXX \
60147 predeps_CXX \
60148 postdeps_CXX \
60149 compiler_lib_search_path_CXX; do
60150 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
60151 *[\\\\\\\`\\"\\\$]*)
60152 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
60155 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
60157 esac
60158 done
60160 # Double-quote double-evaled strings.
60161 for var in reload_cmds \
60162 old_postinstall_cmds \
60163 old_postuninstall_cmds \
60164 old_archive_cmds \
60165 extract_expsyms_cmds \
60166 old_archive_from_new_cmds \
60167 old_archive_from_expsyms_cmds \
60168 archive_cmds \
60169 archive_expsym_cmds \
60170 module_cmds \
60171 module_expsym_cmds \
60172 export_symbols_cmds \
60173 prelink_cmds \
60174 postinstall_cmds \
60175 postuninstall_cmds \
60176 finish_cmds \
60177 sys_lib_search_path_spec \
60178 sys_lib_dlsearch_path_spec \
60179 old_archive_cmds_CXX \
60180 old_archive_from_new_cmds_CXX \
60181 old_archive_from_expsyms_cmds_CXX \
60182 archive_cmds_CXX \
60183 archive_expsym_cmds_CXX \
60184 module_cmds_CXX \
60185 module_expsym_cmds_CXX \
60186 export_symbols_cmds_CXX \
60187 prelink_cmds_CXX; do
60188 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
60189 *[\\\\\\\`\\"\\\$]*)
60190 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
60193 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
60195 esac
60196 done
60198 # Fix-up fallback echo if it was mangled by the above quoting rules.
60199 case \$lt_ECHO in
60200 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
60202 esac
60204 ac_aux_dir='$ac_aux_dir'
60205 xsi_shell='$xsi_shell'
60206 lt_shell_append='$lt_shell_append'
60208 # See if we are running on zsh, and set the options which allow our
60209 # commands through without removal of \ escapes INIT.
60210 if test -n "\${ZSH_VERSION+set}" ; then
60211 setopt NO_GLOB_SUBST
60215 PACKAGE='$PACKAGE'
60216 VERSION='$VERSION'
60217 TIMESTAMP='$TIMESTAMP'
60218 RM='$RM'
60219 ofile='$ofile'
60226 GCC="$GCC"
60227 CC="$CC"
60228 acx_cv_header_stdint="$acx_cv_header_stdint"
60229 acx_cv_type_int8_t="$acx_cv_type_int8_t"
60230 acx_cv_type_int16_t="$acx_cv_type_int16_t"
60231 acx_cv_type_int32_t="$acx_cv_type_int32_t"
60232 acx_cv_type_int64_t="$acx_cv_type_int64_t"
60233 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
60234 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
60235 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
60236 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
60237 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
60238 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
60239 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
60240 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
60241 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
60244 _ACEOF
60246 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60248 # Handling of arguments.
60249 for ac_config_target in $ac_config_targets
60251 case $ac_config_target in
60252 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
60253 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
60254 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
60255 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
60256 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
60257 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
60258 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
60259 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
60260 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
60261 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
60262 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
60263 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
60264 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
60265 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
60267 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
60268 esac
60269 done
60272 # If the user did not use the arguments to specify the items to instantiate,
60273 # then the envvar interface is used. Set only those that are not.
60274 # We use the long form for the default assignment because of an extremely
60275 # bizarre bug on SunOS 4.1.3.
60276 if $ac_need_defaults; then
60277 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
60278 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
60279 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
60282 # Have a temporary directory for convenience. Make it in the build tree
60283 # simply because there is no reason against having it here, and in addition,
60284 # creating and moving files from /tmp can sometimes cause problems.
60285 # Hook for its removal unless debugging.
60286 # Note that there is a small window in which the directory will not be cleaned:
60287 # after its creation but before its name has been assigned to `$tmp'.
60288 $debug ||
60290 tmp=
60291 trap 'exit_status=$?
60292 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
60294 trap 'as_fn_exit 1' 1 2 13 15
60296 # Create a (secure) tmp directory for tmp files.
60299 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
60300 test -n "$tmp" && test -d "$tmp"
60301 } ||
60303 tmp=./conf$$-$RANDOM
60304 (umask 077 && mkdir "$tmp")
60305 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
60307 # Set up the scripts for CONFIG_FILES section.
60308 # No need to generate them if there are no CONFIG_FILES.
60309 # This happens for instance with `./config.status config.h'.
60310 if test -n "$CONFIG_FILES"; then
60313 ac_cr=`echo X | tr X '\015'`
60314 # On cygwin, bash can eat \r inside `` if the user requested igncr.
60315 # But we know of no other shell where ac_cr would be empty at this
60316 # point, so we can use a bashism as a fallback.
60317 if test "x$ac_cr" = x; then
60318 eval ac_cr=\$\'\\r\'
60320 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
60321 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
60322 ac_cs_awk_cr='\r'
60323 else
60324 ac_cs_awk_cr=$ac_cr
60327 echo 'BEGIN {' >"$tmp/subs1.awk" &&
60328 _ACEOF
60332 echo "cat >conf$$subs.awk <<_ACEOF" &&
60333 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
60334 echo "_ACEOF"
60335 } >conf$$subs.sh ||
60336 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
60337 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
60338 ac_delim='%!_!# '
60339 for ac_last_try in false false false false false :; do
60340 . ./conf$$subs.sh ||
60341 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
60343 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
60344 if test $ac_delim_n = $ac_delim_num; then
60345 break
60346 elif $ac_last_try; then
60347 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
60348 else
60349 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
60351 done
60352 rm -f conf$$subs.sh
60354 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60355 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
60356 _ACEOF
60357 sed -n '
60359 s/^/S["/; s/!.*/"]=/
60362 s/^[^!]*!//
60363 :repl
60364 t repl
60365 s/'"$ac_delim"'$//
60366 t delim
60369 s/\(.\{148\}\).*/\1/
60370 t more1
60371 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
60374 b repl
60375 :more1
60376 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
60379 s/.\{148\}//
60380 t nl
60381 :delim
60383 s/\(.\{148\}\).*/\1/
60384 t more2
60385 s/["\\]/\\&/g; s/^/"/; s/$/"/
60388 :more2
60389 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
60392 s/.\{148\}//
60393 t delim
60394 ' <conf$$subs.awk | sed '
60395 /^[^""]/{
60397 s/\n//
60399 ' >>$CONFIG_STATUS || ac_write_fail=1
60400 rm -f conf$$subs.awk
60401 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60402 _ACAWK
60403 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
60404 for (key in S) S_is_set[key] = 1
60405 FS = "\a"
60409 line = $ 0
60410 nfields = split(line, field, "@")
60411 substed = 0
60412 len = length(field[1])
60413 for (i = 2; i < nfields; i++) {
60414 key = field[i]
60415 keylen = length(key)
60416 if (S_is_set[key]) {
60417 value = S[key]
60418 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
60419 len += length(value) + length(field[++i])
60420 substed = 1
60421 } else
60422 len += 1 + keylen
60425 print line
60428 _ACAWK
60429 _ACEOF
60430 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60431 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
60432 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
60433 else
60435 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
60436 || as_fn_error "could not setup config files machinery" "$LINENO" 5
60437 _ACEOF
60439 # VPATH may cause trouble with some makes, so we remove $(srcdir),
60440 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
60441 # trailing colons and then remove the whole line if VPATH becomes empty
60442 # (actually we leave an empty line to preserve line numbers).
60443 if test "x$srcdir" = x.; then
60444 ac_vpsub='/^[ ]*VPATH[ ]*=/{
60445 s/:*\$(srcdir):*/:/
60446 s/:*\${srcdir}:*/:/
60447 s/:*@srcdir@:*/:/
60448 s/^\([^=]*=[ ]*\):*/\1/
60449 s/:*$//
60450 s/^[^=]*=[ ]*$//
60454 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60455 fi # test -n "$CONFIG_FILES"
60457 # Set up the scripts for CONFIG_HEADERS section.
60458 # No need to generate them if there are no CONFIG_HEADERS.
60459 # This happens for instance with `./config.status Makefile'.
60460 if test -n "$CONFIG_HEADERS"; then
60461 cat >"$tmp/defines.awk" <<\_ACAWK ||
60462 BEGIN {
60463 _ACEOF
60465 # Transform confdefs.h into an awk script `defines.awk', embedded as
60466 # here-document in config.status, that substitutes the proper values into
60467 # config.h.in to produce config.h.
60469 # Create a delimiter string that does not exist in confdefs.h, to ease
60470 # handling of long lines.
60471 ac_delim='%!_!# '
60472 for ac_last_try in false false :; do
60473 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
60474 if test -z "$ac_t"; then
60475 break
60476 elif $ac_last_try; then
60477 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
60478 else
60479 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
60481 done
60483 # For the awk script, D is an array of macro values keyed by name,
60484 # likewise P contains macro parameters if any. Preserve backslash
60485 # newline sequences.
60487 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
60488 sed -n '
60489 s/.\{148\}/&'"$ac_delim"'/g
60490 t rset
60491 :rset
60492 s/^[ ]*#[ ]*define[ ][ ]*/ /
60493 t def
60495 :def
60496 s/\\$//
60497 t bsnl
60498 s/["\\]/\\&/g
60499 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
60500 D["\1"]=" \3"/p
60501 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
60503 :bsnl
60504 s/["\\]/\\&/g
60505 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
60506 D["\1"]=" \3\\\\\\n"\\/p
60507 t cont
60508 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
60509 t cont
60511 :cont
60513 s/.\{148\}/&'"$ac_delim"'/g
60514 t clear
60515 :clear
60516 s/\\$//
60517 t bsnlc
60518 s/["\\]/\\&/g; s/^/"/; s/$/"/p
60520 :bsnlc
60521 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
60522 b cont
60523 ' <confdefs.h | sed '
60524 s/'"$ac_delim"'/"\\\
60525 "/g' >>$CONFIG_STATUS || ac_write_fail=1
60527 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60528 for (key in D) D_is_set[key] = 1
60529 FS = "\a"
60531 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
60532 line = \$ 0
60533 split(line, arg, " ")
60534 if (arg[1] == "#") {
60535 defundef = arg[2]
60536 mac1 = arg[3]
60537 } else {
60538 defundef = substr(arg[1], 2)
60539 mac1 = arg[2]
60541 split(mac1, mac2, "(") #)
60542 macro = mac2[1]
60543 prefix = substr(line, 1, index(line, defundef) - 1)
60544 if (D_is_set[macro]) {
60545 # Preserve the white space surrounding the "#".
60546 print prefix "define", macro P[macro] D[macro]
60547 next
60548 } else {
60549 # Replace #undef with comments. This is necessary, for example,
60550 # in the case of _POSIX_SOURCE, which is predefined and required
60551 # on some systems where configure will not decide to define it.
60552 if (defundef == "undef") {
60553 print "/*", prefix defundef, macro, "*/"
60554 next
60558 { print }
60559 _ACAWK
60560 _ACEOF
60561 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60562 as_fn_error "could not setup config headers machinery" "$LINENO" 5
60563 fi # test -n "$CONFIG_HEADERS"
60566 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
60567 shift
60568 for ac_tag
60570 case $ac_tag in
60571 :[FHLC]) ac_mode=$ac_tag; continue;;
60572 esac
60573 case $ac_mode$ac_tag in
60574 :[FHL]*:*);;
60575 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
60576 :[FH]-) ac_tag=-:-;;
60577 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
60578 esac
60579 ac_save_IFS=$IFS
60580 IFS=:
60581 set x $ac_tag
60582 IFS=$ac_save_IFS
60583 shift
60584 ac_file=$1
60585 shift
60587 case $ac_mode in
60588 :L) ac_source=$1;;
60589 :[FH])
60590 ac_file_inputs=
60591 for ac_f
60593 case $ac_f in
60594 -) ac_f="$tmp/stdin";;
60595 *) # Look for the file first in the build tree, then in the source tree
60596 # (if the path is not absolute). The absolute path cannot be DOS-style,
60597 # because $ac_f cannot contain `:'.
60598 test -f "$ac_f" ||
60599 case $ac_f in
60600 [\\/$]*) false;;
60601 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
60602 esac ||
60603 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
60604 esac
60605 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
60606 as_fn_append ac_file_inputs " '$ac_f'"
60607 done
60609 # Let's still pretend it is `configure' which instantiates (i.e., don't
60610 # use $as_me), people would be surprised to read:
60611 # /* config.h. Generated by config.status. */
60612 configure_input='Generated from '`
60613 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
60614 `' by configure.'
60615 if test x"$ac_file" != x-; then
60616 configure_input="$ac_file. $configure_input"
60617 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
60618 $as_echo "$as_me: creating $ac_file" >&6;}
60620 # Neutralize special characters interpreted by sed in replacement strings.
60621 case $configure_input in #(
60622 *\&* | *\|* | *\\* )
60623 ac_sed_conf_input=`$as_echo "$configure_input" |
60624 sed 's/[\\\\&|]/\\\\&/g'`;; #(
60625 *) ac_sed_conf_input=$configure_input;;
60626 esac
60628 case $ac_tag in
60629 *:-:* | *:-) cat >"$tmp/stdin" \
60630 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
60631 esac
60633 esac
60635 ac_dir=`$as_dirname -- "$ac_file" ||
60636 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
60637 X"$ac_file" : 'X\(//\)[^/]' \| \
60638 X"$ac_file" : 'X\(//\)$' \| \
60639 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
60640 $as_echo X"$ac_file" |
60641 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
60642 s//\1/
60645 /^X\(\/\/\)[^/].*/{
60646 s//\1/
60649 /^X\(\/\/\)$/{
60650 s//\1/
60653 /^X\(\/\).*/{
60654 s//\1/
60657 s/.*/./; q'`
60658 as_dir="$ac_dir"; as_fn_mkdir_p
60659 ac_builddir=.
60661 case "$ac_dir" in
60662 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
60664 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
60665 # A ".." for each directory in $ac_dir_suffix.
60666 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
60667 case $ac_top_builddir_sub in
60668 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
60669 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
60670 esac ;;
60671 esac
60672 ac_abs_top_builddir=$ac_pwd
60673 ac_abs_builddir=$ac_pwd$ac_dir_suffix
60674 # for backward compatibility:
60675 ac_top_builddir=$ac_top_build_prefix
60677 case $srcdir in
60678 .) # We are building in place.
60679 ac_srcdir=.
60680 ac_top_srcdir=$ac_top_builddir_sub
60681 ac_abs_top_srcdir=$ac_pwd ;;
60682 [\\/]* | ?:[\\/]* ) # Absolute name.
60683 ac_srcdir=$srcdir$ac_dir_suffix;
60684 ac_top_srcdir=$srcdir
60685 ac_abs_top_srcdir=$srcdir ;;
60686 *) # Relative name.
60687 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
60688 ac_top_srcdir=$ac_top_build_prefix$srcdir
60689 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
60690 esac
60691 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
60694 case $ac_mode in
60697 # CONFIG_FILE
60700 case $INSTALL in
60701 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
60702 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
60703 esac
60704 ac_MKDIR_P=$MKDIR_P
60705 case $MKDIR_P in
60706 [\\/$]* | ?:[\\/]* ) ;;
60707 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
60708 esac
60709 _ACEOF
60711 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60712 # If the template does not know about datarootdir, expand it.
60713 # FIXME: This hack should be removed a few years after 2.60.
60714 ac_datarootdir_hack=; ac_datarootdir_seen=
60715 ac_sed_dataroot='
60716 /datarootdir/ {
60720 /@datadir@/p
60721 /@docdir@/p
60722 /@infodir@/p
60723 /@localedir@/p
60724 /@mandir@/p'
60725 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
60726 *datarootdir*) ac_datarootdir_seen=yes;;
60727 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
60728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
60729 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
60730 _ACEOF
60731 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60732 ac_datarootdir_hack='
60733 s&@datadir@&$datadir&g
60734 s&@docdir@&$docdir&g
60735 s&@infodir@&$infodir&g
60736 s&@localedir@&$localedir&g
60737 s&@mandir@&$mandir&g
60738 s&\\\${datarootdir}&$datarootdir&g' ;;
60739 esac
60740 _ACEOF
60742 # Neutralize VPATH when `$srcdir' = `.'.
60743 # Shell code in configure.ac might set extrasub.
60744 # FIXME: do we really want to maintain this feature?
60745 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60746 ac_sed_extra="$ac_vpsub
60747 $extrasub
60748 _ACEOF
60749 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60751 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
60752 s|@configure_input@|$ac_sed_conf_input|;t t
60753 s&@top_builddir@&$ac_top_builddir_sub&;t t
60754 s&@top_build_prefix@&$ac_top_build_prefix&;t t
60755 s&@srcdir@&$ac_srcdir&;t t
60756 s&@abs_srcdir@&$ac_abs_srcdir&;t t
60757 s&@top_srcdir@&$ac_top_srcdir&;t t
60758 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
60759 s&@builddir@&$ac_builddir&;t t
60760 s&@abs_builddir@&$ac_abs_builddir&;t t
60761 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
60762 s&@INSTALL@&$ac_INSTALL&;t t
60763 s&@MKDIR_P@&$ac_MKDIR_P&;t t
60764 $ac_datarootdir_hack
60766 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
60767 || as_fn_error "could not create $ac_file" "$LINENO" 5
60769 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
60770 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
60771 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
60772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
60773 which seems to be undefined. Please make sure it is defined." >&5
60774 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
60775 which seems to be undefined. Please make sure it is defined." >&2;}
60777 rm -f "$tmp/stdin"
60778 case $ac_file in
60779 -) cat "$tmp/out" && rm -f "$tmp/out";;
60780 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
60781 esac \
60782 || as_fn_error "could not create $ac_file" "$LINENO" 5
60786 # CONFIG_HEADER
60788 if test x"$ac_file" != x-; then
60790 $as_echo "/* $configure_input */" \
60791 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
60792 } >"$tmp/config.h" \
60793 || as_fn_error "could not create $ac_file" "$LINENO" 5
60794 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
60795 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
60796 $as_echo "$as_me: $ac_file is unchanged" >&6;}
60797 else
60798 rm -f "$ac_file"
60799 mv "$tmp/config.h" "$ac_file" \
60800 || as_fn_error "could not create $ac_file" "$LINENO" 5
60802 else
60803 $as_echo "/* $configure_input */" \
60804 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
60805 || as_fn_error "could not create -" "$LINENO" 5
60807 # Compute "$ac_file"'s index in $config_headers.
60808 _am_arg="$ac_file"
60809 _am_stamp_count=1
60810 for _am_header in $config_headers :; do
60811 case $_am_header in
60812 $_am_arg | $_am_arg:* )
60813 break ;;
60815 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
60816 esac
60817 done
60818 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
60819 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
60820 X"$_am_arg" : 'X\(//\)[^/]' \| \
60821 X"$_am_arg" : 'X\(//\)$' \| \
60822 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
60823 $as_echo X"$_am_arg" |
60824 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
60825 s//\1/
60828 /^X\(\/\/\)[^/].*/{
60829 s//\1/
60832 /^X\(\/\/\)$/{
60833 s//\1/
60836 /^X\(\/\).*/{
60837 s//\1/
60840 s/.*/./; q'`/stamp-h$_am_stamp_count
60843 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
60844 $as_echo "$as_me: executing $ac_file commands" >&6;}
60846 esac
60849 case $ac_file$ac_mode in
60850 "default-1":C)
60851 # Only add multilib support code if we just rebuilt the top-level
60852 # Makefile.
60853 case " $CONFIG_FILES " in
60854 *" Makefile "*)
60855 ac_file=Makefile . ${multi_basedir}/config-ml.in
60857 esac ;;
60858 "libtool":C)
60860 # See if we are running on zsh, and set the options which allow our
60861 # commands through without removal of \ escapes.
60862 if test -n "${ZSH_VERSION+set}" ; then
60863 setopt NO_GLOB_SUBST
60866 cfgfile="${ofile}T"
60867 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
60868 $RM "$cfgfile"
60870 cat <<_LT_EOF >> "$cfgfile"
60871 #! $SHELL
60873 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
60874 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
60875 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
60876 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
60878 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
60879 # 2006, 2007, 2008 Free Software Foundation, Inc.
60880 # Written by Gordon Matzigkeit, 1996
60882 # This file is part of GNU Libtool.
60884 # GNU Libtool is free software; you can redistribute it and/or
60885 # modify it under the terms of the GNU General Public License as
60886 # published by the Free Software Foundation; either version 2 of
60887 # the License, or (at your option) any later version.
60889 # As a special exception to the GNU General Public License,
60890 # if you distribute this file as part of a program or library that
60891 # is built using GNU Libtool, you may include this file under the
60892 # same distribution terms that you use for the rest of that program.
60894 # GNU Libtool is distributed in the hope that it will be useful,
60895 # but WITHOUT ANY WARRANTY; without even the implied warranty of
60896 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
60897 # GNU General Public License for more details.
60899 # You should have received a copy of the GNU General Public License
60900 # along with GNU Libtool; see the file COPYING. If not, a copy
60901 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
60902 # obtained by writing to the Free Software Foundation, Inc.,
60903 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
60906 # The names of the tagged configurations supported by this script.
60907 available_tags="CXX "
60909 # ### BEGIN LIBTOOL CONFIG
60911 # Which release of libtool.m4 was used?
60912 macro_version=$macro_version
60913 macro_revision=$macro_revision
60915 # Whether or not to build shared libraries.
60916 build_libtool_libs=$enable_shared
60918 # Whether or not to build static libraries.
60919 build_old_libs=$enable_static
60921 # What type of objects to build.
60922 pic_mode=$pic_mode
60924 # Whether or not to optimize for fast installation.
60925 fast_install=$enable_fast_install
60927 # The host system.
60928 host_alias=$host_alias
60929 host=$host
60930 host_os=$host_os
60932 # The build system.
60933 build_alias=$build_alias
60934 build=$build
60935 build_os=$build_os
60937 # A sed program that does not truncate output.
60938 SED=$lt_SED
60940 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
60941 Xsed="\$SED -e 1s/^X//"
60943 # A grep program that handles long lines.
60944 GREP=$lt_GREP
60946 # An ERE matcher.
60947 EGREP=$lt_EGREP
60949 # A literal string matcher.
60950 FGREP=$lt_FGREP
60952 # A BSD- or MS-compatible name lister.
60953 NM=$lt_NM
60955 # Whether we need soft or hard links.
60956 LN_S=$lt_LN_S
60958 # What is the maximum length of a command?
60959 max_cmd_len=$max_cmd_len
60961 # Object file suffix (normally "o").
60962 objext=$ac_objext
60964 # Executable file suffix (normally "").
60965 exeext=$exeext
60967 # whether the shell understands "unset".
60968 lt_unset=$lt_unset
60970 # turn spaces into newlines.
60971 SP2NL=$lt_lt_SP2NL
60973 # turn newlines into spaces.
60974 NL2SP=$lt_lt_NL2SP
60976 # How to create reloadable object files.
60977 reload_flag=$lt_reload_flag
60978 reload_cmds=$lt_reload_cmds
60980 # An object symbol dumper.
60981 OBJDUMP=$lt_OBJDUMP
60983 # Method to check whether dependent libraries are shared objects.
60984 deplibs_check_method=$lt_deplibs_check_method
60986 # Command to use when deplibs_check_method == "file_magic".
60987 file_magic_cmd=$lt_file_magic_cmd
60989 # The archiver.
60990 AR=$lt_AR
60991 AR_FLAGS=$lt_AR_FLAGS
60993 # A symbol stripping program.
60994 STRIP=$lt_STRIP
60996 # Commands used to install an old-style archive.
60997 RANLIB=$lt_RANLIB
60998 old_postinstall_cmds=$lt_old_postinstall_cmds
60999 old_postuninstall_cmds=$lt_old_postuninstall_cmds
61001 # A C compiler.
61002 LTCC=$lt_CC
61004 # LTCC compiler flags.
61005 LTCFLAGS=$lt_CFLAGS
61007 # Take the output of nm and produce a listing of raw symbols and C names.
61008 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
61010 # Transform the output of nm in a proper C declaration.
61011 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
61013 # Transform the output of nm in a C name address pair.
61014 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
61016 # Transform the output of nm in a C name address pair when lib prefix is needed.
61017 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
61019 # The name of the directory that contains temporary libtool files.
61020 objdir=$objdir
61022 # Shell to use when invoking shell scripts.
61023 SHELL=$lt_SHELL
61025 # An echo program that does not interpret backslashes.
61026 ECHO=$lt_ECHO
61028 # Used to examine libraries when file_magic_cmd begins with "file".
61029 MAGIC_CMD=$MAGIC_CMD
61031 # Must we lock files when doing compilation?
61032 need_locks=$lt_need_locks
61034 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
61035 DSYMUTIL=$lt_DSYMUTIL
61037 # Tool to change global to local symbols on Mac OS X.
61038 NMEDIT=$lt_NMEDIT
61040 # Tool to manipulate fat objects and archives on Mac OS X.
61041 LIPO=$lt_LIPO
61043 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
61044 OTOOL=$lt_OTOOL
61046 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
61047 OTOOL64=$lt_OTOOL64
61049 # Old archive suffix (normally "a").
61050 libext=$libext
61052 # Shared library suffix (normally ".so").
61053 shrext_cmds=$lt_shrext_cmds
61055 # The commands to extract the exported symbol list from a shared archive.
61056 extract_expsyms_cmds=$lt_extract_expsyms_cmds
61058 # Variables whose values should be saved in libtool wrapper scripts and
61059 # restored at link time.
61060 variables_saved_for_relink=$lt_variables_saved_for_relink
61062 # Do we need the "lib" prefix for modules?
61063 need_lib_prefix=$need_lib_prefix
61065 # Do we need a version for libraries?
61066 need_version=$need_version
61068 # Library versioning type.
61069 version_type=$version_type
61071 # Shared library runtime path variable.
61072 runpath_var=$runpath_var
61074 # Shared library path variable.
61075 shlibpath_var=$shlibpath_var
61077 # Is shlibpath searched before the hard-coded library search path?
61078 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
61080 # Format of library name prefix.
61081 libname_spec=$lt_libname_spec
61083 # List of archive names. First name is the real one, the rest are links.
61084 # The last name is the one that the linker finds with -lNAME
61085 library_names_spec=$lt_library_names_spec
61087 # The coded name of the library, if different from the real name.
61088 soname_spec=$lt_soname_spec
61090 # Command to use after installation of a shared archive.
61091 postinstall_cmds=$lt_postinstall_cmds
61093 # Command to use after uninstallation of a shared archive.
61094 postuninstall_cmds=$lt_postuninstall_cmds
61096 # Commands used to finish a libtool library installation in a directory.
61097 finish_cmds=$lt_finish_cmds
61099 # As "finish_cmds", except a single script fragment to be evaled but
61100 # not shown.
61101 finish_eval=$lt_finish_eval
61103 # Whether we should hardcode library paths into libraries.
61104 hardcode_into_libs=$hardcode_into_libs
61106 # Compile-time system search path for libraries.
61107 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
61109 # Run-time system search path for libraries.
61110 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
61112 # Whether dlopen is supported.
61113 dlopen_support=$enable_dlopen
61115 # Whether dlopen of programs is supported.
61116 dlopen_self=$enable_dlopen_self
61118 # Whether dlopen of statically linked programs is supported.
61119 dlopen_self_static=$enable_dlopen_self_static
61121 # Commands to strip libraries.
61122 old_striplib=$lt_old_striplib
61123 striplib=$lt_striplib
61126 # The linker used to build libraries.
61127 LD=$lt_LD
61129 # Commands used to build an old-style archive.
61130 old_archive_cmds=$lt_old_archive_cmds
61132 # A language specific compiler.
61133 CC=$lt_compiler
61135 # Is the compiler the GNU compiler?
61136 with_gcc=$GCC
61138 # Compiler flag to turn off builtin functions.
61139 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
61141 # How to pass a linker flag through the compiler.
61142 wl=$lt_lt_prog_compiler_wl
61144 # Additional compiler flags for building library objects.
61145 pic_flag=$lt_lt_prog_compiler_pic
61147 # Compiler flag to prevent dynamic linking.
61148 link_static_flag=$lt_lt_prog_compiler_static
61150 # Does compiler simultaneously support -c and -o options?
61151 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
61153 # Whether or not to add -lc for building shared libraries.
61154 build_libtool_need_lc=$archive_cmds_need_lc
61156 # Whether or not to disallow shared libs when runtime libs are static.
61157 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
61159 # Compiler flag to allow reflexive dlopens.
61160 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
61162 # Compiler flag to generate shared objects directly from archives.
61163 whole_archive_flag_spec=$lt_whole_archive_flag_spec
61165 # Whether the compiler copes with passing no objects directly.
61166 compiler_needs_object=$lt_compiler_needs_object
61168 # Create an old-style archive from a shared archive.
61169 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
61171 # Create a temporary old-style archive to link instead of a shared archive.
61172 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
61174 # Commands used to build a shared archive.
61175 archive_cmds=$lt_archive_cmds
61176 archive_expsym_cmds=$lt_archive_expsym_cmds
61178 # Commands used to build a loadable module if different from building
61179 # a shared archive.
61180 module_cmds=$lt_module_cmds
61181 module_expsym_cmds=$lt_module_expsym_cmds
61183 # Whether we are building with GNU ld or not.
61184 with_gnu_ld=$lt_with_gnu_ld
61186 # Flag that allows shared libraries with undefined symbols to be built.
61187 allow_undefined_flag=$lt_allow_undefined_flag
61189 # Flag that enforces no undefined symbols.
61190 no_undefined_flag=$lt_no_undefined_flag
61192 # Flag to hardcode \$libdir into a binary during linking.
61193 # This must work even if \$libdir does not exist
61194 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
61196 # If ld is used when linking, flag to hardcode \$libdir into a binary
61197 # during linking. This must work even if \$libdir does not exist.
61198 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
61200 # Whether we need a single "-rpath" flag with a separated argument.
61201 hardcode_libdir_separator=$lt_hardcode_libdir_separator
61203 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61204 # DIR into the resulting binary.
61205 hardcode_direct=$hardcode_direct
61207 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61208 # DIR into the resulting binary and the resulting library dependency is
61209 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
61210 # library is relocated.
61211 hardcode_direct_absolute=$hardcode_direct_absolute
61213 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
61214 # into the resulting binary.
61215 hardcode_minus_L=$hardcode_minus_L
61217 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
61218 # into the resulting binary.
61219 hardcode_shlibpath_var=$hardcode_shlibpath_var
61221 # Set to "yes" if building a shared library automatically hardcodes DIR
61222 # into the library and all subsequent libraries and executables linked
61223 # against it.
61224 hardcode_automatic=$hardcode_automatic
61226 # Set to yes if linker adds runtime paths of dependent libraries
61227 # to runtime path list.
61228 inherit_rpath=$inherit_rpath
61230 # Whether libtool must link a program against all its dependency libraries.
61231 link_all_deplibs=$link_all_deplibs
61233 # Fix the shell variable \$srcfile for the compiler.
61234 fix_srcfile_path=$lt_fix_srcfile_path
61236 # Set to "yes" if exported symbols are required.
61237 always_export_symbols=$always_export_symbols
61239 # The commands to list exported symbols.
61240 export_symbols_cmds=$lt_export_symbols_cmds
61242 # Symbols that should not be listed in the preloaded symbols.
61243 exclude_expsyms=$lt_exclude_expsyms
61245 # Symbols that must always be exported.
61246 include_expsyms=$lt_include_expsyms
61248 # Commands necessary for linking programs (against libraries) with templates.
61249 prelink_cmds=$lt_prelink_cmds
61251 # Specify filename containing input files.
61252 file_list_spec=$lt_file_list_spec
61254 # How to hardcode a shared library path into an executable.
61255 hardcode_action=$hardcode_action
61257 # The directories searched by this compiler when creating a shared library.
61258 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
61260 # Dependencies to place before and after the objects being linked to
61261 # create a shared library.
61262 predep_objects=$lt_predep_objects
61263 postdep_objects=$lt_postdep_objects
61264 predeps=$lt_predeps
61265 postdeps=$lt_postdeps
61267 # The library search path used internally by the compiler when linking
61268 # a shared library.
61269 compiler_lib_search_path=$lt_compiler_lib_search_path
61271 # ### END LIBTOOL CONFIG
61273 _LT_EOF
61275 case $host_os in
61276 aix3*)
61277 cat <<\_LT_EOF >> "$cfgfile"
61278 # AIX sometimes has problems with the GCC collect2 program. For some
61279 # reason, if we set the COLLECT_NAMES environment variable, the problems
61280 # vanish in a puff of smoke.
61281 if test "X${COLLECT_NAMES+set}" != Xset; then
61282 COLLECT_NAMES=
61283 export COLLECT_NAMES
61285 _LT_EOF
61287 esac
61290 ltmain="$ac_aux_dir/ltmain.sh"
61293 # We use sed instead of cat because bash on DJGPP gets confused if
61294 # if finds mixed CR/LF and LF-only lines. Since sed operates in
61295 # text mode, it properly converts lines to CR/LF. This bash problem
61296 # is reportedly fixed, but why not run on old versions too?
61297 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
61298 || (rm -f "$cfgfile"; exit 1)
61300 case $xsi_shell in
61301 yes)
61302 cat << \_LT_EOF >> "$cfgfile"
61304 # func_dirname file append nondir_replacement
61305 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
61306 # otherwise set result to NONDIR_REPLACEMENT.
61307 func_dirname ()
61309 case ${1} in
61310 */*) func_dirname_result="${1%/*}${2}" ;;
61311 * ) func_dirname_result="${3}" ;;
61312 esac
61315 # func_basename file
61316 func_basename ()
61318 func_basename_result="${1##*/}"
61321 # func_dirname_and_basename file append nondir_replacement
61322 # perform func_basename and func_dirname in a single function
61323 # call:
61324 # dirname: Compute the dirname of FILE. If nonempty,
61325 # add APPEND to the result, otherwise set result
61326 # to NONDIR_REPLACEMENT.
61327 # value returned in "$func_dirname_result"
61328 # basename: Compute filename of FILE.
61329 # value retuned in "$func_basename_result"
61330 # Implementation must be kept synchronized with func_dirname
61331 # and func_basename. For efficiency, we do not delegate to
61332 # those functions but instead duplicate the functionality here.
61333 func_dirname_and_basename ()
61335 case ${1} in
61336 */*) func_dirname_result="${1%/*}${2}" ;;
61337 * ) func_dirname_result="${3}" ;;
61338 esac
61339 func_basename_result="${1##*/}"
61342 # func_stripname prefix suffix name
61343 # strip PREFIX and SUFFIX off of NAME.
61344 # PREFIX and SUFFIX must not contain globbing or regex special
61345 # characters, hashes, percent signs, but SUFFIX may contain a leading
61346 # dot (in which case that matches only a dot).
61347 func_stripname ()
61349 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
61350 # positional parameters, so assign one to ordinary parameter first.
61351 func_stripname_result=${3}
61352 func_stripname_result=${func_stripname_result#"${1}"}
61353 func_stripname_result=${func_stripname_result%"${2}"}
61356 # func_opt_split
61357 func_opt_split ()
61359 func_opt_split_opt=${1%%=*}
61360 func_opt_split_arg=${1#*=}
61363 # func_lo2o object
61364 func_lo2o ()
61366 case ${1} in
61367 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
61368 *) func_lo2o_result=${1} ;;
61369 esac
61372 # func_xform libobj-or-source
61373 func_xform ()
61375 func_xform_result=${1%.*}.lo
61378 # func_arith arithmetic-term...
61379 func_arith ()
61381 func_arith_result=$(( $* ))
61384 # func_len string
61385 # STRING may not start with a hyphen.
61386 func_len ()
61388 func_len_result=${#1}
61391 _LT_EOF
61393 *) # Bourne compatible functions.
61394 cat << \_LT_EOF >> "$cfgfile"
61396 # func_dirname file append nondir_replacement
61397 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
61398 # otherwise set result to NONDIR_REPLACEMENT.
61399 func_dirname ()
61401 # Extract subdirectory from the argument.
61402 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
61403 if test "X$func_dirname_result" = "X${1}"; then
61404 func_dirname_result="${3}"
61405 else
61406 func_dirname_result="$func_dirname_result${2}"
61410 # func_basename file
61411 func_basename ()
61413 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
61417 # func_stripname prefix suffix name
61418 # strip PREFIX and SUFFIX off of NAME.
61419 # PREFIX and SUFFIX must not contain globbing or regex special
61420 # characters, hashes, percent signs, but SUFFIX may contain a leading
61421 # dot (in which case that matches only a dot).
61422 # func_strip_suffix prefix name
61423 func_stripname ()
61425 case ${2} in
61426 .*) func_stripname_result=`$ECHO "X${3}" \
61427 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
61428 *) func_stripname_result=`$ECHO "X${3}" \
61429 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
61430 esac
61433 # sed scripts:
61434 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
61435 my_sed_long_arg='1s/^-[^=]*=//'
61437 # func_opt_split
61438 func_opt_split ()
61440 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
61441 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
61444 # func_lo2o object
61445 func_lo2o ()
61447 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
61450 # func_xform libobj-or-source
61451 func_xform ()
61453 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
61456 # func_arith arithmetic-term...
61457 func_arith ()
61459 func_arith_result=`expr "$@"`
61462 # func_len string
61463 # STRING may not start with a hyphen.
61464 func_len ()
61466 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
61469 _LT_EOF
61470 esac
61472 case $lt_shell_append in
61473 yes)
61474 cat << \_LT_EOF >> "$cfgfile"
61476 # func_append var value
61477 # Append VALUE to the end of shell variable VAR.
61478 func_append ()
61480 eval "$1+=\$2"
61482 _LT_EOF
61485 cat << \_LT_EOF >> "$cfgfile"
61487 # func_append var value
61488 # Append VALUE to the end of shell variable VAR.
61489 func_append ()
61491 eval "$1=\$$1\$2"
61494 _LT_EOF
61496 esac
61499 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
61500 || (rm -f "$cfgfile"; exit 1)
61502 mv -f "$cfgfile" "$ofile" ||
61503 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
61504 chmod +x "$ofile"
61507 cat <<_LT_EOF >> "$ofile"
61509 # ### BEGIN LIBTOOL TAG CONFIG: CXX
61511 # The linker used to build libraries.
61512 LD=$lt_LD_CXX
61514 # Commands used to build an old-style archive.
61515 old_archive_cmds=$lt_old_archive_cmds_CXX
61517 # A language specific compiler.
61518 CC=$lt_compiler_CXX
61520 # Is the compiler the GNU compiler?
61521 with_gcc=$GCC_CXX
61523 # Compiler flag to turn off builtin functions.
61524 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
61526 # How to pass a linker flag through the compiler.
61527 wl=$lt_lt_prog_compiler_wl_CXX
61529 # Additional compiler flags for building library objects.
61530 pic_flag=$lt_lt_prog_compiler_pic_CXX
61532 # Compiler flag to prevent dynamic linking.
61533 link_static_flag=$lt_lt_prog_compiler_static_CXX
61535 # Does compiler simultaneously support -c and -o options?
61536 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
61538 # Whether or not to add -lc for building shared libraries.
61539 build_libtool_need_lc=$archive_cmds_need_lc_CXX
61541 # Whether or not to disallow shared libs when runtime libs are static.
61542 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
61544 # Compiler flag to allow reflexive dlopens.
61545 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
61547 # Compiler flag to generate shared objects directly from archives.
61548 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
61550 # Whether the compiler copes with passing no objects directly.
61551 compiler_needs_object=$lt_compiler_needs_object_CXX
61553 # Create an old-style archive from a shared archive.
61554 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
61556 # Create a temporary old-style archive to link instead of a shared archive.
61557 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
61559 # Commands used to build a shared archive.
61560 archive_cmds=$lt_archive_cmds_CXX
61561 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
61563 # Commands used to build a loadable module if different from building
61564 # a shared archive.
61565 module_cmds=$lt_module_cmds_CXX
61566 module_expsym_cmds=$lt_module_expsym_cmds_CXX
61568 # Whether we are building with GNU ld or not.
61569 with_gnu_ld=$lt_with_gnu_ld_CXX
61571 # Flag that allows shared libraries with undefined symbols to be built.
61572 allow_undefined_flag=$lt_allow_undefined_flag_CXX
61574 # Flag that enforces no undefined symbols.
61575 no_undefined_flag=$lt_no_undefined_flag_CXX
61577 # Flag to hardcode \$libdir into a binary during linking.
61578 # This must work even if \$libdir does not exist
61579 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
61581 # If ld is used when linking, flag to hardcode \$libdir into a binary
61582 # during linking. This must work even if \$libdir does not exist.
61583 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
61585 # Whether we need a single "-rpath" flag with a separated argument.
61586 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
61588 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61589 # DIR into the resulting binary.
61590 hardcode_direct=$hardcode_direct_CXX
61592 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61593 # DIR into the resulting binary and the resulting library dependency is
61594 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
61595 # library is relocated.
61596 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
61598 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
61599 # into the resulting binary.
61600 hardcode_minus_L=$hardcode_minus_L_CXX
61602 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
61603 # into the resulting binary.
61604 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
61606 # Set to "yes" if building a shared library automatically hardcodes DIR
61607 # into the library and all subsequent libraries and executables linked
61608 # against it.
61609 hardcode_automatic=$hardcode_automatic_CXX
61611 # Set to yes if linker adds runtime paths of dependent libraries
61612 # to runtime path list.
61613 inherit_rpath=$inherit_rpath_CXX
61615 # Whether libtool must link a program against all its dependency libraries.
61616 link_all_deplibs=$link_all_deplibs_CXX
61618 # Fix the shell variable \$srcfile for the compiler.
61619 fix_srcfile_path=$lt_fix_srcfile_path_CXX
61621 # Set to "yes" if exported symbols are required.
61622 always_export_symbols=$always_export_symbols_CXX
61624 # The commands to list exported symbols.
61625 export_symbols_cmds=$lt_export_symbols_cmds_CXX
61627 # Symbols that should not be listed in the preloaded symbols.
61628 exclude_expsyms=$lt_exclude_expsyms_CXX
61630 # Symbols that must always be exported.
61631 include_expsyms=$lt_include_expsyms_CXX
61633 # Commands necessary for linking programs (against libraries) with templates.
61634 prelink_cmds=$lt_prelink_cmds_CXX
61636 # Specify filename containing input files.
61637 file_list_spec=$lt_file_list_spec_CXX
61639 # How to hardcode a shared library path into an executable.
61640 hardcode_action=$hardcode_action_CXX
61642 # The directories searched by this compiler when creating a shared library.
61643 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
61645 # Dependencies to place before and after the objects being linked to
61646 # create a shared library.
61647 predep_objects=$lt_predep_objects_CXX
61648 postdep_objects=$lt_postdep_objects_CXX
61649 predeps=$lt_predeps_CXX
61650 postdeps=$lt_postdeps_CXX
61652 # The library search path used internally by the compiler when linking
61653 # a shared library.
61654 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
61656 # ### END LIBTOOL TAG CONFIG: CXX
61657 _LT_EOF
61660 "include/gstdint.h":C)
61661 if test "$GCC" = yes; then
61662 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
61663 else
61664 echo "/* generated for $CC */" > tmp-stdint.h
61667 sed 's/^ *//' >> tmp-stdint.h <<EOF
61669 #ifndef GCC_GENERATED_STDINT_H
61670 #define GCC_GENERATED_STDINT_H 1
61672 #include <sys/types.h>
61675 if test "$acx_cv_header_stdint" != stdint.h; then
61676 echo "#include <stddef.h>" >> tmp-stdint.h
61678 if test "$acx_cv_header_stdint" != stddef.h; then
61679 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
61682 sed 's/^ *//' >> tmp-stdint.h <<EOF
61683 /* glibc uses these symbols as guards to prevent redefinitions. */
61684 #ifdef __int8_t_defined
61685 #define _INT8_T
61686 #define _INT16_T
61687 #define _INT32_T
61688 #endif
61689 #ifdef __uint32_t_defined
61690 #define _UINT32_T
61691 #endif
61695 # ----------------- done header, emit basic int types -------------
61696 if test "$acx_cv_header_stdint" = stddef.h; then
61697 sed 's/^ *//' >> tmp-stdint.h <<EOF
61699 #ifndef _UINT8_T
61700 #define _UINT8_T
61701 #ifndef __uint8_t_defined
61702 #define __uint8_t_defined
61703 typedef unsigned $acx_cv_type_int8_t uint8_t;
61704 #endif
61705 #endif
61707 #ifndef _UINT16_T
61708 #define _UINT16_T
61709 #ifndef __uint16_t_defined
61710 #define __uint16_t_defined
61711 typedef unsigned $acx_cv_type_int16_t uint16_t;
61712 #endif
61713 #endif
61715 #ifndef _UINT32_T
61716 #define _UINT32_T
61717 #ifndef __uint32_t_defined
61718 #define __uint32_t_defined
61719 typedef unsigned $acx_cv_type_int32_t uint32_t;
61720 #endif
61721 #endif
61723 #ifndef _INT8_T
61724 #define _INT8_T
61725 #ifndef __int8_t_defined
61726 #define __int8_t_defined
61727 typedef $acx_cv_type_int8_t int8_t;
61728 #endif
61729 #endif
61731 #ifndef _INT16_T
61732 #define _INT16_T
61733 #ifndef __int16_t_defined
61734 #define __int16_t_defined
61735 typedef $acx_cv_type_int16_t int16_t;
61736 #endif
61737 #endif
61739 #ifndef _INT32_T
61740 #define _INT32_T
61741 #ifndef __int32_t_defined
61742 #define __int32_t_defined
61743 typedef $acx_cv_type_int32_t int32_t;
61744 #endif
61745 #endif
61747 elif test "$ac_cv_type_u_int32_t" = yes; then
61748 sed 's/^ *//' >> tmp-stdint.h <<EOF
61750 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
61751 #ifndef _INT8_T
61752 #define _INT8_T
61753 #endif
61754 #ifndef _INT16_T
61755 #define _INT16_T
61756 #endif
61757 #ifndef _INT32_T
61758 #define _INT32_T
61759 #endif
61761 #ifndef _UINT8_T
61762 #define _UINT8_T
61763 #ifndef __uint8_t_defined
61764 #define __uint8_t_defined
61765 typedef u_int8_t uint8_t;
61766 #endif
61767 #endif
61769 #ifndef _UINT16_T
61770 #define _UINT16_T
61771 #ifndef __uint16_t_defined
61772 #define __uint16_t_defined
61773 typedef u_int16_t uint16_t;
61774 #endif
61775 #endif
61777 #ifndef _UINT32_T
61778 #define _UINT32_T
61779 #ifndef __uint32_t_defined
61780 #define __uint32_t_defined
61781 typedef u_int32_t uint32_t;
61782 #endif
61783 #endif
61785 else
61786 sed 's/^ *//' >> tmp-stdint.h <<EOF
61788 /* Some systems have guard macros to prevent redefinitions, define them. */
61789 #ifndef _INT8_T
61790 #define _INT8_T
61791 #endif
61792 #ifndef _INT16_T
61793 #define _INT16_T
61794 #endif
61795 #ifndef _INT32_T
61796 #define _INT32_T
61797 #endif
61798 #ifndef _UINT8_T
61799 #define _UINT8_T
61800 #endif
61801 #ifndef _UINT16_T
61802 #define _UINT16_T
61803 #endif
61804 #ifndef _UINT32_T
61805 #define _UINT32_T
61806 #endif
61810 # ------------- done basic int types, emit int64_t types ------------
61811 if test "$ac_cv_type_uint64_t" = yes; then
61812 sed 's/^ *//' >> tmp-stdint.h <<EOF
61814 /* system headers have good uint64_t and int64_t */
61815 #ifndef _INT64_T
61816 #define _INT64_T
61817 #endif
61818 #ifndef _UINT64_T
61819 #define _UINT64_T
61820 #endif
61822 elif test "$ac_cv_type_u_int64_t" = yes; then
61823 sed 's/^ *//' >> tmp-stdint.h <<EOF
61825 /* system headers have an u_int64_t (and int64_t) */
61826 #ifndef _INT64_T
61827 #define _INT64_T
61828 #endif
61829 #ifndef _UINT64_T
61830 #define _UINT64_T
61831 #ifndef __uint64_t_defined
61832 #define __uint64_t_defined
61833 typedef u_int64_t uint64_t;
61834 #endif
61835 #endif
61837 elif test -n "$acx_cv_type_int64_t"; then
61838 sed 's/^ *//' >> tmp-stdint.h <<EOF
61840 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
61841 #ifndef _INT64_T
61842 #define _INT64_T
61843 typedef $acx_cv_type_int64_t int64_t;
61844 #endif
61845 #ifndef _UINT64_T
61846 #define _UINT64_T
61847 #ifndef __uint64_t_defined
61848 #define __uint64_t_defined
61849 typedef unsigned $acx_cv_type_int64_t uint64_t;
61850 #endif
61851 #endif
61853 else
61854 sed 's/^ *//' >> tmp-stdint.h <<EOF
61856 /* some common heuristics for int64_t, using compiler-specific tests */
61857 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
61858 #ifndef _INT64_T
61859 #define _INT64_T
61860 #ifndef __int64_t_defined
61861 typedef long long int64_t;
61862 #endif
61863 #endif
61864 #ifndef _UINT64_T
61865 #define _UINT64_T
61866 typedef unsigned long long uint64_t;
61867 #endif
61869 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
61870 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
61871 does not implement __extension__. But that compiler doesn't define
61872 __GNUC_MINOR__. */
61873 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
61874 # define __extension__
61875 # endif
61877 # ifndef _INT64_T
61878 # define _INT64_T
61879 __extension__ typedef long long int64_t;
61880 # endif
61881 # ifndef _UINT64_T
61882 # define _UINT64_T
61883 __extension__ typedef unsigned long long uint64_t;
61884 # endif
61886 #elif !defined __STRICT_ANSI__
61887 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
61889 # ifndef _INT64_T
61890 # define _INT64_T
61891 typedef __int64 int64_t;
61892 # endif
61893 # ifndef _UINT64_T
61894 # define _UINT64_T
61895 typedef unsigned __int64 uint64_t;
61896 # endif
61897 # endif /* compiler */
61899 #endif /* ANSI version */
61903 # ------------- done int64_t types, emit intptr types ------------
61904 if test "$ac_cv_type_uintptr_t" != yes; then
61905 sed 's/^ *//' >> tmp-stdint.h <<EOF
61907 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
61908 #ifndef __uintptr_t_defined
61909 typedef u$acx_cv_type_intptr_t uintptr_t;
61910 #endif
61911 #ifndef __intptr_t_defined
61912 typedef $acx_cv_type_intptr_t intptr_t;
61913 #endif
61917 # ------------- done intptr types, emit int_least types ------------
61918 if test "$ac_cv_type_int_least32_t" != yes; then
61919 sed 's/^ *//' >> tmp-stdint.h <<EOF
61921 /* Define int_least types */
61922 typedef int8_t int_least8_t;
61923 typedef int16_t int_least16_t;
61924 typedef int32_t int_least32_t;
61925 #ifdef _INT64_T
61926 typedef int64_t int_least64_t;
61927 #endif
61929 typedef uint8_t uint_least8_t;
61930 typedef uint16_t uint_least16_t;
61931 typedef uint32_t uint_least32_t;
61932 #ifdef _UINT64_T
61933 typedef uint64_t uint_least64_t;
61934 #endif
61938 # ------------- done intptr types, emit int_fast types ------------
61939 if test "$ac_cv_type_int_fast32_t" != yes; then
61940 sed 's/^ *//' >> tmp-stdint.h <<EOF
61942 /* Define int_fast types. short is often slow */
61943 typedef int8_t int_fast8_t;
61944 typedef int int_fast16_t;
61945 typedef int32_t int_fast32_t;
61946 #ifdef _INT64_T
61947 typedef int64_t int_fast64_t;
61948 #endif
61950 typedef uint8_t uint_fast8_t;
61951 typedef unsigned int uint_fast16_t;
61952 typedef uint32_t uint_fast32_t;
61953 #ifdef _UINT64_T
61954 typedef uint64_t uint_fast64_t;
61955 #endif
61959 if test "$ac_cv_type_uintmax_t" != yes; then
61960 sed 's/^ *//' >> tmp-stdint.h <<EOF
61962 /* Define intmax based on what we found */
61963 #ifdef _INT64_T
61964 typedef int64_t intmax_t;
61965 #else
61966 typedef long intmax_t;
61967 #endif
61968 #ifdef _UINT64_T
61969 typedef uint64_t uintmax_t;
61970 #else
61971 typedef unsigned long uintmax_t;
61972 #endif
61976 sed 's/^ *//' >> tmp-stdint.h <<EOF
61978 #endif /* GCC_GENERATED_STDINT_H */
61981 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
61982 rm -f tmp-stdint.h
61983 else
61984 mv -f tmp-stdint.h include/gstdint.h
61988 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
61989 "include/Makefile":F) cat > vpsed$$ << \_EOF
61990 s!`test -f '$<' || echo '$(srcdir)/'`!!
61991 _EOF
61992 sed -f vpsed$$ $ac_file > tmp$$
61993 mv tmp$$ $ac_file
61994 rm vpsed$$
61995 echo 'MULTISUBDIR =' >> $ac_file
61996 ml_norecursion=yes
61997 . ${multi_basedir}/config-ml.in
61998 { ml_norecursion=; unset ml_norecursion;}
62000 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
62001 s!`test -f '$<' || echo '$(srcdir)/'`!!
62002 _EOF
62003 sed -f vpsed$$ $ac_file > tmp$$
62004 mv tmp$$ $ac_file
62005 rm vpsed$$
62006 echo 'MULTISUBDIR =' >> $ac_file
62007 ml_norecursion=yes
62008 . ${multi_basedir}/config-ml.in
62009 { ml_norecursion=; unset ml_norecursion;}
62011 "python/Makefile":F) cat > vpsed$$ << \_EOF
62012 s!`test -f '$<' || echo '$(srcdir)/'`!!
62013 _EOF
62014 sed -f vpsed$$ $ac_file > tmp$$
62015 mv tmp$$ $ac_file
62016 rm vpsed$$
62017 echo 'MULTISUBDIR =' >> $ac_file
62018 ml_norecursion=yes
62019 . ${multi_basedir}/config-ml.in
62020 { ml_norecursion=; unset ml_norecursion;}
62022 "src/Makefile":F) cat > vpsed$$ << \_EOF
62023 s!`test -f '$<' || echo '$(srcdir)/'`!!
62024 _EOF
62025 sed -f vpsed$$ $ac_file > tmp$$
62026 mv tmp$$ $ac_file
62027 rm vpsed$$
62028 echo 'MULTISUBDIR =' >> $ac_file
62029 ml_norecursion=yes
62030 . ${multi_basedir}/config-ml.in
62031 { ml_norecursion=; unset ml_norecursion;}
62033 "doc/Makefile":F) cat > vpsed$$ << \_EOF
62034 s!`test -f '$<' || echo '$(srcdir)/'`!!
62035 _EOF
62036 sed -f vpsed$$ $ac_file > tmp$$
62037 mv tmp$$ $ac_file
62038 rm vpsed$$
62039 echo 'MULTISUBDIR =' >> $ac_file
62040 ml_norecursion=yes
62041 . ${multi_basedir}/config-ml.in
62042 { ml_norecursion=; unset ml_norecursion;}
62044 "po/Makefile":F) cat > vpsed$$ << \_EOF
62045 s!`test -f '$<' || echo '$(srcdir)/'`!!
62046 _EOF
62047 sed -f vpsed$$ $ac_file > tmp$$
62048 mv tmp$$ $ac_file
62049 rm vpsed$$
62050 echo 'MULTISUBDIR =' >> $ac_file
62051 ml_norecursion=yes
62052 . ${multi_basedir}/config-ml.in
62053 { ml_norecursion=; unset ml_norecursion;}
62055 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
62056 s!`test -f '$<' || echo '$(srcdir)/'`!!
62057 _EOF
62058 sed -f vpsed$$ $ac_file > tmp$$
62059 mv tmp$$ $ac_file
62060 rm vpsed$$
62061 echo 'MULTISUBDIR =' >> $ac_file
62062 ml_norecursion=yes
62063 . ${multi_basedir}/config-ml.in
62064 { ml_norecursion=; unset ml_norecursion;}
62066 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
62068 esac
62069 done # for ac_tag
62072 as_fn_exit 0
62073 _ACEOF
62074 ac_clean_files=$ac_clean_files_save
62076 test $ac_write_fail = 0 ||
62077 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
62080 # configure is writing to config.log, and then calls config.status.
62081 # config.status does its own redirection, appending to config.log.
62082 # Unfortunately, on DOS this fails, as config.log is still kept open
62083 # by configure, so config.status won't be able to write to it; its
62084 # output is simply discarded. So we exec the FD to /dev/null,
62085 # effectively closing config.log, so it can be properly (re)opened and
62086 # appended to by config.status. When coming back to configure, we
62087 # need to make the FD available again.
62088 if test "$no_create" != yes; then
62089 ac_cs_success=:
62090 ac_config_status_args=
62091 test "$silent" = yes &&
62092 ac_config_status_args="$ac_config_status_args --quiet"
62093 exec 5>/dev/null
62094 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
62095 exec 5>>config.log
62096 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
62097 # would make configure fail if this is the last instruction.
62098 $ac_cs_success || as_fn_exit $?
62100 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
62101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
62102 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}