1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.64 for package-unused version-unused.
4#
5# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7# Foundation, Inc.
8#
9# This configure script is free software; the Free Software Foundation
10# gives unlimited permission to copy, distribute and modify it.
11## -------------------- ##
12## M4sh Initialization. ##
13## -------------------- ##
14
15# Be more Bourne compatible
16DUALCASE=1; export DUALCASE # for MKS sh
17if 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
24else
25  case `(set -o) 2>/dev/null` in #(
26  *posix*) :
27    set -o posix ;; #(
28  *) :
29     ;;
30esac
31fi
32
33
34as_nl='
35'
36export as_nl
37# Printing a long string crashes Solaris 7 /usr/bin/printf.
38as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40as_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.
43if 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 --'
47elif (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'
50else
51  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53    as_echo_n='/usr/ucb/echo -n'
54  else
55    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56    as_echo_n_body='eval
57      arg=$1;
58      case $arg in #(
59      *"$as_nl"*)
60	expr "X$arg" : "X\\(.*\\)$as_nl";
61	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62      esac;
63      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64    '
65    export as_echo_n_body
66    as_echo_n='sh -c $as_echo_n_body as_echo'
67  fi
68  export as_echo_body
69  as_echo='sh -c $as_echo_body as_echo'
70fi
71
72# The user is always right.
73if test "${PATH_SEPARATOR+set}" != set; then
74  PATH_SEPARATOR=:
75  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77      PATH_SEPARATOR=';'
78  }
79fi
80
81
82# IFS
83# We need space, tab and new line, in precisely that order.  Quoting is
84# there to prevent editors from complaining about space-tab.
85# (If _AS_PATH_WALK were called with IFS unset, it would disable word
86# splitting by setting IFS to empty value.)
87IFS=" ""	$as_nl"
88
89# Find who we are.  Look in the path if we contain no directory separator.
90case $0 in #((
91  *[\\/]* ) as_myself=$0 ;;
92  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93for as_dir in $PATH
94do
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
99IFS=$as_save_IFS
100
101     ;;
102esac
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.
105if test "x$as_myself" = x; then
106  as_myself=$0
107fi
108if test ! -f "$as_myself"; then
109  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110  exit 1
111fi
112
113# Unset variables that we do not need and which cause bugs (e.g. in
114# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
115# suppresses any "Segmentation fault" message there.  '((' could
116# trigger a bug in pdksh 5.2.14.
117for as_var in BASH_ENV ENV MAIL MAILPATH
118do eval test x\${$as_var+set} = xset \
119  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120done
121PS1='$ '
122PS2='> '
123PS4='+ '
124
125# NLS nuisances.
126LC_ALL=C
127export LC_ALL
128LANGUAGE=C
129export LANGUAGE
130
131# CDPATH.
132(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
133
134if 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
142else
143  case \`(set -o) 2>/dev/null\` in #(
144  *posix*) :
145    set -o posix ;; #(
146  *) :
147     ;;
148esac
149fi
150"
151  as_required="as_fn_return () { (exit \$1); }
152as_fn_success () { as_fn_return 0; }
153as_fn_failure () { as_fn_return 1; }
154as_fn_ret_success () { return 0; }
155as_fn_ret_failure () { return 1; }
156
157exitcode=0
158as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
163
164else
165  exitcode=1; echo positional parameters were not saved.
166fi
167test 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
172test \$(( 1 + 1 )) = 2 || exit 1
173
174  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178    PATH=/empty FPATH=/empty; export PATH FPATH
179    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181  if (eval "$as_required") 2>/dev/null; then :
182  as_have_required=yes
183else
184  as_have_required=no
185fi
186  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
187
188else
189  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
190as_found=false
191for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
192do
193  IFS=$as_save_IFS
194  test -z "$as_dir" && as_dir=.
195  as_found=:
196  case $as_dir in #(
197	 /*)
198	   for as_base in sh bash ksh sh5; do
199	     # Try only shells that exist, to save several forks.
200	     as_shell=$as_dir/$as_base
201	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
202		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
203  CONFIG_SHELL=$as_shell as_have_required=yes
204		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
205  break 2
206fi
207fi
208	   done;;
209       esac
210  as_found=false
211done
212$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
213	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
214  CONFIG_SHELL=$SHELL as_have_required=yes
215fi; }
216IFS=$as_save_IFS
217
218
219      if test "x$CONFIG_SHELL" != x; then :
220  # We cannot yet assume a decent shell, so we have to provide a
221	# neutralization value for shells without unset; and this also
222	# works around shells that cannot unset nonexistent variables.
223	BASH_ENV=/dev/null
224	ENV=/dev/null
225	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226	export CONFIG_SHELL
227	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
228fi
229
230    if test x$as_have_required = xno; then :
231  $as_echo "$0: This script requires a shell more modern than all"
232  $as_echo "$0: the shells that I found on your system."
233  if test x${ZSH_VERSION+set} = xset ; then
234    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
236  else
237    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238$0: including any error possibly output before this
239$0: message. Then install a modern shell, or manually run
240$0: the script under such a shell if you do have one."
241  fi
242  exit 1
243fi
244fi
245fi
246SHELL=${CONFIG_SHELL-/bin/sh}
247export SHELL
248# Unset more variables known to interfere with behavior of common tools.
249CLICOLOR_FORCE= GREP_OPTIONS=
250unset CLICOLOR_FORCE GREP_OPTIONS
251
252## --------------------- ##
253## M4sh Shell Functions. ##
254## --------------------- ##
255# as_fn_unset VAR
256# ---------------
257# Portably unset VAR.
258as_fn_unset ()
259{
260  { eval $1=; unset $1;}
261}
262as_unset=as_fn_unset
263
264# as_fn_set_status STATUS
265# -----------------------
266# Set $? to STATUS, without forking.
267as_fn_set_status ()
268{
269  return $1
270} # as_fn_set_status
271
272# as_fn_exit STATUS
273# -----------------
274# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
275as_fn_exit ()
276{
277  set +e
278  as_fn_set_status $1
279  exit $1
280} # as_fn_exit
281
282# as_fn_mkdir_p
283# -------------
284# Create "$as_dir" as a directory, including parents if necessary.
285as_fn_mkdir_p ()
286{
287
288  case $as_dir in #(
289  -*) as_dir=./$as_dir;;
290  esac
291  test -d "$as_dir" || eval $as_mkdir_p || {
292    as_dirs=
293    while :; do
294      case $as_dir in #(
295      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296      *) as_qdir=$as_dir;;
297      esac
298      as_dirs="'$as_qdir' $as_dirs"
299      as_dir=`$as_dirname -- "$as_dir" ||
300$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301	 X"$as_dir" : 'X\(//\)[^/]' \| \
302	 X"$as_dir" : 'X\(//\)$' \| \
303	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304$as_echo X"$as_dir" |
305    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
306	    s//\1/
307	    q
308	  }
309	  /^X\(\/\/\)[^/].*/{
310	    s//\1/
311	    q
312	  }
313	  /^X\(\/\/\)$/{
314	    s//\1/
315	    q
316	  }
317	  /^X\(\/\).*/{
318	    s//\1/
319	    q
320	  }
321	  s/.*/./; q'`
322      test -d "$as_dir" && break
323    done
324    test -z "$as_dirs" || eval "mkdir $as_dirs"
325  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
326
327
328} # as_fn_mkdir_p
329# as_fn_append VAR VALUE
330# ----------------------
331# Append the text in VALUE to the end of the definition contained in VAR. Take
332# advantage of any shell optimizations that allow amortized linear growth over
333# repeated appends, instead of the typical quadratic growth present in naive
334# implementations.
335if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
336  eval 'as_fn_append ()
337  {
338    eval $1+=\$2
339  }'
340else
341  as_fn_append ()
342  {
343    eval $1=\$$1\$2
344  }
345fi # as_fn_append
346
347# as_fn_arith ARG...
348# ------------------
349# Perform arithmetic evaluation on the ARGs, and store the result in the
350# global $as_val. Take advantage of shells that can avoid forks. The arguments
351# must be portable across $(()) and expr.
352if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
353  eval 'as_fn_arith ()
354  {
355    as_val=$(( $* ))
356  }'
357else
358  as_fn_arith ()
359  {
360    as_val=`expr "$@" || test $? -eq 1`
361  }
362fi # as_fn_arith
363
364
365# as_fn_error ERROR [LINENO LOG_FD]
366# ---------------------------------
367# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369# script with status $?, using 1 if that was 0.
370as_fn_error ()
371{
372  as_status=$?; test $as_status -eq 0 && as_status=1
373  if test "$3"; then
374    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
375    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
376  fi
377  $as_echo "$as_me: error: $1" >&2
378  as_fn_exit $as_status
379} # as_fn_error
380
381if expr a : '\(a\)' >/dev/null 2>&1 &&
382   test "X`expr 00001 : '.*\(...\)'`" = X001; then
383  as_expr=expr
384else
385  as_expr=false
386fi
387
388if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389  as_basename=basename
390else
391  as_basename=false
392fi
393
394if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
395  as_dirname=dirname
396else
397  as_dirname=false
398fi
399
400as_me=`$as_basename -- "$0" ||
401$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402	 X"$0" : 'X\(//\)$' \| \
403	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
404$as_echo X/"$0" |
405    sed '/^.*\/\([^/][^/]*\)\/*$/{
406	    s//\1/
407	    q
408	  }
409	  /^X\/\(\/\/\)$/{
410	    s//\1/
411	    q
412	  }
413	  /^X\/\(\/\).*/{
414	    s//\1/
415	    q
416	  }
417	  s/.*/./; q'`
418
419# Avoid depending upon Character Ranges.
420as_cr_letters='abcdefghijklmnopqrstuvwxyz'
421as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422as_cr_Letters=$as_cr_letters$as_cr_LETTERS
423as_cr_digits='0123456789'
424as_cr_alnum=$as_cr_Letters$as_cr_digits
425
426
427  as_lineno_1=$LINENO as_lineno_1a=$LINENO
428  as_lineno_2=$LINENO as_lineno_2a=$LINENO
429  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
431  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
432  sed -n '
433    p
434    /[$]LINENO/=
435  ' <$as_myself |
436    sed '
437      s/[$]LINENO.*/&-/
438      t lineno
439      b
440      :lineno
441      N
442      :loop
443      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444      t loop
445      s/-\n.*//
446    ' >$as_me.lineno &&
447  chmod +x "$as_me.lineno" ||
448    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
449
450  # Don't try to exec as it changes $[0], causing all sort of problems
451  # (the dirname of $[0] is not the place where we might find the
452  # original and so on.  Autoconf is especially sensitive to this).
453  . "./$as_me.lineno"
454  # Exit status is that of the last command.
455  exit
456}
457
458ECHO_C= ECHO_N= ECHO_T=
459case `echo -n x` in #(((((
460-n*)
461  case `echo 'xy\c'` in
462  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
463  xy)  ECHO_C='\c';;
464  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
465       ECHO_T='	';;
466  esac;;
467*)
468  ECHO_N='-n';;
469esac
470
471rm -f conf$$ conf$$.exe conf$$.file
472if test -d conf$$.dir; then
473  rm -f conf$$.dir/conf$$.file
474else
475  rm -f conf$$.dir
476  mkdir conf$$.dir 2>/dev/null
477fi
478if (echo >conf$$.file) 2>/dev/null; then
479  if ln -s conf$$.file conf$$ 2>/dev/null; then
480    as_ln_s='ln -s'
481    # ... but there are two gotchas:
482    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484    # In both cases, we have to default to `cp -p'.
485    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
486      as_ln_s='cp -p'
487  elif ln conf$$.file conf$$ 2>/dev/null; then
488    as_ln_s=ln
489  else
490    as_ln_s='cp -p'
491  fi
492else
493  as_ln_s='cp -p'
494fi
495rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496rmdir conf$$.dir 2>/dev/null
497
498if mkdir -p . 2>/dev/null; then
499  as_mkdir_p='mkdir -p "$as_dir"'
500else
501  test -d ./-p && rmdir ./-p
502  as_mkdir_p=false
503fi
504
505if test -x / >/dev/null 2>&1; then
506  as_test_x='test -x'
507else
508  if ls -dL / >/dev/null 2>&1; then
509    as_ls_L_option=L
510  else
511    as_ls_L_option=
512  fi
513  as_test_x='
514    eval sh -c '\''
515      if test -d "$1"; then
516	test -d "$1/.";
517      else
518	case $1 in #(
519	-*)set "./$1";;
520	esac;
521	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522	???[sx]*):;;*)false;;esac;fi
523    '\'' sh
524  '
525fi
526as_executable_p=$as_test_x
527
528# Sed expression to map a string onto a valid CPP name.
529as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
530
531# Sed expression to map a string onto a valid variable name.
532as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
533
534SHELL=${CONFIG_SHELL-/bin/sh}
535
536
537exec 7<&0 </dev/null 6>&1
538
539# Name of the host.
540# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541# so uname gets run too.
542ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
543
544#
545# Initializations.
546#
547ac_default_prefix=/usr/local
548ac_clean_files=
549ac_config_libobj_dir=.
550LIBOBJS=
551cross_compiling=no
552subdirs=
553MFLAGS=
554MAKEFLAGS=
555
556# Identity of this package.
557PACKAGE_NAME='package-unused'
558PACKAGE_TARNAME='libstdc++'
559PACKAGE_VERSION='version-unused'
560PACKAGE_STRING='package-unused version-unused'
561PACKAGE_BUGREPORT=''
562PACKAGE_URL=''
563
564ac_unique_file="src/shared/hashtable-aux.cc"
565# Factoring default headers for most tests.
566ac_includes_default="\
567#include <stdio.h>
568#ifdef HAVE_SYS_TYPES_H
569# include <sys/types.h>
570#endif
571#ifdef HAVE_SYS_STAT_H
572# include <sys/stat.h>
573#endif
574#ifdef STDC_HEADERS
575# include <stdlib.h>
576# include <stddef.h>
577#else
578# ifdef HAVE_STDLIB_H
579#  include <stdlib.h>
580# endif
581#endif
582#ifdef HAVE_STRING_H
583# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
584#  include <memory.h>
585# endif
586# include <string.h>
587#endif
588#ifdef HAVE_STRINGS_H
589# include <strings.h>
590#endif
591#ifdef HAVE_INTTYPES_H
592# include <inttypes.h>
593#endif
594#ifdef HAVE_STDINT_H
595# include <stdint.h>
596#endif
597#ifdef HAVE_UNISTD_H
598# include <unistd.h>
599#endif"
600
601ac_subst_vars='am__EXEEXT_FALSE
602am__EXEEXT_TRUE
603LTLIBOBJS
604LIBOBJS
605WARN_FLAGS
606OPTIMIZE_CXXFLAGS
607TOPLEVEL_INCLUDES
608GLIBCXX_INCLUDES
609glibcxx_toolexeclibdir
610glibcxx_toolexecdir
611gxx_include_dir
612glibcxx_prefixdir
613CPU_OPT_BITS_RANDOM
614CPU_OPT_EXT_RANDOM
615ERROR_CONSTANTS_SRCDIR
616OS_INC_SRCDIR
617ABI_TWEAKS_SRCDIR
618CPU_DEFINES_SRCDIR
619ATOMIC_FLAGS
620ATOMIC_WORD_SRCDIR
621ATOMICITY_SRCDIR
622BUILD_PDF_FALSE
623BUILD_PDF_TRUE
624PDFLATEX
625DBLATEX
626BUILD_MAN_FALSE
627BUILD_MAN_TRUE
628BUILD_HTML_FALSE
629BUILD_HTML_TRUE
630BUILD_XML_FALSE
631BUILD_XML_TRUE
632BUILD_EPUB_FALSE
633BUILD_EPUB_TRUE
634XSL_STYLE_DIR
635XMLLINT
636XSLTPROC
637DOT
638DOXYGEN
639BUILD_INFO_FALSE
640BUILD_INFO_TRUE
641baseline_subdir_switch
642baseline_dir
643HWCAP_FLAGS
644GLIBCXX_LDBL_COMPAT_FALSE
645GLIBCXX_LDBL_COMPAT_TRUE
646ENABLE_VISIBILITY_FALSE
647ENABLE_VISIBILITY_TRUE
648libtool_VERSION
649ENABLE_SYMVERS_SUN_FALSE
650ENABLE_SYMVERS_SUN_TRUE
651ENABLE_SYMVERS_DARWIN_FALSE
652ENABLE_SYMVERS_DARWIN_TRUE
653ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
654ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
655ENABLE_SYMVERS_GNU_FALSE
656ENABLE_SYMVERS_GNU_TRUE
657ENABLE_SYMVERS_FALSE
658ENABLE_SYMVERS_TRUE
659port_specific_symbol_files
660SYMVER_FILE
661CXXFILT
662LTLIBICONV
663LIBICONV
664OPT_LDFLAGS
665SECTION_LDFLAGS
666GLIBCXX_LIBS
667ENABLE_WERROR_FALSE
668ENABLE_WERROR_TRUE
669ENABLE_PYTHONDIR_FALSE
670ENABLE_PYTHONDIR_TRUE
671python_mod_dir
672ENABLE_EXTERN_TEMPLATE_FALSE
673ENABLE_EXTERN_TEMPLATE_TRUE
674EXTRA_CXX_FLAGS
675GLIBCXX_BUILD_DEBUG_FALSE
676GLIBCXX_BUILD_DEBUG_TRUE
677DEBUG_FLAGS
678GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
679GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
680GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
681GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
682GLIBCXX_C_HEADERS_C_STD_FALSE
683GLIBCXX_C_HEADERS_C_STD_TRUE
684GLIBCXX_C_HEADERS_C_FALSE
685GLIBCXX_C_HEADERS_C_TRUE
686C_INCLUDE_DIR
687ALLOCATOR_NAME
688ALLOCATOR_H
689CLOCALE_INTERNAL_H
690CLOCALE_CC
691CTIME_CC
692CTIME_H
693CNUMERIC_CC
694CMONEY_CC
695CMESSAGES_CC
696CCTYPE_CC
697CCOLLATE_CC
698CCODECVT_CC
699CMESSAGES_H
700CLOCALE_H
701USE_NLS
702glibcxx_localedir
703glibcxx_POFILES
704glibcxx_MOFILES
705check_msgfmt
706BASIC_FILE_CC
707BASIC_FILE_H
708CSTDIO_H
709SECTION_FLAGS
710WERROR
711thread_header
712glibcxx_PCHFLAGS
713GLIBCXX_BUILD_PCH_FALSE
714GLIBCXX_BUILD_PCH_TRUE
715GLIBCXX_HOSTED_FALSE
716GLIBCXX_HOSTED_TRUE
717glibcxx_compiler_shared_flag
718glibcxx_compiler_pic_flag
719glibcxx_lt_pic_flag
720enable_static
721enable_shared
722lt_host_flags
723CXXCPP
724OTOOL64
725OTOOL
726LIPO
727NMEDIT
728DSYMUTIL
729OBJDUMP
730NM
731ac_ct_DUMPBIN
732DUMPBIN
733LD
734FGREP
735SED
736LIBTOOL
737EGREP
738GREP
739CPP
740MAINT
741MAINTAINER_MODE_FALSE
742MAINTAINER_MODE_TRUE
743RANLIB
744AR
745AS
746LN_S
747toplevel_srcdir
748toplevel_builddir
749glibcxx_srcdir
750glibcxx_builddir
751ac_ct_CXX
752CXXFLAGS
753CXX
754OBJEXT
755EXEEXT
756ac_ct_CC
757CPPFLAGS
758LDFLAGS
759CFLAGS
760CC
761am__untar
762am__tar
763AMTAR
764am__leading_dot
765SET_MAKE
766AWK
767mkdir_p
768MKDIR_P
769INSTALL_STRIP_PROGRAM
770STRIP
771install_sh
772MAKEINFO
773AUTOHEADER
774AUTOMAKE
775AUTOCONF
776ACLOCAL
777VERSION
778PACKAGE
779CYGPATH_W
780am__isrc
781INSTALL_DATA
782INSTALL_SCRIPT
783INSTALL_PROGRAM
784target_os
785target_vendor
786target_cpu
787target
788host_os
789host_vendor
790host_cpu
791host
792build_os
793build_vendor
794build_cpu
795build
796multi_basedir
797target_alias
798host_alias
799build_alias
800LIBS
801ECHO_T
802ECHO_N
803ECHO_C
804DEFS
805mandir
806localedir
807libdir
808psdir
809pdfdir
810dvidir
811htmldir
812infodir
813docdir
814oldincludedir
815includedir
816localstatedir
817sharedstatedir
818sysconfdir
819datadir
820datarootdir
821libexecdir
822sbindir
823bindir
824program_transform_name
825prefix
826exec_prefix
827PACKAGE_URL
828PACKAGE_BUGREPORT
829PACKAGE_STRING
830PACKAGE_VERSION
831PACKAGE_TARNAME
832PACKAGE_NAME
833PATH_SEPARATOR
834SHELL'
835ac_subst_files=''
836ac_user_opts='
837enable_option_checking
838enable_multilib
839with_target_subdir
840with_cross_host
841with_newlib
842enable_maintainer_mode
843enable_shared
844enable_static
845with_pic
846enable_fast_install
847with_gnu_ld
848enable_libtool_lock
849enable_hosted_libstdcxx
850enable_libstdcxx_verbose
851enable_sjlj_exceptions
852enable_libstdcxx_pch
853enable_cstdio
854enable_clocale
855enable_nls
856enable_libstdcxx_allocator
857enable_cheaders
858enable_long_long
859enable_wchar_t
860enable_c99
861enable_concept_checks
862enable_libstdcxx_debug_flags
863enable_libstdcxx_debug
864enable_cxx_flags
865enable_fully_dynamic_string
866enable_extern_template
867with_python_dir
868enable_werror
869enable_libstdcxx_time
870enable_tls
871enable_rpath
872with_libiconv_prefix
873with_system_libunwind
874enable_linux_futex
875enable_symvers
876enable_libstdcxx_visibility
877enable_libstdcxx_threads
878with_gxx_include_dir
879enable_version_specific_runtime_libs
880'
881      ac_precious_vars='build_alias
882host_alias
883target_alias
884CC
885CFLAGS
886LDFLAGS
887LIBS
888CPPFLAGS
889CXX
890CXXFLAGS
891CCC
892CPP
893CXXCPP
894CXXFILT'
895
896
897# Initialize some variables set by options.
898ac_init_help=
899ac_init_version=false
900ac_unrecognized_opts=
901ac_unrecognized_sep=
902# The variables have the same names as the options, with
903# dashes changed to underlines.
904cache_file=/dev/null
905exec_prefix=NONE
906no_create=
907no_recursion=
908prefix=NONE
909program_prefix=NONE
910program_suffix=NONE
911program_transform_name=s,x,x,
912silent=
913site=
914srcdir=
915verbose=
916x_includes=NONE
917x_libraries=NONE
918
919# Installation directory options.
920# These are left unexpanded so users can "make install exec_prefix=/foo"
921# and all the variables that are supposed to be based on exec_prefix
922# by default will actually change.
923# Use braces instead of parens because sh, perl, etc. also accept them.
924# (The list follows the same order as the GNU Coding Standards.)
925bindir='${exec_prefix}/bin'
926sbindir='${exec_prefix}/sbin'
927libexecdir='${exec_prefix}/libexec'
928datarootdir='${prefix}/share'
929datadir='${datarootdir}'
930sysconfdir='${prefix}/etc'
931sharedstatedir='${prefix}/com'
932localstatedir='${prefix}/var'
933includedir='${prefix}/include'
934oldincludedir='/usr/include'
935docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
936infodir='${datarootdir}/info'
937htmldir='${docdir}'
938dvidir='${docdir}'
939pdfdir='${docdir}'
940psdir='${docdir}'
941libdir='${exec_prefix}/lib'
942localedir='${datarootdir}/locale'
943mandir='${datarootdir}/man'
944
945ac_prev=
946ac_dashdash=
947for ac_option
948do
949  # If the previous option needs an argument, assign it.
950  if test -n "$ac_prev"; then
951    eval $ac_prev=\$ac_option
952    ac_prev=
953    continue
954  fi
955
956  case $ac_option in
957  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
958  *)	ac_optarg=yes ;;
959  esac
960
961  # Accept the important Cygnus configure options, so we can diagnose typos.
962
963  case $ac_dashdash$ac_option in
964  --)
965    ac_dashdash=yes ;;
966
967  -bindir | --bindir | --bindi | --bind | --bin | --bi)
968    ac_prev=bindir ;;
969  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
970    bindir=$ac_optarg ;;
971
972  -build | --build | --buil | --bui | --bu)
973    ac_prev=build_alias ;;
974  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
975    build_alias=$ac_optarg ;;
976
977  -cache-file | --cache-file | --cache-fil | --cache-fi \
978  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
979    ac_prev=cache_file ;;
980  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
981  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
982    cache_file=$ac_optarg ;;
983
984  --config-cache | -C)
985    cache_file=config.cache ;;
986
987  -datadir | --datadir | --datadi | --datad)
988    ac_prev=datadir ;;
989  -datadir=* | --datadir=* | --datadi=* | --datad=*)
990    datadir=$ac_optarg ;;
991
992  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
993  | --dataroo | --dataro | --datar)
994    ac_prev=datarootdir ;;
995  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
996  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
997    datarootdir=$ac_optarg ;;
998
999  -disable-* | --disable-*)
1000    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1001    # Reject names that are not valid shell variable names.
1002    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1003      as_fn_error "invalid feature name: $ac_useropt"
1004    ac_useropt_orig=$ac_useropt
1005    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1006    case $ac_user_opts in
1007      *"
1008"enable_$ac_useropt"
1009"*) ;;
1010      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1011	 ac_unrecognized_sep=', ';;
1012    esac
1013    eval enable_$ac_useropt=no ;;
1014
1015  -docdir | --docdir | --docdi | --doc | --do)
1016    ac_prev=docdir ;;
1017  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1018    docdir=$ac_optarg ;;
1019
1020  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1021    ac_prev=dvidir ;;
1022  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1023    dvidir=$ac_optarg ;;
1024
1025  -enable-* | --enable-*)
1026    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1027    # Reject names that are not valid shell variable names.
1028    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1029      as_fn_error "invalid feature name: $ac_useropt"
1030    ac_useropt_orig=$ac_useropt
1031    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1032    case $ac_user_opts in
1033      *"
1034"enable_$ac_useropt"
1035"*) ;;
1036      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1037	 ac_unrecognized_sep=', ';;
1038    esac
1039    eval enable_$ac_useropt=\$ac_optarg ;;
1040
1041  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1042  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1043  | --exec | --exe | --ex)
1044    ac_prev=exec_prefix ;;
1045  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1046  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1047  | --exec=* | --exe=* | --ex=*)
1048    exec_prefix=$ac_optarg ;;
1049
1050  -gas | --gas | --ga | --g)
1051    # Obsolete; use --with-gas.
1052    with_gas=yes ;;
1053
1054  -help | --help | --hel | --he | -h)
1055    ac_init_help=long ;;
1056  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1057    ac_init_help=recursive ;;
1058  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1059    ac_init_help=short ;;
1060
1061  -host | --host | --hos | --ho)
1062    ac_prev=host_alias ;;
1063  -host=* | --host=* | --hos=* | --ho=*)
1064    host_alias=$ac_optarg ;;
1065
1066  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1067    ac_prev=htmldir ;;
1068  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1069  | --ht=*)
1070    htmldir=$ac_optarg ;;
1071
1072  -includedir | --includedir | --includedi | --included | --include \
1073  | --includ | --inclu | --incl | --inc)
1074    ac_prev=includedir ;;
1075  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1076  | --includ=* | --inclu=* | --incl=* | --inc=*)
1077    includedir=$ac_optarg ;;
1078
1079  -infodir | --infodir | --infodi | --infod | --info | --inf)
1080    ac_prev=infodir ;;
1081  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1082    infodir=$ac_optarg ;;
1083
1084  -libdir | --libdir | --libdi | --libd)
1085    ac_prev=libdir ;;
1086  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1087    libdir=$ac_optarg ;;
1088
1089  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1090  | --libexe | --libex | --libe)
1091    ac_prev=libexecdir ;;
1092  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1093  | --libexe=* | --libex=* | --libe=*)
1094    libexecdir=$ac_optarg ;;
1095
1096  -localedir | --localedir | --localedi | --localed | --locale)
1097    ac_prev=localedir ;;
1098  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1099    localedir=$ac_optarg ;;
1100
1101  -localstatedir | --localstatedir | --localstatedi | --localstated \
1102  | --localstate | --localstat | --localsta | --localst | --locals)
1103    ac_prev=localstatedir ;;
1104  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1105  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1106    localstatedir=$ac_optarg ;;
1107
1108  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1109    ac_prev=mandir ;;
1110  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1111    mandir=$ac_optarg ;;
1112
1113  -nfp | --nfp | --nf)
1114    # Obsolete; use --without-fp.
1115    with_fp=no ;;
1116
1117  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1118  | --no-cr | --no-c | -n)
1119    no_create=yes ;;
1120
1121  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1122  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1123    no_recursion=yes ;;
1124
1125  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1126  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1127  | --oldin | --oldi | --old | --ol | --o)
1128    ac_prev=oldincludedir ;;
1129  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1130  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1131  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1132    oldincludedir=$ac_optarg ;;
1133
1134  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1135    ac_prev=prefix ;;
1136  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1137    prefix=$ac_optarg ;;
1138
1139  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1140  | --program-pre | --program-pr | --program-p)
1141    ac_prev=program_prefix ;;
1142  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1143  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1144    program_prefix=$ac_optarg ;;
1145
1146  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1147  | --program-suf | --program-su | --program-s)
1148    ac_prev=program_suffix ;;
1149  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1150  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1151    program_suffix=$ac_optarg ;;
1152
1153  -program-transform-name | --program-transform-name \
1154  | --program-transform-nam | --program-transform-na \
1155  | --program-transform-n | --program-transform- \
1156  | --program-transform | --program-transfor \
1157  | --program-transfo | --program-transf \
1158  | --program-trans | --program-tran \
1159  | --progr-tra | --program-tr | --program-t)
1160    ac_prev=program_transform_name ;;
1161  -program-transform-name=* | --program-transform-name=* \
1162  | --program-transform-nam=* | --program-transform-na=* \
1163  | --program-transform-n=* | --program-transform-=* \
1164  | --program-transform=* | --program-transfor=* \
1165  | --program-transfo=* | --program-transf=* \
1166  | --program-trans=* | --program-tran=* \
1167  | --progr-tra=* | --program-tr=* | --program-t=*)
1168    program_transform_name=$ac_optarg ;;
1169
1170  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1171    ac_prev=pdfdir ;;
1172  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1173    pdfdir=$ac_optarg ;;
1174
1175  -psdir | --psdir | --psdi | --psd | --ps)
1176    ac_prev=psdir ;;
1177  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1178    psdir=$ac_optarg ;;
1179
1180  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1181  | -silent | --silent | --silen | --sile | --sil)
1182    silent=yes ;;
1183
1184  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1185    ac_prev=sbindir ;;
1186  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1187  | --sbi=* | --sb=*)
1188    sbindir=$ac_optarg ;;
1189
1190  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1191  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1192  | --sharedst | --shareds | --shared | --share | --shar \
1193  | --sha | --sh)
1194    ac_prev=sharedstatedir ;;
1195  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1196  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1197  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1198  | --sha=* | --sh=*)
1199    sharedstatedir=$ac_optarg ;;
1200
1201  -site | --site | --sit)
1202    ac_prev=site ;;
1203  -site=* | --site=* | --sit=*)
1204    site=$ac_optarg ;;
1205
1206  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1207    ac_prev=srcdir ;;
1208  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1209    srcdir=$ac_optarg ;;
1210
1211  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1212  | --syscon | --sysco | --sysc | --sys | --sy)
1213    ac_prev=sysconfdir ;;
1214  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1215  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1216    sysconfdir=$ac_optarg ;;
1217
1218  -target | --target | --targe | --targ | --tar | --ta | --t)
1219    ac_prev=target_alias ;;
1220  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1221    target_alias=$ac_optarg ;;
1222
1223  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1224    verbose=yes ;;
1225
1226  -version | --version | --versio | --versi | --vers | -V)
1227    ac_init_version=: ;;
1228
1229  -with-* | --with-*)
1230    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1231    # Reject names that are not valid shell variable names.
1232    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1233      as_fn_error "invalid package name: $ac_useropt"
1234    ac_useropt_orig=$ac_useropt
1235    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1236    case $ac_user_opts in
1237      *"
1238"with_$ac_useropt"
1239"*) ;;
1240      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1241	 ac_unrecognized_sep=', ';;
1242    esac
1243    eval with_$ac_useropt=\$ac_optarg ;;
1244
1245  -without-* | --without-*)
1246    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1247    # Reject names that are not valid shell variable names.
1248    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1249      as_fn_error "invalid package name: $ac_useropt"
1250    ac_useropt_orig=$ac_useropt
1251    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1252    case $ac_user_opts in
1253      *"
1254"with_$ac_useropt"
1255"*) ;;
1256      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1257	 ac_unrecognized_sep=', ';;
1258    esac
1259    eval with_$ac_useropt=no ;;
1260
1261  --x)
1262    # Obsolete; use --with-x.
1263    with_x=yes ;;
1264
1265  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1266  | --x-incl | --x-inc | --x-in | --x-i)
1267    ac_prev=x_includes ;;
1268  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1269  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1270    x_includes=$ac_optarg ;;
1271
1272  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1273  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1274    ac_prev=x_libraries ;;
1275  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1276  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1277    x_libraries=$ac_optarg ;;
1278
1279  -*) as_fn_error "unrecognized option: \`$ac_option'
1280Try \`$0 --help' for more information."
1281    ;;
1282
1283  *=*)
1284    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1285    # Reject names that are not valid shell variable names.
1286    case $ac_envvar in #(
1287      '' | [0-9]* | *[!_$as_cr_alnum]* )
1288      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1289    esac
1290    eval $ac_envvar=\$ac_optarg
1291    export $ac_envvar ;;
1292
1293  *)
1294    # FIXME: should be removed in autoconf 3.0.
1295    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1296    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1297      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1298    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1299    ;;
1300
1301  esac
1302done
1303
1304if test -n "$ac_prev"; then
1305  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1306  as_fn_error "missing argument to $ac_option"
1307fi
1308
1309if test -n "$ac_unrecognized_opts"; then
1310  case $enable_option_checking in
1311    no) ;;
1312    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1313    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1314  esac
1315fi
1316
1317# Check all directory arguments for consistency.
1318for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1319		datadir sysconfdir sharedstatedir localstatedir includedir \
1320		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1321		libdir localedir mandir
1322do
1323  eval ac_val=\$$ac_var
1324  # Remove trailing slashes.
1325  case $ac_val in
1326    */ )
1327      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1328      eval $ac_var=\$ac_val;;
1329  esac
1330  # Be sure to have absolute directory names.
1331  case $ac_val in
1332    [\\/$]* | ?:[\\/]* )  continue;;
1333    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1334  esac
1335  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1336done
1337
1338# There might be people who depend on the old broken behavior: `$host'
1339# used to hold the argument of --host etc.
1340# FIXME: To remove some day.
1341build=$build_alias
1342host=$host_alias
1343target=$target_alias
1344
1345# FIXME: To remove some day.
1346if test "x$host_alias" != x; then
1347  if test "x$build_alias" = x; then
1348    cross_compiling=maybe
1349    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1350    If a cross compiler is detected then cross compile mode will be used." >&2
1351  elif test "x$build_alias" != "x$host_alias"; then
1352    cross_compiling=yes
1353  fi
1354fi
1355
1356ac_tool_prefix=
1357test -n "$host_alias" && ac_tool_prefix=$host_alias-
1358
1359test "$silent" = yes && exec 6>/dev/null
1360
1361
1362ac_pwd=`pwd` && test -n "$ac_pwd" &&
1363ac_ls_di=`ls -di .` &&
1364ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1365  as_fn_error "working directory cannot be determined"
1366test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1367  as_fn_error "pwd does not report name of working directory"
1368
1369
1370# Find the source files, if location was not specified.
1371if test -z "$srcdir"; then
1372  ac_srcdir_defaulted=yes
1373  # Try the directory containing this script, then the parent directory.
1374  ac_confdir=`$as_dirname -- "$as_myself" ||
1375$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1376	 X"$as_myself" : 'X\(//\)[^/]' \| \
1377	 X"$as_myself" : 'X\(//\)$' \| \
1378	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1379$as_echo X"$as_myself" |
1380    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1381	    s//\1/
1382	    q
1383	  }
1384	  /^X\(\/\/\)[^/].*/{
1385	    s//\1/
1386	    q
1387	  }
1388	  /^X\(\/\/\)$/{
1389	    s//\1/
1390	    q
1391	  }
1392	  /^X\(\/\).*/{
1393	    s//\1/
1394	    q
1395	  }
1396	  s/.*/./; q'`
1397  srcdir=$ac_confdir
1398  if test ! -r "$srcdir/$ac_unique_file"; then
1399    srcdir=..
1400  fi
1401else
1402  ac_srcdir_defaulted=no
1403fi
1404if test ! -r "$srcdir/$ac_unique_file"; then
1405  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1406  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1407fi
1408ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1409ac_abs_confdir=`(
1410	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1411	pwd)`
1412# When building in place, set srcdir=.
1413if test "$ac_abs_confdir" = "$ac_pwd"; then
1414  srcdir=.
1415fi
1416# Remove unnecessary trailing slashes from srcdir.
1417# Double slashes in file names in object file debugging info
1418# mess up M-x gdb in Emacs.
1419case $srcdir in
1420*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1421esac
1422for ac_var in $ac_precious_vars; do
1423  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1424  eval ac_env_${ac_var}_value=\$${ac_var}
1425  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1426  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1427done
1428
1429#
1430# Report the --help message.
1431#
1432if test "$ac_init_help" = "long"; then
1433  # Omit some internal or obsolete options to make the list less imposing.
1434  # This message is too long to be a string in the A/UX 3.1 sh.
1435  cat <<_ACEOF
1436\`configure' configures package-unused version-unused to adapt to many kinds of systems.
1437
1438Usage: $0 [OPTION]... [VAR=VALUE]...
1439
1440To assign environment variables (e.g., CC, CFLAGS...), specify them as
1441VAR=VALUE.  See below for descriptions of some of the useful variables.
1442
1443Defaults for the options are specified in brackets.
1444
1445Configuration:
1446  -h, --help              display this help and exit
1447      --help=short        display options specific to this package
1448      --help=recursive    display the short help of all the included packages
1449  -V, --version           display version information and exit
1450  -q, --quiet, --silent   do not print \`checking...' messages
1451      --cache-file=FILE   cache test results in FILE [disabled]
1452  -C, --config-cache      alias for \`--cache-file=config.cache'
1453  -n, --no-create         do not create output files
1454      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1455
1456Installation directories:
1457  --prefix=PREFIX         install architecture-independent files in PREFIX
1458                          [$ac_default_prefix]
1459  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1460                          [PREFIX]
1461
1462By default, \`make install' will install all the files in
1463\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1464an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1465for instance \`--prefix=\$HOME'.
1466
1467For better control, use the options below.
1468
1469Fine tuning of the installation directories:
1470  --bindir=DIR            user executables [EPREFIX/bin]
1471  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1472  --libexecdir=DIR        program executables [EPREFIX/libexec]
1473  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1474  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1475  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1476  --libdir=DIR            object code libraries [EPREFIX/lib]
1477  --includedir=DIR        C header files [PREFIX/include]
1478  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1479  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1480  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1481  --infodir=DIR           info documentation [DATAROOTDIR/info]
1482  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1483  --mandir=DIR            man documentation [DATAROOTDIR/man]
1484  --docdir=DIR            documentation root [DATAROOTDIR/doc/libstdc++]
1485  --htmldir=DIR           html documentation [DOCDIR]
1486  --dvidir=DIR            dvi documentation [DOCDIR]
1487  --pdfdir=DIR            pdf documentation [DOCDIR]
1488  --psdir=DIR             ps documentation [DOCDIR]
1489_ACEOF
1490
1491  cat <<\_ACEOF
1492
1493Program names:
1494  --program-prefix=PREFIX            prepend PREFIX to installed program names
1495  --program-suffix=SUFFIX            append SUFFIX to installed program names
1496  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1497
1498System types:
1499  --build=BUILD     configure for building on BUILD [guessed]
1500  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1501  --target=TARGET   configure for building compilers for TARGET [HOST]
1502_ACEOF
1503fi
1504
1505if test -n "$ac_init_help"; then
1506  case $ac_init_help in
1507     short | recursive ) echo "Configuration of package-unused version-unused:";;
1508   esac
1509  cat <<\_ACEOF
1510
1511Optional Features:
1512  --disable-option-checking  ignore unrecognized --enable/--with options
1513  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1514  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1515  --enable-multilib       build many library versions (default)
1516  --enable-maintainer-mode  enable make rules and dependencies not useful
1517			  (and sometimes confusing) to the casual installer
1518  --enable-shared[=PKGS]  build shared libraries [default=yes]
1519  --enable-static[=PKGS]  build static libraries [default=yes]
1520  --enable-fast-install[=PKGS]
1521                          optimize for fast installation [default=yes]
1522  --disable-libtool-lock  avoid locking (might break parallel builds)
1523  --disable-hosted-libstdcxx
1524                          only build freestanding C++ runtime support
1525  --disable-libstdcxx-verbose
1526                          disable termination messages to standard error
1527  --enable-sjlj-exceptions
1528                          force use of builtin_setjmp for exceptions
1529                          [default=auto]
1530  --enable-libstdcxx-pch  build pre-compiled libstdc++ headers
1531                          [default=$is_hosted]
1532  --enable-cstdio[=PACKAGE]
1533                          use target-specific I/O package [default=stdio]
1534  --enable-clocale[=MODEL]
1535                          use MODEL for target locale package [default=auto]
1536  --enable-nls            use Native Language Support (default)
1537  --enable-libstdcxx-allocator[=KIND]
1538                          use KIND for target std::allocator base
1539                          [default=auto]
1540  --enable-cheaders[=KIND]
1541                          construct "C" headers for g++ [default=$c_model]
1542  --enable-long-long      enable template specializations for 'long long'
1543                          [default=yes]
1544  --enable-wchar_t        enable template specializations for 'wchar_t'
1545                          [default=yes]
1546  --enable-c99            turns on ISO/IEC 9899:1999 support [default=yes]
1547  --enable-concept-checks use Boost-derived template checks [default=no]
1548  --enable-libstdcxx-debug-flags=FLAGS
1549                          pass compiler FLAGS when building debug library
1550                          [default="-gdwarf-4 -g3 -O0"]
1551  --enable-libstdcxx-debug
1552                          build extra debug library [default=no]
1553  --enable-cxx-flags=FLAGS
1554                          pass compiler FLAGS when building library [default=]
1555  --enable-fully-dynamic-string
1556                          do not put empty strings in per-process static
1557                          memory [default=no]
1558  --enable-extern-template
1559                          enable extern template [default=yes]
1560  --enable-werror         turns on -Werror [default=yes]
1561  --enable-libstdcxx-time[=KIND]
1562                          use KIND for check type [default=no]
1563  --enable-tls            Use thread-local storage [default=yes]
1564  --disable-rpath         do not hardcode runtime library paths
1565  --enable-linux-futex    use the Linux futex system call [default=default]
1566  --enable-symvers[=STYLE]
1567                          enables symbol versioning of the shared library
1568                          [default=yes]
1569  --enable-libstdcxx-visibility
1570                          enables visibility safe usage [default=yes]
1571  --enable-libstdcxx-threads
1572                          enable C++11 threads support [default=auto]
1573  --enable-version-specific-runtime-libs
1574                          Specify that runtime libraries should be installed
1575                          in a compiler-specific directory
1576
1577Optional Packages:
1578  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1579  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1580  --with-target-subdir=SUBDIR
1581                          configuring in a subdirectory
1582  --with-cross-host=HOST  configuring with a cross compiler
1583  --with-newlib           assume newlib as a system C library
1584  --with-pic              try to use only PIC/non-PIC objects [default=use
1585                          both]
1586  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1587  --with-python-dir       the location to install Python modules. This path is
1588                          relative starting from the prefix.
1589  --with-gnu-ld           assume the C compiler uses GNU ld default=no
1590  --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1591  --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1592  --with-system-libunwind use installed libunwind
1593  --with-gxx-include-dir=DIR
1594                          installation directory for include files
1595
1596Some influential environment variables:
1597  CC          C compiler command
1598  CFLAGS      C compiler flags
1599  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1600              nonstandard directory <lib dir>
1601  LIBS        libraries to pass to the linker, e.g. -l<library>
1602  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1603              you have headers in a nonstandard directory <include dir>
1604  CXX         C++ compiler command
1605  CXXFLAGS    C++ compiler flags
1606  CPP         C preprocessor
1607  CXXCPP      C++ preprocessor
1608  CXXFILT     Location of GNU c++filt. Defaults to the first GNU version of
1609              `c++filt', `gc++filt' on PATH.
1610
1611Use these variables to override the choices made by `configure' or to help
1612it to find libraries and programs with nonstandard names/locations.
1613
1614Report bugs to the package provider.
1615_ACEOF
1616ac_status=$?
1617fi
1618
1619if test "$ac_init_help" = "recursive"; then
1620  # If there are subdirs, report their specific --help.
1621  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1622    test -d "$ac_dir" ||
1623      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1624      continue
1625    ac_builddir=.
1626
1627case "$ac_dir" in
1628.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1629*)
1630  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1631  # A ".." for each directory in $ac_dir_suffix.
1632  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1633  case $ac_top_builddir_sub in
1634  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1635  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1636  esac ;;
1637esac
1638ac_abs_top_builddir=$ac_pwd
1639ac_abs_builddir=$ac_pwd$ac_dir_suffix
1640# for backward compatibility:
1641ac_top_builddir=$ac_top_build_prefix
1642
1643case $srcdir in
1644  .)  # We are building in place.
1645    ac_srcdir=.
1646    ac_top_srcdir=$ac_top_builddir_sub
1647    ac_abs_top_srcdir=$ac_pwd ;;
1648  [\\/]* | ?:[\\/]* )  # Absolute name.
1649    ac_srcdir=$srcdir$ac_dir_suffix;
1650    ac_top_srcdir=$srcdir
1651    ac_abs_top_srcdir=$srcdir ;;
1652  *) # Relative name.
1653    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1654    ac_top_srcdir=$ac_top_build_prefix$srcdir
1655    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1656esac
1657ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1658
1659    cd "$ac_dir" || { ac_status=$?; continue; }
1660    # Check for guested configure.
1661    if test -f "$ac_srcdir/configure.gnu"; then
1662      echo &&
1663      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1664    elif test -f "$ac_srcdir/configure"; then
1665      echo &&
1666      $SHELL "$ac_srcdir/configure" --help=recursive
1667    else
1668      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1669    fi || ac_status=$?
1670    cd "$ac_pwd" || { ac_status=$?; break; }
1671  done
1672fi
1673
1674test -n "$ac_init_help" && exit $ac_status
1675if $ac_init_version; then
1676  cat <<\_ACEOF
1677package-unused configure version-unused
1678generated by GNU Autoconf 2.64
1679
1680Copyright (C) 2009 Free Software Foundation, Inc.
1681This configure script is free software; the Free Software Foundation
1682gives unlimited permission to copy, distribute and modify it.
1683_ACEOF
1684  exit
1685fi
1686
1687## ------------------------ ##
1688## Autoconf initialization. ##
1689## ------------------------ ##
1690
1691# ac_fn_c_try_compile LINENO
1692# --------------------------
1693# Try to compile conftest.$ac_ext, and return whether this succeeded.
1694ac_fn_c_try_compile ()
1695{
1696  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1697  rm -f conftest.$ac_objext
1698  if { { ac_try="$ac_compile"
1699case "(($ac_try" in
1700  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1701  *) ac_try_echo=$ac_try;;
1702esac
1703eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1704$as_echo "$ac_try_echo"; } >&5
1705  (eval "$ac_compile") 2>conftest.err
1706  ac_status=$?
1707  if test -s conftest.err; then
1708    grep -v '^ *+' conftest.err >conftest.er1
1709    cat conftest.er1 >&5
1710    mv -f conftest.er1 conftest.err
1711  fi
1712  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1713  test $ac_status = 0; } && {
1714	 test -z "$ac_c_werror_flag" ||
1715	 test ! -s conftest.err
1716       } && test -s conftest.$ac_objext; then :
1717  ac_retval=0
1718else
1719  $as_echo "$as_me: failed program was:" >&5
1720sed 's/^/| /' conftest.$ac_ext >&5
1721
1722	ac_retval=1
1723fi
1724  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1725  return $ac_retval
1726
1727} # ac_fn_c_try_compile
1728
1729# ac_fn_cxx_try_compile LINENO
1730# ----------------------------
1731# Try to compile conftest.$ac_ext, and return whether this succeeded.
1732ac_fn_cxx_try_compile ()
1733{
1734  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1735  rm -f conftest.$ac_objext
1736  if { { ac_try="$ac_compile"
1737case "(($ac_try" in
1738  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1739  *) ac_try_echo=$ac_try;;
1740esac
1741eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1742$as_echo "$ac_try_echo"; } >&5
1743  (eval "$ac_compile") 2>conftest.err
1744  ac_status=$?
1745  if test -s conftest.err; then
1746    grep -v '^ *+' conftest.err >conftest.er1
1747    cat conftest.er1 >&5
1748    mv -f conftest.er1 conftest.err
1749  fi
1750  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1751  test $ac_status = 0; } && {
1752	 test -z "$ac_cxx_werror_flag" ||
1753	 test ! -s conftest.err
1754       } && test -s conftest.$ac_objext; then :
1755  ac_retval=0
1756else
1757  $as_echo "$as_me: failed program was:" >&5
1758sed 's/^/| /' conftest.$ac_ext >&5
1759
1760	ac_retval=1
1761fi
1762  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1763  return $ac_retval
1764
1765} # ac_fn_cxx_try_compile
1766
1767# ac_fn_c_try_cpp LINENO
1768# ----------------------
1769# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1770ac_fn_c_try_cpp ()
1771{
1772  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1773  if { { ac_try="$ac_cpp conftest.$ac_ext"
1774case "(($ac_try" in
1775  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1776  *) ac_try_echo=$ac_try;;
1777esac
1778eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1779$as_echo "$ac_try_echo"; } >&5
1780  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1781  ac_status=$?
1782  if test -s conftest.err; then
1783    grep -v '^ *+' conftest.err >conftest.er1
1784    cat conftest.er1 >&5
1785    mv -f conftest.er1 conftest.err
1786  fi
1787  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1788  test $ac_status = 0; } >/dev/null && {
1789	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1790	 test ! -s conftest.err
1791       }; then :
1792  ac_retval=0
1793else
1794  $as_echo "$as_me: failed program was:" >&5
1795sed 's/^/| /' conftest.$ac_ext >&5
1796
1797    ac_retval=1
1798fi
1799  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1800  return $ac_retval
1801
1802} # ac_fn_c_try_cpp
1803
1804# ac_fn_c_try_link LINENO
1805# -----------------------
1806# Try to link conftest.$ac_ext, and return whether this succeeded.
1807ac_fn_c_try_link ()
1808{
1809  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1810  rm -f conftest.$ac_objext conftest$ac_exeext
1811  if { { ac_try="$ac_link"
1812case "(($ac_try" in
1813  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1814  *) ac_try_echo=$ac_try;;
1815esac
1816eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1817$as_echo "$ac_try_echo"; } >&5
1818  (eval "$ac_link") 2>conftest.err
1819  ac_status=$?
1820  if test -s conftest.err; then
1821    grep -v '^ *+' conftest.err >conftest.er1
1822    cat conftest.er1 >&5
1823    mv -f conftest.er1 conftest.err
1824  fi
1825  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1826  test $ac_status = 0; } && {
1827	 test -z "$ac_c_werror_flag" ||
1828	 test ! -s conftest.err
1829       } && test -s conftest$ac_exeext && {
1830	 test "$cross_compiling" = yes ||
1831	 $as_test_x conftest$ac_exeext
1832       }; then :
1833  ac_retval=0
1834else
1835  $as_echo "$as_me: failed program was:" >&5
1836sed 's/^/| /' conftest.$ac_ext >&5
1837
1838	ac_retval=1
1839fi
1840  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1841  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1842  # interfere with the next link command; also delete a directory that is
1843  # left behind by Apple's compiler.  We do this before executing the actions.
1844  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1845  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1846  return $ac_retval
1847
1848} # ac_fn_c_try_link
1849
1850# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1851# -------------------------------------------------------
1852# Tests whether HEADER exists and can be compiled using the include files in
1853# INCLUDES, setting the cache variable VAR accordingly.
1854ac_fn_c_check_header_compile ()
1855{
1856  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1857  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1858$as_echo_n "checking for $2... " >&6; }
1859if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1860  $as_echo_n "(cached) " >&6
1861else
1862  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1863/* end confdefs.h.  */
1864$4
1865#include <$2>
1866_ACEOF
1867if ac_fn_c_try_compile "$LINENO"; then :
1868  eval "$3=yes"
1869else
1870  eval "$3=no"
1871fi
1872rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1873fi
1874eval ac_res=\$$3
1875	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1876$as_echo "$ac_res" >&6; }
1877  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1878
1879} # ac_fn_c_check_header_compile
1880
1881# ac_fn_c_try_run LINENO
1882# ----------------------
1883# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1884# that executables *can* be run.
1885ac_fn_c_try_run ()
1886{
1887  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1888  if { { ac_try="$ac_link"
1889case "(($ac_try" in
1890  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1891  *) ac_try_echo=$ac_try;;
1892esac
1893eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1894$as_echo "$ac_try_echo"; } >&5
1895  (eval "$ac_link") 2>&5
1896  ac_status=$?
1897  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1898  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1899  { { case "(($ac_try" in
1900  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1901  *) ac_try_echo=$ac_try;;
1902esac
1903eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1904$as_echo "$ac_try_echo"; } >&5
1905  (eval "$ac_try") 2>&5
1906  ac_status=$?
1907  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1908  test $ac_status = 0; }; }; then :
1909  ac_retval=0
1910else
1911  $as_echo "$as_me: program exited with status $ac_status" >&5
1912       $as_echo "$as_me: failed program was:" >&5
1913sed 's/^/| /' conftest.$ac_ext >&5
1914
1915       ac_retval=$ac_status
1916fi
1917  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1918  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1919  return $ac_retval
1920
1921} # ac_fn_c_try_run
1922
1923# ac_fn_c_check_func LINENO FUNC VAR
1924# ----------------------------------
1925# Tests whether FUNC exists, setting the cache variable VAR accordingly
1926ac_fn_c_check_func ()
1927{
1928  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1929  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1930$as_echo_n "checking for $2... " >&6; }
1931if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1932  $as_echo_n "(cached) " >&6
1933else
1934  if test x$gcc_no_link = xyes; then
1935  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1936fi
1937cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1938/* end confdefs.h.  */
1939/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1940   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1941#define $2 innocuous_$2
1942
1943/* System header to define __stub macros and hopefully few prototypes,
1944    which can conflict with char $2 (); below.
1945    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1946    <limits.h> exists even on freestanding compilers.  */
1947
1948#ifdef __STDC__
1949# include <limits.h>
1950#else
1951# include <assert.h>
1952#endif
1953
1954#undef $2
1955
1956/* Override any GCC internal prototype to avoid an error.
1957   Use char because int might match the return type of a GCC
1958   builtin and then its argument prototype would still apply.  */
1959#ifdef __cplusplus
1960extern "C"
1961#endif
1962char $2 ();
1963/* The GNU C library defines this for functions which it implements
1964    to always fail with ENOSYS.  Some functions are actually named
1965    something starting with __ and the normal name is an alias.  */
1966#if defined __stub_$2 || defined __stub___$2
1967choke me
1968#endif
1969
1970int
1971main ()
1972{
1973return $2 ();
1974  ;
1975  return 0;
1976}
1977_ACEOF
1978if ac_fn_c_try_link "$LINENO"; then :
1979  eval "$3=yes"
1980else
1981  eval "$3=no"
1982fi
1983rm -f core conftest.err conftest.$ac_objext \
1984    conftest$ac_exeext conftest.$ac_ext
1985fi
1986eval ac_res=\$$3
1987	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1988$as_echo "$ac_res" >&6; }
1989  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1990
1991} # ac_fn_c_check_func
1992
1993# ac_fn_cxx_try_cpp LINENO
1994# ------------------------
1995# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1996ac_fn_cxx_try_cpp ()
1997{
1998  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1999  if { { ac_try="$ac_cpp conftest.$ac_ext"
2000case "(($ac_try" in
2001  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2002  *) ac_try_echo=$ac_try;;
2003esac
2004eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2005$as_echo "$ac_try_echo"; } >&5
2006  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2007  ac_status=$?
2008  if test -s conftest.err; then
2009    grep -v '^ *+' conftest.err >conftest.er1
2010    cat conftest.er1 >&5
2011    mv -f conftest.er1 conftest.err
2012  fi
2013  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2014  test $ac_status = 0; } >/dev/null && {
2015	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2016	 test ! -s conftest.err
2017       }; then :
2018  ac_retval=0
2019else
2020  $as_echo "$as_me: failed program was:" >&5
2021sed 's/^/| /' conftest.$ac_ext >&5
2022
2023    ac_retval=1
2024fi
2025  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2026  return $ac_retval
2027
2028} # ac_fn_cxx_try_cpp
2029
2030# ac_fn_cxx_try_link LINENO
2031# -------------------------
2032# Try to link conftest.$ac_ext, and return whether this succeeded.
2033ac_fn_cxx_try_link ()
2034{
2035  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2036  rm -f conftest.$ac_objext conftest$ac_exeext
2037  if { { ac_try="$ac_link"
2038case "(($ac_try" in
2039  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2040  *) ac_try_echo=$ac_try;;
2041esac
2042eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2043$as_echo "$ac_try_echo"; } >&5
2044  (eval "$ac_link") 2>conftest.err
2045  ac_status=$?
2046  if test -s conftest.err; then
2047    grep -v '^ *+' conftest.err >conftest.er1
2048    cat conftest.er1 >&5
2049    mv -f conftest.er1 conftest.err
2050  fi
2051  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2052  test $ac_status = 0; } && {
2053	 test -z "$ac_cxx_werror_flag" ||
2054	 test ! -s conftest.err
2055       } && test -s conftest$ac_exeext && {
2056	 test "$cross_compiling" = yes ||
2057	 $as_test_x conftest$ac_exeext
2058       }; then :
2059  ac_retval=0
2060else
2061  $as_echo "$as_me: failed program was:" >&5
2062sed 's/^/| /' conftest.$ac_ext >&5
2063
2064	ac_retval=1
2065fi
2066  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2067  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2068  # interfere with the next link command; also delete a directory that is
2069  # left behind by Apple's compiler.  We do this before executing the actions.
2070  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2071  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2072  return $ac_retval
2073
2074} # ac_fn_cxx_try_link
2075
2076# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2077# -------------------------------------------------------
2078# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2079# the include files in INCLUDES and setting the cache variable VAR
2080# accordingly.
2081ac_fn_c_check_header_mongrel ()
2082{
2083  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2084  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2085  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2086$as_echo_n "checking for $2... " >&6; }
2087if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2088  $as_echo_n "(cached) " >&6
2089fi
2090eval ac_res=\$$3
2091	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2092$as_echo "$ac_res" >&6; }
2093else
2094  # Is the header compilable?
2095{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2096$as_echo_n "checking $2 usability... " >&6; }
2097cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2098/* end confdefs.h.  */
2099$4
2100#include <$2>
2101_ACEOF
2102if ac_fn_c_try_compile "$LINENO"; then :
2103  ac_header_compiler=yes
2104else
2105  ac_header_compiler=no
2106fi
2107rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2108{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2109$as_echo "$ac_header_compiler" >&6; }
2110
2111# Is the header present?
2112{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2113$as_echo_n "checking $2 presence... " >&6; }
2114cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2115/* end confdefs.h.  */
2116#include <$2>
2117_ACEOF
2118if ac_fn_c_try_cpp "$LINENO"; then :
2119  ac_header_preproc=yes
2120else
2121  ac_header_preproc=no
2122fi
2123rm -f conftest.err conftest.$ac_ext
2124{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2125$as_echo "$ac_header_preproc" >&6; }
2126
2127# So?  What about this header?
2128case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2129  yes:no: )
2130    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2131$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2132    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2133$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2134    ;;
2135  no:yes:* )
2136    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2137$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2138    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2139$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2140    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2141$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2142    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2143$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2144    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2145$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2146    ;;
2147esac
2148  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2149$as_echo_n "checking for $2... " >&6; }
2150if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2151  $as_echo_n "(cached) " >&6
2152else
2153  eval "$3=\$ac_header_compiler"
2154fi
2155eval ac_res=\$$3
2156	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2157$as_echo "$ac_res" >&6; }
2158fi
2159  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2160
2161} # ac_fn_c_check_header_mongrel
2162
2163# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2164# ---------------------------------------------------------
2165# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2166# the include files in INCLUDES and setting the cache variable VAR
2167# accordingly.
2168ac_fn_cxx_check_header_mongrel ()
2169{
2170  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2171  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2172  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2173$as_echo_n "checking for $2... " >&6; }
2174if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2175  $as_echo_n "(cached) " >&6
2176fi
2177eval ac_res=\$$3
2178	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2179$as_echo "$ac_res" >&6; }
2180else
2181  # Is the header compilable?
2182{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2183$as_echo_n "checking $2 usability... " >&6; }
2184cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2185/* end confdefs.h.  */
2186$4
2187#include <$2>
2188_ACEOF
2189if ac_fn_cxx_try_compile "$LINENO"; then :
2190  ac_header_compiler=yes
2191else
2192  ac_header_compiler=no
2193fi
2194rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2195{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2196$as_echo "$ac_header_compiler" >&6; }
2197
2198# Is the header present?
2199{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2200$as_echo_n "checking $2 presence... " >&6; }
2201cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2202/* end confdefs.h.  */
2203#include <$2>
2204_ACEOF
2205if ac_fn_cxx_try_cpp "$LINENO"; then :
2206  ac_header_preproc=yes
2207else
2208  ac_header_preproc=no
2209fi
2210rm -f conftest.err conftest.$ac_ext
2211{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2212$as_echo "$ac_header_preproc" >&6; }
2213
2214# So?  What about this header?
2215case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2216  yes:no: )
2217    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2218$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2219    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2220$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2221    ;;
2222  no:yes:* )
2223    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2224$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2225    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2226$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2227    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2228$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2229    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2230$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2231    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2232$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2233    ;;
2234esac
2235  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2236$as_echo_n "checking for $2... " >&6; }
2237if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2238  $as_echo_n "(cached) " >&6
2239else
2240  eval "$3=\$ac_header_compiler"
2241fi
2242eval ac_res=\$$3
2243	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2244$as_echo "$ac_res" >&6; }
2245fi
2246  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2247
2248} # ac_fn_cxx_check_header_mongrel
2249
2250# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2251# --------------------------------------------
2252# Tries to find the compile-time value of EXPR in a program that includes
2253# INCLUDES, setting VAR accordingly. Returns whether the value could be
2254# computed
2255ac_fn_c_compute_int ()
2256{
2257  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2258  if test "$cross_compiling" = yes; then
2259    # Depending upon the size, compute the lo and hi bounds.
2260cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2261/* end confdefs.h.  */
2262$4
2263int
2264main ()
2265{
2266static int test_array [1 - 2 * !(($2) >= 0)];
2267test_array [0] = 0
2268
2269  ;
2270  return 0;
2271}
2272_ACEOF
2273if ac_fn_c_try_compile "$LINENO"; then :
2274  ac_lo=0 ac_mid=0
2275  while :; do
2276    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2277/* end confdefs.h.  */
2278$4
2279int
2280main ()
2281{
2282static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2283test_array [0] = 0
2284
2285  ;
2286  return 0;
2287}
2288_ACEOF
2289if ac_fn_c_try_compile "$LINENO"; then :
2290  ac_hi=$ac_mid; break
2291else
2292  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2293			if test $ac_lo -le $ac_mid; then
2294			  ac_lo= ac_hi=
2295			  break
2296			fi
2297			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2298fi
2299rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2300  done
2301else
2302  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2303/* end confdefs.h.  */
2304$4
2305int
2306main ()
2307{
2308static int test_array [1 - 2 * !(($2) < 0)];
2309test_array [0] = 0
2310
2311  ;
2312  return 0;
2313}
2314_ACEOF
2315if ac_fn_c_try_compile "$LINENO"; then :
2316  ac_hi=-1 ac_mid=-1
2317  while :; do
2318    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2319/* end confdefs.h.  */
2320$4
2321int
2322main ()
2323{
2324static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2325test_array [0] = 0
2326
2327  ;
2328  return 0;
2329}
2330_ACEOF
2331if ac_fn_c_try_compile "$LINENO"; then :
2332  ac_lo=$ac_mid; break
2333else
2334  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2335			if test $ac_mid -le $ac_hi; then
2336			  ac_lo= ac_hi=
2337			  break
2338			fi
2339			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2340fi
2341rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2342  done
2343else
2344  ac_lo= ac_hi=
2345fi
2346rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2347fi
2348rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2349# Binary search between lo and hi bounds.
2350while test "x$ac_lo" != "x$ac_hi"; do
2351  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2352  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2353/* end confdefs.h.  */
2354$4
2355int
2356main ()
2357{
2358static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2359test_array [0] = 0
2360
2361  ;
2362  return 0;
2363}
2364_ACEOF
2365if ac_fn_c_try_compile "$LINENO"; then :
2366  ac_hi=$ac_mid
2367else
2368  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2369fi
2370rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2371done
2372case $ac_lo in #((
2373?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2374'') ac_retval=1 ;;
2375esac
2376  else
2377    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2378/* end confdefs.h.  */
2379$4
2380static long int longval () { return $2; }
2381static unsigned long int ulongval () { return $2; }
2382#include <stdio.h>
2383#include <stdlib.h>
2384int
2385main ()
2386{
2387
2388  FILE *f = fopen ("conftest.val", "w");
2389  if (! f)
2390    return 1;
2391  if (($2) < 0)
2392    {
2393      long int i = longval ();
2394      if (i != ($2))
2395	return 1;
2396      fprintf (f, "%ld", i);
2397    }
2398  else
2399    {
2400      unsigned long int i = ulongval ();
2401      if (i != ($2))
2402	return 1;
2403      fprintf (f, "%lu", i);
2404    }
2405  /* Do not output a trailing newline, as this causes \r\n confusion
2406     on some platforms.  */
2407  return ferror (f) || fclose (f) != 0;
2408
2409  ;
2410  return 0;
2411}
2412_ACEOF
2413if ac_fn_c_try_run "$LINENO"; then :
2414  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2415else
2416  ac_retval=1
2417fi
2418rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2419  conftest.$ac_objext conftest.beam conftest.$ac_ext
2420rm -f conftest.val
2421
2422  fi
2423  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2424  return $ac_retval
2425
2426} # ac_fn_c_compute_int
2427
2428# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2429# -------------------------------------------
2430# Tests whether TYPE exists after having included INCLUDES, setting cache
2431# variable VAR accordingly.
2432ac_fn_c_check_type ()
2433{
2434  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2435  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2436$as_echo_n "checking for $2... " >&6; }
2437if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2438  $as_echo_n "(cached) " >&6
2439else
2440  eval "$3=no"
2441  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2442/* end confdefs.h.  */
2443$4
2444int
2445main ()
2446{
2447if (sizeof ($2))
2448	 return 0;
2449  ;
2450  return 0;
2451}
2452_ACEOF
2453if ac_fn_c_try_compile "$LINENO"; then :
2454  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2455/* end confdefs.h.  */
2456$4
2457int
2458main ()
2459{
2460if (sizeof (($2)))
2461	    return 0;
2462  ;
2463  return 0;
2464}
2465_ACEOF
2466if ac_fn_c_try_compile "$LINENO"; then :
2467
2468else
2469  eval "$3=yes"
2470fi
2471rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2472fi
2473rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2474fi
2475eval ac_res=\$$3
2476	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2477$as_echo "$ac_res" >&6; }
2478  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2479
2480} # ac_fn_c_check_type
2481cat >config.log <<_ACEOF
2482This file contains any messages produced by compilers while
2483running configure, to aid debugging if configure makes a mistake.
2484
2485It was created by package-unused $as_me version-unused, which was
2486generated by GNU Autoconf 2.64.  Invocation command line was
2487
2488  $ $0 $@
2489
2490_ACEOF
2491exec 5>>config.log
2492{
2493cat <<_ASUNAME
2494## --------- ##
2495## Platform. ##
2496## --------- ##
2497
2498hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2499uname -m = `(uname -m) 2>/dev/null || echo unknown`
2500uname -r = `(uname -r) 2>/dev/null || echo unknown`
2501uname -s = `(uname -s) 2>/dev/null || echo unknown`
2502uname -v = `(uname -v) 2>/dev/null || echo unknown`
2503
2504/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2505/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2506
2507/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2508/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2509/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2510/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2511/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2512/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2513/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2514
2515_ASUNAME
2516
2517as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2518for as_dir in $PATH
2519do
2520  IFS=$as_save_IFS
2521  test -z "$as_dir" && as_dir=.
2522    $as_echo "PATH: $as_dir"
2523  done
2524IFS=$as_save_IFS
2525
2526} >&5
2527
2528cat >&5 <<_ACEOF
2529
2530
2531## ----------- ##
2532## Core tests. ##
2533## ----------- ##
2534
2535_ACEOF
2536
2537
2538# Keep a trace of the command line.
2539# Strip out --no-create and --no-recursion so they do not pile up.
2540# Strip out --silent because we don't want to record it for future runs.
2541# Also quote any args containing shell meta-characters.
2542# Make two passes to allow for proper duplicate-argument suppression.
2543ac_configure_args=
2544ac_configure_args0=
2545ac_configure_args1=
2546ac_must_keep_next=false
2547for ac_pass in 1 2
2548do
2549  for ac_arg
2550  do
2551    case $ac_arg in
2552    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2553    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2554    | -silent | --silent | --silen | --sile | --sil)
2555      continue ;;
2556    *\'*)
2557      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2558    esac
2559    case $ac_pass in
2560    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2561    2)
2562      as_fn_append ac_configure_args1 " '$ac_arg'"
2563      if test $ac_must_keep_next = true; then
2564	ac_must_keep_next=false # Got value, back to normal.
2565      else
2566	case $ac_arg in
2567	  *=* | --config-cache | -C | -disable-* | --disable-* \
2568	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2569	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2570	  | -with-* | --with-* | -without-* | --without-* | --x)
2571	    case "$ac_configure_args0 " in
2572	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2573	    esac
2574	    ;;
2575	  -* ) ac_must_keep_next=true ;;
2576	esac
2577      fi
2578      as_fn_append ac_configure_args " '$ac_arg'"
2579      ;;
2580    esac
2581  done
2582done
2583{ ac_configure_args0=; unset ac_configure_args0;}
2584{ ac_configure_args1=; unset ac_configure_args1;}
2585
2586# When interrupted or exit'd, cleanup temporary files, and complete
2587# config.log.  We remove comments because anyway the quotes in there
2588# would cause problems or look ugly.
2589# WARNING: Use '\'' to represent an apostrophe within the trap.
2590# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2591trap 'exit_status=$?
2592  # Save into config.log some information that might help in debugging.
2593  {
2594    echo
2595
2596    cat <<\_ASBOX
2597## ---------------- ##
2598## Cache variables. ##
2599## ---------------- ##
2600_ASBOX
2601    echo
2602    # The following way of writing the cache mishandles newlines in values,
2603(
2604  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2605    eval ac_val=\$$ac_var
2606    case $ac_val in #(
2607    *${as_nl}*)
2608      case $ac_var in #(
2609      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2610$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2611      esac
2612      case $ac_var in #(
2613      _ | IFS | as_nl) ;; #(
2614      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2615      *) { eval $ac_var=; unset $ac_var;} ;;
2616      esac ;;
2617    esac
2618  done
2619  (set) 2>&1 |
2620    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2621    *${as_nl}ac_space=\ *)
2622      sed -n \
2623	"s/'\''/'\''\\\\'\'''\''/g;
2624	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2625      ;; #(
2626    *)
2627      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2628      ;;
2629    esac |
2630    sort
2631)
2632    echo
2633
2634    cat <<\_ASBOX
2635## ----------------- ##
2636## Output variables. ##
2637## ----------------- ##
2638_ASBOX
2639    echo
2640    for ac_var in $ac_subst_vars
2641    do
2642      eval ac_val=\$$ac_var
2643      case $ac_val in
2644      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2645      esac
2646      $as_echo "$ac_var='\''$ac_val'\''"
2647    done | sort
2648    echo
2649
2650    if test -n "$ac_subst_files"; then
2651      cat <<\_ASBOX
2652## ------------------- ##
2653## File substitutions. ##
2654## ------------------- ##
2655_ASBOX
2656      echo
2657      for ac_var in $ac_subst_files
2658      do
2659	eval ac_val=\$$ac_var
2660	case $ac_val in
2661	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2662	esac
2663	$as_echo "$ac_var='\''$ac_val'\''"
2664      done | sort
2665      echo
2666    fi
2667
2668    if test -s confdefs.h; then
2669      cat <<\_ASBOX
2670## ----------- ##
2671## confdefs.h. ##
2672## ----------- ##
2673_ASBOX
2674      echo
2675      cat confdefs.h
2676      echo
2677    fi
2678    test "$ac_signal" != 0 &&
2679      $as_echo "$as_me: caught signal $ac_signal"
2680    $as_echo "$as_me: exit $exit_status"
2681  } >&5
2682  rm -f core *.core core.conftest.* &&
2683    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2684    exit $exit_status
2685' 0
2686for ac_signal in 1 2 13 15; do
2687  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2688done
2689ac_signal=0
2690
2691# confdefs.h avoids OS command line length limits that DEFS can exceed.
2692rm -f -r conftest* confdefs.h
2693
2694$as_echo "/* confdefs.h */" > confdefs.h
2695
2696# Predefined preprocessor variables.
2697
2698cat >>confdefs.h <<_ACEOF
2699#define PACKAGE_NAME "$PACKAGE_NAME"
2700_ACEOF
2701
2702cat >>confdefs.h <<_ACEOF
2703#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2704_ACEOF
2705
2706cat >>confdefs.h <<_ACEOF
2707#define PACKAGE_VERSION "$PACKAGE_VERSION"
2708_ACEOF
2709
2710cat >>confdefs.h <<_ACEOF
2711#define PACKAGE_STRING "$PACKAGE_STRING"
2712_ACEOF
2713
2714cat >>confdefs.h <<_ACEOF
2715#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2716_ACEOF
2717
2718cat >>confdefs.h <<_ACEOF
2719#define PACKAGE_URL "$PACKAGE_URL"
2720_ACEOF
2721
2722
2723# Let the site file select an alternate cache file if it wants to.
2724# Prefer an explicitly selected file to automatically selected ones.
2725ac_site_file1=NONE
2726ac_site_file2=NONE
2727if test -n "$CONFIG_SITE"; then
2728  ac_site_file1=$CONFIG_SITE
2729elif test "x$prefix" != xNONE; then
2730  ac_site_file1=$prefix/share/config.site
2731  ac_site_file2=$prefix/etc/config.site
2732else
2733  ac_site_file1=$ac_default_prefix/share/config.site
2734  ac_site_file2=$ac_default_prefix/etc/config.site
2735fi
2736for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2737do
2738  test "x$ac_site_file" = xNONE && continue
2739  if test -r "$ac_site_file"; then
2740    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2741$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2742    sed 's/^/| /' "$ac_site_file" >&5
2743    . "$ac_site_file"
2744  fi
2745done
2746
2747if test -r "$cache_file"; then
2748  # Some versions of bash will fail to source /dev/null (special
2749  # files actually), so we avoid doing that.
2750  if test -f "$cache_file"; then
2751    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2752$as_echo "$as_me: loading cache $cache_file" >&6;}
2753    case $cache_file in
2754      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2755      *)                      . "./$cache_file";;
2756    esac
2757  fi
2758else
2759  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2760$as_echo "$as_me: creating cache $cache_file" >&6;}
2761  >$cache_file
2762fi
2763
2764# Check that the precious variables saved in the cache have kept the same
2765# value.
2766ac_cache_corrupted=false
2767for ac_var in $ac_precious_vars; do
2768  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2769  eval ac_new_set=\$ac_env_${ac_var}_set
2770  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2771  eval ac_new_val=\$ac_env_${ac_var}_value
2772  case $ac_old_set,$ac_new_set in
2773    set,)
2774      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2775$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2776      ac_cache_corrupted=: ;;
2777    ,set)
2778      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2779$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2780      ac_cache_corrupted=: ;;
2781    ,);;
2782    *)
2783      if test "x$ac_old_val" != "x$ac_new_val"; then
2784	# differences in whitespace do not lead to failure.
2785	ac_old_val_w=`echo x $ac_old_val`
2786	ac_new_val_w=`echo x $ac_new_val`
2787	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2788	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2789$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2790	  ac_cache_corrupted=:
2791	else
2792	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2793$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2794	  eval $ac_var=\$ac_old_val
2795	fi
2796	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2797$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2798	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2799$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2800      fi;;
2801  esac
2802  # Pass precious variables to config.status.
2803  if test "$ac_new_set" = set; then
2804    case $ac_new_val in
2805    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2806    *) ac_arg=$ac_var=$ac_new_val ;;
2807    esac
2808    case " $ac_configure_args " in
2809      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2810      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2811    esac
2812  fi
2813done
2814if $ac_cache_corrupted; then
2815  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2816$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2817  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2818$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2819  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2820fi
2821## -------------------- ##
2822## Main body of script. ##
2823## -------------------- ##
2824
2825ac_ext=c
2826ac_cpp='$CPP $CPPFLAGS'
2827ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2828ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2829ac_compiler_gnu=$ac_cv_c_compiler_gnu
2830
2831
2832
2833
2834
2835
2836ac_config_headers="$ac_config_headers config.h"
2837
2838
2839# This works around the fact that libtool configuration may change LD
2840# for this particular configuration, but some shells, instead of
2841# keeping the changes in LD private, export them just because LD is
2842# exported.  Only used at the end of this file.
2843### am handles this now?  ORIGINAL_LD_FOR_MULTILIBS=$LD
2844
2845# Find the rest of the source tree framework.
2846# Default to --enable-multilib
2847# Check whether --enable-multilib was given.
2848if test "${enable_multilib+set}" = set; then :
2849  enableval=$enable_multilib; case "$enableval" in
2850  yes) multilib=yes ;;
2851  no)  multilib=no ;;
2852  *)   as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2853 esac
2854else
2855  multilib=yes
2856fi
2857
2858
2859# We may get other options which we leave undocumented:
2860# --with-target-subdir, --with-multisrctop, --with-multisubdir
2861# See config-ml.in if you want the gory details.
2862
2863if test "$srcdir" = "."; then
2864  if test "$with_target_subdir" != "."; then
2865    multi_basedir="$srcdir/$with_multisrctop../.."
2866  else
2867    multi_basedir="$srcdir/$with_multisrctop.."
2868  fi
2869else
2870  multi_basedir="$srcdir/.."
2871fi
2872
2873
2874# Even if the default multilib is not a cross compilation,
2875# it may be that some of the other multilibs are.
2876if test $cross_compiling = no && test $multilib = yes \
2877   && test "x${with_multisubdir}" != x ; then
2878   cross_compiling=maybe
2879fi
2880
2881ac_config_commands="$ac_config_commands default-1"
2882
2883
2884# Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2885#
2886# You will slowly go insane if you do not grok the following fact:  when
2887# building v3 as part of the compiler, the top-level /target/ becomes the
2888# library's /host/.  configure then causes --target to default to --host,
2889# exactly like any other package using autoconf.  Therefore, 'target' and
2890# 'host' will always be the same.  This makes sense both for native and
2891# cross compilers, just think about it for a little while.  :-)
2892#
2893# Also, if v3 is being configured as part of a cross compiler, the top-level
2894# configure script will pass the "real" host as $with_cross_host.
2895#
2896# Do not delete or change the following two lines.  For why, see
2897# http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2898ac_aux_dir=
2899for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2900  for ac_t in install-sh install.sh shtool; do
2901    if test -f "$ac_dir/$ac_t"; then
2902      ac_aux_dir=$ac_dir
2903      ac_install_sh="$ac_aux_dir/$ac_t -c"
2904      break 2
2905    fi
2906  done
2907done
2908if test -z "$ac_aux_dir"; then
2909  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2910fi
2911
2912# These three variables are undocumented and unsupported,
2913# and are intended to be withdrawn in a future Autoconf release.
2914# They can cause serious problems if a builder's source tree is in a directory
2915# whose full name contains unusual characters.
2916ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2917ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2918ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2919
2920
2921# Make sure we can run config.sub.
2922$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2923  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2924
2925{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2926$as_echo_n "checking build system type... " >&6; }
2927if test "${ac_cv_build+set}" = set; then :
2928  $as_echo_n "(cached) " >&6
2929else
2930  ac_build_alias=$build_alias
2931test "x$ac_build_alias" = x &&
2932  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2933test "x$ac_build_alias" = x &&
2934  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2935ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2936  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2937
2938fi
2939{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2940$as_echo "$ac_cv_build" >&6; }
2941case $ac_cv_build in
2942*-*-*) ;;
2943*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2944esac
2945build=$ac_cv_build
2946ac_save_IFS=$IFS; IFS='-'
2947set x $ac_cv_build
2948shift
2949build_cpu=$1
2950build_vendor=$2
2951shift; shift
2952# Remember, the first character of IFS is used to create $*,
2953# except with old shells:
2954build_os=$*
2955IFS=$ac_save_IFS
2956case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2957
2958
2959{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2960$as_echo_n "checking host system type... " >&6; }
2961if test "${ac_cv_host+set}" = set; then :
2962  $as_echo_n "(cached) " >&6
2963else
2964  if test "x$host_alias" = x; then
2965  ac_cv_host=$ac_cv_build
2966else
2967  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2968    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2969fi
2970
2971fi
2972{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2973$as_echo "$ac_cv_host" >&6; }
2974case $ac_cv_host in
2975*-*-*) ;;
2976*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2977esac
2978host=$ac_cv_host
2979ac_save_IFS=$IFS; IFS='-'
2980set x $ac_cv_host
2981shift
2982host_cpu=$1
2983host_vendor=$2
2984shift; shift
2985# Remember, the first character of IFS is used to create $*,
2986# except with old shells:
2987host_os=$*
2988IFS=$ac_save_IFS
2989case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2990
2991
2992{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2993$as_echo_n "checking target system type... " >&6; }
2994if test "${ac_cv_target+set}" = set; then :
2995  $as_echo_n "(cached) " >&6
2996else
2997  if test "x$target_alias" = x; then
2998  ac_cv_target=$ac_cv_host
2999else
3000  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3001    as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3002fi
3003
3004fi
3005{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3006$as_echo "$ac_cv_target" >&6; }
3007case $ac_cv_target in
3008*-*-*) ;;
3009*) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3010esac
3011target=$ac_cv_target
3012ac_save_IFS=$IFS; IFS='-'
3013set x $ac_cv_target
3014shift
3015target_cpu=$1
3016target_vendor=$2
3017shift; shift
3018# Remember, the first character of IFS is used to create $*,
3019# except with old shells:
3020target_os=$*
3021IFS=$ac_save_IFS
3022case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3023
3024
3025# The aliases save the names the user supplied, while $host etc.
3026# will get canonicalized.
3027test -n "$target_alias" &&
3028  test "$program_prefix$program_suffix$program_transform_name" = \
3029    NONENONEs,x,x, &&
3030  program_prefix=${target_alias}-
3031
3032target_alias=${target_alias-$host_alias}
3033
3034# Handy for debugging:
3035#AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3036
3037if test "$build" != "$host"; then
3038  # We are being configured with some form of cross compiler.
3039  GLIBCXX_IS_NATIVE=false
3040  case "$host","$target" in
3041    # Darwin crosses can use the host system's libraries and headers,
3042    # because of the fat library support.  Of course, it must be the
3043    # same version of Darwin on both sides.  Allow the user to
3044    # just say --target=foo-darwin without a version number to mean
3045    # "the version on this system".
3046      *-*-darwin*,*-*-darwin*)
3047	hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3048	targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3049	if test $hostos = $targetos -o $targetos = darwin ; then
3050	  GLIBCXX_IS_NATIVE=true
3051	fi
3052	;;
3053
3054      *)
3055
3056	;;
3057  esac
3058else
3059  GLIBCXX_IS_NATIVE=true
3060fi
3061
3062# Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
3063# following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3064#  1.x:  minimum required version
3065#  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
3066#              of other PACKAGE_* variables will, however, and there's nothing
3067#              we can do about that; they come from AC_INIT).
3068#  foreign:  we don't follow the normal rules for GNU packages (no COPYING
3069#            file in the top srcdir, etc, etc), so stop complaining.
3070#  no-dependencies:  turns off auto dependency generation (just for now)
3071#  no-dist:  we don't want 'dist' and related rules.
3072#  -Wall:  turns on all automake warnings...
3073#  -Wno-portability:  ...except this one, since GNU make is now required.
3074am__api_version='1.11'
3075
3076# Find a good install program.  We prefer a C program (faster),
3077# so one script is as good as another.  But avoid the broken or
3078# incompatible versions:
3079# SysV /etc/install, /usr/sbin/install
3080# SunOS /usr/etc/install
3081# IRIX /sbin/install
3082# AIX /bin/install
3083# AmigaOS /C/install, which installs bootblocks on floppy discs
3084# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3085# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3086# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3087# OS/2's system install, which has a completely different semantic
3088# ./install, which can be erroneously created by make from ./install.sh.
3089# Reject install programs that cannot install multiple files.
3090{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3091$as_echo_n "checking for a BSD-compatible install... " >&6; }
3092if test -z "$INSTALL"; then
3093if test "${ac_cv_path_install+set}" = set; then :
3094  $as_echo_n "(cached) " >&6
3095else
3096  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3097for as_dir in $PATH
3098do
3099  IFS=$as_save_IFS
3100  test -z "$as_dir" && as_dir=.
3101    # Account for people who put trailing slashes in PATH elements.
3102case $as_dir/ in #((
3103  ./ | .// | /[cC]/* | \
3104  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3105  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3106  /usr/ucb/* ) ;;
3107  *)
3108    # OSF1 and SCO ODT 3.0 have their own names for install.
3109    # Don't use installbsd from OSF since it installs stuff as root
3110    # by default.
3111    for ac_prog in ginstall scoinst install; do
3112      for ac_exec_ext in '' $ac_executable_extensions; do
3113	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3114	  if test $ac_prog = install &&
3115	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3116	    # AIX install.  It has an incompatible calling convention.
3117	    :
3118	  elif test $ac_prog = install &&
3119	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3120	    # program-specific install script used by HP pwplus--don't use.
3121	    :
3122	  else
3123	    rm -rf conftest.one conftest.two conftest.dir
3124	    echo one > conftest.one
3125	    echo two > conftest.two
3126	    mkdir conftest.dir
3127	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3128	      test -s conftest.one && test -s conftest.two &&
3129	      test -s conftest.dir/conftest.one &&
3130	      test -s conftest.dir/conftest.two
3131	    then
3132	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3133	      break 3
3134	    fi
3135	  fi
3136	fi
3137      done
3138    done
3139    ;;
3140esac
3141
3142  done
3143IFS=$as_save_IFS
3144
3145rm -rf conftest.one conftest.two conftest.dir
3146
3147fi
3148  if test "${ac_cv_path_install+set}" = set; then
3149    INSTALL=$ac_cv_path_install
3150  else
3151    # As a last resort, use the slow shell script.  Don't cache a
3152    # value for INSTALL within a source directory, because that will
3153    # break other packages using the cache if that directory is
3154    # removed, or if the value is a relative name.
3155    INSTALL=$ac_install_sh
3156  fi
3157fi
3158{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3159$as_echo "$INSTALL" >&6; }
3160
3161# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3162# It thinks the first close brace ends the variable substitution.
3163test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3164
3165test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3166
3167test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3168
3169{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3170$as_echo_n "checking whether build environment is sane... " >&6; }
3171# Just in case
3172sleep 1
3173echo timestamp > conftest.file
3174# Reject unsafe characters in $srcdir or the absolute working directory
3175# name.  Accept space and tab only in the latter.
3176am_lf='
3177'
3178case `pwd` in
3179  *[\\\"\#\$\&\'\`$am_lf]*)
3180    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3181esac
3182case $srcdir in
3183  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
3184    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3185esac
3186
3187# Do `set' in a subshell so we don't clobber the current shell's
3188# arguments.  Must try -L first in case configure is actually a
3189# symlink; some systems play weird games with the mod time of symlinks
3190# (eg FreeBSD returns the mod time of the symlink's containing
3191# directory).
3192if (
3193   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3194   if test "$*" = "X"; then
3195      # -L didn't work.
3196      set X `ls -t "$srcdir/configure" conftest.file`
3197   fi
3198   rm -f conftest.file
3199   if test "$*" != "X $srcdir/configure conftest.file" \
3200      && test "$*" != "X conftest.file $srcdir/configure"; then
3201
3202      # If neither matched, then we have a broken ls.  This can happen
3203      # if, for instance, CONFIG_SHELL is bash and it inherits a
3204      # broken ls alias from the environment.  This has actually
3205      # happened.  Such a system could not be considered "sane".
3206      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
3207alias in your environment" "$LINENO" 5
3208   fi
3209
3210   test "$2" = conftest.file
3211   )
3212then
3213   # Ok.
3214   :
3215else
3216   as_fn_error "newly created file is older than distributed files!
3217Check your system clock" "$LINENO" 5
3218fi
3219{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3220$as_echo "yes" >&6; }
3221test "$program_prefix" != NONE &&
3222  program_transform_name="s&^&$program_prefix&;$program_transform_name"
3223# Use a double $ so make ignores it.
3224test "$program_suffix" != NONE &&
3225  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3226# Double any \ or $.
3227# By default was `s,x,x', remove it if useless.
3228ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3229program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3230
3231# expand $ac_aux_dir to an absolute path
3232am_aux_dir=`cd $ac_aux_dir && pwd`
3233
3234if test x"${MISSING+set}" != xset; then
3235  case $am_aux_dir in
3236  *\ * | *\	*)
3237    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3238  *)
3239    MISSING="\${SHELL} $am_aux_dir/missing" ;;
3240  esac
3241fi
3242# Use eval to expand $SHELL
3243if eval "$MISSING --run true"; then
3244  am_missing_run="$MISSING --run "
3245else
3246  am_missing_run=
3247  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3248$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3249fi
3250
3251if test x"${install_sh}" != xset; then
3252  case $am_aux_dir in
3253  *\ * | *\	*)
3254    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3255  *)
3256    install_sh="\${SHELL} $am_aux_dir/install-sh"
3257  esac
3258fi
3259
3260# Installed binaries are usually stripped using `strip' when the user
3261# run `make install-strip'.  However `strip' might not be the right
3262# tool to use in cross-compilation environments, therefore Automake
3263# will honor the `STRIP' environment variable to overrule this program.
3264if test "$cross_compiling" != no; then
3265  if test -n "$ac_tool_prefix"; then
3266  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3267set dummy ${ac_tool_prefix}strip; ac_word=$2
3268{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3269$as_echo_n "checking for $ac_word... " >&6; }
3270if test "${ac_cv_prog_STRIP+set}" = set; then :
3271  $as_echo_n "(cached) " >&6
3272else
3273  if test -n "$STRIP"; then
3274  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3275else
3276as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3277for as_dir in $PATH
3278do
3279  IFS=$as_save_IFS
3280  test -z "$as_dir" && as_dir=.
3281    for ac_exec_ext in '' $ac_executable_extensions; do
3282  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3283    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3284    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3285    break 2
3286  fi
3287done
3288  done
3289IFS=$as_save_IFS
3290
3291fi
3292fi
3293STRIP=$ac_cv_prog_STRIP
3294if test -n "$STRIP"; then
3295  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3296$as_echo "$STRIP" >&6; }
3297else
3298  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3299$as_echo "no" >&6; }
3300fi
3301
3302
3303fi
3304if test -z "$ac_cv_prog_STRIP"; then
3305  ac_ct_STRIP=$STRIP
3306  # Extract the first word of "strip", so it can be a program name with args.
3307set dummy strip; ac_word=$2
3308{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3309$as_echo_n "checking for $ac_word... " >&6; }
3310if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3311  $as_echo_n "(cached) " >&6
3312else
3313  if test -n "$ac_ct_STRIP"; then
3314  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3315else
3316as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3317for as_dir in $PATH
3318do
3319  IFS=$as_save_IFS
3320  test -z "$as_dir" && as_dir=.
3321    for ac_exec_ext in '' $ac_executable_extensions; do
3322  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3323    ac_cv_prog_ac_ct_STRIP="strip"
3324    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3325    break 2
3326  fi
3327done
3328  done
3329IFS=$as_save_IFS
3330
3331fi
3332fi
3333ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3334if test -n "$ac_ct_STRIP"; then
3335  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3336$as_echo "$ac_ct_STRIP" >&6; }
3337else
3338  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3339$as_echo "no" >&6; }
3340fi
3341
3342  if test "x$ac_ct_STRIP" = x; then
3343    STRIP=":"
3344  else
3345    case $cross_compiling:$ac_tool_warned in
3346yes:)
3347{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3348$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3349ac_tool_warned=yes ;;
3350esac
3351    STRIP=$ac_ct_STRIP
3352  fi
3353else
3354  STRIP="$ac_cv_prog_STRIP"
3355fi
3356
3357fi
3358INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3359
3360{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3361$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3362if test -z "$MKDIR_P"; then
3363  if test "${ac_cv_path_mkdir+set}" = set; then :
3364  $as_echo_n "(cached) " >&6
3365else
3366  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3367for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3368do
3369  IFS=$as_save_IFS
3370  test -z "$as_dir" && as_dir=.
3371    for ac_prog in mkdir gmkdir; do
3372	 for ac_exec_ext in '' $ac_executable_extensions; do
3373	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3374	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3375	     'mkdir (GNU coreutils) '* | \
3376	     'mkdir (coreutils) '* | \
3377	     'mkdir (fileutils) '4.1*)
3378	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3379	       break 3;;
3380	   esac
3381	 done
3382       done
3383  done
3384IFS=$as_save_IFS
3385
3386fi
3387
3388  if test "${ac_cv_path_mkdir+set}" = set; then
3389    MKDIR_P="$ac_cv_path_mkdir -p"
3390  else
3391    # As a last resort, use the slow shell script.  Don't cache a
3392    # value for MKDIR_P within a source directory, because that will
3393    # break other packages using the cache if that directory is
3394    # removed, or if the value is a relative name.
3395    test -d ./--version && rmdir ./--version
3396    MKDIR_P="$ac_install_sh -d"
3397  fi
3398fi
3399{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3400$as_echo "$MKDIR_P" >&6; }
3401
3402mkdir_p="$MKDIR_P"
3403case $mkdir_p in
3404  [\\/$]* | ?:[\\/]*) ;;
3405  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3406esac
3407
3408for ac_prog in gawk mawk nawk awk
3409do
3410  # Extract the first word of "$ac_prog", so it can be a program name with args.
3411set dummy $ac_prog; ac_word=$2
3412{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3413$as_echo_n "checking for $ac_word... " >&6; }
3414if test "${ac_cv_prog_AWK+set}" = set; then :
3415  $as_echo_n "(cached) " >&6
3416else
3417  if test -n "$AWK"; then
3418  ac_cv_prog_AWK="$AWK" # Let the user override the test.
3419else
3420as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3421for as_dir in $PATH
3422do
3423  IFS=$as_save_IFS
3424  test -z "$as_dir" && as_dir=.
3425    for ac_exec_ext in '' $ac_executable_extensions; do
3426  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3427    ac_cv_prog_AWK="$ac_prog"
3428    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3429    break 2
3430  fi
3431done
3432  done
3433IFS=$as_save_IFS
3434
3435fi
3436fi
3437AWK=$ac_cv_prog_AWK
3438if test -n "$AWK"; then
3439  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3440$as_echo "$AWK" >&6; }
3441else
3442  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3443$as_echo "no" >&6; }
3444fi
3445
3446
3447  test -n "$AWK" && break
3448done
3449
3450{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3451$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3452set x ${MAKE-make}
3453ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3454if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3455  $as_echo_n "(cached) " >&6
3456else
3457  cat >conftest.make <<\_ACEOF
3458SHELL = /bin/sh
3459all:
3460	@echo '@@@%%%=$(MAKE)=@@@%%%'
3461_ACEOF
3462# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3463case `${MAKE-make} -f conftest.make 2>/dev/null` in
3464  *@@@%%%=?*=@@@%%%*)
3465    eval ac_cv_prog_make_${ac_make}_set=yes;;
3466  *)
3467    eval ac_cv_prog_make_${ac_make}_set=no;;
3468esac
3469rm -f conftest.make
3470fi
3471if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3472  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3473$as_echo "yes" >&6; }
3474  SET_MAKE=
3475else
3476  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3477$as_echo "no" >&6; }
3478  SET_MAKE="MAKE=${MAKE-make}"
3479fi
3480
3481rm -rf .tst 2>/dev/null
3482mkdir .tst 2>/dev/null
3483if test -d .tst; then
3484  am__leading_dot=.
3485else
3486  am__leading_dot=_
3487fi
3488rmdir .tst 2>/dev/null
3489
3490if test "`cd $srcdir && pwd`" != "`pwd`"; then
3491  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3492  # is not polluted with repeated "-I."
3493  am__isrc=' -I$(srcdir)'
3494  # test to see if srcdir already configured
3495  if test -f $srcdir/config.status; then
3496    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3497  fi
3498fi
3499
3500# test whether we have cygpath
3501if test -z "$CYGPATH_W"; then
3502  if (cygpath --version) >/dev/null 2>/dev/null; then
3503    CYGPATH_W='cygpath -w'
3504  else
3505    CYGPATH_W=echo
3506  fi
3507fi
3508
3509
3510# Define the identity of the package.
3511 PACKAGE='libstdc++'
3512 VERSION='version-unused'
3513
3514
3515# Some tools Automake needs.
3516
3517ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3518
3519
3520AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3521
3522
3523AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3524
3525
3526AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3527
3528
3529MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3530
3531# We need awk for the "check" target.  The system "awk" is bad on
3532# some platforms.
3533# Always define AMTAR for backward compatibility.
3534
3535AMTAR=${AMTAR-"${am_missing_run}tar"}
3536
3537am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3538
3539
3540
3541
3542
3543
3544
3545
3546# -fno-builtin must be present here so that a non-conflicting form of
3547# std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3548
3549save_CXXFLAGS="$CXXFLAGS"
3550CXXFLAGS="$CXXFLAGS -fno-builtin"
3551ac_ext=c
3552ac_cpp='$CPP $CPPFLAGS'
3553ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3554ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3555ac_compiler_gnu=$ac_cv_c_compiler_gnu
3556if test -n "$ac_tool_prefix"; then
3557  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3558set dummy ${ac_tool_prefix}gcc; ac_word=$2
3559{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3560$as_echo_n "checking for $ac_word... " >&6; }
3561if test "${ac_cv_prog_CC+set}" = set; then :
3562  $as_echo_n "(cached) " >&6
3563else
3564  if test -n "$CC"; then
3565  ac_cv_prog_CC="$CC" # Let the user override the test.
3566else
3567as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3568for as_dir in $PATH
3569do
3570  IFS=$as_save_IFS
3571  test -z "$as_dir" && as_dir=.
3572    for ac_exec_ext in '' $ac_executable_extensions; do
3573  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3574    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3575    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3576    break 2
3577  fi
3578done
3579  done
3580IFS=$as_save_IFS
3581
3582fi
3583fi
3584CC=$ac_cv_prog_CC
3585if test -n "$CC"; then
3586  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3587$as_echo "$CC" >&6; }
3588else
3589  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3590$as_echo "no" >&6; }
3591fi
3592
3593
3594fi
3595if test -z "$ac_cv_prog_CC"; then
3596  ac_ct_CC=$CC
3597  # Extract the first word of "gcc", so it can be a program name with args.
3598set dummy gcc; ac_word=$2
3599{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3600$as_echo_n "checking for $ac_word... " >&6; }
3601if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3602  $as_echo_n "(cached) " >&6
3603else
3604  if test -n "$ac_ct_CC"; then
3605  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3606else
3607as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3608for as_dir in $PATH
3609do
3610  IFS=$as_save_IFS
3611  test -z "$as_dir" && as_dir=.
3612    for ac_exec_ext in '' $ac_executable_extensions; do
3613  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3614    ac_cv_prog_ac_ct_CC="gcc"
3615    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3616    break 2
3617  fi
3618done
3619  done
3620IFS=$as_save_IFS
3621
3622fi
3623fi
3624ac_ct_CC=$ac_cv_prog_ac_ct_CC
3625if test -n "$ac_ct_CC"; then
3626  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3627$as_echo "$ac_ct_CC" >&6; }
3628else
3629  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3630$as_echo "no" >&6; }
3631fi
3632
3633  if test "x$ac_ct_CC" = x; then
3634    CC=""
3635  else
3636    case $cross_compiling:$ac_tool_warned in
3637yes:)
3638{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3639$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3640ac_tool_warned=yes ;;
3641esac
3642    CC=$ac_ct_CC
3643  fi
3644else
3645  CC="$ac_cv_prog_CC"
3646fi
3647
3648if test -z "$CC"; then
3649          if test -n "$ac_tool_prefix"; then
3650    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3651set dummy ${ac_tool_prefix}cc; ac_word=$2
3652{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3653$as_echo_n "checking for $ac_word... " >&6; }
3654if test "${ac_cv_prog_CC+set}" = set; then :
3655  $as_echo_n "(cached) " >&6
3656else
3657  if test -n "$CC"; then
3658  ac_cv_prog_CC="$CC" # Let the user override the test.
3659else
3660as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3661for as_dir in $PATH
3662do
3663  IFS=$as_save_IFS
3664  test -z "$as_dir" && as_dir=.
3665    for ac_exec_ext in '' $ac_executable_extensions; do
3666  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3667    ac_cv_prog_CC="${ac_tool_prefix}cc"
3668    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3669    break 2
3670  fi
3671done
3672  done
3673IFS=$as_save_IFS
3674
3675fi
3676fi
3677CC=$ac_cv_prog_CC
3678if test -n "$CC"; then
3679  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3680$as_echo "$CC" >&6; }
3681else
3682  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3683$as_echo "no" >&6; }
3684fi
3685
3686
3687  fi
3688fi
3689if test -z "$CC"; then
3690  # Extract the first word of "cc", so it can be a program name with args.
3691set dummy cc; ac_word=$2
3692{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3693$as_echo_n "checking for $ac_word... " >&6; }
3694if test "${ac_cv_prog_CC+set}" = set; then :
3695  $as_echo_n "(cached) " >&6
3696else
3697  if test -n "$CC"; then
3698  ac_cv_prog_CC="$CC" # Let the user override the test.
3699else
3700  ac_prog_rejected=no
3701as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3702for as_dir in $PATH
3703do
3704  IFS=$as_save_IFS
3705  test -z "$as_dir" && as_dir=.
3706    for ac_exec_ext in '' $ac_executable_extensions; do
3707  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3708    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3709       ac_prog_rejected=yes
3710       continue
3711     fi
3712    ac_cv_prog_CC="cc"
3713    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3714    break 2
3715  fi
3716done
3717  done
3718IFS=$as_save_IFS
3719
3720if test $ac_prog_rejected = yes; then
3721  # We found a bogon in the path, so make sure we never use it.
3722  set dummy $ac_cv_prog_CC
3723  shift
3724  if test $# != 0; then
3725    # We chose a different compiler from the bogus one.
3726    # However, it has the same basename, so the bogon will be chosen
3727    # first if we set CC to just the basename; use the full file name.
3728    shift
3729    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3730  fi
3731fi
3732fi
3733fi
3734CC=$ac_cv_prog_CC
3735if test -n "$CC"; then
3736  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3737$as_echo "$CC" >&6; }
3738else
3739  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3740$as_echo "no" >&6; }
3741fi
3742
3743
3744fi
3745if test -z "$CC"; then
3746  if test -n "$ac_tool_prefix"; then
3747  for ac_prog in cl.exe
3748  do
3749    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3750set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3751{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3752$as_echo_n "checking for $ac_word... " >&6; }
3753if test "${ac_cv_prog_CC+set}" = set; then :
3754  $as_echo_n "(cached) " >&6
3755else
3756  if test -n "$CC"; then
3757  ac_cv_prog_CC="$CC" # Let the user override the test.
3758else
3759as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3760for as_dir in $PATH
3761do
3762  IFS=$as_save_IFS
3763  test -z "$as_dir" && as_dir=.
3764    for ac_exec_ext in '' $ac_executable_extensions; do
3765  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3766    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3767    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3768    break 2
3769  fi
3770done
3771  done
3772IFS=$as_save_IFS
3773
3774fi
3775fi
3776CC=$ac_cv_prog_CC
3777if test -n "$CC"; then
3778  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3779$as_echo "$CC" >&6; }
3780else
3781  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3782$as_echo "no" >&6; }
3783fi
3784
3785
3786    test -n "$CC" && break
3787  done
3788fi
3789if test -z "$CC"; then
3790  ac_ct_CC=$CC
3791  for ac_prog in cl.exe
3792do
3793  # Extract the first word of "$ac_prog", so it can be a program name with args.
3794set dummy $ac_prog; ac_word=$2
3795{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3796$as_echo_n "checking for $ac_word... " >&6; }
3797if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3798  $as_echo_n "(cached) " >&6
3799else
3800  if test -n "$ac_ct_CC"; then
3801  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3802else
3803as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3804for as_dir in $PATH
3805do
3806  IFS=$as_save_IFS
3807  test -z "$as_dir" && as_dir=.
3808    for ac_exec_ext in '' $ac_executable_extensions; do
3809  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3810    ac_cv_prog_ac_ct_CC="$ac_prog"
3811    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3812    break 2
3813  fi
3814done
3815  done
3816IFS=$as_save_IFS
3817
3818fi
3819fi
3820ac_ct_CC=$ac_cv_prog_ac_ct_CC
3821if test -n "$ac_ct_CC"; then
3822  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3823$as_echo "$ac_ct_CC" >&6; }
3824else
3825  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3826$as_echo "no" >&6; }
3827fi
3828
3829
3830  test -n "$ac_ct_CC" && break
3831done
3832
3833  if test "x$ac_ct_CC" = x; then
3834    CC=""
3835  else
3836    case $cross_compiling:$ac_tool_warned in
3837yes:)
3838{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3839$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3840ac_tool_warned=yes ;;
3841esac
3842    CC=$ac_ct_CC
3843  fi
3844fi
3845
3846fi
3847
3848
3849test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3850$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3851as_fn_error "no acceptable C compiler found in \$PATH
3852See \`config.log' for more details." "$LINENO" 5; }
3853
3854# Provide some information about the compiler.
3855$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3856set X $ac_compile
3857ac_compiler=$2
3858for ac_option in --version -v -V -qversion; do
3859  { { ac_try="$ac_compiler $ac_option >&5"
3860case "(($ac_try" in
3861  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3862  *) ac_try_echo=$ac_try;;
3863esac
3864eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3865$as_echo "$ac_try_echo"; } >&5
3866  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3867  ac_status=$?
3868  if test -s conftest.err; then
3869    sed '10a\
3870... rest of stderr output deleted ...
3871         10q' conftest.err >conftest.er1
3872    cat conftest.er1 >&5
3873    rm -f conftest.er1 conftest.err
3874  fi
3875  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3876  test $ac_status = 0; }
3877done
3878
3879cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3880/* end confdefs.h.  */
3881
3882int
3883main ()
3884{
3885
3886  ;
3887  return 0;
3888}
3889_ACEOF
3890# FIXME: Cleanup?
3891if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3892  (eval $ac_link) 2>&5
3893  ac_status=$?
3894  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3895  test $ac_status = 0; }; then :
3896  gcc_no_link=no
3897else
3898  gcc_no_link=yes
3899fi
3900if test x$gcc_no_link = xyes; then
3901  # Setting cross_compile will disable run tests; it will
3902  # also disable AC_CHECK_FILE but that's generally
3903  # correct if we can't link.
3904  cross_compiling=yes
3905  EXEEXT=
3906else
3907  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3908/* end confdefs.h.  */
3909
3910int
3911main ()
3912{
3913
3914  ;
3915  return 0;
3916}
3917_ACEOF
3918ac_clean_files_save=$ac_clean_files
3919ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3920# Try to create an executable without -o first, disregard a.out.
3921# It will help us diagnose broken compilers, and finding out an intuition
3922# of exeext.
3923{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3924$as_echo_n "checking for C compiler default output file name... " >&6; }
3925ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3926
3927# The possible output files:
3928ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3929
3930ac_rmfiles=
3931for ac_file in $ac_files
3932do
3933  case $ac_file in
3934    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3935    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3936  esac
3937done
3938rm -f $ac_rmfiles
3939
3940if { { ac_try="$ac_link_default"
3941case "(($ac_try" in
3942  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3943  *) ac_try_echo=$ac_try;;
3944esac
3945eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3946$as_echo "$ac_try_echo"; } >&5
3947  (eval "$ac_link_default") 2>&5
3948  ac_status=$?
3949  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3950  test $ac_status = 0; }; then :
3951  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3952# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3953# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3954# so that the user can short-circuit this test for compilers unknown to
3955# Autoconf.
3956for ac_file in $ac_files ''
3957do
3958  test -f "$ac_file" || continue
3959  case $ac_file in
3960    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3961	;;
3962    [ab].out )
3963	# We found the default executable, but exeext='' is most
3964	# certainly right.
3965	break;;
3966    *.* )
3967	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3968	then :; else
3969	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3970	fi
3971	# We set ac_cv_exeext here because the later test for it is not
3972	# safe: cross compilers may not add the suffix if given an `-o'
3973	# argument, so we may need to know it at that point already.
3974	# Even if this section looks crufty: it has the advantage of
3975	# actually working.
3976	break;;
3977    * )
3978	break;;
3979  esac
3980done
3981test "$ac_cv_exeext" = no && ac_cv_exeext=
3982
3983else
3984  ac_file=''
3985fi
3986{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3987$as_echo "$ac_file" >&6; }
3988if test -z "$ac_file"; then :
3989  $as_echo "$as_me: failed program was:" >&5
3990sed 's/^/| /' conftest.$ac_ext >&5
3991
3992{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3993$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3994{ as_fn_set_status 77
3995as_fn_error "C compiler cannot create executables
3996See \`config.log' for more details." "$LINENO" 5; }; }
3997fi
3998ac_exeext=$ac_cv_exeext
3999
4000# Check that the compiler produces executables we can run.  If not, either
4001# the compiler is broken, or we cross compile.
4002{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4003$as_echo_n "checking whether the C compiler works... " >&6; }
4004# If not cross compiling, check that we can run a simple program.
4005if test "$cross_compiling" != yes; then
4006  if { ac_try='./$ac_file'
4007  { { case "(($ac_try" in
4008  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4009  *) ac_try_echo=$ac_try;;
4010esac
4011eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4012$as_echo "$ac_try_echo"; } >&5
4013  (eval "$ac_try") 2>&5
4014  ac_status=$?
4015  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4016  test $ac_status = 0; }; }; then
4017    cross_compiling=no
4018  else
4019    if test "$cross_compiling" = maybe; then
4020	cross_compiling=yes
4021    else
4022	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4023$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4024as_fn_error "cannot run C compiled programs.
4025If you meant to cross compile, use \`--host'.
4026See \`config.log' for more details." "$LINENO" 5; }
4027    fi
4028  fi
4029fi
4030{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4031$as_echo "yes" >&6; }
4032
4033rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4034ac_clean_files=$ac_clean_files_save
4035# Check that the compiler produces executables we can run.  If not, either
4036# the compiler is broken, or we cross compile.
4037{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4038$as_echo_n "checking whether we are cross compiling... " >&6; }
4039{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4040$as_echo "$cross_compiling" >&6; }
4041
4042{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4043$as_echo_n "checking for suffix of executables... " >&6; }
4044if { { ac_try="$ac_link"
4045case "(($ac_try" in
4046  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4047  *) ac_try_echo=$ac_try;;
4048esac
4049eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4050$as_echo "$ac_try_echo"; } >&5
4051  (eval "$ac_link") 2>&5
4052  ac_status=$?
4053  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4054  test $ac_status = 0; }; then :
4055  # If both `conftest.exe' and `conftest' are `present' (well, observable)
4056# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4057# work properly (i.e., refer to `conftest.exe'), while it won't with
4058# `rm'.
4059for ac_file in conftest.exe conftest conftest.*; do
4060  test -f "$ac_file" || continue
4061  case $ac_file in
4062    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4063    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4064	  break;;
4065    * ) break;;
4066  esac
4067done
4068else
4069  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4070$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4071as_fn_error "cannot compute suffix of executables: cannot compile and link
4072See \`config.log' for more details." "$LINENO" 5; }
4073fi
4074rm -f conftest$ac_cv_exeext
4075{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4076$as_echo "$ac_cv_exeext" >&6; }
4077
4078rm -f conftest.$ac_ext
4079EXEEXT=$ac_cv_exeext
4080ac_exeext=$EXEEXT
4081fi
4082{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4083$as_echo_n "checking for suffix of object files... " >&6; }
4084if test "${ac_cv_objext+set}" = set; then :
4085  $as_echo_n "(cached) " >&6
4086else
4087  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4088/* end confdefs.h.  */
4089
4090int
4091main ()
4092{
4093
4094  ;
4095  return 0;
4096}
4097_ACEOF
4098rm -f conftest.o conftest.obj
4099if { { ac_try="$ac_compile"
4100case "(($ac_try" in
4101  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4102  *) ac_try_echo=$ac_try;;
4103esac
4104eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4105$as_echo "$ac_try_echo"; } >&5
4106  (eval "$ac_compile") 2>&5
4107  ac_status=$?
4108  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4109  test $ac_status = 0; }; then :
4110  for ac_file in conftest.o conftest.obj conftest.*; do
4111  test -f "$ac_file" || continue;
4112  case $ac_file in
4113    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4114    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4115       break;;
4116  esac
4117done
4118else
4119  $as_echo "$as_me: failed program was:" >&5
4120sed 's/^/| /' conftest.$ac_ext >&5
4121
4122{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4123$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4124as_fn_error "cannot compute suffix of object files: cannot compile
4125See \`config.log' for more details." "$LINENO" 5; }
4126fi
4127rm -f conftest.$ac_cv_objext conftest.$ac_ext
4128fi
4129{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4130$as_echo "$ac_cv_objext" >&6; }
4131OBJEXT=$ac_cv_objext
4132ac_objext=$OBJEXT
4133{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4134$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4135if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4136  $as_echo_n "(cached) " >&6
4137else
4138  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4139/* end confdefs.h.  */
4140
4141int
4142main ()
4143{
4144#ifndef __GNUC__
4145       choke me
4146#endif
4147
4148  ;
4149  return 0;
4150}
4151_ACEOF
4152if ac_fn_c_try_compile "$LINENO"; then :
4153  ac_compiler_gnu=yes
4154else
4155  ac_compiler_gnu=no
4156fi
4157rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4158ac_cv_c_compiler_gnu=$ac_compiler_gnu
4159
4160fi
4161{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4162$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4163if test $ac_compiler_gnu = yes; then
4164  GCC=yes
4165else
4166  GCC=
4167fi
4168ac_test_CFLAGS=${CFLAGS+set}
4169ac_save_CFLAGS=$CFLAGS
4170{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4171$as_echo_n "checking whether $CC accepts -g... " >&6; }
4172if test "${ac_cv_prog_cc_g+set}" = set; then :
4173  $as_echo_n "(cached) " >&6
4174else
4175  ac_save_c_werror_flag=$ac_c_werror_flag
4176   ac_c_werror_flag=yes
4177   ac_cv_prog_cc_g=no
4178   CFLAGS="-g"
4179   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4180/* end confdefs.h.  */
4181
4182int
4183main ()
4184{
4185
4186  ;
4187  return 0;
4188}
4189_ACEOF
4190if ac_fn_c_try_compile "$LINENO"; then :
4191  ac_cv_prog_cc_g=yes
4192else
4193  CFLAGS=""
4194      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4195/* end confdefs.h.  */
4196
4197int
4198main ()
4199{
4200
4201  ;
4202  return 0;
4203}
4204_ACEOF
4205if ac_fn_c_try_compile "$LINENO"; then :
4206
4207else
4208  ac_c_werror_flag=$ac_save_c_werror_flag
4209	 CFLAGS="-g"
4210	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4211/* end confdefs.h.  */
4212
4213int
4214main ()
4215{
4216
4217  ;
4218  return 0;
4219}
4220_ACEOF
4221if ac_fn_c_try_compile "$LINENO"; then :
4222  ac_cv_prog_cc_g=yes
4223fi
4224rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4225fi
4226rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4227fi
4228rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4229   ac_c_werror_flag=$ac_save_c_werror_flag
4230fi
4231{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4232$as_echo "$ac_cv_prog_cc_g" >&6; }
4233if test "$ac_test_CFLAGS" = set; then
4234  CFLAGS=$ac_save_CFLAGS
4235elif test $ac_cv_prog_cc_g = yes; then
4236  if test "$GCC" = yes; then
4237    CFLAGS="-g -O2"
4238  else
4239    CFLAGS="-g"
4240  fi
4241else
4242  if test "$GCC" = yes; then
4243    CFLAGS="-O2"
4244  else
4245    CFLAGS=
4246  fi
4247fi
4248{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4249$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4250if test "${ac_cv_prog_cc_c89+set}" = set; then :
4251  $as_echo_n "(cached) " >&6
4252else
4253  ac_cv_prog_cc_c89=no
4254ac_save_CC=$CC
4255cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4256/* end confdefs.h.  */
4257#include <stdarg.h>
4258#include <stdio.h>
4259#include <sys/types.h>
4260#include <sys/stat.h>
4261/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4262struct buf { int x; };
4263FILE * (*rcsopen) (struct buf *, struct stat *, int);
4264static char *e (p, i)
4265     char **p;
4266     int i;
4267{
4268  return p[i];
4269}
4270static char *f (char * (*g) (char **, int), char **p, ...)
4271{
4272  char *s;
4273  va_list v;
4274  va_start (v,p);
4275  s = g (p, va_arg (v,int));
4276  va_end (v);
4277  return s;
4278}
4279
4280/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4281   function prototypes and stuff, but not '\xHH' hex character constants.
4282   These don't provoke an error unfortunately, instead are silently treated
4283   as 'x'.  The following induces an error, until -std is added to get
4284   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4285   array size at least.  It's necessary to write '\x00'==0 to get something
4286   that's true only with -std.  */
4287int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4288
4289/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4290   inside strings and character constants.  */
4291#define FOO(x) 'x'
4292int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4293
4294int test (int i, double x);
4295struct s1 {int (*f) (int a);};
4296struct s2 {int (*f) (double a);};
4297int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4298int argc;
4299char **argv;
4300int
4301main ()
4302{
4303return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4304  ;
4305  return 0;
4306}
4307_ACEOF
4308for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4309	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4310do
4311  CC="$ac_save_CC $ac_arg"
4312  if ac_fn_c_try_compile "$LINENO"; then :
4313  ac_cv_prog_cc_c89=$ac_arg
4314fi
4315rm -f core conftest.err conftest.$ac_objext
4316  test "x$ac_cv_prog_cc_c89" != "xno" && break
4317done
4318rm -f conftest.$ac_ext
4319CC=$ac_save_CC
4320
4321fi
4322# AC_CACHE_VAL
4323case "x$ac_cv_prog_cc_c89" in
4324  x)
4325    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4326$as_echo "none needed" >&6; } ;;
4327  xno)
4328    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4329$as_echo "unsupported" >&6; } ;;
4330  *)
4331    CC="$CC $ac_cv_prog_cc_c89"
4332    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4333$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4334esac
4335if test "x$ac_cv_prog_cc_c89" != xno; then :
4336
4337fi
4338
4339ac_ext=c
4340ac_cpp='$CPP $CPPFLAGS'
4341ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4342ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4343ac_compiler_gnu=$ac_cv_c_compiler_gnu
4344
4345ac_ext=cpp
4346ac_cpp='$CXXCPP $CPPFLAGS'
4347ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4348ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4349ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4350if test -z "$CXX"; then
4351  if test -n "$CCC"; then
4352    CXX=$CCC
4353  else
4354    if test -n "$ac_tool_prefix"; then
4355  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4356  do
4357    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4358set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4359{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4360$as_echo_n "checking for $ac_word... " >&6; }
4361if test "${ac_cv_prog_CXX+set}" = set; then :
4362  $as_echo_n "(cached) " >&6
4363else
4364  if test -n "$CXX"; then
4365  ac_cv_prog_CXX="$CXX" # Let the user override the test.
4366else
4367as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4368for as_dir in $PATH
4369do
4370  IFS=$as_save_IFS
4371  test -z "$as_dir" && as_dir=.
4372    for ac_exec_ext in '' $ac_executable_extensions; do
4373  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4374    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4375    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4376    break 2
4377  fi
4378done
4379  done
4380IFS=$as_save_IFS
4381
4382fi
4383fi
4384CXX=$ac_cv_prog_CXX
4385if test -n "$CXX"; then
4386  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4387$as_echo "$CXX" >&6; }
4388else
4389  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4390$as_echo "no" >&6; }
4391fi
4392
4393
4394    test -n "$CXX" && break
4395  done
4396fi
4397if test -z "$CXX"; then
4398  ac_ct_CXX=$CXX
4399  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4400do
4401  # Extract the first word of "$ac_prog", so it can be a program name with args.
4402set dummy $ac_prog; ac_word=$2
4403{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4404$as_echo_n "checking for $ac_word... " >&6; }
4405if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4406  $as_echo_n "(cached) " >&6
4407else
4408  if test -n "$ac_ct_CXX"; then
4409  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4410else
4411as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4412for as_dir in $PATH
4413do
4414  IFS=$as_save_IFS
4415  test -z "$as_dir" && as_dir=.
4416    for ac_exec_ext in '' $ac_executable_extensions; do
4417  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4418    ac_cv_prog_ac_ct_CXX="$ac_prog"
4419    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4420    break 2
4421  fi
4422done
4423  done
4424IFS=$as_save_IFS
4425
4426fi
4427fi
4428ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4429if test -n "$ac_ct_CXX"; then
4430  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4431$as_echo "$ac_ct_CXX" >&6; }
4432else
4433  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4434$as_echo "no" >&6; }
4435fi
4436
4437
4438  test -n "$ac_ct_CXX" && break
4439done
4440
4441  if test "x$ac_ct_CXX" = x; then
4442    CXX="g++"
4443  else
4444    case $cross_compiling:$ac_tool_warned in
4445yes:)
4446{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4447$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4448ac_tool_warned=yes ;;
4449esac
4450    CXX=$ac_ct_CXX
4451  fi
4452fi
4453
4454  fi
4455fi
4456# Provide some information about the compiler.
4457$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4458set X $ac_compile
4459ac_compiler=$2
4460for ac_option in --version -v -V -qversion; do
4461  { { ac_try="$ac_compiler $ac_option >&5"
4462case "(($ac_try" in
4463  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4464  *) ac_try_echo=$ac_try;;
4465esac
4466eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4467$as_echo "$ac_try_echo"; } >&5
4468  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4469  ac_status=$?
4470  if test -s conftest.err; then
4471    sed '10a\
4472... rest of stderr output deleted ...
4473         10q' conftest.err >conftest.er1
4474    cat conftest.er1 >&5
4475    rm -f conftest.er1 conftest.err
4476  fi
4477  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4478  test $ac_status = 0; }
4479done
4480
4481{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4482$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4483if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4484  $as_echo_n "(cached) " >&6
4485else
4486  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4487/* end confdefs.h.  */
4488
4489int
4490main ()
4491{
4492#ifndef __GNUC__
4493       choke me
4494#endif
4495
4496  ;
4497  return 0;
4498}
4499_ACEOF
4500if ac_fn_cxx_try_compile "$LINENO"; then :
4501  ac_compiler_gnu=yes
4502else
4503  ac_compiler_gnu=no
4504fi
4505rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4506ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4507
4508fi
4509{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4510$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4511if test $ac_compiler_gnu = yes; then
4512  GXX=yes
4513else
4514  GXX=
4515fi
4516ac_test_CXXFLAGS=${CXXFLAGS+set}
4517ac_save_CXXFLAGS=$CXXFLAGS
4518{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4519$as_echo_n "checking whether $CXX accepts -g... " >&6; }
4520if test "${ac_cv_prog_cxx_g+set}" = set; then :
4521  $as_echo_n "(cached) " >&6
4522else
4523  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4524   ac_cxx_werror_flag=yes
4525   ac_cv_prog_cxx_g=no
4526   CXXFLAGS="-g"
4527   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4528/* end confdefs.h.  */
4529
4530int
4531main ()
4532{
4533
4534  ;
4535  return 0;
4536}
4537_ACEOF
4538if ac_fn_cxx_try_compile "$LINENO"; then :
4539  ac_cv_prog_cxx_g=yes
4540else
4541  CXXFLAGS=""
4542      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4543/* end confdefs.h.  */
4544
4545int
4546main ()
4547{
4548
4549  ;
4550  return 0;
4551}
4552_ACEOF
4553if ac_fn_cxx_try_compile "$LINENO"; then :
4554
4555else
4556  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4557	 CXXFLAGS="-g"
4558	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4559/* end confdefs.h.  */
4560
4561int
4562main ()
4563{
4564
4565  ;
4566  return 0;
4567}
4568_ACEOF
4569if ac_fn_cxx_try_compile "$LINENO"; then :
4570  ac_cv_prog_cxx_g=yes
4571fi
4572rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4573fi
4574rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4575fi
4576rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4577   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4578fi
4579{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4580$as_echo "$ac_cv_prog_cxx_g" >&6; }
4581if test "$ac_test_CXXFLAGS" = set; then
4582  CXXFLAGS=$ac_save_CXXFLAGS
4583elif test $ac_cv_prog_cxx_g = yes; then
4584  if test "$GXX" = yes; then
4585    CXXFLAGS="-g -O2"
4586  else
4587    CXXFLAGS="-g"
4588  fi
4589else
4590  if test "$GXX" = yes; then
4591    CXXFLAGS="-O2"
4592  else
4593    CXXFLAGS=
4594  fi
4595fi
4596ac_ext=c
4597ac_cpp='$CPP $CPPFLAGS'
4598ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4599ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4600ac_compiler_gnu=$ac_cv_c_compiler_gnu
4601
4602CXXFLAGS="$save_CXXFLAGS"
4603
4604# Runs configure.host, and assorted other critical bits.  Sets
4605# up critical shell variables.
4606
4607ac_ext=c
4608ac_cpp='$CPP $CPPFLAGS'
4609ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4610ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4611ac_compiler_gnu=$ac_cv_c_compiler_gnu
4612{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4613$as_echo_n "checking how to run the C preprocessor... " >&6; }
4614# On Suns, sometimes $CPP names a directory.
4615if test -n "$CPP" && test -d "$CPP"; then
4616  CPP=
4617fi
4618if test -z "$CPP"; then
4619  if test "${ac_cv_prog_CPP+set}" = set; then :
4620  $as_echo_n "(cached) " >&6
4621else
4622      # Double quotes because CPP needs to be expanded
4623    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4624    do
4625      ac_preproc_ok=false
4626for ac_c_preproc_warn_flag in '' yes
4627do
4628  # Use a header file that comes with gcc, so configuring glibc
4629  # with a fresh cross-compiler works.
4630  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4631  # <limits.h> exists even on freestanding compilers.
4632  # On the NeXT, cc -E runs the code through the compiler's parser,
4633  # not just through cpp. "Syntax error" is here to catch this case.
4634  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4635/* end confdefs.h.  */
4636#ifdef __STDC__
4637# include <limits.h>
4638#else
4639# include <assert.h>
4640#endif
4641		     Syntax error
4642_ACEOF
4643if ac_fn_c_try_cpp "$LINENO"; then :
4644
4645else
4646  # Broken: fails on valid input.
4647continue
4648fi
4649rm -f conftest.err conftest.$ac_ext
4650
4651  # OK, works on sane cases.  Now check whether nonexistent headers
4652  # can be detected and how.
4653  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4654/* end confdefs.h.  */
4655#include <ac_nonexistent.h>
4656_ACEOF
4657if ac_fn_c_try_cpp "$LINENO"; then :
4658  # Broken: success on invalid input.
4659continue
4660else
4661  # Passes both tests.
4662ac_preproc_ok=:
4663break
4664fi
4665rm -f conftest.err conftest.$ac_ext
4666
4667done
4668# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4669rm -f conftest.err conftest.$ac_ext
4670if $ac_preproc_ok; then :
4671  break
4672fi
4673
4674    done
4675    ac_cv_prog_CPP=$CPP
4676
4677fi
4678  CPP=$ac_cv_prog_CPP
4679else
4680  ac_cv_prog_CPP=$CPP
4681fi
4682{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4683$as_echo "$CPP" >&6; }
4684ac_preproc_ok=false
4685for ac_c_preproc_warn_flag in '' yes
4686do
4687  # Use a header file that comes with gcc, so configuring glibc
4688  # with a fresh cross-compiler works.
4689  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4690  # <limits.h> exists even on freestanding compilers.
4691  # On the NeXT, cc -E runs the code through the compiler's parser,
4692  # not just through cpp. "Syntax error" is here to catch this case.
4693  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4694/* end confdefs.h.  */
4695#ifdef __STDC__
4696# include <limits.h>
4697#else
4698# include <assert.h>
4699#endif
4700		     Syntax error
4701_ACEOF
4702if ac_fn_c_try_cpp "$LINENO"; then :
4703
4704else
4705  # Broken: fails on valid input.
4706continue
4707fi
4708rm -f conftest.err conftest.$ac_ext
4709
4710  # OK, works on sane cases.  Now check whether nonexistent headers
4711  # can be detected and how.
4712  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4713/* end confdefs.h.  */
4714#include <ac_nonexistent.h>
4715_ACEOF
4716if ac_fn_c_try_cpp "$LINENO"; then :
4717  # Broken: success on invalid input.
4718continue
4719else
4720  # Passes both tests.
4721ac_preproc_ok=:
4722break
4723fi
4724rm -f conftest.err conftest.$ac_ext
4725
4726done
4727# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4728rm -f conftest.err conftest.$ac_ext
4729if $ac_preproc_ok; then :
4730
4731else
4732  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4733$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4734as_fn_error "C preprocessor \"$CPP\" fails sanity check
4735See \`config.log' for more details." "$LINENO" 5; }
4736fi
4737
4738ac_ext=c
4739ac_cpp='$CPP $CPPFLAGS'
4740ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4741ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4742ac_compiler_gnu=$ac_cv_c_compiler_gnu
4743
4744
4745{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4746$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4747if test "${ac_cv_path_GREP+set}" = set; then :
4748  $as_echo_n "(cached) " >&6
4749else
4750  if test -z "$GREP"; then
4751  ac_path_GREP_found=false
4752  # Loop through the user's path and test for each of PROGNAME-LIST
4753  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4754for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4755do
4756  IFS=$as_save_IFS
4757  test -z "$as_dir" && as_dir=.
4758    for ac_prog in grep ggrep; do
4759    for ac_exec_ext in '' $ac_executable_extensions; do
4760      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4761      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4762# Check for GNU ac_path_GREP and select it if it is found.
4763  # Check for GNU $ac_path_GREP
4764case `"$ac_path_GREP" --version 2>&1` in
4765*GNU*)
4766  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4767*)
4768  ac_count=0
4769  $as_echo_n 0123456789 >"conftest.in"
4770  while :
4771  do
4772    cat "conftest.in" "conftest.in" >"conftest.tmp"
4773    mv "conftest.tmp" "conftest.in"
4774    cp "conftest.in" "conftest.nl"
4775    $as_echo 'GREP' >> "conftest.nl"
4776    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4777    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4778    as_fn_arith $ac_count + 1 && ac_count=$as_val
4779    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4780      # Best one so far, save it but keep looking for a better one
4781      ac_cv_path_GREP="$ac_path_GREP"
4782      ac_path_GREP_max=$ac_count
4783    fi
4784    # 10*(2^10) chars as input seems more than enough
4785    test $ac_count -gt 10 && break
4786  done
4787  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4788esac
4789
4790      $ac_path_GREP_found && break 3
4791    done
4792  done
4793  done
4794IFS=$as_save_IFS
4795  if test -z "$ac_cv_path_GREP"; then
4796    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4797  fi
4798else
4799  ac_cv_path_GREP=$GREP
4800fi
4801
4802fi
4803{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4804$as_echo "$ac_cv_path_GREP" >&6; }
4805 GREP="$ac_cv_path_GREP"
4806
4807
4808{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4809$as_echo_n "checking for egrep... " >&6; }
4810if test "${ac_cv_path_EGREP+set}" = set; then :
4811  $as_echo_n "(cached) " >&6
4812else
4813  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4814   then ac_cv_path_EGREP="$GREP -E"
4815   else
4816     if test -z "$EGREP"; then
4817  ac_path_EGREP_found=false
4818  # Loop through the user's path and test for each of PROGNAME-LIST
4819  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4820for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4821do
4822  IFS=$as_save_IFS
4823  test -z "$as_dir" && as_dir=.
4824    for ac_prog in egrep; do
4825    for ac_exec_ext in '' $ac_executable_extensions; do
4826      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4827      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4828# Check for GNU ac_path_EGREP and select it if it is found.
4829  # Check for GNU $ac_path_EGREP
4830case `"$ac_path_EGREP" --version 2>&1` in
4831*GNU*)
4832  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4833*)
4834  ac_count=0
4835  $as_echo_n 0123456789 >"conftest.in"
4836  while :
4837  do
4838    cat "conftest.in" "conftest.in" >"conftest.tmp"
4839    mv "conftest.tmp" "conftest.in"
4840    cp "conftest.in" "conftest.nl"
4841    $as_echo 'EGREP' >> "conftest.nl"
4842    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4843    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4844    as_fn_arith $ac_count + 1 && ac_count=$as_val
4845    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4846      # Best one so far, save it but keep looking for a better one
4847      ac_cv_path_EGREP="$ac_path_EGREP"
4848      ac_path_EGREP_max=$ac_count
4849    fi
4850    # 10*(2^10) chars as input seems more than enough
4851    test $ac_count -gt 10 && break
4852  done
4853  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4854esac
4855
4856      $ac_path_EGREP_found && break 3
4857    done
4858  done
4859  done
4860IFS=$as_save_IFS
4861  if test -z "$ac_cv_path_EGREP"; then
4862    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4863  fi
4864else
4865  ac_cv_path_EGREP=$EGREP
4866fi
4867
4868   fi
4869fi
4870{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4871$as_echo "$ac_cv_path_EGREP" >&6; }
4872 EGREP="$ac_cv_path_EGREP"
4873
4874
4875
4876  # Keep these sync'd with the list in Makefile.am.  The first provides an
4877  # expandable list at autoconf time; the second provides an expandable list
4878  # (i.e., shell variable) at configure time.
4879
4880  SUBDIRS='include libsupc++ python src src/c++98 src/c++11 doc po testsuite'
4881
4882  # These need to be absolute paths, yet at the same time need to
4883  # canonicalize only relative paths, because then amd will not unmount
4884  # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4885  glibcxx_builddir=`${PWDCMD-pwd}`
4886  case $srcdir in
4887    \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4888    *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4889  esac
4890  toplevel_builddir=${glibcxx_builddir}/..
4891  toplevel_srcdir=${glibcxx_srcdir}/..
4892
4893
4894
4895
4896
4897  # We use these options to decide which functions to include.  They are
4898  # set from the top level.
4899
4900# Check whether --with-target-subdir was given.
4901if test "${with_target_subdir+set}" = set; then :
4902  withval=$with_target_subdir;
4903fi
4904
4905
4906
4907# Check whether --with-cross-host was given.
4908if test "${with_cross_host+set}" = set; then :
4909  withval=$with_cross_host;
4910fi
4911
4912
4913
4914# Check whether --with-newlib was given.
4915if test "${with_newlib+set}" = set; then :
4916  withval=$with_newlib;
4917fi
4918
4919
4920  # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4921  # available).  Uncomment the next line to force a particular method.
4922  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4923$as_echo_n "checking whether ln -s works... " >&6; }
4924LN_S=$as_ln_s
4925if test "$LN_S" = "ln -s"; then
4926  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4927$as_echo "yes" >&6; }
4928else
4929  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4930$as_echo "no, using $LN_S" >&6; }
4931fi
4932
4933  #LN_S='cp -p'
4934
4935  if test -n "$ac_tool_prefix"; then
4936  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4937set dummy ${ac_tool_prefix}as; ac_word=$2
4938{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4939$as_echo_n "checking for $ac_word... " >&6; }
4940if test "${ac_cv_prog_AS+set}" = set; then :
4941  $as_echo_n "(cached) " >&6
4942else
4943  if test -n "$AS"; then
4944  ac_cv_prog_AS="$AS" # Let the user override the test.
4945else
4946as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4947for as_dir in $PATH
4948do
4949  IFS=$as_save_IFS
4950  test -z "$as_dir" && as_dir=.
4951    for ac_exec_ext in '' $ac_executable_extensions; do
4952  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4953    ac_cv_prog_AS="${ac_tool_prefix}as"
4954    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4955    break 2
4956  fi
4957done
4958  done
4959IFS=$as_save_IFS
4960
4961fi
4962fi
4963AS=$ac_cv_prog_AS
4964if test -n "$AS"; then
4965  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4966$as_echo "$AS" >&6; }
4967else
4968  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4969$as_echo "no" >&6; }
4970fi
4971
4972
4973fi
4974if test -z "$ac_cv_prog_AS"; then
4975  ac_ct_AS=$AS
4976  # Extract the first word of "as", so it can be a program name with args.
4977set dummy as; ac_word=$2
4978{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4979$as_echo_n "checking for $ac_word... " >&6; }
4980if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4981  $as_echo_n "(cached) " >&6
4982else
4983  if test -n "$ac_ct_AS"; then
4984  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4985else
4986as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4987for as_dir in $PATH
4988do
4989  IFS=$as_save_IFS
4990  test -z "$as_dir" && as_dir=.
4991    for ac_exec_ext in '' $ac_executable_extensions; do
4992  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4993    ac_cv_prog_ac_ct_AS="as"
4994    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4995    break 2
4996  fi
4997done
4998  done
4999IFS=$as_save_IFS
5000
5001fi
5002fi
5003ac_ct_AS=$ac_cv_prog_ac_ct_AS
5004if test -n "$ac_ct_AS"; then
5005  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5006$as_echo "$ac_ct_AS" >&6; }
5007else
5008  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5009$as_echo "no" >&6; }
5010fi
5011
5012  if test "x$ac_ct_AS" = x; then
5013    AS=""
5014  else
5015    case $cross_compiling:$ac_tool_warned in
5016yes:)
5017{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5018$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5019ac_tool_warned=yes ;;
5020esac
5021    AS=$ac_ct_AS
5022  fi
5023else
5024  AS="$ac_cv_prog_AS"
5025fi
5026
5027  if test -n "$ac_tool_prefix"; then
5028  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5029set dummy ${ac_tool_prefix}ar; ac_word=$2
5030{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5031$as_echo_n "checking for $ac_word... " >&6; }
5032if test "${ac_cv_prog_AR+set}" = set; then :
5033  $as_echo_n "(cached) " >&6
5034else
5035  if test -n "$AR"; then
5036  ac_cv_prog_AR="$AR" # Let the user override the test.
5037else
5038as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5039for as_dir in $PATH
5040do
5041  IFS=$as_save_IFS
5042  test -z "$as_dir" && as_dir=.
5043    for ac_exec_ext in '' $ac_executable_extensions; do
5044  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5045    ac_cv_prog_AR="${ac_tool_prefix}ar"
5046    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5047    break 2
5048  fi
5049done
5050  done
5051IFS=$as_save_IFS
5052
5053fi
5054fi
5055AR=$ac_cv_prog_AR
5056if test -n "$AR"; then
5057  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5058$as_echo "$AR" >&6; }
5059else
5060  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5061$as_echo "no" >&6; }
5062fi
5063
5064
5065fi
5066if test -z "$ac_cv_prog_AR"; then
5067  ac_ct_AR=$AR
5068  # Extract the first word of "ar", so it can be a program name with args.
5069set dummy ar; ac_word=$2
5070{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5071$as_echo_n "checking for $ac_word... " >&6; }
5072if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5073  $as_echo_n "(cached) " >&6
5074else
5075  if test -n "$ac_ct_AR"; then
5076  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5077else
5078as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5079for as_dir in $PATH
5080do
5081  IFS=$as_save_IFS
5082  test -z "$as_dir" && as_dir=.
5083    for ac_exec_ext in '' $ac_executable_extensions; do
5084  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5085    ac_cv_prog_ac_ct_AR="ar"
5086    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5087    break 2
5088  fi
5089done
5090  done
5091IFS=$as_save_IFS
5092
5093fi
5094fi
5095ac_ct_AR=$ac_cv_prog_ac_ct_AR
5096if test -n "$ac_ct_AR"; then
5097  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5098$as_echo "$ac_ct_AR" >&6; }
5099else
5100  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5101$as_echo "no" >&6; }
5102fi
5103
5104  if test "x$ac_ct_AR" = x; then
5105    AR=""
5106  else
5107    case $cross_compiling:$ac_tool_warned in
5108yes:)
5109{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5110$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5111ac_tool_warned=yes ;;
5112esac
5113    AR=$ac_ct_AR
5114  fi
5115else
5116  AR="$ac_cv_prog_AR"
5117fi
5118
5119  if test -n "$ac_tool_prefix"; then
5120  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5121set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5122{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5123$as_echo_n "checking for $ac_word... " >&6; }
5124if test "${ac_cv_prog_RANLIB+set}" = set; then :
5125  $as_echo_n "(cached) " >&6
5126else
5127  if test -n "$RANLIB"; then
5128  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5129else
5130as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5131for as_dir in $PATH
5132do
5133  IFS=$as_save_IFS
5134  test -z "$as_dir" && as_dir=.
5135    for ac_exec_ext in '' $ac_executable_extensions; do
5136  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5137    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5138    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5139    break 2
5140  fi
5141done
5142  done
5143IFS=$as_save_IFS
5144
5145fi
5146fi
5147RANLIB=$ac_cv_prog_RANLIB
5148if test -n "$RANLIB"; then
5149  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5150$as_echo "$RANLIB" >&6; }
5151else
5152  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5153$as_echo "no" >&6; }
5154fi
5155
5156
5157fi
5158if test -z "$ac_cv_prog_RANLIB"; then
5159  ac_ct_RANLIB=$RANLIB
5160  # Extract the first word of "ranlib", so it can be a program name with args.
5161set dummy ranlib; ac_word=$2
5162{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5163$as_echo_n "checking for $ac_word... " >&6; }
5164if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5165  $as_echo_n "(cached) " >&6
5166else
5167  if test -n "$ac_ct_RANLIB"; then
5168  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5169else
5170as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5171for as_dir in $PATH
5172do
5173  IFS=$as_save_IFS
5174  test -z "$as_dir" && as_dir=.
5175    for ac_exec_ext in '' $ac_executable_extensions; do
5176  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5177    ac_cv_prog_ac_ct_RANLIB="ranlib"
5178    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5179    break 2
5180  fi
5181done
5182  done
5183IFS=$as_save_IFS
5184
5185fi
5186fi
5187ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5188if test -n "$ac_ct_RANLIB"; then
5189  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5190$as_echo "$ac_ct_RANLIB" >&6; }
5191else
5192  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5193$as_echo "no" >&6; }
5194fi
5195
5196  if test "x$ac_ct_RANLIB" = x; then
5197    RANLIB="ranlib-not-found-in-path-error"
5198  else
5199    case $cross_compiling:$ac_tool_warned in
5200yes:)
5201{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5202$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5203ac_tool_warned=yes ;;
5204esac
5205    RANLIB=$ac_ct_RANLIB
5206  fi
5207else
5208  RANLIB="$ac_cv_prog_RANLIB"
5209fi
5210
5211
5212
5213{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5214$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5215    # Check whether --enable-maintainer-mode was given.
5216if test "${enable_maintainer_mode+set}" = set; then :
5217  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5218else
5219  USE_MAINTAINER_MODE=no
5220fi
5221
5222  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5223$as_echo "$USE_MAINTAINER_MODE" >&6; }
5224   if test $USE_MAINTAINER_MODE = yes; then
5225  MAINTAINER_MODE_TRUE=
5226  MAINTAINER_MODE_FALSE='#'
5227else
5228  MAINTAINER_MODE_TRUE='#'
5229  MAINTAINER_MODE_FALSE=
5230fi
5231
5232  MAINT=$MAINTAINER_MODE_TRUE
5233
5234
5235
5236  # Set up safe default values for all subsequent AM_CONDITIONAL tests
5237  # which are themselves conditionally expanded.
5238  ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5239  ## other macros from doing the same.  This should be automated.)  -pme
5240
5241  # Check for C library flavor since GNU/Linux platforms use different
5242  # configuration directories depending on the C library in use.
5243  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5244/* end confdefs.h.  */
5245
5246  #include <stdio.h>
5247  #if __UCLIBC__
5248    _using_uclibc
5249  #endif
5250
5251_ACEOF
5252if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5253  $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5254  uclibc=yes
5255else
5256  uclibc=no
5257fi
5258rm -f conftest*
5259
5260
5261  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5262/* end confdefs.h.  */
5263
5264  #include <stdio.h>
5265  #if __BIONIC__
5266    _using_bionic
5267  #endif
5268
5269_ACEOF
5270if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5271  $EGREP "_using_bionic" >/dev/null 2>&1; then :
5272  bionic=yes
5273else
5274  bionic=no
5275fi
5276rm -f conftest*
5277
5278
5279  # Find platform-specific directories containing configuration info.
5280  # Also possibly modify flags used elsewhere, as needed by the platform.
5281
5282  . $glibcxx_srcdir/configure.host
5283  { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5284$as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5285  { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5286$as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5287
5288
5289
5290# Libtool setup.
5291if test "x${with_newlib}" != "xyes"; then
5292  enable_dlopen=yes
5293
5294
5295
5296fi
5297case `pwd` in
5298  *\ * | *\	*)
5299    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5300$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5301esac
5302
5303
5304
5305macro_version='2.2.7a'
5306macro_revision='1.3134'
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320ltmain="$ac_aux_dir/ltmain.sh"
5321
5322# Backslashify metacharacters that are still active within
5323# double-quoted strings.
5324sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5325
5326# Same as above, but do not quote variable references.
5327double_quote_subst='s/\(["`\\]\)/\\\1/g'
5328
5329# Sed substitution to delay expansion of an escaped shell variable in a
5330# double_quote_subst'ed string.
5331delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5332
5333# Sed substitution to delay expansion of an escaped single quote.
5334delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5335
5336# Sed substitution to avoid accidental globbing in evaled expressions
5337no_glob_subst='s/\*/\\\*/g'
5338
5339ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5340ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5341ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5342
5343{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5344$as_echo_n "checking how to print strings... " >&6; }
5345# Test print first, because it will be a builtin if present.
5346if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5347   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5348  ECHO='print -r --'
5349elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5350  ECHO='printf %s\n'
5351else
5352  # Use this function as a fallback that always works.
5353  func_fallback_echo ()
5354  {
5355    eval 'cat <<_LTECHO_EOF
5356$1
5357_LTECHO_EOF'
5358  }
5359  ECHO='func_fallback_echo'
5360fi
5361
5362# func_echo_all arg...
5363# Invoke $ECHO with all args, space-separated.
5364func_echo_all ()
5365{
5366    $ECHO ""
5367}
5368
5369case "$ECHO" in
5370  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5371$as_echo "printf" >&6; } ;;
5372  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5373$as_echo "print -r" >&6; } ;;
5374  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5375$as_echo "cat" >&6; } ;;
5376esac
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5392$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5393if test "${ac_cv_path_SED+set}" = set; then :
5394  $as_echo_n "(cached) " >&6
5395else
5396            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5397     for ac_i in 1 2 3 4 5 6 7; do
5398       ac_script="$ac_script$as_nl$ac_script"
5399     done
5400     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5401     { ac_script=; unset ac_script;}
5402     if test -z "$SED"; then
5403  ac_path_SED_found=false
5404  # Loop through the user's path and test for each of PROGNAME-LIST
5405  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5406for as_dir in $PATH
5407do
5408  IFS=$as_save_IFS
5409  test -z "$as_dir" && as_dir=.
5410    for ac_prog in sed gsed; do
5411    for ac_exec_ext in '' $ac_executable_extensions; do
5412      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5413      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5414# Check for GNU ac_path_SED and select it if it is found.
5415  # Check for GNU $ac_path_SED
5416case `"$ac_path_SED" --version 2>&1` in
5417*GNU*)
5418  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5419*)
5420  ac_count=0
5421  $as_echo_n 0123456789 >"conftest.in"
5422  while :
5423  do
5424    cat "conftest.in" "conftest.in" >"conftest.tmp"
5425    mv "conftest.tmp" "conftest.in"
5426    cp "conftest.in" "conftest.nl"
5427    $as_echo '' >> "conftest.nl"
5428    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5429    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5430    as_fn_arith $ac_count + 1 && ac_count=$as_val
5431    if test $ac_count -gt ${ac_path_SED_max-0}; then
5432      # Best one so far, save it but keep looking for a better one
5433      ac_cv_path_SED="$ac_path_SED"
5434      ac_path_SED_max=$ac_count
5435    fi
5436    # 10*(2^10) chars as input seems more than enough
5437    test $ac_count -gt 10 && break
5438  done
5439  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5440esac
5441
5442      $ac_path_SED_found && break 3
5443    done
5444  done
5445  done
5446IFS=$as_save_IFS
5447  if test -z "$ac_cv_path_SED"; then
5448    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5449  fi
5450else
5451  ac_cv_path_SED=$SED
5452fi
5453
5454fi
5455{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5456$as_echo "$ac_cv_path_SED" >&6; }
5457 SED="$ac_cv_path_SED"
5458  rm -f conftest.sed
5459
5460test -z "$SED" && SED=sed
5461Xsed="$SED -e 1s/^X//"
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5474$as_echo_n "checking for fgrep... " >&6; }
5475if test "${ac_cv_path_FGREP+set}" = set; then :
5476  $as_echo_n "(cached) " >&6
5477else
5478  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5479   then ac_cv_path_FGREP="$GREP -F"
5480   else
5481     if test -z "$FGREP"; then
5482  ac_path_FGREP_found=false
5483  # Loop through the user's path and test for each of PROGNAME-LIST
5484  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5485for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5486do
5487  IFS=$as_save_IFS
5488  test -z "$as_dir" && as_dir=.
5489    for ac_prog in fgrep; do
5490    for ac_exec_ext in '' $ac_executable_extensions; do
5491      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5492      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5493# Check for GNU ac_path_FGREP and select it if it is found.
5494  # Check for GNU $ac_path_FGREP
5495case `"$ac_path_FGREP" --version 2>&1` in
5496*GNU*)
5497  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5498*)
5499  ac_count=0
5500  $as_echo_n 0123456789 >"conftest.in"
5501  while :
5502  do
5503    cat "conftest.in" "conftest.in" >"conftest.tmp"
5504    mv "conftest.tmp" "conftest.in"
5505    cp "conftest.in" "conftest.nl"
5506    $as_echo 'FGREP' >> "conftest.nl"
5507    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5508    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5509    as_fn_arith $ac_count + 1 && ac_count=$as_val
5510    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5511      # Best one so far, save it but keep looking for a better one
5512      ac_cv_path_FGREP="$ac_path_FGREP"
5513      ac_path_FGREP_max=$ac_count
5514    fi
5515    # 10*(2^10) chars as input seems more than enough
5516    test $ac_count -gt 10 && break
5517  done
5518  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5519esac
5520
5521      $ac_path_FGREP_found && break 3
5522    done
5523  done
5524  done
5525IFS=$as_save_IFS
5526  if test -z "$ac_cv_path_FGREP"; then
5527    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5528  fi
5529else
5530  ac_cv_path_FGREP=$FGREP
5531fi
5532
5533   fi
5534fi
5535{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5536$as_echo "$ac_cv_path_FGREP" >&6; }
5537 FGREP="$ac_cv_path_FGREP"
5538
5539
5540test -z "$GREP" && GREP=grep
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560# Check whether --with-gnu-ld was given.
5561if test "${with_gnu_ld+set}" = set; then :
5562  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5563else
5564  with_gnu_ld=no
5565fi
5566
5567ac_prog=ld
5568if test "$GCC" = yes; then
5569  # Check if gcc -print-prog-name=ld gives a path.
5570  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5571$as_echo_n "checking for ld used by $CC... " >&6; }
5572  case $host in
5573  *-*-mingw*)
5574    # gcc leaves a trailing carriage return which upsets mingw
5575    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5576  *)
5577    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5578  esac
5579  case $ac_prog in
5580    # Accept absolute paths.
5581    [\\/]* | ?:[\\/]*)
5582      re_direlt='/[^/][^/]*/\.\./'
5583      # Canonicalize the pathname of ld
5584      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5585      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5586	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5587      done
5588      test -z "$LD" && LD="$ac_prog"
5589      ;;
5590  "")
5591    # If it fails, then pretend we aren't using GCC.
5592    ac_prog=ld
5593    ;;
5594  *)
5595    # If it is relative, then search for the first ld in PATH.
5596    with_gnu_ld=unknown
5597    ;;
5598  esac
5599elif test "$with_gnu_ld" = yes; then
5600  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5601$as_echo_n "checking for GNU ld... " >&6; }
5602else
5603  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5604$as_echo_n "checking for non-GNU ld... " >&6; }
5605fi
5606if test "${lt_cv_path_LD+set}" = set; then :
5607  $as_echo_n "(cached) " >&6
5608else
5609  if test -z "$LD"; then
5610  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5611  for ac_dir in $PATH; do
5612    IFS="$lt_save_ifs"
5613    test -z "$ac_dir" && ac_dir=.
5614    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5615      lt_cv_path_LD="$ac_dir/$ac_prog"
5616      # Check to see if the program is GNU ld.  I'd rather use --version,
5617      # but apparently some variants of GNU ld only accept -v.
5618      # Break only if it was the GNU/non-GNU ld that we prefer.
5619      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5620      *GNU* | *'with BFD'*)
5621	test "$with_gnu_ld" != no && break
5622	;;
5623      *)
5624	test "$with_gnu_ld" != yes && break
5625	;;
5626      esac
5627    fi
5628  done
5629  IFS="$lt_save_ifs"
5630else
5631  lt_cv_path_LD="$LD" # Let the user override the test with a path.
5632fi
5633fi
5634
5635LD="$lt_cv_path_LD"
5636if test -n "$LD"; then
5637  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5638$as_echo "$LD" >&6; }
5639else
5640  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5641$as_echo "no" >&6; }
5642fi
5643test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5644{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5645$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5646if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5647  $as_echo_n "(cached) " >&6
5648else
5649  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5650case `$LD -v 2>&1 </dev/null` in
5651*GNU* | *'with BFD'*)
5652  lt_cv_prog_gnu_ld=yes
5653  ;;
5654*)
5655  lt_cv_prog_gnu_ld=no
5656  ;;
5657esac
5658fi
5659{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5660$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5661with_gnu_ld=$lt_cv_prog_gnu_ld
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5672$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5673if test "${lt_cv_path_NM+set}" = set; then :
5674  $as_echo_n "(cached) " >&6
5675else
5676  if test -n "$NM"; then
5677  # Let the user override the test.
5678  lt_cv_path_NM="$NM"
5679else
5680  lt_nm_to_check="${ac_tool_prefix}nm"
5681  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5682    lt_nm_to_check="$lt_nm_to_check nm"
5683  fi
5684  for lt_tmp_nm in $lt_nm_to_check; do
5685    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5686    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5687      IFS="$lt_save_ifs"
5688      test -z "$ac_dir" && ac_dir=.
5689      tmp_nm="$ac_dir/$lt_tmp_nm"
5690      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5691	# Check to see if the nm accepts a BSD-compat flag.
5692	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
5693	#   nm: unknown option "B" ignored
5694	# Tru64's nm complains that /dev/null is an invalid object file
5695	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5696	*/dev/null* | *'Invalid file or object type'*)
5697	  lt_cv_path_NM="$tmp_nm -B"
5698	  break
5699	  ;;
5700	*)
5701	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5702	  */dev/null*)
5703	    lt_cv_path_NM="$tmp_nm -p"
5704	    break
5705	    ;;
5706	  *)
5707	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5708	    continue # so that we can try to find one that supports BSD flags
5709	    ;;
5710	  esac
5711	  ;;
5712	esac
5713      fi
5714    done
5715    IFS="$lt_save_ifs"
5716  done
5717  : ${lt_cv_path_NM=no}
5718fi
5719fi
5720{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5721$as_echo "$lt_cv_path_NM" >&6; }
5722if test "$lt_cv_path_NM" != "no"; then
5723  NM="$lt_cv_path_NM"
5724else
5725  # Didn't find any BSD compatible name lister, look for dumpbin.
5726  if test -n "$DUMPBIN"; then :
5727    # Let the user override the test.
5728  else
5729    if test -n "$ac_tool_prefix"; then
5730  for ac_prog in dumpbin "link -dump"
5731  do
5732    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5733set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5734{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5735$as_echo_n "checking for $ac_word... " >&6; }
5736if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5737  $as_echo_n "(cached) " >&6
5738else
5739  if test -n "$DUMPBIN"; then
5740  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5741else
5742as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5743for as_dir in $PATH
5744do
5745  IFS=$as_save_IFS
5746  test -z "$as_dir" && as_dir=.
5747    for ac_exec_ext in '' $ac_executable_extensions; do
5748  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5749    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5750    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5751    break 2
5752  fi
5753done
5754  done
5755IFS=$as_save_IFS
5756
5757fi
5758fi
5759DUMPBIN=$ac_cv_prog_DUMPBIN
5760if test -n "$DUMPBIN"; then
5761  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5762$as_echo "$DUMPBIN" >&6; }
5763else
5764  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5765$as_echo "no" >&6; }
5766fi
5767
5768
5769    test -n "$DUMPBIN" && break
5770  done
5771fi
5772if test -z "$DUMPBIN"; then
5773  ac_ct_DUMPBIN=$DUMPBIN
5774  for ac_prog in dumpbin "link -dump"
5775do
5776  # Extract the first word of "$ac_prog", so it can be a program name with args.
5777set dummy $ac_prog; ac_word=$2
5778{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5779$as_echo_n "checking for $ac_word... " >&6; }
5780if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5781  $as_echo_n "(cached) " >&6
5782else
5783  if test -n "$ac_ct_DUMPBIN"; then
5784  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5785else
5786as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5787for as_dir in $PATH
5788do
5789  IFS=$as_save_IFS
5790  test -z "$as_dir" && as_dir=.
5791    for ac_exec_ext in '' $ac_executable_extensions; do
5792  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5793    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5794    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5795    break 2
5796  fi
5797done
5798  done
5799IFS=$as_save_IFS
5800
5801fi
5802fi
5803ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5804if test -n "$ac_ct_DUMPBIN"; then
5805  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5806$as_echo "$ac_ct_DUMPBIN" >&6; }
5807else
5808  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5809$as_echo "no" >&6; }
5810fi
5811
5812
5813  test -n "$ac_ct_DUMPBIN" && break
5814done
5815
5816  if test "x$ac_ct_DUMPBIN" = x; then
5817    DUMPBIN=":"
5818  else
5819    case $cross_compiling:$ac_tool_warned in
5820yes:)
5821{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5822$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5823ac_tool_warned=yes ;;
5824esac
5825    DUMPBIN=$ac_ct_DUMPBIN
5826  fi
5827fi
5828
5829    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5830    *COFF*)
5831      DUMPBIN="$DUMPBIN -symbols"
5832      ;;
5833    *)
5834      DUMPBIN=:
5835      ;;
5836    esac
5837  fi
5838
5839  if test "$DUMPBIN" != ":"; then
5840    NM="$DUMPBIN"
5841  fi
5842fi
5843test -z "$NM" && NM=nm
5844
5845
5846
5847
5848
5849
5850{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5851$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5852if test "${lt_cv_nm_interface+set}" = set; then :
5853  $as_echo_n "(cached) " >&6
5854else
5855  lt_cv_nm_interface="BSD nm"
5856  echo "int some_variable = 0;" > conftest.$ac_ext
5857  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5858  (eval "$ac_compile" 2>conftest.err)
5859  cat conftest.err >&5
5860  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5861  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5862  cat conftest.err >&5
5863  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5864  cat conftest.out >&5
5865  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5866    lt_cv_nm_interface="MS dumpbin"
5867  fi
5868  rm -f conftest*
5869fi
5870{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5871$as_echo "$lt_cv_nm_interface" >&6; }
5872
5873# find the maximum length of command line arguments
5874{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5875$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5876if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5877  $as_echo_n "(cached) " >&6
5878else
5879    i=0
5880  teststring="ABCD"
5881
5882  case $build_os in
5883  msdosdjgpp*)
5884    # On DJGPP, this test can blow up pretty badly due to problems in libc
5885    # (any single argument exceeding 2000 bytes causes a buffer overrun
5886    # during glob expansion).  Even if it were fixed, the result of this
5887    # check would be larger than it should be.
5888    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5889    ;;
5890
5891  gnu*)
5892    # Under GNU Hurd, this test is not required because there is
5893    # no limit to the length of command line arguments.
5894    # Libtool will interpret -1 as no limit whatsoever
5895    lt_cv_sys_max_cmd_len=-1;
5896    ;;
5897
5898  cygwin* | mingw* | cegcc*)
5899    # On Win9x/ME, this test blows up -- it succeeds, but takes
5900    # about 5 minutes as the teststring grows exponentially.
5901    # Worse, since 9x/ME are not pre-emptively multitasking,
5902    # you end up with a "frozen" computer, even though with patience
5903    # the test eventually succeeds (with a max line length of 256k).
5904    # Instead, let's just punt: use the minimum linelength reported by
5905    # all of the supported platforms: 8192 (on NT/2K/XP).
5906    lt_cv_sys_max_cmd_len=8192;
5907    ;;
5908
5909  mint*)
5910    # On MiNT this can take a long time and run out of memory.
5911    lt_cv_sys_max_cmd_len=8192;
5912    ;;
5913
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;
5918    ;;
5919
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
5928    fi
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`
5932    ;;
5933
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
5937    ;;
5938
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
5945    #
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
5950    fi
5951    ;;
5952  sco3.2v5*)
5953    lt_cv_sys_max_cmd_len=102400
5954    ;;
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
5961    fi
5962    ;;
5963  *)
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"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5979	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5980	      test $i != 17 # 1/2 MB should be enough
5981      do
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`
5992    fi
5993    ;;
5994  esac
5995
5996fi
5997
5998if 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; }
6001else
6002  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6003$as_echo "none" >&6; }
6004fi
6005max_cmd_len=$lt_cv_sys_max_cmd_len
6006
6007
6008
6009
6010
6011
6012: ${CP="cp -f"}
6013: ${MV="mv -f"}
6014: ${RM="rm -f"}
6015
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
6019xsi_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; }
6028
6029
6030{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6031$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6032lt_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; }
6038
6039
6040if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6041  lt_unset=unset
6042else
6043  lt_unset=false
6044fi
6045
6046
6047
6048
6049
6050# test EBCDIC or ASCII
6051case `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'
6056  ;;
6057 *) # EBCDIC based system
6058  lt_SP2NL='tr \100 \n'
6059  lt_NL2SP='tr \r\n \100\100'
6060  ;;
6061esac
6062
6063
6064
6065
6066
6067
6068
6069
6070
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; }
6073if test "${lt_cv_ld_reload_flag+set}" = set; then :
6074  $as_echo_n "(cached) " >&6
6075else
6076  lt_cv_ld_reload_flag='-r'
6077fi
6078{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6079$as_echo "$lt_cv_ld_reload_flag" >&6; }
6080reload_flag=$lt_cv_ld_reload_flag
6081case $reload_flag in
6082"" | " "*) ;;
6083*) reload_flag=" $reload_flag" ;;
6084esac
6085reload_cmds='$LD$reload_flag -o $output$reload_objs'
6086case $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'
6092    fi
6093    ;;
6094esac
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104if 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.
6106set 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; }
6109if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6110  $as_echo_n "(cached) " >&6
6111else
6112  if test -n "$OBJDUMP"; then
6113  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6114else
6115as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6116for as_dir in $PATH
6117do
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
6125  fi
6126done
6127  done
6128IFS=$as_save_IFS
6129
6130fi
6131fi
6132OBJDUMP=$ac_cv_prog_OBJDUMP
6133if test -n "$OBJDUMP"; then
6134  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6135$as_echo "$OBJDUMP" >&6; }
6136else
6137  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6138$as_echo "no" >&6; }
6139fi
6140
6141
6142fi
6143if 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.
6146set 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; }
6149if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6150  $as_echo_n "(cached) " >&6
6151else
6152  if test -n "$ac_ct_OBJDUMP"; then
6153  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6154else
6155as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6156for as_dir in $PATH
6157do
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
6165  fi
6166done
6167  done
6168IFS=$as_save_IFS
6169
6170fi
6171fi
6172ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6173if 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; }
6176else
6177  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6178$as_echo "no" >&6; }
6179fi
6180
6181  if test "x$ac_ct_OBJDUMP" = x; then
6182    OBJDUMP="false"
6183  else
6184    case $cross_compiling:$ac_tool_warned in
6185yes:)
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;}
6188ac_tool_warned=yes ;;
6189esac
6190    OBJDUMP=$ac_ct_OBJDUMP
6191  fi
6192else
6193  OBJDUMP="$ac_cv_prog_OBJDUMP"
6194fi
6195
6196test -z "$OBJDUMP" && OBJDUMP=objdump
6197
6198
6199
6200
6201
6202
6203
6204
6205
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; }
6208if test "${lt_cv_deplibs_check_method+set}" = set; then :
6209  $as_echo_n "(cached) " >&6
6210else
6211  lt_cv_file_magic_cmd='$MAGIC_CMD'
6212lt_cv_file_magic_test_file=
6213lt_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.
6224
6225case $host_os in
6226aix[4-9]*)
6227  lt_cv_deplibs_check_method=pass_all
6228  ;;
6229
6230beos*)
6231  lt_cv_deplibs_check_method=pass_all
6232  ;;
6233
6234bsdi[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
6238  ;;
6239
6240cygwin*)
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'
6244  ;;
6245
6246mingw* | 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  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6251  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6252    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6253    lt_cv_file_magic_cmd='func_win32_libid'
6254  else
6255    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6256    lt_cv_file_magic_cmd='$OBJDUMP -f'
6257  fi
6258  ;;
6259
6260cegcc*)
6261  # use the weaker test based on 'objdump'. See mingw*.
6262  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6263  lt_cv_file_magic_cmd='$OBJDUMP -f'
6264  ;;
6265
6266darwin* | rhapsody*)
6267  lt_cv_deplibs_check_method=pass_all
6268  ;;
6269
6270freebsd* | dragonfly*)
6271  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6272    case $host_cpu in
6273    i*86 )
6274      # Not sure whether the presence of OpenBSD here was a mistake.
6275      # Let's accept both of them until this is cleared up.
6276      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6277      lt_cv_file_magic_cmd=/usr/bin/file
6278      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6279      ;;
6280    esac
6281  else
6282    lt_cv_deplibs_check_method=pass_all
6283  fi
6284  ;;
6285
6286gnu*)
6287  lt_cv_deplibs_check_method=pass_all
6288  ;;
6289
6290haiku*)
6291  lt_cv_deplibs_check_method=pass_all
6292  ;;
6293
6294hpux10.20* | hpux11*)
6295  lt_cv_file_magic_cmd=/usr/bin/file
6296  case $host_cpu in
6297  ia64*)
6298    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6299    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6300    ;;
6301  hppa*64*)
6302    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
6303    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6304    ;;
6305  *)
6306    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6307    lt_cv_file_magic_test_file=/usr/lib/libc.sl
6308    ;;
6309  esac
6310  ;;
6311
6312interix[3-9]*)
6313  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6314  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6315  ;;
6316
6317irix5* | irix6* | nonstopux*)
6318  case $LD in
6319  *-32|*"-32 ") libmagic=32-bit;;
6320  *-n32|*"-n32 ") libmagic=N32;;
6321  *-64|*"-64 ") libmagic=64-bit;;
6322  *) libmagic=never-match;;
6323  esac
6324  lt_cv_deplibs_check_method=pass_all
6325  ;;
6326
6327# This must be Linux ELF.
6328linux* | k*bsd*-gnu | kopensolaris*-gnu)
6329  lt_cv_deplibs_check_method=pass_all
6330  ;;
6331
6332netbsd*)
6333  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6334    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6335  else
6336    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6337  fi
6338  ;;
6339
6340newos6*)
6341  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6342  lt_cv_file_magic_cmd=/usr/bin/file
6343  lt_cv_file_magic_test_file=/usr/lib/libnls.so
6344  ;;
6345
6346*nto* | *qnx*)
6347  lt_cv_deplibs_check_method=pass_all
6348  ;;
6349
6350openbsd*)
6351  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6352    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6353  else
6354    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6355  fi
6356  ;;
6357
6358osf3* | osf4* | osf5*)
6359  lt_cv_deplibs_check_method=pass_all
6360  ;;
6361
6362rdos*)
6363  lt_cv_deplibs_check_method=pass_all
6364  ;;
6365
6366solaris*)
6367  lt_cv_deplibs_check_method=pass_all
6368  ;;
6369
6370sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6371  lt_cv_deplibs_check_method=pass_all
6372  ;;
6373
6374sysv4 | sysv4.3*)
6375  case $host_vendor in
6376  motorola)
6377    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]'
6378    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6379    ;;
6380  ncr)
6381    lt_cv_deplibs_check_method=pass_all
6382    ;;
6383  sequent)
6384    lt_cv_file_magic_cmd='/bin/file'
6385    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6386    ;;
6387  sni)
6388    lt_cv_file_magic_cmd='/bin/file'
6389    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6390    lt_cv_file_magic_test_file=/lib/libc.so
6391    ;;
6392  siemens)
6393    lt_cv_deplibs_check_method=pass_all
6394    ;;
6395  pc)
6396    lt_cv_deplibs_check_method=pass_all
6397    ;;
6398  esac
6399  ;;
6400
6401tpf*)
6402  lt_cv_deplibs_check_method=pass_all
6403  ;;
6404esac
6405
6406fi
6407{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6408$as_echo "$lt_cv_deplibs_check_method" >&6; }
6409file_magic_cmd=$lt_cv_file_magic_cmd
6410deplibs_check_method=$lt_cv_deplibs_check_method
6411test -z "$deplibs_check_method" && deplibs_check_method=unknown
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424if test -n "$ac_tool_prefix"; then
6425  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6426set dummy ${ac_tool_prefix}ar; ac_word=$2
6427{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6428$as_echo_n "checking for $ac_word... " >&6; }
6429if test "${ac_cv_prog_AR+set}" = set; then :
6430  $as_echo_n "(cached) " >&6
6431else
6432  if test -n "$AR"; then
6433  ac_cv_prog_AR="$AR" # Let the user override the test.
6434else
6435as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6436for as_dir in $PATH
6437do
6438  IFS=$as_save_IFS
6439  test -z "$as_dir" && as_dir=.
6440    for ac_exec_ext in '' $ac_executable_extensions; do
6441  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6442    ac_cv_prog_AR="${ac_tool_prefix}ar"
6443    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6444    break 2
6445  fi
6446done
6447  done
6448IFS=$as_save_IFS
6449
6450fi
6451fi
6452AR=$ac_cv_prog_AR
6453if test -n "$AR"; then
6454  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6455$as_echo "$AR" >&6; }
6456else
6457  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6458$as_echo "no" >&6; }
6459fi
6460
6461
6462fi
6463if test -z "$ac_cv_prog_AR"; then
6464  ac_ct_AR=$AR
6465  # Extract the first word of "ar", so it can be a program name with args.
6466set dummy ar; ac_word=$2
6467{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6468$as_echo_n "checking for $ac_word... " >&6; }
6469if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6470  $as_echo_n "(cached) " >&6
6471else
6472  if test -n "$ac_ct_AR"; then
6473  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6474else
6475as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6476for as_dir in $PATH
6477do
6478  IFS=$as_save_IFS
6479  test -z "$as_dir" && as_dir=.
6480    for ac_exec_ext in '' $ac_executable_extensions; do
6481  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6482    ac_cv_prog_ac_ct_AR="ar"
6483    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6484    break 2
6485  fi
6486done
6487  done
6488IFS=$as_save_IFS
6489
6490fi
6491fi
6492ac_ct_AR=$ac_cv_prog_ac_ct_AR
6493if test -n "$ac_ct_AR"; then
6494  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6495$as_echo "$ac_ct_AR" >&6; }
6496else
6497  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6498$as_echo "no" >&6; }
6499fi
6500
6501  if test "x$ac_ct_AR" = x; then
6502    AR="false"
6503  else
6504    case $cross_compiling:$ac_tool_warned in
6505yes:)
6506{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6507$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6508ac_tool_warned=yes ;;
6509esac
6510    AR=$ac_ct_AR
6511  fi
6512else
6513  AR="$ac_cv_prog_AR"
6514fi
6515
6516test -z "$AR" && AR=ar
6517test -z "$AR_FLAGS" && AR_FLAGS=cru
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529if test -n "$ac_tool_prefix"; then
6530  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6531set dummy ${ac_tool_prefix}strip; ac_word=$2
6532{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6533$as_echo_n "checking for $ac_word... " >&6; }
6534if test "${ac_cv_prog_STRIP+set}" = set; then :
6535  $as_echo_n "(cached) " >&6
6536else
6537  if test -n "$STRIP"; then
6538  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6539else
6540as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6541for as_dir in $PATH
6542do
6543  IFS=$as_save_IFS
6544  test -z "$as_dir" && as_dir=.
6545    for ac_exec_ext in '' $ac_executable_extensions; do
6546  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6547    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6548    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6549    break 2
6550  fi
6551done
6552  done
6553IFS=$as_save_IFS
6554
6555fi
6556fi
6557STRIP=$ac_cv_prog_STRIP
6558if test -n "$STRIP"; then
6559  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6560$as_echo "$STRIP" >&6; }
6561else
6562  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6563$as_echo "no" >&6; }
6564fi
6565
6566
6567fi
6568if test -z "$ac_cv_prog_STRIP"; then
6569  ac_ct_STRIP=$STRIP
6570  # Extract the first word of "strip", so it can be a program name with args.
6571set dummy strip; ac_word=$2
6572{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6573$as_echo_n "checking for $ac_word... " >&6; }
6574if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6575  $as_echo_n "(cached) " >&6
6576else
6577  if test -n "$ac_ct_STRIP"; then
6578  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6579else
6580as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6581for as_dir in $PATH
6582do
6583  IFS=$as_save_IFS
6584  test -z "$as_dir" && as_dir=.
6585    for ac_exec_ext in '' $ac_executable_extensions; do
6586  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6587    ac_cv_prog_ac_ct_STRIP="strip"
6588    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6589    break 2
6590  fi
6591done
6592  done
6593IFS=$as_save_IFS
6594
6595fi
6596fi
6597ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6598if test -n "$ac_ct_STRIP"; then
6599  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6600$as_echo "$ac_ct_STRIP" >&6; }
6601else
6602  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6603$as_echo "no" >&6; }
6604fi
6605
6606  if test "x$ac_ct_STRIP" = x; then
6607    STRIP=":"
6608  else
6609    case $cross_compiling:$ac_tool_warned in
6610yes:)
6611{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6612$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6613ac_tool_warned=yes ;;
6614esac
6615    STRIP=$ac_ct_STRIP
6616  fi
6617else
6618  STRIP="$ac_cv_prog_STRIP"
6619fi
6620
6621test -z "$STRIP" && STRIP=:
6622
6623
6624
6625
6626
6627
6628if test -n "$ac_tool_prefix"; then
6629  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6630set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6631{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6632$as_echo_n "checking for $ac_word... " >&6; }
6633if test "${ac_cv_prog_RANLIB+set}" = set; then :
6634  $as_echo_n "(cached) " >&6
6635else
6636  if test -n "$RANLIB"; then
6637  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6638else
6639as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6640for as_dir in $PATH
6641do
6642  IFS=$as_save_IFS
6643  test -z "$as_dir" && as_dir=.
6644    for ac_exec_ext in '' $ac_executable_extensions; do
6645  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6646    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6647    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6648    break 2
6649  fi
6650done
6651  done
6652IFS=$as_save_IFS
6653
6654fi
6655fi
6656RANLIB=$ac_cv_prog_RANLIB
6657if test -n "$RANLIB"; then
6658  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6659$as_echo "$RANLIB" >&6; }
6660else
6661  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6662$as_echo "no" >&6; }
6663fi
6664
6665
6666fi
6667if test -z "$ac_cv_prog_RANLIB"; then
6668  ac_ct_RANLIB=$RANLIB
6669  # Extract the first word of "ranlib", so it can be a program name with args.
6670set dummy ranlib; ac_word=$2
6671{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6672$as_echo_n "checking for $ac_word... " >&6; }
6673if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6674  $as_echo_n "(cached) " >&6
6675else
6676  if test -n "$ac_ct_RANLIB"; then
6677  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6678else
6679as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6680for as_dir in $PATH
6681do
6682  IFS=$as_save_IFS
6683  test -z "$as_dir" && as_dir=.
6684    for ac_exec_ext in '' $ac_executable_extensions; do
6685  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6686    ac_cv_prog_ac_ct_RANLIB="ranlib"
6687    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6688    break 2
6689  fi
6690done
6691  done
6692IFS=$as_save_IFS
6693
6694fi
6695fi
6696ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6697if test -n "$ac_ct_RANLIB"; then
6698  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6699$as_echo "$ac_ct_RANLIB" >&6; }
6700else
6701  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6702$as_echo "no" >&6; }
6703fi
6704
6705  if test "x$ac_ct_RANLIB" = x; then
6706    RANLIB=":"
6707  else
6708    case $cross_compiling:$ac_tool_warned in
6709yes:)
6710{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6711$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6712ac_tool_warned=yes ;;
6713esac
6714    RANLIB=$ac_ct_RANLIB
6715  fi
6716else
6717  RANLIB="$ac_cv_prog_RANLIB"
6718fi
6719
6720test -z "$RANLIB" && RANLIB=:
6721
6722
6723
6724
6725
6726
6727# Determine commands to create old-style static archives.
6728old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6729old_postinstall_cmds='chmod 644 $oldlib'
6730old_postuninstall_cmds=
6731
6732if test -n "$RANLIB"; then
6733  case $host_os in
6734  openbsd*)
6735    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6736    ;;
6737  *)
6738    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6739    ;;
6740  esac
6741  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6742fi
6743
6744case $host_os in
6745  darwin*)
6746    lock_old_archive_extraction=yes ;;
6747  *)
6748    lock_old_archive_extraction=no ;;
6749esac
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789# If no C compiler was specified, use CC.
6790LTCC=${LTCC-"$CC"}
6791
6792# If no C compiler flags were specified, use CFLAGS.
6793LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6794
6795# Allow CC to be a program name with arguments.
6796compiler=$CC
6797
6798
6799# Check for command to grab the raw symbol name followed by C symbol from nm.
6800{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6801$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6802if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6803  $as_echo_n "(cached) " >&6
6804else
6805
6806# These are sane defaults that work on at least a few old systems.
6807# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6808
6809# Character class describing NM global symbol codes.
6810symcode='[BCDEGRST]'
6811
6812# Regexp to match symbols that can be accessed directly from C.
6813sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6814
6815# Define system-specific variables.
6816case $host_os in
6817aix*)
6818  symcode='[BCDT]'
6819  ;;
6820cygwin* | mingw* | pw32* | cegcc*)
6821  symcode='[ABCDGISTW]'
6822  ;;
6823hpux*)
6824  if test "$host_cpu" = ia64; then
6825    symcode='[ABCDEGRST]'
6826  fi
6827  ;;
6828irix* | nonstopux*)
6829  symcode='[BCDEGRST]'
6830  ;;
6831osf*)
6832  symcode='[BCDEGQRST]'
6833  ;;
6834solaris*)
6835  symcode='[BDRT]'
6836  ;;
6837sco3.2v5*)
6838  symcode='[DT]'
6839  ;;
6840sysv4.2uw2*)
6841  symcode='[DT]'
6842  ;;
6843sysv5* | sco5v6* | unixware* | OpenUNIX*)
6844  symcode='[ABDT]'
6845  ;;
6846sysv4)
6847  symcode='[DFNSTU]'
6848  ;;
6849esac
6850
6851# If we're using GNU nm, then use its standard symbol codes.
6852case `$NM -V 2>&1` in
6853*GNU* | *'with BFD'*)
6854  symcode='[ABCDGIRSTW]' ;;
6855esac
6856
6857# Transform an extracted symbol line into a proper C declaration.
6858# Some systems (esp. on ia64) link data and code symbols differently,
6859# so use this general approach.
6860lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6861
6862# Transform an extracted symbol line into symbol name and symbol address
6863lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6864lt_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'"
6865
6866# Handle CRLF in mingw tool chain
6867opt_cr=
6868case $build_os in
6869mingw*)
6870  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6871  ;;
6872esac
6873
6874# Try without a prefix underscore, then with it.
6875for ac_symprfx in "" "_"; do
6876
6877  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6878  symxfrm="\\1 $ac_symprfx\\2 \\2"
6879
6880  # Write the raw and C identifiers.
6881  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6882    # Fake it for dumpbin and say T for any non-static function
6883    # and D for any global variable.
6884    # Also find C++ and __fastcall symbols from MSVC++,
6885    # which start with @ or ?.
6886    lt_cv_sys_global_symbol_pipe="$AWK '"\
6887"     {last_section=section; section=\$ 3};"\
6888"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6889"     \$ 0!~/External *\|/{next};"\
6890"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6891"     {if(hide[section]) next};"\
6892"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6893"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6894"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6895"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6896"     ' prfx=^$ac_symprfx"
6897  else
6898    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6899  fi
6900
6901  # Check to see that the pipe works correctly.
6902  pipe_works=no
6903
6904  rm -f conftest*
6905  cat > conftest.$ac_ext <<_LT_EOF
6906#ifdef __cplusplus
6907extern "C" {
6908#endif
6909char nm_test_var;
6910void nm_test_func(void);
6911void nm_test_func(void){}
6912#ifdef __cplusplus
6913}
6914#endif
6915int main(){nm_test_var='a';nm_test_func();return(0);}
6916_LT_EOF
6917
6918  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6919  (eval $ac_compile) 2>&5
6920  ac_status=$?
6921  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6922  test $ac_status = 0; }; then
6923    # Now try to grab the symbols.
6924    nlist=conftest.nm
6925    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6926  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6927  ac_status=$?
6928  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6929  test $ac_status = 0; } && test -s "$nlist"; then
6930      # Try sorting and uniquifying the output.
6931      if sort "$nlist" | uniq > "$nlist"T; then
6932	mv -f "$nlist"T "$nlist"
6933      else
6934	rm -f "$nlist"T
6935      fi
6936
6937      # Make sure that we snagged all the symbols we need.
6938      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6939	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6940	  cat <<_LT_EOF > conftest.$ac_ext
6941#ifdef __cplusplus
6942extern "C" {
6943#endif
6944
6945_LT_EOF
6946	  # Now generate the symbol file.
6947	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6948
6949	  cat <<_LT_EOF >> conftest.$ac_ext
6950
6951/* The mapping between symbol names and symbols.  */
6952const struct {
6953  const char *name;
6954  void       *address;
6955}
6956lt__PROGRAM__LTX_preloaded_symbols[] =
6957{
6958  { "@PROGRAM@", (void *) 0 },
6959_LT_EOF
6960	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6961	  cat <<\_LT_EOF >> conftest.$ac_ext
6962  {0, (void *) 0}
6963};
6964
6965/* This works around a problem in FreeBSD linker */
6966#ifdef FREEBSD_WORKAROUND
6967static const void *lt_preloaded_setup() {
6968  return lt__PROGRAM__LTX_preloaded_symbols;
6969}
6970#endif
6971
6972#ifdef __cplusplus
6973}
6974#endif
6975_LT_EOF
6976	  # Now try linking the two files.
6977	  mv conftest.$ac_objext conftstm.$ac_objext
6978	  lt_save_LIBS="$LIBS"
6979	  lt_save_CFLAGS="$CFLAGS"
6980	  LIBS="conftstm.$ac_objext"
6981	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6982	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6983  (eval $ac_link) 2>&5
6984  ac_status=$?
6985  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6986  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6987	    pipe_works=yes
6988	  fi
6989	  LIBS="$lt_save_LIBS"
6990	  CFLAGS="$lt_save_CFLAGS"
6991	else
6992	  echo "cannot find nm_test_func in $nlist" >&5
6993	fi
6994      else
6995	echo "cannot find nm_test_var in $nlist" >&5
6996      fi
6997    else
6998      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6999    fi
7000  else
7001    echo "$progname: failed program was:" >&5
7002    cat conftest.$ac_ext >&5
7003  fi
7004  rm -rf conftest* conftst*
7005
7006  # Do not use the global_symbol_pipe unless it works.
7007  if test "$pipe_works" = yes; then
7008    break
7009  else
7010    lt_cv_sys_global_symbol_pipe=
7011  fi
7012done
7013
7014fi
7015
7016if test -z "$lt_cv_sys_global_symbol_pipe"; then
7017  lt_cv_sys_global_symbol_to_cdecl=
7018fi
7019if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7020  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7021$as_echo "failed" >&6; }
7022else
7023  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7024$as_echo "ok" >&6; }
7025fi
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048# Check whether --enable-libtool-lock was given.
7049if test "${enable_libtool_lock+set}" = set; then :
7050  enableval=$enable_libtool_lock;
7051fi
7052
7053test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7054
7055# Some flags need to be propagated to the compiler or linker for good
7056# libtool support.
7057case $host in
7058ia64-*-hpux*)
7059  # Find out which ABI we are using.
7060  echo 'int i;' > conftest.$ac_ext
7061  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7062  (eval $ac_compile) 2>&5
7063  ac_status=$?
7064  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7065  test $ac_status = 0; }; then
7066    case `/usr/bin/file conftest.$ac_objext` in
7067      *ELF-32*)
7068	HPUX_IA64_MODE="32"
7069	;;
7070      *ELF-64*)
7071	HPUX_IA64_MODE="64"
7072	;;
7073    esac
7074  fi
7075  rm -rf conftest*
7076  ;;
7077*-*-irix6*)
7078  # Find out which ABI we are using.
7079  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7080  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7081  (eval $ac_compile) 2>&5
7082  ac_status=$?
7083  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7084  test $ac_status = 0; }; then
7085    if test "$lt_cv_prog_gnu_ld" = yes; then
7086      case `/usr/bin/file conftest.$ac_objext` in
7087	*32-bit*)
7088	  LD="${LD-ld} -melf32bsmip"
7089	  ;;
7090	*N32*)
7091	  LD="${LD-ld} -melf32bmipn32"
7092	  ;;
7093	*64-bit*)
7094	  LD="${LD-ld} -melf64bmip"
7095	;;
7096      esac
7097    else
7098      case `/usr/bin/file conftest.$ac_objext` in
7099	*32-bit*)
7100	  LD="${LD-ld} -32"
7101	  ;;
7102	*N32*)
7103	  LD="${LD-ld} -n32"
7104	  ;;
7105	*64-bit*)
7106	  LD="${LD-ld} -64"
7107	  ;;
7108      esac
7109    fi
7110  fi
7111  rm -rf conftest*
7112  ;;
7113
7114x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7115s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7116  # Find out which ABI we are using.
7117  echo 'int i;' > conftest.$ac_ext
7118  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7119  (eval $ac_compile) 2>&5
7120  ac_status=$?
7121  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7122  test $ac_status = 0; }; then
7123    case `/usr/bin/file conftest.o` in
7124      *32-bit*)
7125	case $host in
7126	  x86_64-*kfreebsd*-gnu)
7127	    LD="${LD-ld} -m elf_i386_fbsd"
7128	    ;;
7129	  x86_64-*linux*)
7130	    case `/usr/bin/file conftest.o` in
7131	      *x86-64*)
7132		LD="${LD-ld} -m elf32_x86_64"
7133		;;
7134	      *)
7135		LD="${LD-ld} -m elf_i386"
7136		;;
7137	    esac
7138	    ;;
7139	  ppc64-*linux*|powerpc64-*linux*)
7140	    LD="${LD-ld} -m elf32ppclinux"
7141	    ;;
7142	  s390x-*linux*)
7143	    LD="${LD-ld} -m elf_s390"
7144	    ;;
7145	  sparc64-*linux*)
7146	    LD="${LD-ld} -m elf32_sparc"
7147	    ;;
7148	esac
7149	;;
7150      *64-bit*)
7151	case $host in
7152	  x86_64-*kfreebsd*-gnu)
7153	    LD="${LD-ld} -m elf_x86_64_fbsd"
7154	    ;;
7155	  x86_64-*linux*)
7156	    LD="${LD-ld} -m elf_x86_64"
7157	    ;;
7158	  ppc*-*linux*|powerpc*-*linux*)
7159	    LD="${LD-ld} -m elf64ppc"
7160	    ;;
7161	  s390*-*linux*|s390*-*tpf*)
7162	    LD="${LD-ld} -m elf64_s390"
7163	    ;;
7164	  sparc*-*linux*)
7165	    LD="${LD-ld} -m elf64_sparc"
7166	    ;;
7167	esac
7168	;;
7169    esac
7170  fi
7171  rm -rf conftest*
7172  ;;
7173
7174*-*-sco3.2v5*)
7175  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7176  SAVE_CFLAGS="$CFLAGS"
7177  CFLAGS="$CFLAGS -belf"
7178  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7179$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7180if test "${lt_cv_cc_needs_belf+set}" = set; then :
7181  $as_echo_n "(cached) " >&6
7182else
7183  ac_ext=c
7184ac_cpp='$CPP $CPPFLAGS'
7185ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7186ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7187ac_compiler_gnu=$ac_cv_c_compiler_gnu
7188
7189     if test x$gcc_no_link = xyes; then
7190  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7191fi
7192cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7193/* end confdefs.h.  */
7194
7195int
7196main ()
7197{
7198
7199  ;
7200  return 0;
7201}
7202_ACEOF
7203if ac_fn_c_try_link "$LINENO"; then :
7204  lt_cv_cc_needs_belf=yes
7205else
7206  lt_cv_cc_needs_belf=no
7207fi
7208rm -f core conftest.err conftest.$ac_objext \
7209    conftest$ac_exeext conftest.$ac_ext
7210     ac_ext=c
7211ac_cpp='$CPP $CPPFLAGS'
7212ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7213ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7214ac_compiler_gnu=$ac_cv_c_compiler_gnu
7215
7216fi
7217{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7218$as_echo "$lt_cv_cc_needs_belf" >&6; }
7219  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7220    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7221    CFLAGS="$SAVE_CFLAGS"
7222  fi
7223  ;;
7224sparc*-*solaris*)
7225  # Find out which ABI we are using.
7226  echo 'int i;' > conftest.$ac_ext
7227  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7228  (eval $ac_compile) 2>&5
7229  ac_status=$?
7230  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7231  test $ac_status = 0; }; then
7232    case `/usr/bin/file conftest.o` in
7233    *64-bit*)
7234      case $lt_cv_prog_gnu_ld in
7235      yes*) LD="${LD-ld} -m elf64_sparc" ;;
7236      *)
7237	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7238	  LD="${LD-ld} -64"
7239	fi
7240	;;
7241      esac
7242      ;;
7243    esac
7244  fi
7245  rm -rf conftest*
7246  ;;
7247esac
7248
7249need_locks="$enable_libtool_lock"
7250
7251
7252  case $host_os in
7253    rhapsody* | darwin*)
7254    if test -n "$ac_tool_prefix"; then
7255  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7256set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7257{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7258$as_echo_n "checking for $ac_word... " >&6; }
7259if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7260  $as_echo_n "(cached) " >&6
7261else
7262  if test -n "$DSYMUTIL"; then
7263  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7264else
7265as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7266for as_dir in $PATH
7267do
7268  IFS=$as_save_IFS
7269  test -z "$as_dir" && as_dir=.
7270    for ac_exec_ext in '' $ac_executable_extensions; do
7271  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7272    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7273    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7274    break 2
7275  fi
7276done
7277  done
7278IFS=$as_save_IFS
7279
7280fi
7281fi
7282DSYMUTIL=$ac_cv_prog_DSYMUTIL
7283if test -n "$DSYMUTIL"; then
7284  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7285$as_echo "$DSYMUTIL" >&6; }
7286else
7287  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7288$as_echo "no" >&6; }
7289fi
7290
7291
7292fi
7293if test -z "$ac_cv_prog_DSYMUTIL"; then
7294  ac_ct_DSYMUTIL=$DSYMUTIL
7295  # Extract the first word of "dsymutil", so it can be a program name with args.
7296set dummy dsymutil; ac_word=$2
7297{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7298$as_echo_n "checking for $ac_word... " >&6; }
7299if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7300  $as_echo_n "(cached) " >&6
7301else
7302  if test -n "$ac_ct_DSYMUTIL"; then
7303  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7304else
7305as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7306for as_dir in $PATH
7307do
7308  IFS=$as_save_IFS
7309  test -z "$as_dir" && as_dir=.
7310    for ac_exec_ext in '' $ac_executable_extensions; do
7311  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7312    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7313    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7314    break 2
7315  fi
7316done
7317  done
7318IFS=$as_save_IFS
7319
7320fi
7321fi
7322ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7323if test -n "$ac_ct_DSYMUTIL"; then
7324  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7325$as_echo "$ac_ct_DSYMUTIL" >&6; }
7326else
7327  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7328$as_echo "no" >&6; }
7329fi
7330
7331  if test "x$ac_ct_DSYMUTIL" = x; then
7332    DSYMUTIL=":"
7333  else
7334    case $cross_compiling:$ac_tool_warned in
7335yes:)
7336{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7337$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7338ac_tool_warned=yes ;;
7339esac
7340    DSYMUTIL=$ac_ct_DSYMUTIL
7341  fi
7342else
7343  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7344fi
7345
7346    if test -n "$ac_tool_prefix"; then
7347  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7348set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7349{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7350$as_echo_n "checking for $ac_word... " >&6; }
7351if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7352  $as_echo_n "(cached) " >&6
7353else
7354  if test -n "$NMEDIT"; then
7355  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7356else
7357as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7358for as_dir in $PATH
7359do
7360  IFS=$as_save_IFS
7361  test -z "$as_dir" && as_dir=.
7362    for ac_exec_ext in '' $ac_executable_extensions; do
7363  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7364    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7365    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7366    break 2
7367  fi
7368done
7369  done
7370IFS=$as_save_IFS
7371
7372fi
7373fi
7374NMEDIT=$ac_cv_prog_NMEDIT
7375if test -n "$NMEDIT"; then
7376  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7377$as_echo "$NMEDIT" >&6; }
7378else
7379  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7380$as_echo "no" >&6; }
7381fi
7382
7383
7384fi
7385if test -z "$ac_cv_prog_NMEDIT"; then
7386  ac_ct_NMEDIT=$NMEDIT
7387  # Extract the first word of "nmedit", so it can be a program name with args.
7388set dummy nmedit; ac_word=$2
7389{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7390$as_echo_n "checking for $ac_word... " >&6; }
7391if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7392  $as_echo_n "(cached) " >&6
7393else
7394  if test -n "$ac_ct_NMEDIT"; then
7395  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7396else
7397as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7398for as_dir in $PATH
7399do
7400  IFS=$as_save_IFS
7401  test -z "$as_dir" && as_dir=.
7402    for ac_exec_ext in '' $ac_executable_extensions; do
7403  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7404    ac_cv_prog_ac_ct_NMEDIT="nmedit"
7405    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7406    break 2
7407  fi
7408done
7409  done
7410IFS=$as_save_IFS
7411
7412fi
7413fi
7414ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7415if test -n "$ac_ct_NMEDIT"; then
7416  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7417$as_echo "$ac_ct_NMEDIT" >&6; }
7418else
7419  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7420$as_echo "no" >&6; }
7421fi
7422
7423  if test "x$ac_ct_NMEDIT" = x; then
7424    NMEDIT=":"
7425  else
7426    case $cross_compiling:$ac_tool_warned in
7427yes:)
7428{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7429$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7430ac_tool_warned=yes ;;
7431esac
7432    NMEDIT=$ac_ct_NMEDIT
7433  fi
7434else
7435  NMEDIT="$ac_cv_prog_NMEDIT"
7436fi
7437
7438    if test -n "$ac_tool_prefix"; then
7439  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7440set dummy ${ac_tool_prefix}lipo; ac_word=$2
7441{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7442$as_echo_n "checking for $ac_word... " >&6; }
7443if test "${ac_cv_prog_LIPO+set}" = set; then :
7444  $as_echo_n "(cached) " >&6
7445else
7446  if test -n "$LIPO"; then
7447  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7448else
7449as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7450for as_dir in $PATH
7451do
7452  IFS=$as_save_IFS
7453  test -z "$as_dir" && as_dir=.
7454    for ac_exec_ext in '' $ac_executable_extensions; do
7455  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7456    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7457    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7458    break 2
7459  fi
7460done
7461  done
7462IFS=$as_save_IFS
7463
7464fi
7465fi
7466LIPO=$ac_cv_prog_LIPO
7467if test -n "$LIPO"; then
7468  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7469$as_echo "$LIPO" >&6; }
7470else
7471  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7472$as_echo "no" >&6; }
7473fi
7474
7475
7476fi
7477if test -z "$ac_cv_prog_LIPO"; then
7478  ac_ct_LIPO=$LIPO
7479  # Extract the first word of "lipo", so it can be a program name with args.
7480set dummy lipo; ac_word=$2
7481{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7482$as_echo_n "checking for $ac_word... " >&6; }
7483if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7484  $as_echo_n "(cached) " >&6
7485else
7486  if test -n "$ac_ct_LIPO"; then
7487  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7488else
7489as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7490for as_dir in $PATH
7491do
7492  IFS=$as_save_IFS
7493  test -z "$as_dir" && as_dir=.
7494    for ac_exec_ext in '' $ac_executable_extensions; do
7495  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7496    ac_cv_prog_ac_ct_LIPO="lipo"
7497    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7498    break 2
7499  fi
7500done
7501  done
7502IFS=$as_save_IFS
7503
7504fi
7505fi
7506ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7507if test -n "$ac_ct_LIPO"; then
7508  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7509$as_echo "$ac_ct_LIPO" >&6; }
7510else
7511  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7512$as_echo "no" >&6; }
7513fi
7514
7515  if test "x$ac_ct_LIPO" = x; then
7516    LIPO=":"
7517  else
7518    case $cross_compiling:$ac_tool_warned in
7519yes:)
7520{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7521$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7522ac_tool_warned=yes ;;
7523esac
7524    LIPO=$ac_ct_LIPO
7525  fi
7526else
7527  LIPO="$ac_cv_prog_LIPO"
7528fi
7529
7530    if test -n "$ac_tool_prefix"; then
7531  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7532set dummy ${ac_tool_prefix}otool; ac_word=$2
7533{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7534$as_echo_n "checking for $ac_word... " >&6; }
7535if test "${ac_cv_prog_OTOOL+set}" = set; then :
7536  $as_echo_n "(cached) " >&6
7537else
7538  if test -n "$OTOOL"; then
7539  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7540else
7541as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7542for as_dir in $PATH
7543do
7544  IFS=$as_save_IFS
7545  test -z "$as_dir" && as_dir=.
7546    for ac_exec_ext in '' $ac_executable_extensions; do
7547  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7548    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7549    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7550    break 2
7551  fi
7552done
7553  done
7554IFS=$as_save_IFS
7555
7556fi
7557fi
7558OTOOL=$ac_cv_prog_OTOOL
7559if test -n "$OTOOL"; then
7560  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7561$as_echo "$OTOOL" >&6; }
7562else
7563  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7564$as_echo "no" >&6; }
7565fi
7566
7567
7568fi
7569if test -z "$ac_cv_prog_OTOOL"; then
7570  ac_ct_OTOOL=$OTOOL
7571  # Extract the first word of "otool", so it can be a program name with args.
7572set dummy otool; ac_word=$2
7573{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7574$as_echo_n "checking for $ac_word... " >&6; }
7575if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7576  $as_echo_n "(cached) " >&6
7577else
7578  if test -n "$ac_ct_OTOOL"; then
7579  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7580else
7581as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7582for as_dir in $PATH
7583do
7584  IFS=$as_save_IFS
7585  test -z "$as_dir" && as_dir=.
7586    for ac_exec_ext in '' $ac_executable_extensions; do
7587  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7588    ac_cv_prog_ac_ct_OTOOL="otool"
7589    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7590    break 2
7591  fi
7592done
7593  done
7594IFS=$as_save_IFS
7595
7596fi
7597fi
7598ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7599if test -n "$ac_ct_OTOOL"; then
7600  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7601$as_echo "$ac_ct_OTOOL" >&6; }
7602else
7603  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7604$as_echo "no" >&6; }
7605fi
7606
7607  if test "x$ac_ct_OTOOL" = x; then
7608    OTOOL=":"
7609  else
7610    case $cross_compiling:$ac_tool_warned in
7611yes:)
7612{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7613$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7614ac_tool_warned=yes ;;
7615esac
7616    OTOOL=$ac_ct_OTOOL
7617  fi
7618else
7619  OTOOL="$ac_cv_prog_OTOOL"
7620fi
7621
7622    if test -n "$ac_tool_prefix"; then
7623  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7624set dummy ${ac_tool_prefix}otool64; ac_word=$2
7625{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7626$as_echo_n "checking for $ac_word... " >&6; }
7627if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7628  $as_echo_n "(cached) " >&6
7629else
7630  if test -n "$OTOOL64"; then
7631  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7632else
7633as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7634for as_dir in $PATH
7635do
7636  IFS=$as_save_IFS
7637  test -z "$as_dir" && as_dir=.
7638    for ac_exec_ext in '' $ac_executable_extensions; do
7639  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7640    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7641    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7642    break 2
7643  fi
7644done
7645  done
7646IFS=$as_save_IFS
7647
7648fi
7649fi
7650OTOOL64=$ac_cv_prog_OTOOL64
7651if test -n "$OTOOL64"; then
7652  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7653$as_echo "$OTOOL64" >&6; }
7654else
7655  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7656$as_echo "no" >&6; }
7657fi
7658
7659
7660fi
7661if test -z "$ac_cv_prog_OTOOL64"; then
7662  ac_ct_OTOOL64=$OTOOL64
7663  # Extract the first word of "otool64", so it can be a program name with args.
7664set dummy otool64; ac_word=$2
7665{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7666$as_echo_n "checking for $ac_word... " >&6; }
7667if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7668  $as_echo_n "(cached) " >&6
7669else
7670  if test -n "$ac_ct_OTOOL64"; then
7671  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7672else
7673as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7674for as_dir in $PATH
7675do
7676  IFS=$as_save_IFS
7677  test -z "$as_dir" && as_dir=.
7678    for ac_exec_ext in '' $ac_executable_extensions; do
7679  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7680    ac_cv_prog_ac_ct_OTOOL64="otool64"
7681    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7682    break 2
7683  fi
7684done
7685  done
7686IFS=$as_save_IFS
7687
7688fi
7689fi
7690ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7691if test -n "$ac_ct_OTOOL64"; then
7692  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7693$as_echo "$ac_ct_OTOOL64" >&6; }
7694else
7695  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7696$as_echo "no" >&6; }
7697fi
7698
7699  if test "x$ac_ct_OTOOL64" = x; then
7700    OTOOL64=":"
7701  else
7702    case $cross_compiling:$ac_tool_warned in
7703yes:)
7704{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7705$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7706ac_tool_warned=yes ;;
7707esac
7708    OTOOL64=$ac_ct_OTOOL64
7709  fi
7710else
7711  OTOOL64="$ac_cv_prog_OTOOL64"
7712fi
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7741$as_echo_n "checking for -single_module linker flag... " >&6; }
7742if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7743  $as_echo_n "(cached) " >&6
7744else
7745  lt_cv_apple_cc_single_mod=no
7746      if test -z "${LT_MULTI_MODULE}"; then
7747	# By default we will add the -single_module flag. You can override
7748	# by either setting the environment variable LT_MULTI_MODULE
7749	# non-empty at configure time, or by adding -multi_module to the
7750	# link flags.
7751	rm -rf libconftest.dylib*
7752	echo "int foo(void){return 1;}" > conftest.c
7753	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7754-dynamiclib -Wl,-single_module conftest.c" >&5
7755	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7756	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7757        _lt_result=$?
7758	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7759	  lt_cv_apple_cc_single_mod=yes
7760	else
7761	  cat conftest.err >&5
7762	fi
7763	rm -rf libconftest.dylib*
7764	rm -f conftest.*
7765      fi
7766fi
7767{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7768$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7769    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7770$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7771if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7772  $as_echo_n "(cached) " >&6
7773else
7774  lt_cv_ld_exported_symbols_list=no
7775      save_LDFLAGS=$LDFLAGS
7776      echo "_main" > conftest.sym
7777      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7778      if test x$gcc_no_link = xyes; then
7779  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7780fi
7781cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7782/* end confdefs.h.  */
7783
7784int
7785main ()
7786{
7787
7788  ;
7789  return 0;
7790}
7791_ACEOF
7792if ac_fn_c_try_link "$LINENO"; then :
7793  lt_cv_ld_exported_symbols_list=yes
7794else
7795  lt_cv_ld_exported_symbols_list=no
7796fi
7797rm -f core conftest.err conftest.$ac_objext \
7798    conftest$ac_exeext conftest.$ac_ext
7799	LDFLAGS="$save_LDFLAGS"
7800
7801fi
7802{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7803$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7804    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7805$as_echo_n "checking for -force_load linker flag... " >&6; }
7806if test "${lt_cv_ld_force_load+set}" = set; then :
7807  $as_echo_n "(cached) " >&6
7808else
7809  lt_cv_ld_force_load=no
7810      cat > conftest.c << _LT_EOF
7811int forced_loaded() { return 2;}
7812_LT_EOF
7813      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7814      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7815      echo "$AR cru libconftest.a conftest.o" >&5
7816      $AR cru libconftest.a conftest.o 2>&5
7817      cat > conftest.c << _LT_EOF
7818int main() { return 0;}
7819_LT_EOF
7820      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7821      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7822      _lt_result=$?
7823      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7824	lt_cv_ld_force_load=yes
7825      else
7826	cat conftest.err >&5
7827      fi
7828        rm -f conftest.err libconftest.a conftest conftest.c
7829        rm -rf conftest.dSYM
7830
7831fi
7832{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7833$as_echo "$lt_cv_ld_force_load" >&6; }
7834    case $host_os in
7835    rhapsody* | darwin1.[012])
7836      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7837    darwin1.*)
7838      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7839    darwin*) # darwin 5.x on
7840      # if running on 10.5 or later, the deployment target defaults
7841      # to the OS version, if on x86, and 10.4, the deployment
7842      # target defaults to 10.4. Don't you love it?
7843      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7844	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7845	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7846	10.[012]*)
7847	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7848	10.*)
7849	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7850      esac
7851    ;;
7852  esac
7853    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7854      _lt_dar_single_mod='$single_module'
7855    fi
7856    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7857      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7858    else
7859      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7860    fi
7861    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7862      _lt_dsymutil='~$DSYMUTIL $lib || :'
7863    else
7864      _lt_dsymutil=
7865    fi
7866    ;;
7867  esac
7868
7869{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7870$as_echo_n "checking for ANSI C header files... " >&6; }
7871if test "${ac_cv_header_stdc+set}" = set; then :
7872  $as_echo_n "(cached) " >&6
7873else
7874  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7875/* end confdefs.h.  */
7876#include <stdlib.h>
7877#include <stdarg.h>
7878#include <string.h>
7879#include <float.h>
7880
7881int
7882main ()
7883{
7884
7885  ;
7886  return 0;
7887}
7888_ACEOF
7889if ac_fn_c_try_compile "$LINENO"; then :
7890  ac_cv_header_stdc=yes
7891else
7892  ac_cv_header_stdc=no
7893fi
7894rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7895
7896if test $ac_cv_header_stdc = yes; then
7897  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7898  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7899/* end confdefs.h.  */
7900#include <string.h>
7901
7902_ACEOF
7903if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7904  $EGREP "memchr" >/dev/null 2>&1; then :
7905
7906else
7907  ac_cv_header_stdc=no
7908fi
7909rm -f conftest*
7910
7911fi
7912
7913if test $ac_cv_header_stdc = yes; then
7914  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7915  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7916/* end confdefs.h.  */
7917#include <stdlib.h>
7918
7919_ACEOF
7920if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7921  $EGREP "free" >/dev/null 2>&1; then :
7922
7923else
7924  ac_cv_header_stdc=no
7925fi
7926rm -f conftest*
7927
7928fi
7929
7930if test $ac_cv_header_stdc = yes; then
7931  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7932  if test "$cross_compiling" = yes; then :
7933  :
7934else
7935  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7936/* end confdefs.h.  */
7937#include <ctype.h>
7938#include <stdlib.h>
7939#if ((' ' & 0x0FF) == 0x020)
7940# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7941# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7942#else
7943# define ISLOWER(c) \
7944		   (('a' <= (c) && (c) <= 'i') \
7945		     || ('j' <= (c) && (c) <= 'r') \
7946		     || ('s' <= (c) && (c) <= 'z'))
7947# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7948#endif
7949
7950#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7951int
7952main ()
7953{
7954  int i;
7955  for (i = 0; i < 256; i++)
7956    if (XOR (islower (i), ISLOWER (i))
7957	|| toupper (i) != TOUPPER (i))
7958      return 2;
7959  return 0;
7960}
7961_ACEOF
7962if ac_fn_c_try_run "$LINENO"; then :
7963
7964else
7965  ac_cv_header_stdc=no
7966fi
7967rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7968  conftest.$ac_objext conftest.beam conftest.$ac_ext
7969fi
7970
7971fi
7972fi
7973{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7974$as_echo "$ac_cv_header_stdc" >&6; }
7975if test $ac_cv_header_stdc = yes; then
7976
7977$as_echo "#define STDC_HEADERS 1" >>confdefs.h
7978
7979fi
7980
7981# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7982for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7983		  inttypes.h stdint.h unistd.h
7984do :
7985  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7986ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7987"
7988eval as_val=\$$as_ac_Header
7989   if test "x$as_val" = x""yes; then :
7990  cat >>confdefs.h <<_ACEOF
7991#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7992_ACEOF
7993
7994fi
7995
7996done
7997
7998
7999for ac_header in dlfcn.h
8000do :
8001  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8002"
8003if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8004  cat >>confdefs.h <<_ACEOF
8005#define HAVE_DLFCN_H 1
8006_ACEOF
8007
8008fi
8009
8010done
8011
8012
8013
8014
8015
8016
8017# Set options
8018
8019
8020
8021
8022  enable_win32_dll=no
8023
8024
8025            # Check whether --enable-shared was given.
8026if test "${enable_shared+set}" = set; then :
8027  enableval=$enable_shared; p=${PACKAGE-default}
8028    case $enableval in
8029    yes) enable_shared=yes ;;
8030    no) enable_shared=no ;;
8031    *)
8032      enable_shared=no
8033      # Look at the argument we got.  We use all the common list separators.
8034      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8035      for pkg in $enableval; do
8036	IFS="$lt_save_ifs"
8037	if test "X$pkg" = "X$p"; then
8038	  enable_shared=yes
8039	fi
8040      done
8041      IFS="$lt_save_ifs"
8042      ;;
8043    esac
8044else
8045  enable_shared=yes
8046fi
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056  # Check whether --enable-static was given.
8057if test "${enable_static+set}" = set; then :
8058  enableval=$enable_static; p=${PACKAGE-default}
8059    case $enableval in
8060    yes) enable_static=yes ;;
8061    no) enable_static=no ;;
8062    *)
8063     enable_static=no
8064      # Look at the argument we got.  We use all the common list separators.
8065      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8066      for pkg in $enableval; do
8067	IFS="$lt_save_ifs"
8068	if test "X$pkg" = "X$p"; then
8069	  enable_static=yes
8070	fi
8071      done
8072      IFS="$lt_save_ifs"
8073      ;;
8074    esac
8075else
8076  enable_static=yes
8077fi
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088# Check whether --with-pic was given.
8089if test "${with_pic+set}" = set; then :
8090  withval=$with_pic; pic_mode="$withval"
8091else
8092  pic_mode=default
8093fi
8094
8095
8096test -z "$pic_mode" && pic_mode=default
8097
8098
8099
8100
8101
8102
8103
8104  # Check whether --enable-fast-install was given.
8105if test "${enable_fast_install+set}" = set; then :
8106  enableval=$enable_fast_install; p=${PACKAGE-default}
8107    case $enableval in
8108    yes) enable_fast_install=yes ;;
8109    no) enable_fast_install=no ;;
8110    *)
8111      enable_fast_install=no
8112      # Look at the argument we got.  We use all the common list separators.
8113      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8114      for pkg in $enableval; do
8115	IFS="$lt_save_ifs"
8116	if test "X$pkg" = "X$p"; then
8117	  enable_fast_install=yes
8118	fi
8119      done
8120      IFS="$lt_save_ifs"
8121      ;;
8122    esac
8123else
8124  enable_fast_install=yes
8125fi
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137# This can be used to rebuild libtool when needed
8138LIBTOOL_DEPS="$ltmain"
8139
8140# Always use our own libtool.
8141LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168test -z "$LN_S" && LN_S="ln -s"
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183if test -n "${ZSH_VERSION+set}" ; then
8184   setopt NO_GLOB_SUBST
8185fi
8186
8187{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8188$as_echo_n "checking for objdir... " >&6; }
8189if test "${lt_cv_objdir+set}" = set; then :
8190  $as_echo_n "(cached) " >&6
8191else
8192  rm -f .libs 2>/dev/null
8193mkdir .libs 2>/dev/null
8194if test -d .libs; then
8195  lt_cv_objdir=.libs
8196else
8197  # MS-DOS does not allow filenames that begin with a dot.
8198  lt_cv_objdir=_libs
8199fi
8200rmdir .libs 2>/dev/null
8201fi
8202{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8203$as_echo "$lt_cv_objdir" >&6; }
8204objdir=$lt_cv_objdir
8205
8206
8207
8208
8209
8210cat >>confdefs.h <<_ACEOF
8211#define LT_OBJDIR "$lt_cv_objdir/"
8212_ACEOF
8213
8214
8215
8216
8217case $host_os in
8218aix3*)
8219  # AIX sometimes has problems with the GCC collect2 program.  For some
8220  # reason, if we set the COLLECT_NAMES environment variable, the problems
8221  # vanish in a puff of smoke.
8222  if test "X${COLLECT_NAMES+set}" != Xset; then
8223    COLLECT_NAMES=
8224    export COLLECT_NAMES
8225  fi
8226  ;;
8227esac
8228
8229# Global variables:
8230ofile=libtool
8231can_build_shared=yes
8232
8233# All known linkers require a `.a' archive for static linking (except MSVC,
8234# which needs '.lib').
8235libext=a
8236
8237with_gnu_ld="$lt_cv_prog_gnu_ld"
8238
8239old_CC="$CC"
8240old_CFLAGS="$CFLAGS"
8241
8242# Set sane defaults for various variables
8243test -z "$CC" && CC=cc
8244test -z "$LTCC" && LTCC=$CC
8245test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8246test -z "$LD" && LD=ld
8247test -z "$ac_objext" && ac_objext=o
8248
8249for cc_temp in $compiler""; do
8250  case $cc_temp in
8251    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8252    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8253    \-*) ;;
8254    *) break;;
8255  esac
8256done
8257cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8258
8259
8260# Only perform the check for file, if the check method requires it
8261test -z "$MAGIC_CMD" && MAGIC_CMD=file
8262case $deplibs_check_method in
8263file_magic*)
8264  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8265    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8266$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8267if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8268  $as_echo_n "(cached) " >&6
8269else
8270  case $MAGIC_CMD in
8271[\\/*] |  ?:[\\/]*)
8272  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8273  ;;
8274*)
8275  lt_save_MAGIC_CMD="$MAGIC_CMD"
8276  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8277  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8278  for ac_dir in $ac_dummy; do
8279    IFS="$lt_save_ifs"
8280    test -z "$ac_dir" && ac_dir=.
8281    if test -f $ac_dir/${ac_tool_prefix}file; then
8282      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8283      if test -n "$file_magic_test_file"; then
8284	case $deplibs_check_method in
8285	"file_magic "*)
8286	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8287	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8288	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8289	    $EGREP "$file_magic_regex" > /dev/null; then
8290	    :
8291	  else
8292	    cat <<_LT_EOF 1>&2
8293
8294*** Warning: the command libtool uses to detect shared libraries,
8295*** $file_magic_cmd, produces output that libtool cannot recognize.
8296*** The result is that libtool may fail to recognize shared libraries
8297*** as such.  This will affect the creation of libtool libraries that
8298*** depend on shared libraries, but programs linked with such libtool
8299*** libraries will work regardless of this problem.  Nevertheless, you
8300*** may want to report the problem to your system manager and/or to
8301*** bug-libtool@gnu.org
8302
8303_LT_EOF
8304	  fi ;;
8305	esac
8306      fi
8307      break
8308    fi
8309  done
8310  IFS="$lt_save_ifs"
8311  MAGIC_CMD="$lt_save_MAGIC_CMD"
8312  ;;
8313esac
8314fi
8315
8316MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8317if test -n "$MAGIC_CMD"; then
8318  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8319$as_echo "$MAGIC_CMD" >&6; }
8320else
8321  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8322$as_echo "no" >&6; }
8323fi
8324
8325
8326
8327
8328
8329if test -z "$lt_cv_path_MAGIC_CMD"; then
8330  if test -n "$ac_tool_prefix"; then
8331    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8332$as_echo_n "checking for file... " >&6; }
8333if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8334  $as_echo_n "(cached) " >&6
8335else
8336  case $MAGIC_CMD in
8337[\\/*] |  ?:[\\/]*)
8338  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8339  ;;
8340*)
8341  lt_save_MAGIC_CMD="$MAGIC_CMD"
8342  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8343  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8344  for ac_dir in $ac_dummy; do
8345    IFS="$lt_save_ifs"
8346    test -z "$ac_dir" && ac_dir=.
8347    if test -f $ac_dir/file; then
8348      lt_cv_path_MAGIC_CMD="$ac_dir/file"
8349      if test -n "$file_magic_test_file"; then
8350	case $deplibs_check_method in
8351	"file_magic "*)
8352	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8353	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8354	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8355	    $EGREP "$file_magic_regex" > /dev/null; then
8356	    :
8357	  else
8358	    cat <<_LT_EOF 1>&2
8359
8360*** Warning: the command libtool uses to detect shared libraries,
8361*** $file_magic_cmd, produces output that libtool cannot recognize.
8362*** The result is that libtool may fail to recognize shared libraries
8363*** as such.  This will affect the creation of libtool libraries that
8364*** depend on shared libraries, but programs linked with such libtool
8365*** libraries will work regardless of this problem.  Nevertheless, you
8366*** may want to report the problem to your system manager and/or to
8367*** bug-libtool@gnu.org
8368
8369_LT_EOF
8370	  fi ;;
8371	esac
8372      fi
8373      break
8374    fi
8375  done
8376  IFS="$lt_save_ifs"
8377  MAGIC_CMD="$lt_save_MAGIC_CMD"
8378  ;;
8379esac
8380fi
8381
8382MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8383if test -n "$MAGIC_CMD"; then
8384  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8385$as_echo "$MAGIC_CMD" >&6; }
8386else
8387  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8388$as_echo "no" >&6; }
8389fi
8390
8391
8392  else
8393    MAGIC_CMD=:
8394  fi
8395fi
8396
8397  fi
8398  ;;
8399esac
8400
8401# Use C for the default configuration in the libtool script
8402
8403lt_save_CC="$CC"
8404ac_ext=c
8405ac_cpp='$CPP $CPPFLAGS'
8406ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8407ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8408ac_compiler_gnu=$ac_cv_c_compiler_gnu
8409
8410
8411# Source file extension for C test sources.
8412ac_ext=c
8413
8414# Object file extension for compiled C test sources.
8415objext=o
8416objext=$objext
8417
8418# Code to be used in simple compile tests
8419lt_simple_compile_test_code="int some_variable = 0;"
8420
8421# Code to be used in simple link tests
8422lt_simple_link_test_code='int main(){return(0);}'
8423
8424
8425
8426
8427
8428
8429
8430# If no C compiler was specified, use CC.
8431LTCC=${LTCC-"$CC"}
8432
8433# If no C compiler flags were specified, use CFLAGS.
8434LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8435
8436# Allow CC to be a program name with arguments.
8437compiler=$CC
8438
8439# Save the default compiler, since it gets overwritten when the other
8440# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8441compiler_DEFAULT=$CC
8442
8443# save warnings/boilerplate of simple test code
8444ac_outfile=conftest.$ac_objext
8445echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8446eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8447_lt_compiler_boilerplate=`cat conftest.err`
8448$RM conftest*
8449
8450ac_outfile=conftest.$ac_objext
8451echo "$lt_simple_link_test_code" >conftest.$ac_ext
8452eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8453_lt_linker_boilerplate=`cat conftest.err`
8454$RM -r conftest*
8455
8456
8457## CAVEAT EMPTOR:
8458## There is no encapsulation within the following macros, do not change
8459## the running order or otherwise move them around unless you know exactly
8460## what you are doing...
8461if test -n "$compiler"; then
8462
8463lt_prog_compiler_no_builtin_flag=
8464
8465if test "$GCC" = yes; then
8466  case $cc_basename in
8467  nvcc*)
8468    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8469  *)
8470    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8471  esac
8472
8473  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8474$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8475if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8476  $as_echo_n "(cached) " >&6
8477else
8478  lt_cv_prog_compiler_rtti_exceptions=no
8479   ac_outfile=conftest.$ac_objext
8480   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8481   lt_compiler_flag="-fno-rtti -fno-exceptions"
8482   # Insert the option either (1) after the last *FLAGS variable, or
8483   # (2) before a word containing "conftest.", or (3) at the end.
8484   # Note that $ac_compile itself does not contain backslashes and begins
8485   # with a dollar sign (not a hyphen), so the echo should work correctly.
8486   # The option is referenced via a variable to avoid confusing sed.
8487   lt_compile=`echo "$ac_compile" | $SED \
8488   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8489   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8490   -e 's:$: $lt_compiler_flag:'`
8491   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8492   (eval "$lt_compile" 2>conftest.err)
8493   ac_status=$?
8494   cat conftest.err >&5
8495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8496   if (exit $ac_status) && test -s "$ac_outfile"; then
8497     # The compiler can only warn and ignore the option if not recognized
8498     # So say no if there are warnings other than the usual output.
8499     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8500     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8501     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8502       lt_cv_prog_compiler_rtti_exceptions=yes
8503     fi
8504   fi
8505   $RM conftest*
8506
8507fi
8508{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8509$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8510
8511if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8512    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8513else
8514    :
8515fi
8516
8517fi
8518
8519
8520
8521
8522
8523
8524  lt_prog_compiler_wl=
8525lt_prog_compiler_pic=
8526lt_prog_compiler_static=
8527
8528{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8529$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8530
8531  if test "$GCC" = yes; then
8532    lt_prog_compiler_wl='-Wl,'
8533    lt_prog_compiler_static='-static'
8534
8535    case $host_os in
8536      aix*)
8537      # All AIX code is PIC.
8538      if test "$host_cpu" = ia64; then
8539	# AIX 5 now supports IA64 processor
8540	lt_prog_compiler_static='-Bstatic'
8541      fi
8542      lt_prog_compiler_pic='-fPIC'
8543      ;;
8544
8545    amigaos*)
8546      case $host_cpu in
8547      powerpc)
8548            # see comment about AmigaOS4 .so support
8549            lt_prog_compiler_pic='-fPIC'
8550        ;;
8551      m68k)
8552            # FIXME: we need at least 68020 code to build shared libraries, but
8553            # adding the `-m68020' flag to GCC prevents building anything better,
8554            # like `-m68040'.
8555            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8556        ;;
8557      esac
8558      ;;
8559
8560    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8561      # PIC is the default for these OSes.
8562      ;;
8563
8564    mingw* | cygwin* | pw32* | os2* | cegcc*)
8565      # This hack is so that the source file can tell whether it is being
8566      # built for inclusion in a dll (and should export symbols for example).
8567      # Although the cygwin gcc ignores -fPIC, still need this for old-style
8568      # (--disable-auto-import) libraries
8569      lt_prog_compiler_pic='-DDLL_EXPORT'
8570      ;;
8571
8572    darwin* | rhapsody*)
8573      # PIC is the default on this platform
8574      # Common symbols not allowed in MH_DYLIB files
8575      lt_prog_compiler_pic='-fno-common'
8576      ;;
8577
8578    haiku*)
8579      # PIC is the default for Haiku.
8580      # The "-static" flag exists, but is broken.
8581      lt_prog_compiler_static=
8582      ;;
8583
8584    hpux*)
8585      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8586      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8587      # sets the default TLS model and affects inlining.
8588      case $host_cpu in
8589      hppa*64*)
8590	# +Z the default
8591	;;
8592      *)
8593	lt_prog_compiler_pic='-fPIC'
8594	;;
8595      esac
8596      ;;
8597
8598    interix[3-9]*)
8599      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8600      # Instead, we relocate shared libraries at runtime.
8601      ;;
8602
8603    msdosdjgpp*)
8604      # Just because we use GCC doesn't mean we suddenly get shared libraries
8605      # on systems that don't support them.
8606      lt_prog_compiler_can_build_shared=no
8607      enable_shared=no
8608      ;;
8609
8610    *nto* | *qnx*)
8611      # QNX uses GNU C++, but need to define -shared option too, otherwise
8612      # it will coredump.
8613      lt_prog_compiler_pic='-fPIC -shared'
8614      ;;
8615
8616    sysv4*MP*)
8617      if test -d /usr/nec; then
8618	lt_prog_compiler_pic=-Kconform_pic
8619      fi
8620      ;;
8621
8622    *)
8623      lt_prog_compiler_pic='-fPIC'
8624      ;;
8625    esac
8626
8627    case $cc_basename in
8628    nvcc*) # Cuda Compiler Driver 2.2
8629      lt_prog_compiler_wl='-Xlinker '
8630      lt_prog_compiler_pic='-Xcompiler -fPIC'
8631      ;;
8632    esac
8633  else
8634    # PORTME Check for flag to pass linker flags through the system compiler.
8635    case $host_os in
8636    aix*)
8637      lt_prog_compiler_wl='-Wl,'
8638      if test "$host_cpu" = ia64; then
8639	# AIX 5 now supports IA64 processor
8640	lt_prog_compiler_static='-Bstatic'
8641      else
8642	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8643      fi
8644      ;;
8645
8646    mingw* | cygwin* | pw32* | os2* | cegcc*)
8647      # This hack is so that the source file can tell whether it is being
8648      # built for inclusion in a dll (and should export symbols for example).
8649      lt_prog_compiler_pic='-DDLL_EXPORT'
8650      ;;
8651
8652    hpux9* | hpux10* | hpux11*)
8653      lt_prog_compiler_wl='-Wl,'
8654      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8655      # not for PA HP-UX.
8656      case $host_cpu in
8657      hppa*64*|ia64*)
8658	# +Z the default
8659	;;
8660      *)
8661	lt_prog_compiler_pic='+Z'
8662	;;
8663      esac
8664      # Is there a better lt_prog_compiler_static that works with the bundled CC?
8665      lt_prog_compiler_static='${wl}-a ${wl}archive'
8666      ;;
8667
8668    irix5* | irix6* | nonstopux*)
8669      lt_prog_compiler_wl='-Wl,'
8670      # PIC (with -KPIC) is the default.
8671      lt_prog_compiler_static='-non_shared'
8672      ;;
8673
8674    linux* | k*bsd*-gnu | kopensolaris*-gnu)
8675      case $cc_basename in
8676      # old Intel for x86_64 which still supported -KPIC.
8677      ecc*)
8678	lt_prog_compiler_wl='-Wl,'
8679	lt_prog_compiler_pic='-KPIC'
8680	lt_prog_compiler_static='-static'
8681        ;;
8682      # icc used to be incompatible with GCC.
8683      # ICC 10 doesn't accept -KPIC any more.
8684      icc* | ifort*)
8685	lt_prog_compiler_wl='-Wl,'
8686	lt_prog_compiler_pic='-fPIC'
8687	lt_prog_compiler_static='-static'
8688        ;;
8689      # Lahey Fortran 8.1.
8690      lf95*)
8691	lt_prog_compiler_wl='-Wl,'
8692	lt_prog_compiler_pic='--shared'
8693	lt_prog_compiler_static='--static'
8694	;;
8695      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8696        # Portland Group compilers (*not* the Pentium gcc compiler,
8697	# which looks to be a dead project)
8698	lt_prog_compiler_wl='-Wl,'
8699	lt_prog_compiler_pic='-fpic'
8700	lt_prog_compiler_static='-Bstatic'
8701        ;;
8702      ccc*)
8703        lt_prog_compiler_wl='-Wl,'
8704        # All Alpha code is PIC.
8705        lt_prog_compiler_static='-non_shared'
8706        ;;
8707      xl* | bgxl* | bgf* | mpixl*)
8708	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8709	lt_prog_compiler_wl='-Wl,'
8710	lt_prog_compiler_pic='-qpic'
8711	lt_prog_compiler_static='-qstaticlink'
8712	;;
8713      *)
8714	case `$CC -V 2>&1 | sed 5q` in
8715	*Sun\ F* | *Sun*Fortran*)
8716	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
8717	  lt_prog_compiler_pic='-KPIC'
8718	  lt_prog_compiler_static='-Bstatic'
8719	  lt_prog_compiler_wl=''
8720	  ;;
8721	*Sun\ C*)
8722	  # Sun C 5.9
8723	  lt_prog_compiler_pic='-KPIC'
8724	  lt_prog_compiler_static='-Bstatic'
8725	  lt_prog_compiler_wl='-Wl,'
8726	  ;;
8727	esac
8728	;;
8729      esac
8730      ;;
8731
8732    newsos6)
8733      lt_prog_compiler_pic='-KPIC'
8734      lt_prog_compiler_static='-Bstatic'
8735      ;;
8736
8737    *nto* | *qnx*)
8738      # QNX uses GNU C++, but need to define -shared option too, otherwise
8739      # it will coredump.
8740      lt_prog_compiler_pic='-fPIC -shared'
8741      ;;
8742
8743    osf3* | osf4* | osf5*)
8744      lt_prog_compiler_wl='-Wl,'
8745      # All OSF/1 code is PIC.
8746      lt_prog_compiler_static='-non_shared'
8747      ;;
8748
8749    rdos*)
8750      lt_prog_compiler_static='-non_shared'
8751      ;;
8752
8753    solaris*)
8754      lt_prog_compiler_pic='-KPIC'
8755      lt_prog_compiler_static='-Bstatic'
8756      case $cc_basename in
8757      f77* | f90* | f95*)
8758	lt_prog_compiler_wl='-Qoption ld ';;
8759      *)
8760	lt_prog_compiler_wl='-Wl,';;
8761      esac
8762      ;;
8763
8764    sunos4*)
8765      lt_prog_compiler_wl='-Qoption ld '
8766      lt_prog_compiler_pic='-PIC'
8767      lt_prog_compiler_static='-Bstatic'
8768      ;;
8769
8770    sysv4 | sysv4.2uw2* | sysv4.3*)
8771      lt_prog_compiler_wl='-Wl,'
8772      lt_prog_compiler_pic='-KPIC'
8773      lt_prog_compiler_static='-Bstatic'
8774      ;;
8775
8776    sysv4*MP*)
8777      if test -d /usr/nec ;then
8778	lt_prog_compiler_pic='-Kconform_pic'
8779	lt_prog_compiler_static='-Bstatic'
8780      fi
8781      ;;
8782
8783    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8784      lt_prog_compiler_wl='-Wl,'
8785      lt_prog_compiler_pic='-KPIC'
8786      lt_prog_compiler_static='-Bstatic'
8787      ;;
8788
8789    unicos*)
8790      lt_prog_compiler_wl='-Wl,'
8791      lt_prog_compiler_can_build_shared=no
8792      ;;
8793
8794    uts4*)
8795      lt_prog_compiler_pic='-pic'
8796      lt_prog_compiler_static='-Bstatic'
8797      ;;
8798
8799    *)
8800      lt_prog_compiler_can_build_shared=no
8801      ;;
8802    esac
8803  fi
8804
8805case $host_os in
8806  # For platforms which do not support PIC, -DPIC is meaningless:
8807  *djgpp*)
8808    lt_prog_compiler_pic=
8809    ;;
8810  *)
8811    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8812    ;;
8813esac
8814{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8815$as_echo "$lt_prog_compiler_pic" >&6; }
8816
8817
8818
8819
8820
8821
8822#
8823# Check to make sure the PIC flag actually works.
8824#
8825if test -n "$lt_prog_compiler_pic"; then
8826  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8827$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8828if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8829  $as_echo_n "(cached) " >&6
8830else
8831  lt_cv_prog_compiler_pic_works=no
8832   ac_outfile=conftest.$ac_objext
8833   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8834   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8835   # Insert the option either (1) after the last *FLAGS variable, or
8836   # (2) before a word containing "conftest.", or (3) at the end.
8837   # Note that $ac_compile itself does not contain backslashes and begins
8838   # with a dollar sign (not a hyphen), so the echo should work correctly.
8839   # The option is referenced via a variable to avoid confusing sed.
8840   lt_compile=`echo "$ac_compile" | $SED \
8841   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8842   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8843   -e 's:$: $lt_compiler_flag:'`
8844   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8845   (eval "$lt_compile" 2>conftest.err)
8846   ac_status=$?
8847   cat conftest.err >&5
8848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8849   if (exit $ac_status) && test -s "$ac_outfile"; then
8850     # The compiler can only warn and ignore the option if not recognized
8851     # So say no if there are warnings other than the usual output.
8852     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8853     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8854     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8855       lt_cv_prog_compiler_pic_works=yes
8856     fi
8857   fi
8858   $RM conftest*
8859
8860fi
8861{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8862$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8863
8864if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8865    case $lt_prog_compiler_pic in
8866     "" | " "*) ;;
8867     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8868     esac
8869else
8870    lt_prog_compiler_pic=
8871     lt_prog_compiler_can_build_shared=no
8872fi
8873
8874fi
8875
8876
8877
8878
8879
8880
8881#
8882# Check to make sure the static flag actually works.
8883#
8884wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8885{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8886$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8887if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8888  $as_echo_n "(cached) " >&6
8889else
8890  lt_cv_prog_compiler_static_works=no
8891   save_LDFLAGS="$LDFLAGS"
8892   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8893   echo "$lt_simple_link_test_code" > conftest.$ac_ext
8894   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8895     # The linker can only warn and ignore the option if not recognized
8896     # So say no if there are warnings
8897     if test -s conftest.err; then
8898       # Append any errors to the config.log.
8899       cat conftest.err 1>&5
8900       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8901       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8902       if diff conftest.exp conftest.er2 >/dev/null; then
8903         lt_cv_prog_compiler_static_works=yes
8904       fi
8905     else
8906       lt_cv_prog_compiler_static_works=yes
8907     fi
8908   fi
8909   $RM -r conftest*
8910   LDFLAGS="$save_LDFLAGS"
8911
8912fi
8913{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8914$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8915
8916if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8917    :
8918else
8919    lt_prog_compiler_static=
8920fi
8921
8922
8923
8924
8925
8926
8927
8928  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8929$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8930if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8931  $as_echo_n "(cached) " >&6
8932else
8933  lt_cv_prog_compiler_c_o=no
8934   $RM -r conftest 2>/dev/null
8935   mkdir conftest
8936   cd conftest
8937   mkdir out
8938   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8939
8940   lt_compiler_flag="-o out/conftest2.$ac_objext"
8941   # Insert the option either (1) after the last *FLAGS variable, or
8942   # (2) before a word containing "conftest.", or (3) at the end.
8943   # Note that $ac_compile itself does not contain backslashes and begins
8944   # with a dollar sign (not a hyphen), so the echo should work correctly.
8945   lt_compile=`echo "$ac_compile" | $SED \
8946   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8947   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8948   -e 's:$: $lt_compiler_flag:'`
8949   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8950   (eval "$lt_compile" 2>out/conftest.err)
8951   ac_status=$?
8952   cat out/conftest.err >&5
8953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8954   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8955   then
8956     # The compiler can only warn and ignore the option if not recognized
8957     # So say no if there are warnings
8958     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8959     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8960     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8961       lt_cv_prog_compiler_c_o=yes
8962     fi
8963   fi
8964   chmod u+w . 2>&5
8965   $RM conftest*
8966   # SGI C++ compiler will create directory out/ii_files/ for
8967   # template instantiation
8968   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8969   $RM out/* && rmdir out
8970   cd ..
8971   $RM -r conftest
8972   $RM conftest*
8973
8974fi
8975{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8976$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8977
8978
8979
8980
8981
8982
8983  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8984$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8985if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8986  $as_echo_n "(cached) " >&6
8987else
8988  lt_cv_prog_compiler_c_o=no
8989   $RM -r conftest 2>/dev/null
8990   mkdir conftest
8991   cd conftest
8992   mkdir out
8993   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8994
8995   lt_compiler_flag="-o out/conftest2.$ac_objext"
8996   # Insert the option either (1) after the last *FLAGS variable, or
8997   # (2) before a word containing "conftest.", or (3) at the end.
8998   # Note that $ac_compile itself does not contain backslashes and begins
8999   # with a dollar sign (not a hyphen), so the echo should work correctly.
9000   lt_compile=`echo "$ac_compile" | $SED \
9001   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9002   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9003   -e 's:$: $lt_compiler_flag:'`
9004   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9005   (eval "$lt_compile" 2>out/conftest.err)
9006   ac_status=$?
9007   cat out/conftest.err >&5
9008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9009   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9010   then
9011     # The compiler can only warn and ignore the option if not recognized
9012     # So say no if there are warnings
9013     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9014     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9015     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9016       lt_cv_prog_compiler_c_o=yes
9017     fi
9018   fi
9019   chmod u+w . 2>&5
9020   $RM conftest*
9021   # SGI C++ compiler will create directory out/ii_files/ for
9022   # template instantiation
9023   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9024   $RM out/* && rmdir out
9025   cd ..
9026   $RM -r conftest
9027   $RM conftest*
9028
9029fi
9030{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9031$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9032
9033
9034
9035
9036hard_links="nottested"
9037if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9038  # do not overwrite the value of need_locks provided by the user
9039  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9040$as_echo_n "checking if we can lock with hard links... " >&6; }
9041  hard_links=yes
9042  $RM conftest*
9043  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9044  touch conftest.a
9045  ln conftest.a conftest.b 2>&5 || hard_links=no
9046  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9047  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9048$as_echo "$hard_links" >&6; }
9049  if test "$hard_links" = no; then
9050    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9051$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9052    need_locks=warn
9053  fi
9054else
9055  need_locks=no
9056fi
9057
9058
9059
9060
9061
9062
9063  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9064$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9065
9066  runpath_var=
9067  allow_undefined_flag=
9068  always_export_symbols=no
9069  archive_cmds=
9070  archive_expsym_cmds=
9071  compiler_needs_object=no
9072  enable_shared_with_static_runtimes=no
9073  export_dynamic_flag_spec=
9074  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9075  hardcode_automatic=no
9076  hardcode_direct=no
9077  hardcode_direct_absolute=no
9078  hardcode_libdir_flag_spec=
9079  hardcode_libdir_flag_spec_ld=
9080  hardcode_libdir_separator=
9081  hardcode_minus_L=no
9082  hardcode_shlibpath_var=unsupported
9083  inherit_rpath=no
9084  link_all_deplibs=unknown
9085  module_cmds=
9086  module_expsym_cmds=
9087  old_archive_from_new_cmds=
9088  old_archive_from_expsyms_cmds=
9089  thread_safe_flag_spec=
9090  whole_archive_flag_spec=
9091  # include_expsyms should be a list of space-separated symbols to be *always*
9092  # included in the symbol list
9093  include_expsyms=
9094  # exclude_expsyms can be an extended regexp of symbols to exclude
9095  # it will be wrapped by ` (' and `)$', so one must not match beginning or
9096  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9097  # as well as any symbol that contains `d'.
9098  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9099  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9100  # platforms (ab)use it in PIC code, but their linkers get confused if
9101  # the symbol is explicitly referenced.  Since portable code cannot
9102  # rely on this symbol name, it's probably fine to never include it in
9103  # preloaded symbol tables.
9104  # Exclude shared library initialization/finalization symbols.
9105  extract_expsyms_cmds=
9106
9107  case $host_os in
9108  cygwin* | mingw* | pw32* | cegcc*)
9109    # FIXME: the MSVC++ port hasn't been tested in a loooong time
9110    # When not using gcc, we currently assume that we are using
9111    # Microsoft Visual C++.
9112    if test "$GCC" != yes; then
9113      with_gnu_ld=no
9114    fi
9115    ;;
9116  interix*)
9117    # we just hope/assume this is gcc and not c89 (= MSVC++)
9118    with_gnu_ld=yes
9119    ;;
9120  openbsd*)
9121    with_gnu_ld=no
9122    ;;
9123  esac
9124
9125  ld_shlibs=yes
9126
9127  # On some targets, GNU ld is compatible enough with the native linker
9128  # that we're better off using the native interface for both.
9129  lt_use_gnu_ld_interface=no
9130  if test "$with_gnu_ld" = yes; then
9131    case $host_os in
9132      aix*)
9133	# The AIX port of GNU ld has always aspired to compatibility
9134	# with the native linker.  However, as the warning in the GNU ld
9135	# block says, versions before 2.19.5* couldn't really create working
9136	# shared libraries, regardless of the interface used.
9137	case `$LD -v 2>&1` in
9138	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9139	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9140	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9141	  *)
9142	    lt_use_gnu_ld_interface=yes
9143	    ;;
9144	esac
9145	;;
9146      *)
9147	lt_use_gnu_ld_interface=yes
9148	;;
9149    esac
9150  fi
9151
9152  if test "$lt_use_gnu_ld_interface" = yes; then
9153    # If archive_cmds runs LD, not CC, wlarc should be empty
9154    wlarc='${wl}'
9155
9156    # Set some defaults for GNU ld with shared library support. These
9157    # are reset later if shared libraries are not supported. Putting them
9158    # here allows them to be overridden if necessary.
9159    runpath_var=LD_RUN_PATH
9160    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9161    export_dynamic_flag_spec='${wl}--export-dynamic'
9162    # ancient GNU ld didn't support --whole-archive et. al.
9163    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9164      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9165    else
9166      whole_archive_flag_spec=
9167    fi
9168    supports_anon_versioning=no
9169    case `$LD -v 2>&1` in
9170      *GNU\ gold*) supports_anon_versioning=yes ;;
9171      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9172      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9173      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9174      *\ 2.11.*) ;; # other 2.11 versions
9175      *) supports_anon_versioning=yes ;;
9176    esac
9177
9178    # See if GNU ld supports shared libraries.
9179    case $host_os in
9180    aix[3-9]*)
9181      # On AIX/PPC, the GNU linker is very broken
9182      if test "$host_cpu" != ia64; then
9183	ld_shlibs=no
9184	cat <<_LT_EOF 1>&2
9185
9186*** Warning: the GNU linker, at least up to release 2.19, is reported
9187*** to be unable to reliably create shared libraries on AIX.
9188*** Therefore, libtool is disabling shared libraries support.  If you
9189*** really care for shared libraries, you may want to install binutils
9190*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9191*** You will then need to restart the configuration process.
9192
9193_LT_EOF
9194      fi
9195      ;;
9196
9197    amigaos*)
9198      case $host_cpu in
9199      powerpc)
9200            # see comment about AmigaOS4 .so support
9201            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9202            archive_expsym_cmds=''
9203        ;;
9204      m68k)
9205            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)'
9206            hardcode_libdir_flag_spec='-L$libdir'
9207            hardcode_minus_L=yes
9208        ;;
9209      esac
9210      ;;
9211
9212    beos*)
9213      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9214	allow_undefined_flag=unsupported
9215	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9216	# support --undefined.  This deserves some investigation.  FIXME
9217	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9218      else
9219	ld_shlibs=no
9220      fi
9221      ;;
9222
9223    cygwin* | mingw* | pw32* | cegcc*)
9224      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9225      # as there is no search path for DLLs.
9226      hardcode_libdir_flag_spec='-L$libdir'
9227      export_dynamic_flag_spec='${wl}--export-all-symbols'
9228      allow_undefined_flag=unsupported
9229      always_export_symbols=no
9230      enable_shared_with_static_runtimes=yes
9231      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9232
9233      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9234        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9235	# If the export-symbols file already is a .def file (1st line
9236	# is EXPORTS), use it as is; otherwise, prepend...
9237	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9238	  cp $export_symbols $output_objdir/$soname.def;
9239	else
9240	  echo EXPORTS > $output_objdir/$soname.def;
9241	  cat $export_symbols >> $output_objdir/$soname.def;
9242	fi~
9243	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9244      else
9245	ld_shlibs=no
9246      fi
9247      ;;
9248
9249    haiku*)
9250      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9251      link_all_deplibs=yes
9252      ;;
9253
9254    interix[3-9]*)
9255      hardcode_direct=no
9256      hardcode_shlibpath_var=no
9257      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9258      export_dynamic_flag_spec='${wl}-E'
9259      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9260      # Instead, shared libraries are loaded at an image base (0x10000000 by
9261      # default) and relocated if they conflict, which is a slow very memory
9262      # consuming and fragmenting process.  To avoid this, we pick a random,
9263      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9264      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9265      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9266      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'
9267      ;;
9268
9269    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9270      tmp_diet=no
9271      if test "$host_os" = linux-dietlibc; then
9272	case $cc_basename in
9273	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
9274	esac
9275      fi
9276      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9277	 && test "$tmp_diet" = no
9278      then
9279	tmp_addflag=
9280	tmp_sharedflag='-shared'
9281	case $cc_basename,$host_cpu in
9282        pgcc*)				# Portland Group C compiler
9283	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9284	  tmp_addflag=' $pic_flag'
9285	  ;;
9286	pgf77* | pgf90* | pgf95* | pgfortran*)
9287					# Portland Group f77 and f90 compilers
9288	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9289	  tmp_addflag=' $pic_flag -Mnomain' ;;
9290	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
9291	  tmp_addflag=' -i_dynamic' ;;
9292	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
9293	  tmp_addflag=' -i_dynamic -nofor_main' ;;
9294	ifc* | ifort*)			# Intel Fortran compiler
9295	  tmp_addflag=' -nofor_main' ;;
9296	lf95*)				# Lahey Fortran 8.1
9297	  whole_archive_flag_spec=
9298	  tmp_sharedflag='--shared' ;;
9299	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9300	  tmp_sharedflag='-qmkshrobj'
9301	  tmp_addflag= ;;
9302	nvcc*)	# Cuda Compiler Driver 2.2
9303	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9304	  compiler_needs_object=yes
9305	  ;;
9306	esac
9307	case `$CC -V 2>&1 | sed 5q` in
9308	*Sun\ C*)			# Sun C 5.9
9309	  whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9310	  compiler_needs_object=yes
9311	  tmp_sharedflag='-G' ;;
9312	*Sun\ F*)			# Sun Fortran 8.3
9313	  tmp_sharedflag='-G' ;;
9314	esac
9315	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9316
9317        if test "x$supports_anon_versioning" = xyes; then
9318          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9319	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9320	    echo "local: *; };" >> $output_objdir/$libname.ver~
9321	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9322        fi
9323
9324	case $cc_basename in
9325	xlf* | bgf* | bgxlf* | mpixlf*)
9326	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9327	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9328	  hardcode_libdir_flag_spec=
9329	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
9330	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9331	  if test "x$supports_anon_versioning" = xyes; then
9332	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9333	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9334	      echo "local: *; };" >> $output_objdir/$libname.ver~
9335	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9336	  fi
9337	  ;;
9338	esac
9339      else
9340        ld_shlibs=no
9341      fi
9342      ;;
9343
9344    netbsd*)
9345      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9346	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9347	wlarc=
9348      else
9349	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9350	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9351      fi
9352      ;;
9353
9354    solaris*)
9355      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9356	ld_shlibs=no
9357	cat <<_LT_EOF 1>&2
9358
9359*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9360*** create shared libraries on Solaris systems.  Therefore, libtool
9361*** is disabling shared libraries support.  We urge you to upgrade GNU
9362*** binutils to release 2.9.1 or newer.  Another option is to modify
9363*** your PATH or compiler configuration so that the native linker is
9364*** used, and then restart.
9365
9366_LT_EOF
9367      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9368	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9369	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9370      else
9371	ld_shlibs=no
9372      fi
9373      ;;
9374
9375    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9376      case `$LD -v 2>&1` in
9377        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9378	ld_shlibs=no
9379	cat <<_LT_EOF 1>&2
9380
9381*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9382*** reliably create shared libraries on SCO systems.  Therefore, libtool
9383*** is disabling shared libraries support.  We urge you to upgrade GNU
9384*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9385*** your PATH or compiler configuration so that the native linker is
9386*** used, and then restart.
9387
9388_LT_EOF
9389	;;
9390	*)
9391	  # For security reasons, it is highly recommended that you always
9392	  # use absolute paths for naming shared libraries, and exclude the
9393	  # DT_RUNPATH tag from executables and libraries.  But doing so
9394	  # requires that you compile everything twice, which is a pain.
9395	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9396	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9397	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9398	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9399	  else
9400	    ld_shlibs=no
9401	  fi
9402	;;
9403      esac
9404      ;;
9405
9406    sunos4*)
9407      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9408      wlarc=
9409      hardcode_direct=yes
9410      hardcode_shlibpath_var=no
9411      ;;
9412
9413    *)
9414      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9415	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9416	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9417      else
9418	ld_shlibs=no
9419      fi
9420      ;;
9421    esac
9422
9423    if test "$ld_shlibs" = no; then
9424      runpath_var=
9425      hardcode_libdir_flag_spec=
9426      export_dynamic_flag_spec=
9427      whole_archive_flag_spec=
9428    fi
9429  else
9430    # PORTME fill in a description of your system's linker (not GNU ld)
9431    case $host_os in
9432    aix3*)
9433      allow_undefined_flag=unsupported
9434      always_export_symbols=yes
9435      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'
9436      # Note: this linker hardcodes the directories in LIBPATH if there
9437      # are no directories specified by -L.
9438      hardcode_minus_L=yes
9439      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9440	# Neither direct hardcoding nor static linking is supported with a
9441	# broken collect2.
9442	hardcode_direct=unsupported
9443      fi
9444      ;;
9445
9446    aix[4-9]*)
9447      if test "$host_cpu" = ia64; then
9448	# On IA64, the linker does run time linking by default, so we don't
9449	# have to do anything special.
9450	aix_use_runtimelinking=no
9451	exp_sym_flag='-Bexport'
9452	no_entry_flag=""
9453      else
9454	# If we're using GNU nm, then we don't want the "-C" option.
9455	# -C means demangle to AIX nm, but means don't demangle with GNU nm
9456	# Also, AIX nm treats weak defined symbols like other global
9457	# defined symbols, whereas GNU nm marks them as "W".
9458	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9459	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9460	else
9461	  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'
9462	fi
9463	aix_use_runtimelinking=no
9464
9465	# Test if we are trying to use run time linking or normal
9466	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
9467	# need to do runtime linking.
9468	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9469	  for ld_flag in $LDFLAGS; do
9470	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9471	    aix_use_runtimelinking=yes
9472	    break
9473	  fi
9474	  done
9475	  ;;
9476	esac
9477
9478	exp_sym_flag='-bexport'
9479	no_entry_flag='-bnoentry'
9480      fi
9481
9482      # When large executables or shared objects are built, AIX ld can
9483      # have problems creating the table of contents.  If linking a library
9484      # or program results in "error TOC overflow" add -mminimal-toc to
9485      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9486      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9487
9488      archive_cmds=''
9489      hardcode_direct=yes
9490      hardcode_direct_absolute=yes
9491      hardcode_libdir_separator=':'
9492      link_all_deplibs=yes
9493      file_list_spec='${wl}-f,'
9494
9495      if test "$GCC" = yes; then
9496	case $host_os in aix4.[012]|aix4.[012].*)
9497	# We only want to do this on AIX 4.2 and lower, the check
9498	# below for broken collect2 doesn't work under 4.3+
9499	  collect2name=`${CC} -print-prog-name=collect2`
9500	  if test -f "$collect2name" &&
9501	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9502	  then
9503	  # We have reworked collect2
9504	  :
9505	  else
9506	  # We have old collect2
9507	  hardcode_direct=unsupported
9508	  # It fails to find uninstalled libraries when the uninstalled
9509	  # path is not listed in the libpath.  Setting hardcode_minus_L
9510	  # to unsupported forces relinking
9511	  hardcode_minus_L=yes
9512	  hardcode_libdir_flag_spec='-L$libdir'
9513	  hardcode_libdir_separator=
9514	  fi
9515	  ;;
9516	esac
9517	shared_flag='-shared'
9518	if test "$aix_use_runtimelinking" = yes; then
9519	  shared_flag="$shared_flag "'${wl}-G'
9520	fi
9521      else
9522	# not using gcc
9523	if test "$host_cpu" = ia64; then
9524	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9525	# chokes on -Wl,-G. The following line is correct:
9526	  shared_flag='-G'
9527	else
9528	  if test "$aix_use_runtimelinking" = yes; then
9529	    shared_flag='${wl}-G'
9530	  else
9531	    shared_flag='${wl}-bM:SRE'
9532	  fi
9533	fi
9534      fi
9535
9536      export_dynamic_flag_spec='${wl}-bexpall'
9537      # It seems that -bexpall does not export symbols beginning with
9538      # underscore (_), so it is better to generate a list of symbols to export.
9539      always_export_symbols=yes
9540      if test "$aix_use_runtimelinking" = yes; then
9541	# Warning - without using the other runtime loading flags (-brtl),
9542	# -berok will link without error, but may produce a broken library.
9543	allow_undefined_flag='-berok'
9544        # Determine the default libpath from the value encoded in an
9545        # empty executable.
9546        if test x$gcc_no_link = xyes; then
9547  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9548fi
9549cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9550/* end confdefs.h.  */
9551
9552int
9553main ()
9554{
9555
9556  ;
9557  return 0;
9558}
9559_ACEOF
9560if ac_fn_c_try_link "$LINENO"; then :
9561
9562lt_aix_libpath_sed='
9563    /Import File Strings/,/^$/ {
9564	/^0/ {
9565	    s/^0  *\(.*\)$/\1/
9566	    p
9567	}
9568    }'
9569aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9570# Check for a 64-bit object if we didn't find anything.
9571if test -z "$aix_libpath"; then
9572  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9573fi
9574fi
9575rm -f core conftest.err conftest.$ac_objext \
9576    conftest$ac_exeext conftest.$ac_ext
9577if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9578
9579        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9580        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9581      else
9582	if test "$host_cpu" = ia64; then
9583	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9584	  allow_undefined_flag="-z nodefs"
9585	  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"
9586	else
9587	 # Determine the default libpath from the value encoded in an
9588	 # empty executable.
9589	 if test x$gcc_no_link = xyes; then
9590  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9591fi
9592cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9593/* end confdefs.h.  */
9594
9595int
9596main ()
9597{
9598
9599  ;
9600  return 0;
9601}
9602_ACEOF
9603if ac_fn_c_try_link "$LINENO"; then :
9604
9605lt_aix_libpath_sed='
9606    /Import File Strings/,/^$/ {
9607	/^0/ {
9608	    s/^0  *\(.*\)$/\1/
9609	    p
9610	}
9611    }'
9612aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9613# Check for a 64-bit object if we didn't find anything.
9614if test -z "$aix_libpath"; then
9615  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9616fi
9617fi
9618rm -f core conftest.err conftest.$ac_objext \
9619    conftest$ac_exeext conftest.$ac_ext
9620if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9621
9622	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9623	  # Warning - without using the other run time loading flags,
9624	  # -berok will link without error, but may produce a broken library.
9625	  no_undefined_flag=' ${wl}-bernotok'
9626	  allow_undefined_flag=' ${wl}-berok'
9627	  if test "$with_gnu_ld" = yes; then
9628	    # We only use this code for GNU lds that support --whole-archive.
9629	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9630	  else
9631	    # Exported symbols can be pulled into shared objects from archives
9632	    whole_archive_flag_spec='$convenience'
9633	  fi
9634	  archive_cmds_need_lc=yes
9635	  # This is similar to how AIX traditionally builds its shared libraries.
9636	  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'
9637	fi
9638      fi
9639      ;;
9640
9641    amigaos*)
9642      case $host_cpu in
9643      powerpc)
9644            # see comment about AmigaOS4 .so support
9645            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9646            archive_expsym_cmds=''
9647        ;;
9648      m68k)
9649            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)'
9650            hardcode_libdir_flag_spec='-L$libdir'
9651            hardcode_minus_L=yes
9652        ;;
9653      esac
9654      ;;
9655
9656    bsdi[45]*)
9657      export_dynamic_flag_spec=-rdynamic
9658      ;;
9659
9660    cygwin* | mingw* | pw32* | cegcc*)
9661      # When not using gcc, we currently assume that we are using
9662      # Microsoft Visual C++.
9663      # hardcode_libdir_flag_spec is actually meaningless, as there is
9664      # no search path for DLLs.
9665      hardcode_libdir_flag_spec=' '
9666      allow_undefined_flag=unsupported
9667      # Tell ltmain to make .lib files, not .a files.
9668      libext=lib
9669      # Tell ltmain to make .dll files, not .so files.
9670      shrext_cmds=".dll"
9671      # FIXME: Setting linknames here is a bad hack.
9672      archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9673      # The linker will automatically build a .lib file if we build a DLL.
9674      old_archive_from_new_cmds='true'
9675      # FIXME: Should let the user specify the lib program.
9676      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9677      fix_srcfile_path='`cygpath -w "$srcfile"`'
9678      enable_shared_with_static_runtimes=yes
9679      ;;
9680
9681    darwin* | rhapsody*)
9682
9683
9684  archive_cmds_need_lc=no
9685  hardcode_direct=no
9686  hardcode_automatic=yes
9687  hardcode_shlibpath_var=unsupported
9688  if test "$lt_cv_ld_force_load" = "yes"; then
9689    whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9690  else
9691    whole_archive_flag_spec=''
9692  fi
9693  link_all_deplibs=yes
9694  allow_undefined_flag="$_lt_dar_allow_undefined"
9695  case $cc_basename in
9696     ifort*) _lt_dar_can_shared=yes ;;
9697     *) _lt_dar_can_shared=$GCC ;;
9698  esac
9699  if test "$_lt_dar_can_shared" = "yes"; then
9700    output_verbose_link_cmd=func_echo_all
9701    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9702    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9703    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}"
9704    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}"
9705
9706  else
9707  ld_shlibs=no
9708  fi
9709
9710      ;;
9711
9712    dgux*)
9713      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9714      hardcode_libdir_flag_spec='-L$libdir'
9715      hardcode_shlibpath_var=no
9716      ;;
9717
9718    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9719    # support.  Future versions do this automatically, but an explicit c++rt0.o
9720    # does not break anything, and helps significantly (at the cost of a little
9721    # extra space).
9722    freebsd2.2*)
9723      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9724      hardcode_libdir_flag_spec='-R$libdir'
9725      hardcode_direct=yes
9726      hardcode_shlibpath_var=no
9727      ;;
9728
9729    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9730    freebsd2.*)
9731      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9732      hardcode_direct=yes
9733      hardcode_minus_L=yes
9734      hardcode_shlibpath_var=no
9735      ;;
9736
9737    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9738    freebsd* | dragonfly*)
9739      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9740      hardcode_libdir_flag_spec='-R$libdir'
9741      hardcode_direct=yes
9742      hardcode_shlibpath_var=no
9743      ;;
9744
9745    hpux9*)
9746      if test "$GCC" = yes; then
9747	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'
9748      else
9749	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'
9750      fi
9751      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9752      hardcode_libdir_separator=:
9753      hardcode_direct=yes
9754
9755      # hardcode_minus_L: Not really in the search PATH,
9756      # but as the default location of the library.
9757      hardcode_minus_L=yes
9758      export_dynamic_flag_spec='${wl}-E'
9759      ;;
9760
9761    hpux10*)
9762      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9763	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9764      else
9765	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9766      fi
9767      if test "$with_gnu_ld" = no; then
9768	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9769	hardcode_libdir_flag_spec_ld='+b $libdir'
9770	hardcode_libdir_separator=:
9771	hardcode_direct=yes
9772	hardcode_direct_absolute=yes
9773	export_dynamic_flag_spec='${wl}-E'
9774	# hardcode_minus_L: Not really in the search PATH,
9775	# but as the default location of the library.
9776	hardcode_minus_L=yes
9777      fi
9778      ;;
9779
9780    hpux11*)
9781      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9782	case $host_cpu in
9783	hppa*64*)
9784	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9785	  ;;
9786	ia64*)
9787	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9788	  ;;
9789	*)
9790	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9791	  ;;
9792	esac
9793      else
9794	case $host_cpu in
9795	hppa*64*)
9796	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9797	  ;;
9798	ia64*)
9799	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9800	  ;;
9801	*)
9802
9803	  # Older versions of the 11.00 compiler do not understand -b yet
9804	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9805	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9806$as_echo_n "checking if $CC understands -b... " >&6; }
9807if test "${lt_cv_prog_compiler__b+set}" = set; then :
9808  $as_echo_n "(cached) " >&6
9809else
9810  lt_cv_prog_compiler__b=no
9811   save_LDFLAGS="$LDFLAGS"
9812   LDFLAGS="$LDFLAGS -b"
9813   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9814   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9815     # The linker can only warn and ignore the option if not recognized
9816     # So say no if there are warnings
9817     if test -s conftest.err; then
9818       # Append any errors to the config.log.
9819       cat conftest.err 1>&5
9820       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9821       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9822       if diff conftest.exp conftest.er2 >/dev/null; then
9823         lt_cv_prog_compiler__b=yes
9824       fi
9825     else
9826       lt_cv_prog_compiler__b=yes
9827     fi
9828   fi
9829   $RM -r conftest*
9830   LDFLAGS="$save_LDFLAGS"
9831
9832fi
9833{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9834$as_echo "$lt_cv_prog_compiler__b" >&6; }
9835
9836if test x"$lt_cv_prog_compiler__b" = xyes; then
9837    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9838else
9839    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9840fi
9841
9842	  ;;
9843	esac
9844      fi
9845      if test "$with_gnu_ld" = no; then
9846	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9847	hardcode_libdir_separator=:
9848
9849	case $host_cpu in
9850	hppa*64*|ia64*)
9851	  hardcode_direct=no
9852	  hardcode_shlibpath_var=no
9853	  ;;
9854	*)
9855	  hardcode_direct=yes
9856	  hardcode_direct_absolute=yes
9857	  export_dynamic_flag_spec='${wl}-E'
9858
9859	  # hardcode_minus_L: Not really in the search PATH,
9860	  # but as the default location of the library.
9861	  hardcode_minus_L=yes
9862	  ;;
9863	esac
9864      fi
9865      ;;
9866
9867    irix5* | irix6* | nonstopux*)
9868      if test "$GCC" = yes; then
9869	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9870	# Try to use the -exported_symbol ld option, if it does not
9871	# work, assume that -exports_file does not work either and
9872	# implicitly export all symbols.
9873        save_LDFLAGS="$LDFLAGS"
9874        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9875        if test x$gcc_no_link = xyes; then
9876  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9877fi
9878cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9879/* end confdefs.h.  */
9880int foo(void) {}
9881_ACEOF
9882if ac_fn_c_try_link "$LINENO"; then :
9883  archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9884
9885fi
9886rm -f core conftest.err conftest.$ac_objext \
9887    conftest$ac_exeext conftest.$ac_ext
9888        LDFLAGS="$save_LDFLAGS"
9889      else
9890	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9891	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9892      fi
9893      archive_cmds_need_lc='no'
9894      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9895      hardcode_libdir_separator=:
9896      inherit_rpath=yes
9897      link_all_deplibs=yes
9898      ;;
9899
9900    netbsd*)
9901      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9902	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9903      else
9904	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9905      fi
9906      hardcode_libdir_flag_spec='-R$libdir'
9907      hardcode_direct=yes
9908      hardcode_shlibpath_var=no
9909      ;;
9910
9911    newsos6)
9912      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9913      hardcode_direct=yes
9914      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9915      hardcode_libdir_separator=:
9916      hardcode_shlibpath_var=no
9917      ;;
9918
9919    *nto* | *qnx*)
9920      ;;
9921
9922    openbsd*)
9923      if test -f /usr/libexec/ld.so; then
9924	hardcode_direct=yes
9925	hardcode_shlibpath_var=no
9926	hardcode_direct_absolute=yes
9927	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9928	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9929	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9930	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9931	  export_dynamic_flag_spec='${wl}-E'
9932	else
9933	  case $host_os in
9934	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9935	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9936	     hardcode_libdir_flag_spec='-R$libdir'
9937	     ;;
9938	   *)
9939	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9940	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9941	     ;;
9942	  esac
9943	fi
9944      else
9945	ld_shlibs=no
9946      fi
9947      ;;
9948
9949    os2*)
9950      hardcode_libdir_flag_spec='-L$libdir'
9951      hardcode_minus_L=yes
9952      allow_undefined_flag=unsupported
9953      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'
9954      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9955      ;;
9956
9957    osf3*)
9958      if test "$GCC" = yes; then
9959	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9960	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9961      else
9962	allow_undefined_flag=' -expect_unresolved \*'
9963	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9964      fi
9965      archive_cmds_need_lc='no'
9966      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9967      hardcode_libdir_separator=:
9968      ;;
9969
9970    osf4* | osf5*)	# as osf3* with the addition of -msym flag
9971      if test "$GCC" = yes; then
9972	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9973	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9974	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9975      else
9976	allow_undefined_flag=' -expect_unresolved \*'
9977	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9978	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~
9979	$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9980
9981	# Both c and cxx compiler support -rpath directly
9982	hardcode_libdir_flag_spec='-rpath $libdir'
9983      fi
9984      archive_cmds_need_lc='no'
9985      hardcode_libdir_separator=:
9986      ;;
9987
9988    solaris*)
9989      no_undefined_flag=' -z defs'
9990      if test "$GCC" = yes; then
9991	wlarc='${wl}'
9992	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9993	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9994	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9995      else
9996	case `$CC -V 2>&1` in
9997	*"Compilers 5.0"*)
9998	  wlarc=''
9999	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10000	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10001	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10002	  ;;
10003	*)
10004	  wlarc='${wl}'
10005	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10006	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10007	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10008	  ;;
10009	esac
10010      fi
10011      hardcode_libdir_flag_spec='-R$libdir'
10012      hardcode_shlibpath_var=no
10013      case $host_os in
10014      solaris2.[0-5] | solaris2.[0-5].*) ;;
10015      *)
10016	# The compiler driver will combine and reorder linker options,
10017	# but understands `-z linker_flag'.  GCC discards it without `$wl',
10018	# but is careful enough not to reorder.
10019	# Supported since Solaris 2.6 (maybe 2.5.1?)
10020	if test "$GCC" = yes; then
10021	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10022	else
10023	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10024	fi
10025	;;
10026      esac
10027      link_all_deplibs=yes
10028      ;;
10029
10030    sunos4*)
10031      if test "x$host_vendor" = xsequent; then
10032	# Use $CC to link under sequent, because it throws in some extra .o
10033	# files that make .init and .fini sections work.
10034	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10035      else
10036	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10037      fi
10038      hardcode_libdir_flag_spec='-L$libdir'
10039      hardcode_direct=yes
10040      hardcode_minus_L=yes
10041      hardcode_shlibpath_var=no
10042      ;;
10043
10044    sysv4)
10045      case $host_vendor in
10046	sni)
10047	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10048	  hardcode_direct=yes # is this really true???
10049	;;
10050	siemens)
10051	  ## LD is ld it makes a PLAMLIB
10052	  ## CC just makes a GrossModule.
10053	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10054	  reload_cmds='$CC -r -o $output$reload_objs'
10055	  hardcode_direct=no
10056        ;;
10057	motorola)
10058	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10059	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10060	;;
10061      esac
10062      runpath_var='LD_RUN_PATH'
10063      hardcode_shlibpath_var=no
10064      ;;
10065
10066    sysv4.3*)
10067      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10068      hardcode_shlibpath_var=no
10069      export_dynamic_flag_spec='-Bexport'
10070      ;;
10071
10072    sysv4*MP*)
10073      if test -d /usr/nec; then
10074	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10075	hardcode_shlibpath_var=no
10076	runpath_var=LD_RUN_PATH
10077	hardcode_runpath_var=yes
10078	ld_shlibs=yes
10079      fi
10080      ;;
10081
10082    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10083      no_undefined_flag='${wl}-z,text'
10084      archive_cmds_need_lc=no
10085      hardcode_shlibpath_var=no
10086      runpath_var='LD_RUN_PATH'
10087
10088      if test "$GCC" = yes; then
10089	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10090	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10091      else
10092	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10093	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10094      fi
10095      ;;
10096
10097    sysv5* | sco3.2v5* | sco5v6*)
10098      # Note: We can NOT use -z defs as we might desire, because we do not
10099      # link with -lc, and that would cause any symbols used from libc to
10100      # always be unresolved, which means just about no library would
10101      # ever link correctly.  If we're not using GNU ld we use -z text
10102      # though, which does catch some bad symbols but isn't as heavy-handed
10103      # as -z defs.
10104      no_undefined_flag='${wl}-z,text'
10105      allow_undefined_flag='${wl}-z,nodefs'
10106      archive_cmds_need_lc=no
10107      hardcode_shlibpath_var=no
10108      hardcode_libdir_flag_spec='${wl}-R,$libdir'
10109      hardcode_libdir_separator=':'
10110      link_all_deplibs=yes
10111      export_dynamic_flag_spec='${wl}-Bexport'
10112      runpath_var='LD_RUN_PATH'
10113
10114      if test "$GCC" = yes; then
10115	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10116	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10117      else
10118	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10119	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10120      fi
10121      ;;
10122
10123    uts4*)
10124      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10125      hardcode_libdir_flag_spec='-L$libdir'
10126      hardcode_shlibpath_var=no
10127      ;;
10128
10129    *)
10130      ld_shlibs=no
10131      ;;
10132    esac
10133
10134    if test x$host_vendor = xsni; then
10135      case $host in
10136      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10137	export_dynamic_flag_spec='${wl}-Blargedynsym'
10138	;;
10139      esac
10140    fi
10141  fi
10142
10143{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10144$as_echo "$ld_shlibs" >&6; }
10145test "$ld_shlibs" = no && can_build_shared=no
10146
10147with_gnu_ld=$with_gnu_ld
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163#
10164# Do we need to explicitly link libc?
10165#
10166case "x$archive_cmds_need_lc" in
10167x|xyes)
10168  # Assume -lc should be added
10169  archive_cmds_need_lc=yes
10170
10171  if test "$enable_shared" = yes && test "$GCC" = yes; then
10172    case $archive_cmds in
10173    *'~'*)
10174      # FIXME: we may have to deal with multi-command sequences.
10175      ;;
10176    '$CC '*)
10177      # Test whether the compiler implicitly links with -lc since on some
10178      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10179      # to ld, don't add -lc before -lgcc.
10180      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10181$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10182if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10183  $as_echo_n "(cached) " >&6
10184else
10185  $RM conftest*
10186	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10187
10188	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10189  (eval $ac_compile) 2>&5
10190  ac_status=$?
10191  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10192  test $ac_status = 0; } 2>conftest.err; then
10193	  soname=conftest
10194	  lib=conftest
10195	  libobjs=conftest.$ac_objext
10196	  deplibs=
10197	  wl=$lt_prog_compiler_wl
10198	  pic_flag=$lt_prog_compiler_pic
10199	  compiler_flags=-v
10200	  linker_flags=-v
10201	  verstring=
10202	  output_objdir=.
10203	  libname=conftest
10204	  lt_save_allow_undefined_flag=$allow_undefined_flag
10205	  allow_undefined_flag=
10206	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10207  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10208  ac_status=$?
10209  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10210  test $ac_status = 0; }
10211	  then
10212	    lt_cv_archive_cmds_need_lc=no
10213	  else
10214	    lt_cv_archive_cmds_need_lc=yes
10215	  fi
10216	  allow_undefined_flag=$lt_save_allow_undefined_flag
10217	else
10218	  cat conftest.err 1>&5
10219	fi
10220	$RM conftest*
10221
10222fi
10223{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10224$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10225      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10226      ;;
10227    esac
10228  fi
10229  ;;
10230esac
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10389$as_echo_n "checking dynamic linker characteristics... " >&6; }
10390
10391if test "$GCC" = yes; then
10392  case $host_os in
10393    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10394    *) lt_awk_arg="/^libraries:/" ;;
10395  esac
10396  case $host_os in
10397    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10398    *) lt_sed_strip_eq="s,=/,/,g" ;;
10399  esac
10400  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10401  case $lt_search_path_spec in
10402  *\;*)
10403    # if the path contains ";" then we assume it to be the separator
10404    # otherwise default to the standard path separator (i.e. ":") - it is
10405    # assumed that no part of a normal pathname contains ";" but that should
10406    # okay in the real world where ";" in dirpaths is itself problematic.
10407    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10408    ;;
10409  *)
10410    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10411    ;;
10412  esac
10413  # Ok, now we have the path, separated by spaces, we can step through it
10414  # and add multilib dir if necessary.
10415  lt_tmp_lt_search_path_spec=
10416  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10417  for lt_sys_path in $lt_search_path_spec; do
10418    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10419      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10420    else
10421      test -d "$lt_sys_path" && \
10422	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10423    fi
10424  done
10425  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10426BEGIN {RS=" "; FS="/|\n";} {
10427  lt_foo="";
10428  lt_count=0;
10429  for (lt_i = NF; lt_i > 0; lt_i--) {
10430    if ($lt_i != "" && $lt_i != ".") {
10431      if ($lt_i == "..") {
10432        lt_count++;
10433      } else {
10434        if (lt_count == 0) {
10435          lt_foo="/" $lt_i lt_foo;
10436        } else {
10437          lt_count--;
10438        }
10439      }
10440    }
10441  }
10442  if (lt_foo != "") { lt_freq[lt_foo]++; }
10443  if (lt_freq[lt_foo] == 1) { print lt_foo; }
10444}'`
10445  # AWK program above erroneously prepends '/' to C:/dos/paths
10446  # for these hosts.
10447  case $host_os in
10448    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10449      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10450  esac
10451  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10452else
10453  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10454fi
10455library_names_spec=
10456libname_spec='lib$name'
10457soname_spec=
10458shrext_cmds=".so"
10459postinstall_cmds=
10460postuninstall_cmds=
10461finish_cmds=
10462finish_eval=
10463shlibpath_var=
10464shlibpath_overrides_runpath=unknown
10465version_type=none
10466dynamic_linker="$host_os ld.so"
10467sys_lib_dlsearch_path_spec="/lib /usr/lib"
10468need_lib_prefix=unknown
10469hardcode_into_libs=no
10470
10471# when you set need_version to no, make sure it does not cause -set_version
10472# flags to be left without arguments
10473need_version=unknown
10474
10475case $host_os in
10476aix3*)
10477  version_type=linux
10478  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10479  shlibpath_var=LIBPATH
10480
10481  # AIX 3 has no versioning support, so we append a major version to the name.
10482  soname_spec='${libname}${release}${shared_ext}$major'
10483  ;;
10484
10485aix[4-9]*)
10486  version_type=linux
10487  need_lib_prefix=no
10488  need_version=no
10489  hardcode_into_libs=yes
10490  if test "$host_cpu" = ia64; then
10491    # AIX 5 supports IA64
10492    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10493    shlibpath_var=LD_LIBRARY_PATH
10494  else
10495    # With GCC up to 2.95.x, collect2 would create an import file
10496    # for dependence libraries.  The import file would start with
10497    # the line `#! .'.  This would cause the generated library to
10498    # depend on `.', always an invalid library.  This was fixed in
10499    # development snapshots of GCC prior to 3.0.
10500    case $host_os in
10501      aix4 | aix4.[01] | aix4.[01].*)
10502      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10503	   echo ' yes '
10504	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10505	:
10506      else
10507	can_build_shared=no
10508      fi
10509      ;;
10510    esac
10511    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10512    # soname into executable. Probably we can add versioning support to
10513    # collect2, so additional links can be useful in future.
10514    if test "$aix_use_runtimelinking" = yes; then
10515      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10516      # instead of lib<name>.a to let people know that these are not
10517      # typical AIX shared libraries.
10518      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10519    else
10520      # We preserve .a as extension for shared libraries through AIX4.2
10521      # and later when we are not doing run time linking.
10522      library_names_spec='${libname}${release}.a $libname.a'
10523      soname_spec='${libname}${release}${shared_ext}$major'
10524    fi
10525    shlibpath_var=LIBPATH
10526  fi
10527  ;;
10528
10529amigaos*)
10530  case $host_cpu in
10531  powerpc)
10532    # Since July 2007 AmigaOS4 officially supports .so libraries.
10533    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10534    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10535    ;;
10536  m68k)
10537    library_names_spec='$libname.ixlibrary $libname.a'
10538    # Create ${libname}_ixlibrary.a entries in /sys/libs.
10539    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10540    ;;
10541  esac
10542  ;;
10543
10544beos*)
10545  library_names_spec='${libname}${shared_ext}'
10546  dynamic_linker="$host_os ld.so"
10547  shlibpath_var=LIBRARY_PATH
10548  ;;
10549
10550bsdi[45]*)
10551  version_type=linux
10552  need_version=no
10553  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10554  soname_spec='${libname}${release}${shared_ext}$major'
10555  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10556  shlibpath_var=LD_LIBRARY_PATH
10557  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10558  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10559  # the default ld.so.conf also contains /usr/contrib/lib and
10560  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10561  # libtool to hard-code these into programs
10562  ;;
10563
10564cygwin* | mingw* | pw32* | cegcc*)
10565  version_type=windows
10566  shrext_cmds=".dll"
10567  need_version=no
10568  need_lib_prefix=no
10569
10570  case $GCC,$host_os in
10571  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10572    library_names_spec='$libname.dll.a'
10573    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10574    postinstall_cmds='base_file=`basename \${file}`~
10575      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10576      dldir=$destdir/`dirname \$dlpath`~
10577      test -d \$dldir || mkdir -p \$dldir~
10578      $install_prog $dir/$dlname \$dldir/$dlname~
10579      chmod a+x \$dldir/$dlname~
10580      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10581        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10582      fi'
10583    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10584      dlpath=$dir/\$dldll~
10585       $RM \$dlpath'
10586    shlibpath_overrides_runpath=yes
10587
10588    case $host_os in
10589    cygwin*)
10590      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10591      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10592
10593      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10594      ;;
10595    mingw* | cegcc*)
10596      # MinGW DLLs use traditional 'lib' prefix
10597      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10598      ;;
10599    pw32*)
10600      # pw32 DLLs use 'pw' prefix rather than 'lib'
10601      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10602      ;;
10603    esac
10604    ;;
10605
10606  *)
10607    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10608    ;;
10609  esac
10610  dynamic_linker='Win32 ld.exe'
10611  # FIXME: first we should search . and the directory the executable is in
10612  shlibpath_var=PATH
10613  ;;
10614
10615darwin* | rhapsody*)
10616  dynamic_linker="$host_os dyld"
10617  version_type=darwin
10618  need_lib_prefix=no
10619  need_version=no
10620  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10621  soname_spec='${libname}${release}${major}$shared_ext'
10622  shlibpath_overrides_runpath=yes
10623  shlibpath_var=DYLD_LIBRARY_PATH
10624  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10625
10626  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10627  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10628  ;;
10629
10630dgux*)
10631  version_type=linux
10632  need_lib_prefix=no
10633  need_version=no
10634  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10635  soname_spec='${libname}${release}${shared_ext}$major'
10636  shlibpath_var=LD_LIBRARY_PATH
10637  ;;
10638
10639freebsd* | dragonfly*)
10640  # DragonFly does not have aout.  When/if they implement a new
10641  # versioning mechanism, adjust this.
10642  if test -x /usr/bin/objformat; then
10643    objformat=`/usr/bin/objformat`
10644  else
10645    case $host_os in
10646    freebsd[23].*) objformat=aout ;;
10647    *) objformat=elf ;;
10648    esac
10649  fi
10650  version_type=freebsd-$objformat
10651  case $version_type in
10652    freebsd-elf*)
10653      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10654      need_version=no
10655      need_lib_prefix=no
10656      ;;
10657    freebsd-*)
10658      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10659      need_version=yes
10660      ;;
10661  esac
10662  shlibpath_var=LD_LIBRARY_PATH
10663  case $host_os in
10664  freebsd2.*)
10665    shlibpath_overrides_runpath=yes
10666    ;;
10667  freebsd3.[01]* | freebsdelf3.[01]*)
10668    shlibpath_overrides_runpath=yes
10669    hardcode_into_libs=yes
10670    ;;
10671  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10672  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10673    shlibpath_overrides_runpath=no
10674    hardcode_into_libs=yes
10675    ;;
10676  *) # from 4.6 on, and DragonFly
10677    shlibpath_overrides_runpath=yes
10678    hardcode_into_libs=yes
10679    ;;
10680  esac
10681  ;;
10682
10683gnu*)
10684  version_type=linux
10685  need_lib_prefix=no
10686  need_version=no
10687  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10688  soname_spec='${libname}${release}${shared_ext}$major'
10689  shlibpath_var=LD_LIBRARY_PATH
10690  hardcode_into_libs=yes
10691  ;;
10692
10693haiku*)
10694  version_type=linux
10695  need_lib_prefix=no
10696  need_version=no
10697  dynamic_linker="$host_os runtime_loader"
10698  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10699  soname_spec='${libname}${release}${shared_ext}$major'
10700  shlibpath_var=LIBRARY_PATH
10701  shlibpath_overrides_runpath=yes
10702  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10703  hardcode_into_libs=yes
10704  ;;
10705
10706hpux9* | hpux10* | hpux11*)
10707  # Give a soname corresponding to the major version so that dld.sl refuses to
10708  # link against other versions.
10709  version_type=sunos
10710  need_lib_prefix=no
10711  need_version=no
10712  case $host_cpu in
10713  ia64*)
10714    shrext_cmds='.so'
10715    hardcode_into_libs=yes
10716    dynamic_linker="$host_os dld.so"
10717    shlibpath_var=LD_LIBRARY_PATH
10718    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10719    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10720    soname_spec='${libname}${release}${shared_ext}$major'
10721    if test "X$HPUX_IA64_MODE" = X32; then
10722      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10723    else
10724      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10725    fi
10726    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10727    ;;
10728  hppa*64*)
10729    shrext_cmds='.sl'
10730    hardcode_into_libs=yes
10731    dynamic_linker="$host_os dld.sl"
10732    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10733    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10734    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10735    soname_spec='${libname}${release}${shared_ext}$major'
10736    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10737    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10738    ;;
10739  *)
10740    shrext_cmds='.sl'
10741    dynamic_linker="$host_os dld.sl"
10742    shlibpath_var=SHLIB_PATH
10743    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10744    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10745    soname_spec='${libname}${release}${shared_ext}$major'
10746    ;;
10747  esac
10748  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10749  postinstall_cmds='chmod 555 $lib'
10750  # or fails outright, so override atomically:
10751  install_override_mode=555
10752  ;;
10753
10754interix[3-9]*)
10755  version_type=linux
10756  need_lib_prefix=no
10757  need_version=no
10758  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10759  soname_spec='${libname}${release}${shared_ext}$major'
10760  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10761  shlibpath_var=LD_LIBRARY_PATH
10762  shlibpath_overrides_runpath=no
10763  hardcode_into_libs=yes
10764  ;;
10765
10766irix5* | irix6* | nonstopux*)
10767  case $host_os in
10768    nonstopux*) version_type=nonstopux ;;
10769    *)
10770	if test "$lt_cv_prog_gnu_ld" = yes; then
10771		version_type=linux
10772	else
10773		version_type=irix
10774	fi ;;
10775  esac
10776  need_lib_prefix=no
10777  need_version=no
10778  soname_spec='${libname}${release}${shared_ext}$major'
10779  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10780  case $host_os in
10781  irix5* | nonstopux*)
10782    libsuff= shlibsuff=
10783    ;;
10784  *)
10785    case $LD in # libtool.m4 will add one of these switches to LD
10786    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10787      libsuff= shlibsuff= libmagic=32-bit;;
10788    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10789      libsuff=32 shlibsuff=N32 libmagic=N32;;
10790    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10791      libsuff=64 shlibsuff=64 libmagic=64-bit;;
10792    *) libsuff= shlibsuff= libmagic=never-match;;
10793    esac
10794    ;;
10795  esac
10796  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10797  shlibpath_overrides_runpath=no
10798  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10799  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10800  hardcode_into_libs=yes
10801  ;;
10802
10803# No shared lib support for Linux oldld, aout, or coff.
10804linux*oldld* | linux*aout* | linux*coff*)
10805  dynamic_linker=no
10806  ;;
10807
10808# This must be Linux ELF.
10809linux* | k*bsd*-gnu | kopensolaris*-gnu)
10810  version_type=linux
10811  need_lib_prefix=no
10812  need_version=no
10813  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10814  soname_spec='${libname}${release}${shared_ext}$major'
10815  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10816  shlibpath_var=LD_LIBRARY_PATH
10817  shlibpath_overrides_runpath=no
10818
10819  # Some binutils ld are patched to set DT_RUNPATH
10820  if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10821  $as_echo_n "(cached) " >&6
10822else
10823  lt_cv_shlibpath_overrides_runpath=no
10824    save_LDFLAGS=$LDFLAGS
10825    save_libdir=$libdir
10826    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10827	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10828    if test x$gcc_no_link = xyes; then
10829  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10830fi
10831cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10832/* end confdefs.h.  */
10833
10834int
10835main ()
10836{
10837
10838  ;
10839  return 0;
10840}
10841_ACEOF
10842if ac_fn_c_try_link "$LINENO"; then :
10843  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10844  lt_cv_shlibpath_overrides_runpath=yes
10845fi
10846fi
10847rm -f core conftest.err conftest.$ac_objext \
10848    conftest$ac_exeext conftest.$ac_ext
10849    LDFLAGS=$save_LDFLAGS
10850    libdir=$save_libdir
10851
10852fi
10853
10854  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10855
10856  # This implies no fast_install, which is unacceptable.
10857  # Some rework will be needed to allow for fast_install
10858  # before this can be enabled.
10859  hardcode_into_libs=yes
10860
10861  # Append ld.so.conf contents to the search path
10862  if test -f /etc/ld.so.conf; then
10863    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[	 ]*hwcap[	 ]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
10864    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10865  fi
10866
10867  # We used to test for /lib/ld.so.1 and disable shared libraries on
10868  # powerpc, because MkLinux only supported shared libraries with the
10869  # GNU dynamic linker.  Since this was broken with cross compilers,
10870  # most powerpc-linux boxes support dynamic linking these days and
10871  # people can always --disable-shared, the test was removed, and we
10872  # assume the GNU/Linux dynamic linker is in use.
10873  dynamic_linker='GNU/Linux ld.so'
10874  ;;
10875
10876netbsd*)
10877  version_type=sunos
10878  need_lib_prefix=no
10879  need_version=no
10880  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10881    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10882    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10883    dynamic_linker='NetBSD (a.out) ld.so'
10884  else
10885    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10886    soname_spec='${libname}${release}${shared_ext}$major'
10887    dynamic_linker='NetBSD ld.elf_so'
10888  fi
10889  shlibpath_var=LD_LIBRARY_PATH
10890  shlibpath_overrides_runpath=yes
10891  hardcode_into_libs=yes
10892  ;;
10893
10894newsos6)
10895  version_type=linux
10896  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10897  shlibpath_var=LD_LIBRARY_PATH
10898  shlibpath_overrides_runpath=yes
10899  ;;
10900
10901*nto* | *qnx*)
10902  version_type=qnx
10903  need_lib_prefix=no
10904  need_version=no
10905  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10906  soname_spec='${libname}${release}${shared_ext}$major'
10907  shlibpath_var=LD_LIBRARY_PATH
10908  shlibpath_overrides_runpath=no
10909  hardcode_into_libs=yes
10910  dynamic_linker='ldqnx.so'
10911  ;;
10912
10913openbsd*)
10914  version_type=sunos
10915  sys_lib_dlsearch_path_spec="/usr/lib"
10916  need_lib_prefix=no
10917  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10918  case $host_os in
10919    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
10920    *)				need_version=no  ;;
10921  esac
10922  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10923  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10924  shlibpath_var=LD_LIBRARY_PATH
10925  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10926    case $host_os in
10927      openbsd2.[89] | openbsd2.[89].*)
10928	shlibpath_overrides_runpath=no
10929	;;
10930      *)
10931	shlibpath_overrides_runpath=yes
10932	;;
10933      esac
10934  else
10935    shlibpath_overrides_runpath=yes
10936  fi
10937  ;;
10938
10939os2*)
10940  libname_spec='$name'
10941  shrext_cmds=".dll"
10942  need_lib_prefix=no
10943  library_names_spec='$libname${shared_ext} $libname.a'
10944  dynamic_linker='OS/2 ld.exe'
10945  shlibpath_var=LIBPATH
10946  ;;
10947
10948osf3* | osf4* | osf5*)
10949  version_type=osf
10950  need_lib_prefix=no
10951  need_version=no
10952  soname_spec='${libname}${release}${shared_ext}$major'
10953  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10954  shlibpath_var=LD_LIBRARY_PATH
10955  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10956  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10957  ;;
10958
10959rdos*)
10960  dynamic_linker=no
10961  ;;
10962
10963solaris*)
10964  version_type=linux
10965  need_lib_prefix=no
10966  need_version=no
10967  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10968  soname_spec='${libname}${release}${shared_ext}$major'
10969  shlibpath_var=LD_LIBRARY_PATH
10970  shlibpath_overrides_runpath=yes
10971  hardcode_into_libs=yes
10972  # ldd complains unless libraries are executable
10973  postinstall_cmds='chmod +x $lib'
10974  ;;
10975
10976sunos4*)
10977  version_type=sunos
10978  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10979  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10980  shlibpath_var=LD_LIBRARY_PATH
10981  shlibpath_overrides_runpath=yes
10982  if test "$with_gnu_ld" = yes; then
10983    need_lib_prefix=no
10984  fi
10985  need_version=yes
10986  ;;
10987
10988sysv4 | sysv4.3*)
10989  version_type=linux
10990  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10991  soname_spec='${libname}${release}${shared_ext}$major'
10992  shlibpath_var=LD_LIBRARY_PATH
10993  case $host_vendor in
10994    sni)
10995      shlibpath_overrides_runpath=no
10996      need_lib_prefix=no
10997      runpath_var=LD_RUN_PATH
10998      ;;
10999    siemens)
11000      need_lib_prefix=no
11001      ;;
11002    motorola)
11003      need_lib_prefix=no
11004      need_version=no
11005      shlibpath_overrides_runpath=no
11006      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11007      ;;
11008  esac
11009  ;;
11010
11011sysv4*MP*)
11012  if test -d /usr/nec ;then
11013    version_type=linux
11014    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11015    soname_spec='$libname${shared_ext}.$major'
11016    shlibpath_var=LD_LIBRARY_PATH
11017  fi
11018  ;;
11019
11020sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11021  version_type=freebsd-elf
11022  need_lib_prefix=no
11023  need_version=no
11024  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11025  soname_spec='${libname}${release}${shared_ext}$major'
11026  shlibpath_var=LD_LIBRARY_PATH
11027  shlibpath_overrides_runpath=yes
11028  hardcode_into_libs=yes
11029  if test "$with_gnu_ld" = yes; then
11030    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11031  else
11032    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11033    case $host_os in
11034      sco3.2v5*)
11035        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11036	;;
11037    esac
11038  fi
11039  sys_lib_dlsearch_path_spec='/usr/lib'
11040  ;;
11041
11042tpf*)
11043  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11044  version_type=linux
11045  need_lib_prefix=no
11046  need_version=no
11047  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11048  shlibpath_var=LD_LIBRARY_PATH
11049  shlibpath_overrides_runpath=no
11050  hardcode_into_libs=yes
11051  ;;
11052
11053uts4*)
11054  version_type=linux
11055  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11056  soname_spec='${libname}${release}${shared_ext}$major'
11057  shlibpath_var=LD_LIBRARY_PATH
11058  ;;
11059
11060*)
11061  dynamic_linker=no
11062  ;;
11063esac
11064{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11065$as_echo "$dynamic_linker" >&6; }
11066test "$dynamic_linker" = no && can_build_shared=no
11067
11068variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11069if test "$GCC" = yes; then
11070  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11071fi
11072
11073if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11074  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11075fi
11076if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11077  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11078fi
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11172$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11173hardcode_action=
11174if test -n "$hardcode_libdir_flag_spec" ||
11175   test -n "$runpath_var" ||
11176   test "X$hardcode_automatic" = "Xyes" ; then
11177
11178  # We can hardcode non-existent directories.
11179  if test "$hardcode_direct" != no &&
11180     # If the only mechanism to avoid hardcoding is shlibpath_var, we
11181     # have to relink, otherwise we might link with an installed library
11182     # when we should be linking with a yet-to-be-installed one
11183     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11184     test "$hardcode_minus_L" != no; then
11185    # Linking always hardcodes the temporary library directory.
11186    hardcode_action=relink
11187  else
11188    # We can link without hardcoding, and we can hardcode nonexisting dirs.
11189    hardcode_action=immediate
11190  fi
11191else
11192  # We cannot hardcode anything, or else we can only hardcode existing
11193  # directories.
11194  hardcode_action=unsupported
11195fi
11196{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11197$as_echo "$hardcode_action" >&6; }
11198
11199if test "$hardcode_action" = relink ||
11200   test "$inherit_rpath" = yes; then
11201  # Fast installation is not supported
11202  enable_fast_install=no
11203elif test "$shlibpath_overrides_runpath" = yes ||
11204     test "$enable_shared" = no; then
11205  # Fast installation is not necessary
11206  enable_fast_install=needless
11207fi
11208
11209
11210
11211
11212
11213
11214  if test "x$enable_dlopen" != xyes; then
11215  enable_dlopen=unknown
11216  enable_dlopen_self=unknown
11217  enable_dlopen_self_static=unknown
11218else
11219  lt_cv_dlopen=no
11220  lt_cv_dlopen_libs=
11221
11222  case $host_os in
11223  beos*)
11224    lt_cv_dlopen="load_add_on"
11225    lt_cv_dlopen_libs=
11226    lt_cv_dlopen_self=yes
11227    ;;
11228
11229  mingw* | pw32* | cegcc*)
11230    lt_cv_dlopen="LoadLibrary"
11231    lt_cv_dlopen_libs=
11232    ;;
11233
11234  cygwin*)
11235    lt_cv_dlopen="dlopen"
11236    lt_cv_dlopen_libs=
11237    ;;
11238
11239  darwin*)
11240  # if libdl is installed we need to link against it
11241    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11242$as_echo_n "checking for dlopen in -ldl... " >&6; }
11243if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11244  $as_echo_n "(cached) " >&6
11245else
11246  ac_check_lib_save_LIBS=$LIBS
11247LIBS="-ldl  $LIBS"
11248if test x$gcc_no_link = xyes; then
11249  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11250fi
11251cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11252/* end confdefs.h.  */
11253
11254/* Override any GCC internal prototype to avoid an error.
11255   Use char because int might match the return type of a GCC
11256   builtin and then its argument prototype would still apply.  */
11257#ifdef __cplusplus
11258extern "C"
11259#endif
11260char dlopen ();
11261int
11262main ()
11263{
11264return dlopen ();
11265  ;
11266  return 0;
11267}
11268_ACEOF
11269if ac_fn_c_try_link "$LINENO"; then :
11270  ac_cv_lib_dl_dlopen=yes
11271else
11272  ac_cv_lib_dl_dlopen=no
11273fi
11274rm -f core conftest.err conftest.$ac_objext \
11275    conftest$ac_exeext conftest.$ac_ext
11276LIBS=$ac_check_lib_save_LIBS
11277fi
11278{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11279$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11280if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11281  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11282else
11283
11284    lt_cv_dlopen="dyld"
11285    lt_cv_dlopen_libs=
11286    lt_cv_dlopen_self=yes
11287
11288fi
11289
11290    ;;
11291
11292  *)
11293    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11294if test "x$ac_cv_func_shl_load" = x""yes; then :
11295  lt_cv_dlopen="shl_load"
11296else
11297  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11298$as_echo_n "checking for shl_load in -ldld... " >&6; }
11299if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11300  $as_echo_n "(cached) " >&6
11301else
11302  ac_check_lib_save_LIBS=$LIBS
11303LIBS="-ldld  $LIBS"
11304if test x$gcc_no_link = xyes; then
11305  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11306fi
11307cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11308/* end confdefs.h.  */
11309
11310/* Override any GCC internal prototype to avoid an error.
11311   Use char because int might match the return type of a GCC
11312   builtin and then its argument prototype would still apply.  */
11313#ifdef __cplusplus
11314extern "C"
11315#endif
11316char shl_load ();
11317int
11318main ()
11319{
11320return shl_load ();
11321  ;
11322  return 0;
11323}
11324_ACEOF
11325if ac_fn_c_try_link "$LINENO"; then :
11326  ac_cv_lib_dld_shl_load=yes
11327else
11328  ac_cv_lib_dld_shl_load=no
11329fi
11330rm -f core conftest.err conftest.$ac_objext \
11331    conftest$ac_exeext conftest.$ac_ext
11332LIBS=$ac_check_lib_save_LIBS
11333fi
11334{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11335$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11336if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11337  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11338else
11339  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11340if test "x$ac_cv_func_dlopen" = x""yes; then :
11341  lt_cv_dlopen="dlopen"
11342else
11343  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11344$as_echo_n "checking for dlopen in -ldl... " >&6; }
11345if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11346  $as_echo_n "(cached) " >&6
11347else
11348  ac_check_lib_save_LIBS=$LIBS
11349LIBS="-ldl  $LIBS"
11350if test x$gcc_no_link = xyes; then
11351  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11352fi
11353cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11354/* end confdefs.h.  */
11355
11356/* Override any GCC internal prototype to avoid an error.
11357   Use char because int might match the return type of a GCC
11358   builtin and then its argument prototype would still apply.  */
11359#ifdef __cplusplus
11360extern "C"
11361#endif
11362char dlopen ();
11363int
11364main ()
11365{
11366return dlopen ();
11367  ;
11368  return 0;
11369}
11370_ACEOF
11371if ac_fn_c_try_link "$LINENO"; then :
11372  ac_cv_lib_dl_dlopen=yes
11373else
11374  ac_cv_lib_dl_dlopen=no
11375fi
11376rm -f core conftest.err conftest.$ac_objext \
11377    conftest$ac_exeext conftest.$ac_ext
11378LIBS=$ac_check_lib_save_LIBS
11379fi
11380{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11381$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11382if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11383  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11384else
11385  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11386$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11387if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11388  $as_echo_n "(cached) " >&6
11389else
11390  ac_check_lib_save_LIBS=$LIBS
11391LIBS="-lsvld  $LIBS"
11392if test x$gcc_no_link = xyes; then
11393  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11394fi
11395cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11396/* end confdefs.h.  */
11397
11398/* Override any GCC internal prototype to avoid an error.
11399   Use char because int might match the return type of a GCC
11400   builtin and then its argument prototype would still apply.  */
11401#ifdef __cplusplus
11402extern "C"
11403#endif
11404char dlopen ();
11405int
11406main ()
11407{
11408return dlopen ();
11409  ;
11410  return 0;
11411}
11412_ACEOF
11413if ac_fn_c_try_link "$LINENO"; then :
11414  ac_cv_lib_svld_dlopen=yes
11415else
11416  ac_cv_lib_svld_dlopen=no
11417fi
11418rm -f core conftest.err conftest.$ac_objext \
11419    conftest$ac_exeext conftest.$ac_ext
11420LIBS=$ac_check_lib_save_LIBS
11421fi
11422{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11423$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11424if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11425  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11426else
11427  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11428$as_echo_n "checking for dld_link in -ldld... " >&6; }
11429if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11430  $as_echo_n "(cached) " >&6
11431else
11432  ac_check_lib_save_LIBS=$LIBS
11433LIBS="-ldld  $LIBS"
11434if test x$gcc_no_link = xyes; then
11435  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11436fi
11437cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11438/* end confdefs.h.  */
11439
11440/* Override any GCC internal prototype to avoid an error.
11441   Use char because int might match the return type of a GCC
11442   builtin and then its argument prototype would still apply.  */
11443#ifdef __cplusplus
11444extern "C"
11445#endif
11446char dld_link ();
11447int
11448main ()
11449{
11450return dld_link ();
11451  ;
11452  return 0;
11453}
11454_ACEOF
11455if ac_fn_c_try_link "$LINENO"; then :
11456  ac_cv_lib_dld_dld_link=yes
11457else
11458  ac_cv_lib_dld_dld_link=no
11459fi
11460rm -f core conftest.err conftest.$ac_objext \
11461    conftest$ac_exeext conftest.$ac_ext
11462LIBS=$ac_check_lib_save_LIBS
11463fi
11464{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11465$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11466if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11467  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11468fi
11469
11470
11471fi
11472
11473
11474fi
11475
11476
11477fi
11478
11479
11480fi
11481
11482
11483fi
11484
11485    ;;
11486  esac
11487
11488  if test "x$lt_cv_dlopen" != xno; then
11489    enable_dlopen=yes
11490  else
11491    enable_dlopen=no
11492  fi
11493
11494  case $lt_cv_dlopen in
11495  dlopen)
11496    save_CPPFLAGS="$CPPFLAGS"
11497    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11498
11499    save_LDFLAGS="$LDFLAGS"
11500    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11501
11502    save_LIBS="$LIBS"
11503    LIBS="$lt_cv_dlopen_libs $LIBS"
11504
11505    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11506$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11507if test "${lt_cv_dlopen_self+set}" = set; then :
11508  $as_echo_n "(cached) " >&6
11509else
11510  	  if test "$cross_compiling" = yes; then :
11511  lt_cv_dlopen_self=cross
11512else
11513  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11514  lt_status=$lt_dlunknown
11515  cat > conftest.$ac_ext <<_LT_EOF
11516#line 11516 "configure"
11517#include "confdefs.h"
11518
11519#if HAVE_DLFCN_H
11520#include <dlfcn.h>
11521#endif
11522
11523#include <stdio.h>
11524
11525#ifdef RTLD_GLOBAL
11526#  define LT_DLGLOBAL		RTLD_GLOBAL
11527#else
11528#  ifdef DL_GLOBAL
11529#    define LT_DLGLOBAL		DL_GLOBAL
11530#  else
11531#    define LT_DLGLOBAL		0
11532#  endif
11533#endif
11534
11535/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11536   find out it does not work in some platform. */
11537#ifndef LT_DLLAZY_OR_NOW
11538#  ifdef RTLD_LAZY
11539#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
11540#  else
11541#    ifdef DL_LAZY
11542#      define LT_DLLAZY_OR_NOW		DL_LAZY
11543#    else
11544#      ifdef RTLD_NOW
11545#        define LT_DLLAZY_OR_NOW	RTLD_NOW
11546#      else
11547#        ifdef DL_NOW
11548#          define LT_DLLAZY_OR_NOW	DL_NOW
11549#        else
11550#          define LT_DLLAZY_OR_NOW	0
11551#        endif
11552#      endif
11553#    endif
11554#  endif
11555#endif
11556
11557/* When -fvisbility=hidden is used, assume the code has been annotated
11558   correspondingly for the symbols needed.  */
11559#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11560void fnord () __attribute__((visibility("default")));
11561#endif
11562
11563void fnord () { int i=42; }
11564int main ()
11565{
11566  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11567  int status = $lt_dlunknown;
11568
11569  if (self)
11570    {
11571      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11572      else
11573        {
11574	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11575          else puts (dlerror ());
11576	}
11577      /* dlclose (self); */
11578    }
11579  else
11580    puts (dlerror ());
11581
11582  return status;
11583}
11584_LT_EOF
11585  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11586  (eval $ac_link) 2>&5
11587  ac_status=$?
11588  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11589  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11590    (./conftest; exit; ) >&5 2>/dev/null
11591    lt_status=$?
11592    case x$lt_status in
11593      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11594      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11595      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11596    esac
11597  else :
11598    # compilation failed
11599    lt_cv_dlopen_self=no
11600  fi
11601fi
11602rm -fr conftest*
11603
11604
11605fi
11606{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11607$as_echo "$lt_cv_dlopen_self" >&6; }
11608
11609    if test "x$lt_cv_dlopen_self" = xyes; then
11610      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11611      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11612$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11613if test "${lt_cv_dlopen_self_static+set}" = set; then :
11614  $as_echo_n "(cached) " >&6
11615else
11616  	  if test "$cross_compiling" = yes; then :
11617  lt_cv_dlopen_self_static=cross
11618else
11619  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11620  lt_status=$lt_dlunknown
11621  cat > conftest.$ac_ext <<_LT_EOF
11622#line 11622 "configure"
11623#include "confdefs.h"
11624
11625#if HAVE_DLFCN_H
11626#include <dlfcn.h>
11627#endif
11628
11629#include <stdio.h>
11630
11631#ifdef RTLD_GLOBAL
11632#  define LT_DLGLOBAL		RTLD_GLOBAL
11633#else
11634#  ifdef DL_GLOBAL
11635#    define LT_DLGLOBAL		DL_GLOBAL
11636#  else
11637#    define LT_DLGLOBAL		0
11638#  endif
11639#endif
11640
11641/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11642   find out it does not work in some platform. */
11643#ifndef LT_DLLAZY_OR_NOW
11644#  ifdef RTLD_LAZY
11645#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
11646#  else
11647#    ifdef DL_LAZY
11648#      define LT_DLLAZY_OR_NOW		DL_LAZY
11649#    else
11650#      ifdef RTLD_NOW
11651#        define LT_DLLAZY_OR_NOW	RTLD_NOW
11652#      else
11653#        ifdef DL_NOW
11654#          define LT_DLLAZY_OR_NOW	DL_NOW
11655#        else
11656#          define LT_DLLAZY_OR_NOW	0
11657#        endif
11658#      endif
11659#    endif
11660#  endif
11661#endif
11662
11663/* When -fvisbility=hidden is used, assume the code has been annotated
11664   correspondingly for the symbols needed.  */
11665#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11666void fnord () __attribute__((visibility("default")));
11667#endif
11668
11669void fnord () { int i=42; }
11670int main ()
11671{
11672  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11673  int status = $lt_dlunknown;
11674
11675  if (self)
11676    {
11677      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11678      else
11679        {
11680	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11681          else puts (dlerror ());
11682	}
11683      /* dlclose (self); */
11684    }
11685  else
11686    puts (dlerror ());
11687
11688  return status;
11689}
11690_LT_EOF
11691  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11692  (eval $ac_link) 2>&5
11693  ac_status=$?
11694  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11695  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11696    (./conftest; exit; ) >&5 2>/dev/null
11697    lt_status=$?
11698    case x$lt_status in
11699      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11700      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11701      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11702    esac
11703  else :
11704    # compilation failed
11705    lt_cv_dlopen_self_static=no
11706  fi
11707fi
11708rm -fr conftest*
11709
11710
11711fi
11712{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11713$as_echo "$lt_cv_dlopen_self_static" >&6; }
11714    fi
11715
11716    CPPFLAGS="$save_CPPFLAGS"
11717    LDFLAGS="$save_LDFLAGS"
11718    LIBS="$save_LIBS"
11719    ;;
11720  esac
11721
11722  case $lt_cv_dlopen_self in
11723  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11724  *) enable_dlopen_self=unknown ;;
11725  esac
11726
11727  case $lt_cv_dlopen_self_static in
11728  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11729  *) enable_dlopen_self_static=unknown ;;
11730  esac
11731fi
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749striplib=
11750old_striplib=
11751{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11752$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11753if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11754  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11755  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11756  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11757$as_echo "yes" >&6; }
11758else
11759# FIXME - insert some real tests, host_os isn't really good enough
11760  case $host_os in
11761  darwin*)
11762    if test -n "$STRIP" ; then
11763      striplib="$STRIP -x"
11764      old_striplib="$STRIP -S"
11765      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11766$as_echo "yes" >&6; }
11767    else
11768      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11769$as_echo "no" >&6; }
11770    fi
11771    ;;
11772  *)
11773    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11774$as_echo "no" >&6; }
11775    ;;
11776  esac
11777fi
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790  # Report which library types will actually be built
11791  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11792$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11793  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11794$as_echo "$can_build_shared" >&6; }
11795
11796  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11797$as_echo_n "checking whether to build shared libraries... " >&6; }
11798  test "$can_build_shared" = "no" && enable_shared=no
11799
11800  # On AIX, shared libraries and static libraries use the same namespace, and
11801  # are all built from PIC.
11802  case $host_os in
11803  aix3*)
11804    test "$enable_shared" = yes && enable_static=no
11805    if test -n "$RANLIB"; then
11806      archive_cmds="$archive_cmds~\$RANLIB \$lib"
11807      postinstall_cmds='$RANLIB $lib'
11808    fi
11809    ;;
11810
11811  aix[4-9]*)
11812    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11813      test "$enable_shared" = yes && enable_static=no
11814    fi
11815    ;;
11816  esac
11817  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11818$as_echo "$enable_shared" >&6; }
11819
11820  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11821$as_echo_n "checking whether to build static libraries... " >&6; }
11822  # Make sure either enable_shared or enable_static is yes.
11823  test "$enable_shared" = yes || enable_static=yes
11824  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11825$as_echo "$enable_static" >&6; }
11826
11827
11828
11829
11830fi
11831ac_ext=c
11832ac_cpp='$CPP $CPPFLAGS'
11833ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11834ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11835ac_compiler_gnu=$ac_cv_c_compiler_gnu
11836
11837CC="$lt_save_CC"
11838
11839      if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11840    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11841    (test "X$CXX" != "Xg++"))) ; then
11842  ac_ext=cpp
11843ac_cpp='$CXXCPP $CPPFLAGS'
11844ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11845ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11846ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11847{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11848$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11849if test -z "$CXXCPP"; then
11850  if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11851  $as_echo_n "(cached) " >&6
11852else
11853      # Double quotes because CXXCPP needs to be expanded
11854    for CXXCPP in "$CXX -E" "/lib/cpp"
11855    do
11856      ac_preproc_ok=false
11857for ac_cxx_preproc_warn_flag in '' yes
11858do
11859  # Use a header file that comes with gcc, so configuring glibc
11860  # with a fresh cross-compiler works.
11861  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11862  # <limits.h> exists even on freestanding compilers.
11863  # On the NeXT, cc -E runs the code through the compiler's parser,
11864  # not just through cpp. "Syntax error" is here to catch this case.
11865  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11866/* end confdefs.h.  */
11867#ifdef __STDC__
11868# include <limits.h>
11869#else
11870# include <assert.h>
11871#endif
11872		     Syntax error
11873_ACEOF
11874if ac_fn_cxx_try_cpp "$LINENO"; then :
11875
11876else
11877  # Broken: fails on valid input.
11878continue
11879fi
11880rm -f conftest.err conftest.$ac_ext
11881
11882  # OK, works on sane cases.  Now check whether nonexistent headers
11883  # can be detected and how.
11884  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11885/* end confdefs.h.  */
11886#include <ac_nonexistent.h>
11887_ACEOF
11888if ac_fn_cxx_try_cpp "$LINENO"; then :
11889  # Broken: success on invalid input.
11890continue
11891else
11892  # Passes both tests.
11893ac_preproc_ok=:
11894break
11895fi
11896rm -f conftest.err conftest.$ac_ext
11897
11898done
11899# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11900rm -f conftest.err conftest.$ac_ext
11901if $ac_preproc_ok; then :
11902  break
11903fi
11904
11905    done
11906    ac_cv_prog_CXXCPP=$CXXCPP
11907
11908fi
11909  CXXCPP=$ac_cv_prog_CXXCPP
11910else
11911  ac_cv_prog_CXXCPP=$CXXCPP
11912fi
11913{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11914$as_echo "$CXXCPP" >&6; }
11915ac_preproc_ok=false
11916for ac_cxx_preproc_warn_flag in '' yes
11917do
11918  # Use a header file that comes with gcc, so configuring glibc
11919  # with a fresh cross-compiler works.
11920  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11921  # <limits.h> exists even on freestanding compilers.
11922  # On the NeXT, cc -E runs the code through the compiler's parser,
11923  # not just through cpp. "Syntax error" is here to catch this case.
11924  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11925/* end confdefs.h.  */
11926#ifdef __STDC__
11927# include <limits.h>
11928#else
11929# include <assert.h>
11930#endif
11931		     Syntax error
11932_ACEOF
11933if ac_fn_cxx_try_cpp "$LINENO"; then :
11934
11935else
11936  # Broken: fails on valid input.
11937continue
11938fi
11939rm -f conftest.err conftest.$ac_ext
11940
11941  # OK, works on sane cases.  Now check whether nonexistent headers
11942  # can be detected and how.
11943  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11944/* end confdefs.h.  */
11945#include <ac_nonexistent.h>
11946_ACEOF
11947if ac_fn_cxx_try_cpp "$LINENO"; then :
11948  # Broken: success on invalid input.
11949continue
11950else
11951  # Passes both tests.
11952ac_preproc_ok=:
11953break
11954fi
11955rm -f conftest.err conftest.$ac_ext
11956
11957done
11958# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11959rm -f conftest.err conftest.$ac_ext
11960if $ac_preproc_ok; then :
11961
11962else
11963  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11964$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11965as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11966See \`config.log' for more details." "$LINENO" 5; }
11967fi
11968
11969ac_ext=c
11970ac_cpp='$CPP $CPPFLAGS'
11971ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11972ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11973ac_compiler_gnu=$ac_cv_c_compiler_gnu
11974
11975else
11976  _lt_caught_CXX_error=yes
11977fi
11978
11979ac_ext=cpp
11980ac_cpp='$CXXCPP $CPPFLAGS'
11981ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11982ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11983ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11984
11985archive_cmds_need_lc_CXX=no
11986allow_undefined_flag_CXX=
11987always_export_symbols_CXX=no
11988archive_expsym_cmds_CXX=
11989compiler_needs_object_CXX=no
11990export_dynamic_flag_spec_CXX=
11991hardcode_direct_CXX=no
11992hardcode_direct_absolute_CXX=no
11993hardcode_libdir_flag_spec_CXX=
11994hardcode_libdir_flag_spec_ld_CXX=
11995hardcode_libdir_separator_CXX=
11996hardcode_minus_L_CXX=no
11997hardcode_shlibpath_var_CXX=unsupported
11998hardcode_automatic_CXX=no
11999inherit_rpath_CXX=no
12000module_cmds_CXX=
12001module_expsym_cmds_CXX=
12002link_all_deplibs_CXX=unknown
12003old_archive_cmds_CXX=$old_archive_cmds
12004reload_flag_CXX=$reload_flag
12005reload_cmds_CXX=$reload_cmds
12006no_undefined_flag_CXX=
12007whole_archive_flag_spec_CXX=
12008enable_shared_with_static_runtimes_CXX=no
12009
12010# Source file extension for C++ test sources.
12011ac_ext=cpp
12012
12013# Object file extension for compiled C++ test sources.
12014objext=o
12015objext_CXX=$objext
12016
12017# No sense in running all these tests if we already determined that
12018# the CXX compiler isn't working.  Some variables (like enable_shared)
12019# are currently assumed to apply to all compilers on this platform,
12020# and will be corrupted by setting them based on a non-working compiler.
12021if test "$_lt_caught_CXX_error" != yes; then
12022  # Code to be used in simple compile tests
12023  lt_simple_compile_test_code="int some_variable = 0;"
12024
12025  # Code to be used in simple link tests
12026  lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12027
12028  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12029
12030
12031
12032
12033
12034
12035# If no C compiler was specified, use CC.
12036LTCC=${LTCC-"$CC"}
12037
12038# If no C compiler flags were specified, use CFLAGS.
12039LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12040
12041# Allow CC to be a program name with arguments.
12042compiler=$CC
12043
12044
12045  # save warnings/boilerplate of simple test code
12046  ac_outfile=conftest.$ac_objext
12047echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12048eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12049_lt_compiler_boilerplate=`cat conftest.err`
12050$RM conftest*
12051
12052  ac_outfile=conftest.$ac_objext
12053echo "$lt_simple_link_test_code" >conftest.$ac_ext
12054eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12055_lt_linker_boilerplate=`cat conftest.err`
12056$RM -r conftest*
12057
12058
12059  # Allow CC to be a program name with arguments.
12060  lt_save_CC=$CC
12061  lt_save_LD=$LD
12062  lt_save_GCC=$GCC
12063  GCC=$GXX
12064  lt_save_with_gnu_ld=$with_gnu_ld
12065  lt_save_path_LD=$lt_cv_path_LD
12066  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12067    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12068  else
12069    $as_unset lt_cv_prog_gnu_ld
12070  fi
12071  if test -n "${lt_cv_path_LDCXX+set}"; then
12072    lt_cv_path_LD=$lt_cv_path_LDCXX
12073  else
12074    $as_unset lt_cv_path_LD
12075  fi
12076  test -z "${LDCXX+set}" || LD=$LDCXX
12077  CC=${CXX-"c++"}
12078  compiler=$CC
12079  compiler_CXX=$CC
12080  for cc_temp in $compiler""; do
12081  case $cc_temp in
12082    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12083    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12084    \-*) ;;
12085    *) break;;
12086  esac
12087done
12088cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12089
12090
12091  if test -n "$compiler"; then
12092    # We don't want -fno-exception when compiling C++ code, so set the
12093    # no_builtin_flag separately
12094    if test "$GXX" = yes; then
12095      lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12096    else
12097      lt_prog_compiler_no_builtin_flag_CXX=
12098    fi
12099
12100    if test "$GXX" = yes; then
12101      # Set up default GNU C++ configuration
12102
12103
12104
12105# Check whether --with-gnu-ld was given.
12106if test "${with_gnu_ld+set}" = set; then :
12107  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12108else
12109  with_gnu_ld=no
12110fi
12111
12112ac_prog=ld
12113if test "$GCC" = yes; then
12114  # Check if gcc -print-prog-name=ld gives a path.
12115  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12116$as_echo_n "checking for ld used by $CC... " >&6; }
12117  case $host in
12118  *-*-mingw*)
12119    # gcc leaves a trailing carriage return which upsets mingw
12120    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12121  *)
12122    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12123  esac
12124  case $ac_prog in
12125    # Accept absolute paths.
12126    [\\/]* | ?:[\\/]*)
12127      re_direlt='/[^/][^/]*/\.\./'
12128      # Canonicalize the pathname of ld
12129      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12130      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12131	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12132      done
12133      test -z "$LD" && LD="$ac_prog"
12134      ;;
12135  "")
12136    # If it fails, then pretend we aren't using GCC.
12137    ac_prog=ld
12138    ;;
12139  *)
12140    # If it is relative, then search for the first ld in PATH.
12141    with_gnu_ld=unknown
12142    ;;
12143  esac
12144elif test "$with_gnu_ld" = yes; then
12145  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12146$as_echo_n "checking for GNU ld... " >&6; }
12147else
12148  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12149$as_echo_n "checking for non-GNU ld... " >&6; }
12150fi
12151if test "${lt_cv_path_LD+set}" = set; then :
12152  $as_echo_n "(cached) " >&6
12153else
12154  if test -z "$LD"; then
12155  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12156  for ac_dir in $PATH; do
12157    IFS="$lt_save_ifs"
12158    test -z "$ac_dir" && ac_dir=.
12159    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12160      lt_cv_path_LD="$ac_dir/$ac_prog"
12161      # Check to see if the program is GNU ld.  I'd rather use --version,
12162      # but apparently some variants of GNU ld only accept -v.
12163      # Break only if it was the GNU/non-GNU ld that we prefer.
12164      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12165      *GNU* | *'with BFD'*)
12166	test "$with_gnu_ld" != no && break
12167	;;
12168      *)
12169	test "$with_gnu_ld" != yes && break
12170	;;
12171      esac
12172    fi
12173  done
12174  IFS="$lt_save_ifs"
12175else
12176  lt_cv_path_LD="$LD" # Let the user override the test with a path.
12177fi
12178fi
12179
12180LD="$lt_cv_path_LD"
12181if test -n "$LD"; then
12182  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12183$as_echo "$LD" >&6; }
12184else
12185  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12186$as_echo "no" >&6; }
12187fi
12188test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12189{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12190$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12191if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12192  $as_echo_n "(cached) " >&6
12193else
12194  # I'd rather use --version here, but apparently some GNU lds only accept -v.
12195case `$LD -v 2>&1 </dev/null` in
12196*GNU* | *'with BFD'*)
12197  lt_cv_prog_gnu_ld=yes
12198  ;;
12199*)
12200  lt_cv_prog_gnu_ld=no
12201  ;;
12202esac
12203fi
12204{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12205$as_echo "$lt_cv_prog_gnu_ld" >&6; }
12206with_gnu_ld=$lt_cv_prog_gnu_ld
12207
12208
12209
12210
12211
12212
12213
12214      # Check if GNU C++ uses GNU ld as the underlying linker, since the
12215      # archiving commands below assume that GNU ld is being used.
12216      if test "$with_gnu_ld" = yes; then
12217        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12218        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'
12219
12220        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12221        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12222
12223        # If archive_cmds runs LD, not CC, wlarc should be empty
12224        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12225        #     investigate it a little bit more. (MM)
12226        wlarc='${wl}'
12227
12228        # ancient GNU ld didn't support --whole-archive et. al.
12229        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12230	  $GREP 'no-whole-archive' > /dev/null; then
12231          whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12232        else
12233          whole_archive_flag_spec_CXX=
12234        fi
12235      else
12236        with_gnu_ld=no
12237        wlarc=
12238
12239        # A generic and very simple default shared library creation
12240        # command for GNU C++ for the case where it uses the native
12241        # linker, instead of GNU ld.  If possible, this setting should
12242        # overridden to take advantage of the native linker features on
12243        # the platform it is being used on.
12244        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12245      fi
12246
12247      # Commands to make compiler produce verbose output that lists
12248      # what "hidden" libraries, object files and flags are used when
12249      # linking a shared library.
12250      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12251
12252    else
12253      GXX=no
12254      with_gnu_ld=no
12255      wlarc=
12256    fi
12257
12258    # PORTME: fill in a description of your system's C++ link characteristics
12259    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12260$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12261    ld_shlibs_CXX=yes
12262    case $host_os in
12263      aix3*)
12264        # FIXME: insert proper C++ library support
12265        ld_shlibs_CXX=no
12266        ;;
12267      aix[4-9]*)
12268        if test "$host_cpu" = ia64; then
12269          # On IA64, the linker does run time linking by default, so we don't
12270          # have to do anything special.
12271          aix_use_runtimelinking=no
12272          exp_sym_flag='-Bexport'
12273          no_entry_flag=""
12274        else
12275          aix_use_runtimelinking=no
12276
12277          # Test if we are trying to use run time linking or normal
12278          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12279          # need to do runtime linking.
12280          case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12281	    for ld_flag in $LDFLAGS; do
12282	      case $ld_flag in
12283	      *-brtl*)
12284	        aix_use_runtimelinking=yes
12285	        break
12286	        ;;
12287	      esac
12288	    done
12289	    ;;
12290          esac
12291
12292          exp_sym_flag='-bexport'
12293          no_entry_flag='-bnoentry'
12294        fi
12295
12296        # When large executables or shared objects are built, AIX ld can
12297        # have problems creating the table of contents.  If linking a library
12298        # or program results in "error TOC overflow" add -mminimal-toc to
12299        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
12300        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12301
12302        archive_cmds_CXX=''
12303        hardcode_direct_CXX=yes
12304        hardcode_direct_absolute_CXX=yes
12305        hardcode_libdir_separator_CXX=':'
12306        link_all_deplibs_CXX=yes
12307        file_list_spec_CXX='${wl}-f,'
12308
12309        if test "$GXX" = yes; then
12310          case $host_os in aix4.[012]|aix4.[012].*)
12311          # We only want to do this on AIX 4.2 and lower, the check
12312          # below for broken collect2 doesn't work under 4.3+
12313	  collect2name=`${CC} -print-prog-name=collect2`
12314	  if test -f "$collect2name" &&
12315	     strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12316	  then
12317	    # We have reworked collect2
12318	    :
12319	  else
12320	    # We have old collect2
12321	    hardcode_direct_CXX=unsupported
12322	    # It fails to find uninstalled libraries when the uninstalled
12323	    # path is not listed in the libpath.  Setting hardcode_minus_L
12324	    # to unsupported forces relinking
12325	    hardcode_minus_L_CXX=yes
12326	    hardcode_libdir_flag_spec_CXX='-L$libdir'
12327	    hardcode_libdir_separator_CXX=
12328	  fi
12329          esac
12330          shared_flag='-shared'
12331	  if test "$aix_use_runtimelinking" = yes; then
12332	    shared_flag="$shared_flag "'${wl}-G'
12333	  fi
12334        else
12335          # not using gcc
12336          if test "$host_cpu" = ia64; then
12337	  # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12338	  # chokes on -Wl,-G. The following line is correct:
12339	  shared_flag='-G'
12340          else
12341	    if test "$aix_use_runtimelinking" = yes; then
12342	      shared_flag='${wl}-G'
12343	    else
12344	      shared_flag='${wl}-bM:SRE'
12345	    fi
12346          fi
12347        fi
12348
12349        export_dynamic_flag_spec_CXX='${wl}-bexpall'
12350        # It seems that -bexpall does not export symbols beginning with
12351        # underscore (_), so it is better to generate a list of symbols to
12352	# export.
12353        always_export_symbols_CXX=yes
12354        if test "$aix_use_runtimelinking" = yes; then
12355          # Warning - without using the other runtime loading flags (-brtl),
12356          # -berok will link without error, but may produce a broken library.
12357          allow_undefined_flag_CXX='-berok'
12358          # Determine the default libpath from the value encoded in an empty
12359          # executable.
12360          if test x$gcc_no_link = xyes; then
12361  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12362fi
12363cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12364/* end confdefs.h.  */
12365
12366int
12367main ()
12368{
12369
12370  ;
12371  return 0;
12372}
12373_ACEOF
12374if ac_fn_cxx_try_link "$LINENO"; then :
12375
12376lt_aix_libpath_sed='
12377    /Import File Strings/,/^$/ {
12378	/^0/ {
12379	    s/^0  *\(.*\)$/\1/
12380	    p
12381	}
12382    }'
12383aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12384# Check for a 64-bit object if we didn't find anything.
12385if test -z "$aix_libpath"; then
12386  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12387fi
12388fi
12389rm -f core conftest.err conftest.$ac_objext \
12390    conftest$ac_exeext conftest.$ac_ext
12391if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12392
12393          hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12394
12395          archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12396        else
12397          if test "$host_cpu" = ia64; then
12398	    hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12399	    allow_undefined_flag_CXX="-z nodefs"
12400	    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"
12401          else
12402	    # Determine the default libpath from the value encoded in an
12403	    # empty executable.
12404	    if test x$gcc_no_link = xyes; then
12405  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12406fi
12407cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12408/* end confdefs.h.  */
12409
12410int
12411main ()
12412{
12413
12414  ;
12415  return 0;
12416}
12417_ACEOF
12418if ac_fn_cxx_try_link "$LINENO"; then :
12419
12420lt_aix_libpath_sed='
12421    /Import File Strings/,/^$/ {
12422	/^0/ {
12423	    s/^0  *\(.*\)$/\1/
12424	    p
12425	}
12426    }'
12427aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12428# Check for a 64-bit object if we didn't find anything.
12429if test -z "$aix_libpath"; then
12430  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12431fi
12432fi
12433rm -f core conftest.err conftest.$ac_objext \
12434    conftest$ac_exeext conftest.$ac_ext
12435if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12436
12437	    hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12438	    # Warning - without using the other run time loading flags,
12439	    # -berok will link without error, but may produce a broken library.
12440	    no_undefined_flag_CXX=' ${wl}-bernotok'
12441	    allow_undefined_flag_CXX=' ${wl}-berok'
12442	    if test "$with_gnu_ld" = yes; then
12443	      # We only use this code for GNU lds that support --whole-archive.
12444	      whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12445	    else
12446	      # Exported symbols can be pulled into shared objects from archives
12447	      whole_archive_flag_spec_CXX='$convenience'
12448	    fi
12449	    archive_cmds_need_lc_CXX=yes
12450	    # This is similar to how AIX traditionally builds its shared
12451	    # libraries.
12452	    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'
12453          fi
12454        fi
12455        ;;
12456
12457      beos*)
12458	if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12459	  allow_undefined_flag_CXX=unsupported
12460	  # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12461	  # support --undefined.  This deserves some investigation.  FIXME
12462	  archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12463	else
12464	  ld_shlibs_CXX=no
12465	fi
12466	;;
12467
12468      chorus*)
12469        case $cc_basename in
12470          *)
12471	  # FIXME: insert proper C++ library support
12472	  ld_shlibs_CXX=no
12473	  ;;
12474        esac
12475        ;;
12476
12477      cygwin* | mingw* | pw32* | cegcc*)
12478        # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12479        # as there is no search path for DLLs.
12480        hardcode_libdir_flag_spec_CXX='-L$libdir'
12481        export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12482        allow_undefined_flag_CXX=unsupported
12483        always_export_symbols_CXX=no
12484        enable_shared_with_static_runtimes_CXX=yes
12485
12486        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12487          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'
12488          # If the export-symbols file already is a .def file (1st line
12489          # is EXPORTS), use it as is; otherwise, prepend...
12490          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12491	    cp $export_symbols $output_objdir/$soname.def;
12492          else
12493	    echo EXPORTS > $output_objdir/$soname.def;
12494	    cat $export_symbols >> $output_objdir/$soname.def;
12495          fi~
12496          $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'
12497        else
12498          ld_shlibs_CXX=no
12499        fi
12500        ;;
12501      darwin* | rhapsody*)
12502
12503
12504  archive_cmds_need_lc_CXX=no
12505  hardcode_direct_CXX=no
12506  hardcode_automatic_CXX=yes
12507  hardcode_shlibpath_var_CXX=unsupported
12508  if test "$lt_cv_ld_force_load" = "yes"; then
12509    whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
12510  else
12511    whole_archive_flag_spec_CXX=''
12512  fi
12513  link_all_deplibs_CXX=yes
12514  allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12515  case $cc_basename in
12516     ifort*) _lt_dar_can_shared=yes ;;
12517     *) _lt_dar_can_shared=$GCC ;;
12518  esac
12519  if test "$_lt_dar_can_shared" = "yes"; then
12520    output_verbose_link_cmd=func_echo_all
12521    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}"
12522    module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12523    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}"
12524    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}"
12525       if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12526      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}"
12527      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}"
12528    fi
12529
12530  else
12531  ld_shlibs_CXX=no
12532  fi
12533
12534	;;
12535
12536      dgux*)
12537        case $cc_basename in
12538          ec++*)
12539	    # FIXME: insert proper C++ library support
12540	    ld_shlibs_CXX=no
12541	    ;;
12542          ghcx*)
12543	    # Green Hills C++ Compiler
12544	    # FIXME: insert proper C++ library support
12545	    ld_shlibs_CXX=no
12546	    ;;
12547          *)
12548	    # FIXME: insert proper C++ library support
12549	    ld_shlibs_CXX=no
12550	    ;;
12551        esac
12552        ;;
12553
12554      freebsd2.*)
12555        # C++ shared libraries reported to be fairly broken before
12556	# switch to ELF
12557        ld_shlibs_CXX=no
12558        ;;
12559
12560      freebsd-elf*)
12561        archive_cmds_need_lc_CXX=no
12562        ;;
12563
12564      freebsd* | dragonfly*)
12565        # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12566        # conventions
12567        ld_shlibs_CXX=yes
12568        ;;
12569
12570      gnu*)
12571        ;;
12572
12573      haiku*)
12574        archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12575        link_all_deplibs_CXX=yes
12576        ;;
12577
12578      hpux9*)
12579        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12580        hardcode_libdir_separator_CXX=:
12581        export_dynamic_flag_spec_CXX='${wl}-E'
12582        hardcode_direct_CXX=yes
12583        hardcode_minus_L_CXX=yes # Not in the search PATH,
12584				             # but as the default
12585				             # location of the library.
12586
12587        case $cc_basename in
12588          CC*)
12589            # FIXME: insert proper C++ library support
12590            ld_shlibs_CXX=no
12591            ;;
12592          aCC*)
12593            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'
12594            # Commands to make compiler produce verbose output that lists
12595            # what "hidden" libraries, object files and flags are used when
12596            # linking a shared library.
12597            #
12598            # There doesn't appear to be a way to prevent this compiler from
12599            # explicitly linking system object files so we need to strip them
12600            # from the output so that they don't get included in the library
12601            # dependencies.
12602            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12603            ;;
12604          *)
12605            if test "$GXX" = yes; then
12606              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'
12607            else
12608              # FIXME: insert proper C++ library support
12609              ld_shlibs_CXX=no
12610            fi
12611            ;;
12612        esac
12613        ;;
12614
12615      hpux10*|hpux11*)
12616        if test $with_gnu_ld = no; then
12617	  hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12618	  hardcode_libdir_separator_CXX=:
12619
12620          case $host_cpu in
12621            hppa*64*|ia64*)
12622              ;;
12623            *)
12624	      export_dynamic_flag_spec_CXX='${wl}-E'
12625              ;;
12626          esac
12627        fi
12628        case $host_cpu in
12629          hppa*64*|ia64*)
12630            hardcode_direct_CXX=no
12631            hardcode_shlibpath_var_CXX=no
12632            ;;
12633          *)
12634            hardcode_direct_CXX=yes
12635            hardcode_direct_absolute_CXX=yes
12636            hardcode_minus_L_CXX=yes # Not in the search PATH,
12637					         # but as the default
12638					         # location of the library.
12639            ;;
12640        esac
12641
12642        case $cc_basename in
12643          CC*)
12644	    # FIXME: insert proper C++ library support
12645	    ld_shlibs_CXX=no
12646	    ;;
12647          aCC*)
12648	    case $host_cpu in
12649	      hppa*64*)
12650	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12651	        ;;
12652	      ia64*)
12653	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12654	        ;;
12655	      *)
12656	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12657	        ;;
12658	    esac
12659	    # Commands to make compiler produce verbose output that lists
12660	    # what "hidden" libraries, object files and flags are used when
12661	    # linking a shared library.
12662	    #
12663	    # There doesn't appear to be a way to prevent this compiler from
12664	    # explicitly linking system object files so we need to strip them
12665	    # from the output so that they don't get included in the library
12666	    # dependencies.
12667	    output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12668	    ;;
12669          *)
12670	    if test "$GXX" = yes; then
12671	      if test $with_gnu_ld = no; then
12672	        case $host_cpu in
12673	          hppa*64*)
12674	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12675	            ;;
12676	          ia64*)
12677	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12678	            ;;
12679	          *)
12680	            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'
12681	            ;;
12682	        esac
12683	      fi
12684	    else
12685	      # FIXME: insert proper C++ library support
12686	      ld_shlibs_CXX=no
12687	    fi
12688	    ;;
12689        esac
12690        ;;
12691
12692      interix[3-9]*)
12693	hardcode_direct_CXX=no
12694	hardcode_shlibpath_var_CXX=no
12695	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12696	export_dynamic_flag_spec_CXX='${wl}-E'
12697	# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12698	# Instead, shared libraries are loaded at an image base (0x10000000 by
12699	# default) and relocated if they conflict, which is a slow very memory
12700	# consuming and fragmenting process.  To avoid this, we pick a random,
12701	# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12702	# time.  Moving up from 0x10000000 also allows more sbrk(2) space.
12703	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'
12704	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'
12705	;;
12706      irix5* | irix6*)
12707        case $cc_basename in
12708          CC*)
12709	    # SGI C++
12710	    archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12711
12712	    # Archives containing C++ object files must be created using
12713	    # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
12714	    # necessary to make sure instantiated templates are included
12715	    # in the archive.
12716	    old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12717	    ;;
12718          *)
12719	    if test "$GXX" = yes; then
12720	      if test "$with_gnu_ld" = no; then
12721	        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12722	      else
12723	        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
12724	      fi
12725	    fi
12726	    link_all_deplibs_CXX=yes
12727	    ;;
12728        esac
12729        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12730        hardcode_libdir_separator_CXX=:
12731        inherit_rpath_CXX=yes
12732        ;;
12733
12734      linux* | k*bsd*-gnu | kopensolaris*-gnu)
12735        case $cc_basename in
12736          KCC*)
12737	    # Kuck and Associates, Inc. (KAI) C++ Compiler
12738
12739	    # KCC will only create a shared library if the output file
12740	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
12741	    # to its proper name (with version) after linking.
12742	    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'
12743	    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'
12744	    # Commands to make compiler produce verbose output that lists
12745	    # what "hidden" libraries, object files and flags are used when
12746	    # linking a shared library.
12747	    #
12748	    # There doesn't appear to be a way to prevent this compiler from
12749	    # explicitly linking system object files so we need to strip them
12750	    # from the output so that they don't get included in the library
12751	    # dependencies.
12752	    output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12753
12754	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12755	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12756
12757	    # Archives containing C++ object files must be created using
12758	    # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12759	    old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12760	    ;;
12761	  icpc* | ecpc* )
12762	    # Intel C++
12763	    with_gnu_ld=yes
12764	    # version 8.0 and above of icpc choke on multiply defined symbols
12765	    # if we add $predep_objects and $postdep_objects, however 7.1 and
12766	    # earlier do not add the objects themselves.
12767	    case `$CC -V 2>&1` in
12768	      *"Version 7."*)
12769	        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12770		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'
12771		;;
12772	      *)  # Version 8.0 or newer
12773	        tmp_idyn=
12774	        case $host_cpu in
12775		  ia64*) tmp_idyn=' -i_dynamic';;
12776		esac
12777	        archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12778		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'
12779		;;
12780	    esac
12781	    archive_cmds_need_lc_CXX=no
12782	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12783	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12784	    whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12785	    ;;
12786          pgCC* | pgcpp*)
12787            # Portland Group C++ compiler
12788	    case `$CC -V` in
12789	    *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12790	      prelink_cmds_CXX='tpldir=Template.dir~
12791		rm -rf $tpldir~
12792		$CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12793		compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12794	      old_archive_cmds_CXX='tpldir=Template.dir~
12795		rm -rf $tpldir~
12796		$CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12797		$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12798		$RANLIB $oldlib'
12799	      archive_cmds_CXX='tpldir=Template.dir~
12800		rm -rf $tpldir~
12801		$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12802		$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12803	      archive_expsym_cmds_CXX='tpldir=Template.dir~
12804		rm -rf $tpldir~
12805		$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12806		$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'
12807	      ;;
12808	    *) # Version 6 and above use weak symbols
12809	      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12810	      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'
12811	      ;;
12812	    esac
12813
12814	    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12815	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12816	    whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
12817            ;;
12818	  cxx*)
12819	    # Compaq C++
12820	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12821	    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'
12822
12823	    runpath_var=LD_RUN_PATH
12824	    hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12825	    hardcode_libdir_separator_CXX=:
12826
12827	    # Commands to make compiler produce verbose output that lists
12828	    # what "hidden" libraries, object files and flags are used when
12829	    # linking a shared library.
12830	    #
12831	    # There doesn't appear to be a way to prevent this compiler from
12832	    # explicitly linking system object files so we need to strip them
12833	    # from the output so that they don't get included in the library
12834	    # dependencies.
12835	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
12836	    ;;
12837	  xl* | mpixl* | bgxl*)
12838	    # IBM XL 8.0 on PPC, with GNU ld
12839	    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12840	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12841	    archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12842	    if test "x$supports_anon_versioning" = xyes; then
12843	      archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12844		cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12845		echo "local: *; };" >> $output_objdir/$libname.ver~
12846		$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12847	    fi
12848	    ;;
12849	  *)
12850	    case `$CC -V 2>&1 | sed 5q` in
12851	    *Sun\ C*)
12852	      # Sun C++ 5.9
12853	      no_undefined_flag_CXX=' -zdefs'
12854	      archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12855	      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'
12856	      hardcode_libdir_flag_spec_CXX='-R$libdir'
12857	      whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
12858	      compiler_needs_object_CXX=yes
12859
12860	      # Not sure whether something based on
12861	      # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12862	      # would be better.
12863	      output_verbose_link_cmd='func_echo_all'
12864
12865	      # Archives containing C++ object files must be created using
12866	      # "CC -xar", where "CC" is the Sun C++ compiler.  This is
12867	      # necessary to make sure instantiated templates are included
12868	      # in the archive.
12869	      old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12870	      ;;
12871	    esac
12872	    ;;
12873	esac
12874	;;
12875
12876      lynxos*)
12877        # FIXME: insert proper C++ library support
12878	ld_shlibs_CXX=no
12879	;;
12880
12881      m88k*)
12882        # FIXME: insert proper C++ library support
12883        ld_shlibs_CXX=no
12884	;;
12885
12886      mvs*)
12887        case $cc_basename in
12888          cxx*)
12889	    # FIXME: insert proper C++ library support
12890	    ld_shlibs_CXX=no
12891	    ;;
12892	  *)
12893	    # FIXME: insert proper C++ library support
12894	    ld_shlibs_CXX=no
12895	    ;;
12896	esac
12897	;;
12898
12899      netbsd*)
12900        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12901	  archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12902	  wlarc=
12903	  hardcode_libdir_flag_spec_CXX='-R$libdir'
12904	  hardcode_direct_CXX=yes
12905	  hardcode_shlibpath_var_CXX=no
12906	fi
12907	# Workaround some broken pre-1.5 toolchains
12908	output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12909	;;
12910
12911      *nto* | *qnx*)
12912        ld_shlibs_CXX=yes
12913	;;
12914
12915      openbsd2*)
12916        # C++ shared libraries are fairly broken
12917	ld_shlibs_CXX=no
12918	;;
12919
12920      openbsd*)
12921	if test -f /usr/libexec/ld.so; then
12922	  hardcode_direct_CXX=yes
12923	  hardcode_shlibpath_var_CXX=no
12924	  hardcode_direct_absolute_CXX=yes
12925	  archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12926	  hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12927	  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12928	    archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12929	    export_dynamic_flag_spec_CXX='${wl}-E'
12930	    whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12931	  fi
12932	  output_verbose_link_cmd=func_echo_all
12933	else
12934	  ld_shlibs_CXX=no
12935	fi
12936	;;
12937
12938      osf3* | osf4* | osf5*)
12939        case $cc_basename in
12940          KCC*)
12941	    # Kuck and Associates, Inc. (KAI) C++ Compiler
12942
12943	    # KCC will only create a shared library if the output file
12944	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
12945	    # to its proper name (with version) after linking.
12946	    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'
12947
12948	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12949	    hardcode_libdir_separator_CXX=:
12950
12951	    # Archives containing C++ object files must be created using
12952	    # the KAI C++ compiler.
12953	    case $host in
12954	      osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12955	      *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12956	    esac
12957	    ;;
12958          RCC*)
12959	    # Rational C++ 2.4.1
12960	    # FIXME: insert proper C++ library support
12961	    ld_shlibs_CXX=no
12962	    ;;
12963          cxx*)
12964	    case $host in
12965	      osf3*)
12966	        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12967	        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12968	        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12969		;;
12970	      *)
12971	        allow_undefined_flag_CXX=' -expect_unresolved \*'
12972	        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12973	        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12974	          echo "-hidden">> $lib.exp~
12975	          $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
12976	          $RM $lib.exp'
12977	        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12978		;;
12979	    esac
12980
12981	    hardcode_libdir_separator_CXX=:
12982
12983	    # Commands to make compiler produce verbose output that lists
12984	    # what "hidden" libraries, object files and flags are used when
12985	    # linking a shared library.
12986	    #
12987	    # There doesn't appear to be a way to prevent this compiler from
12988	    # explicitly linking system object files so we need to strip them
12989	    # from the output so that they don't get included in the library
12990	    # dependencies.
12991	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12992	    ;;
12993	  *)
12994	    if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12995	      allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12996	      case $host in
12997	        osf3*)
12998	          archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12999		  ;;
13000	        *)
13001	          archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13002		  ;;
13003	      esac
13004
13005	      hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13006	      hardcode_libdir_separator_CXX=:
13007
13008	      # Commands to make compiler produce verbose output that lists
13009	      # what "hidden" libraries, object files and flags are used when
13010	      # linking a shared library.
13011	      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13012
13013	    else
13014	      # FIXME: insert proper C++ library support
13015	      ld_shlibs_CXX=no
13016	    fi
13017	    ;;
13018        esac
13019        ;;
13020
13021      psos*)
13022        # FIXME: insert proper C++ library support
13023        ld_shlibs_CXX=no
13024        ;;
13025
13026      sunos4*)
13027        case $cc_basename in
13028          CC*)
13029	    # Sun C++ 4.x
13030	    # FIXME: insert proper C++ library support
13031	    ld_shlibs_CXX=no
13032	    ;;
13033          lcc*)
13034	    # Lucid
13035	    # FIXME: insert proper C++ library support
13036	    ld_shlibs_CXX=no
13037	    ;;
13038          *)
13039	    # FIXME: insert proper C++ library support
13040	    ld_shlibs_CXX=no
13041	    ;;
13042        esac
13043        ;;
13044
13045      solaris*)
13046        case $cc_basename in
13047          CC*)
13048	    # Sun C++ 4.2, 5.x and Centerline C++
13049            archive_cmds_need_lc_CXX=yes
13050	    no_undefined_flag_CXX=' -zdefs'
13051	    archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13052	    archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13053	      $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'
13054
13055	    hardcode_libdir_flag_spec_CXX='-R$libdir'
13056	    hardcode_shlibpath_var_CXX=no
13057	    case $host_os in
13058	      solaris2.[0-5] | solaris2.[0-5].*) ;;
13059	      *)
13060		# The compiler driver will combine and reorder linker options,
13061		# but understands `-z linker_flag'.
13062	        # Supported since Solaris 2.6 (maybe 2.5.1?)
13063		whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13064	        ;;
13065	    esac
13066	    link_all_deplibs_CXX=yes
13067
13068	    output_verbose_link_cmd='func_echo_all'
13069
13070	    # Archives containing C++ object files must be created using
13071	    # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13072	    # necessary to make sure instantiated templates are included
13073	    # in the archive.
13074	    old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13075	    ;;
13076          gcx*)
13077	    # Green Hills C++ Compiler
13078	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13079
13080	    # The C++ compiler must be used to create the archive.
13081	    old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13082	    ;;
13083          *)
13084	    # GNU C++ compiler with Solaris linker
13085	    if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13086	      no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13087	      if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13088	        archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13089	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13090		  $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13091
13092	        # Commands to make compiler produce verbose output that lists
13093	        # what "hidden" libraries, object files and flags are used when
13094	        # linking a shared library.
13095	        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13096	      else
13097	        # g++ 2.7 appears to require `-G' NOT `-shared' on this
13098	        # platform.
13099	        archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13100	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13101		  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13102
13103	        # Commands to make compiler produce verbose output that lists
13104	        # what "hidden" libraries, object files and flags are used when
13105	        # linking a shared library.
13106	        output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13107	      fi
13108
13109	      hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13110	      case $host_os in
13111		solaris2.[0-5] | solaris2.[0-5].*) ;;
13112		*)
13113		  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13114		  ;;
13115	      esac
13116	    fi
13117	    ;;
13118        esac
13119        ;;
13120
13121    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13122      no_undefined_flag_CXX='${wl}-z,text'
13123      archive_cmds_need_lc_CXX=no
13124      hardcode_shlibpath_var_CXX=no
13125      runpath_var='LD_RUN_PATH'
13126
13127      case $cc_basename in
13128        CC*)
13129	  archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13130	  archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13131	  ;;
13132	*)
13133	  archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13134	  archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13135	  ;;
13136      esac
13137      ;;
13138
13139      sysv5* | sco3.2v5* | sco5v6*)
13140	# Note: We can NOT use -z defs as we might desire, because we do not
13141	# link with -lc, and that would cause any symbols used from libc to
13142	# always be unresolved, which means just about no library would
13143	# ever link correctly.  If we're not using GNU ld we use -z text
13144	# though, which does catch some bad symbols but isn't as heavy-handed
13145	# as -z defs.
13146	no_undefined_flag_CXX='${wl}-z,text'
13147	allow_undefined_flag_CXX='${wl}-z,nodefs'
13148	archive_cmds_need_lc_CXX=no
13149	hardcode_shlibpath_var_CXX=no
13150	hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13151	hardcode_libdir_separator_CXX=':'
13152	link_all_deplibs_CXX=yes
13153	export_dynamic_flag_spec_CXX='${wl}-Bexport'
13154	runpath_var='LD_RUN_PATH'
13155
13156	case $cc_basename in
13157          CC*)
13158	    archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13159	    archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13160	    old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13161	      '"$old_archive_cmds_CXX"
13162	    reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13163	      '"$reload_cmds_CXX"
13164	    ;;
13165	  *)
13166	    archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13167	    archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13168	    ;;
13169	esac
13170      ;;
13171
13172      tandem*)
13173        case $cc_basename in
13174          NCC*)
13175	    # NonStop-UX NCC 3.20
13176	    # FIXME: insert proper C++ library support
13177	    ld_shlibs_CXX=no
13178	    ;;
13179          *)
13180	    # FIXME: insert proper C++ library support
13181	    ld_shlibs_CXX=no
13182	    ;;
13183        esac
13184        ;;
13185
13186      vxworks*)
13187        # FIXME: insert proper C++ library support
13188        ld_shlibs_CXX=no
13189        ;;
13190
13191      *)
13192        # FIXME: insert proper C++ library support
13193        ld_shlibs_CXX=no
13194        ;;
13195    esac
13196
13197    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13198$as_echo "$ld_shlibs_CXX" >&6; }
13199    test "$ld_shlibs_CXX" = no && can_build_shared=no
13200
13201    GCC_CXX="$GXX"
13202    LD_CXX="$LD"
13203
13204    ## CAVEAT EMPTOR:
13205    ## There is no encapsulation within the following macros, do not change
13206    ## the running order or otherwise move them around unless you know exactly
13207    ## what you are doing...
13208    # Dependencies to place before and after the object being linked:
13209predep_objects_CXX=
13210postdep_objects_CXX=
13211predeps_CXX=
13212postdeps_CXX=
13213compiler_lib_search_path_CXX=
13214
13215cat > conftest.$ac_ext <<_LT_EOF
13216class Foo
13217{
13218public:
13219  Foo (void) { a = 0; }
13220private:
13221  int a;
13222};
13223_LT_EOF
13224
13225if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13226  (eval $ac_compile) 2>&5
13227  ac_status=$?
13228  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13229  test $ac_status = 0; }; then
13230  # Parse the compiler output and extract the necessary
13231  # objects, libraries and library flags.
13232
13233  # Sentinel used to keep track of whether or not we are before
13234  # the conftest object file.
13235  pre_test_object_deps_done=no
13236
13237  for p in `eval "$output_verbose_link_cmd"`; do
13238    case $p in
13239
13240    -L* | -R* | -l*)
13241       # Some compilers place space between "-{L,R}" and the path.
13242       # Remove the space.
13243       if test $p = "-L" ||
13244          test $p = "-R"; then
13245	 prev=$p
13246	 continue
13247       else
13248	 prev=
13249       fi
13250
13251       if test "$pre_test_object_deps_done" = no; then
13252	 case $p in
13253	 -L* | -R*)
13254	   # Internal compiler library paths should come after those
13255	   # provided the user.  The postdeps already come after the
13256	   # user supplied libs so there is no need to process them.
13257	   if test -z "$compiler_lib_search_path_CXX"; then
13258	     compiler_lib_search_path_CXX="${prev}${p}"
13259	   else
13260	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13261	   fi
13262	   ;;
13263	 # The "-l" case would never come before the object being
13264	 # linked, so don't bother handling this case.
13265	 esac
13266       else
13267	 if test -z "$postdeps_CXX"; then
13268	   postdeps_CXX="${prev}${p}"
13269	 else
13270	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13271	 fi
13272       fi
13273       ;;
13274
13275    *.$objext)
13276       # This assumes that the test object file only shows up
13277       # once in the compiler output.
13278       if test "$p" = "conftest.$objext"; then
13279	 pre_test_object_deps_done=yes
13280	 continue
13281       fi
13282
13283       if test "$pre_test_object_deps_done" = no; then
13284	 if test -z "$predep_objects_CXX"; then
13285	   predep_objects_CXX="$p"
13286	 else
13287	   predep_objects_CXX="$predep_objects_CXX $p"
13288	 fi
13289       else
13290	 if test -z "$postdep_objects_CXX"; then
13291	   postdep_objects_CXX="$p"
13292	 else
13293	   postdep_objects_CXX="$postdep_objects_CXX $p"
13294	 fi
13295       fi
13296       ;;
13297
13298    *) ;; # Ignore the rest.
13299
13300    esac
13301  done
13302
13303  # Clean up.
13304  rm -f a.out a.exe
13305else
13306  echo "libtool.m4: error: problem compiling CXX test program"
13307fi
13308
13309$RM -f confest.$objext
13310
13311# PORTME: override above test on systems where it is broken
13312case $host_os in
13313interix[3-9]*)
13314  # Interix 3.5 installs completely hosed .la files for C++, so rather than
13315  # hack all around it, let's just trust "g++" to DTRT.
13316  predep_objects_CXX=
13317  postdep_objects_CXX=
13318  postdeps_CXX=
13319  ;;
13320
13321linux*)
13322  case `$CC -V 2>&1 | sed 5q` in
13323  *Sun\ C*)
13324    # Sun C++ 5.9
13325
13326    # The more standards-conforming stlport4 library is
13327    # incompatible with the Cstd library. Avoid specifying
13328    # it if it's in CXXFLAGS. Ignore libCrun as
13329    # -library=stlport4 depends on it.
13330    case " $CXX $CXXFLAGS " in
13331    *" -library=stlport4 "*)
13332      solaris_use_stlport4=yes
13333      ;;
13334    esac
13335
13336    if test "$solaris_use_stlport4" != yes; then
13337      postdeps_CXX='-library=Cstd -library=Crun'
13338    fi
13339    ;;
13340  esac
13341  ;;
13342
13343solaris*)
13344  case $cc_basename in
13345  CC*)
13346    # The more standards-conforming stlport4 library is
13347    # incompatible with the Cstd library. Avoid specifying
13348    # it if it's in CXXFLAGS. Ignore libCrun as
13349    # -library=stlport4 depends on it.
13350    case " $CXX $CXXFLAGS " in
13351    *" -library=stlport4 "*)
13352      solaris_use_stlport4=yes
13353      ;;
13354    esac
13355
13356    # Adding this requires a known-good setup of shared libraries for
13357    # Sun compiler versions before 5.6, else PIC objects from an old
13358    # archive will be linked into the output, leading to subtle bugs.
13359    if test "$solaris_use_stlport4" != yes; then
13360      postdeps_CXX='-library=Cstd -library=Crun'
13361    fi
13362    ;;
13363  esac
13364  ;;
13365esac
13366
13367
13368case " $postdeps_CXX " in
13369*" -lc "*) archive_cmds_need_lc_CXX=no ;;
13370esac
13371 compiler_lib_search_dirs_CXX=
13372if test -n "${compiler_lib_search_path_CXX}"; then
13373 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13374fi
13375
13376
13377
13378
13379
13380
13381
13382
13383
13384
13385
13386
13387
13388
13389
13390
13391
13392
13393
13394
13395
13396
13397
13398
13399
13400
13401
13402
13403
13404
13405
13406    lt_prog_compiler_wl_CXX=
13407lt_prog_compiler_pic_CXX=
13408lt_prog_compiler_static_CXX=
13409
13410{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13411$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13412
13413  # C++ specific cases for pic, static, wl, etc.
13414  if test "$GXX" = yes; then
13415    lt_prog_compiler_wl_CXX='-Wl,'
13416    lt_prog_compiler_static_CXX='-static'
13417
13418    case $host_os in
13419    aix*)
13420      # All AIX code is PIC.
13421      if test "$host_cpu" = ia64; then
13422	# AIX 5 now supports IA64 processor
13423	lt_prog_compiler_static_CXX='-Bstatic'
13424      fi
13425      lt_prog_compiler_pic_CXX='-fPIC'
13426      ;;
13427
13428    amigaos*)
13429      case $host_cpu in
13430      powerpc)
13431            # see comment about AmigaOS4 .so support
13432            lt_prog_compiler_pic_CXX='-fPIC'
13433        ;;
13434      m68k)
13435            # FIXME: we need at least 68020 code to build shared libraries, but
13436            # adding the `-m68020' flag to GCC prevents building anything better,
13437            # like `-m68040'.
13438            lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13439        ;;
13440      esac
13441      ;;
13442
13443    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13444      # PIC is the default for these OSes.
13445      ;;
13446    mingw* | cygwin* | os2* | pw32* | cegcc*)
13447      # This hack is so that the source file can tell whether it is being
13448      # built for inclusion in a dll (and should export symbols for example).
13449      # Although the cygwin gcc ignores -fPIC, still need this for old-style
13450      # (--disable-auto-import) libraries
13451      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13452      ;;
13453    darwin* | rhapsody*)
13454      # PIC is the default on this platform
13455      # Common symbols not allowed in MH_DYLIB files
13456      lt_prog_compiler_pic_CXX='-fno-common'
13457      ;;
13458    *djgpp*)
13459      # DJGPP does not support shared libraries at all
13460      lt_prog_compiler_pic_CXX=
13461      ;;
13462    haiku*)
13463      # PIC is the default for Haiku.
13464      # The "-static" flag exists, but is broken.
13465      lt_prog_compiler_static_CXX=
13466      ;;
13467    interix[3-9]*)
13468      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13469      # Instead, we relocate shared libraries at runtime.
13470      ;;
13471    sysv4*MP*)
13472      if test -d /usr/nec; then
13473	lt_prog_compiler_pic_CXX=-Kconform_pic
13474      fi
13475      ;;
13476    hpux*)
13477      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13478      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
13479      # sets the default TLS model and affects inlining.
13480      case $host_cpu in
13481      hppa*64*)
13482	;;
13483      *)
13484	lt_prog_compiler_pic_CXX='-fPIC'
13485	;;
13486      esac
13487      ;;
13488    *qnx* | *nto*)
13489      # QNX uses GNU C++, but need to define -shared option too, otherwise
13490      # it will coredump.
13491      lt_prog_compiler_pic_CXX='-fPIC -shared'
13492      ;;
13493    *)
13494      lt_prog_compiler_pic_CXX='-fPIC'
13495      ;;
13496    esac
13497  else
13498    case $host_os in
13499      aix[4-9]*)
13500	# All AIX code is PIC.
13501	if test "$host_cpu" = ia64; then
13502	  # AIX 5 now supports IA64 processor
13503	  lt_prog_compiler_static_CXX='-Bstatic'
13504	else
13505	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13506	fi
13507	;;
13508      chorus*)
13509	case $cc_basename in
13510	cxch68*)
13511	  # Green Hills C++ Compiler
13512	  # _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"
13513	  ;;
13514	esac
13515	;;
13516      dgux*)
13517	case $cc_basename in
13518	  ec++*)
13519	    lt_prog_compiler_pic_CXX='-KPIC'
13520	    ;;
13521	  ghcx*)
13522	    # Green Hills C++ Compiler
13523	    lt_prog_compiler_pic_CXX='-pic'
13524	    ;;
13525	  *)
13526	    ;;
13527	esac
13528	;;
13529      freebsd* | dragonfly*)
13530	# FreeBSD uses GNU C++
13531	;;
13532      hpux9* | hpux10* | hpux11*)
13533	case $cc_basename in
13534	  CC*)
13535	    lt_prog_compiler_wl_CXX='-Wl,'
13536	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13537	    if test "$host_cpu" != ia64; then
13538	      lt_prog_compiler_pic_CXX='+Z'
13539	    fi
13540	    ;;
13541	  aCC*)
13542	    lt_prog_compiler_wl_CXX='-Wl,'
13543	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13544	    case $host_cpu in
13545	    hppa*64*|ia64*)
13546	      # +Z the default
13547	      ;;
13548	    *)
13549	      lt_prog_compiler_pic_CXX='+Z'
13550	      ;;
13551	    esac
13552	    ;;
13553	  *)
13554	    ;;
13555	esac
13556	;;
13557      interix*)
13558	# This is c89, which is MS Visual C++ (no shared libs)
13559	# Anyone wants to do a port?
13560	;;
13561      irix5* | irix6* | nonstopux*)
13562	case $cc_basename in
13563	  CC*)
13564	    lt_prog_compiler_wl_CXX='-Wl,'
13565	    lt_prog_compiler_static_CXX='-non_shared'
13566	    # CC pic flag -KPIC is the default.
13567	    ;;
13568	  *)
13569	    ;;
13570	esac
13571	;;
13572      linux* | k*bsd*-gnu | kopensolaris*-gnu)
13573	case $cc_basename in
13574	  KCC*)
13575	    # KAI C++ Compiler
13576	    lt_prog_compiler_wl_CXX='--backend -Wl,'
13577	    lt_prog_compiler_pic_CXX='-fPIC'
13578	    ;;
13579	  ecpc* )
13580	    # old Intel C++ for x86_64 which still supported -KPIC.
13581	    lt_prog_compiler_wl_CXX='-Wl,'
13582	    lt_prog_compiler_pic_CXX='-KPIC'
13583	    lt_prog_compiler_static_CXX='-static'
13584	    ;;
13585	  icpc* )
13586	    # Intel C++, used to be incompatible with GCC.
13587	    # ICC 10 doesn't accept -KPIC any more.
13588	    lt_prog_compiler_wl_CXX='-Wl,'
13589	    lt_prog_compiler_pic_CXX='-fPIC'
13590	    lt_prog_compiler_static_CXX='-static'
13591	    ;;
13592	  pgCC* | pgcpp*)
13593	    # Portland Group C++ compiler
13594	    lt_prog_compiler_wl_CXX='-Wl,'
13595	    lt_prog_compiler_pic_CXX='-fpic'
13596	    lt_prog_compiler_static_CXX='-Bstatic'
13597	    ;;
13598	  cxx*)
13599	    # Compaq C++
13600	    # Make sure the PIC flag is empty.  It appears that all Alpha
13601	    # Linux and Compaq Tru64 Unix objects are PIC.
13602	    lt_prog_compiler_pic_CXX=
13603	    lt_prog_compiler_static_CXX='-non_shared'
13604	    ;;
13605	  xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13606	    # IBM XL 8.0, 9.0 on PPC and BlueGene
13607	    lt_prog_compiler_wl_CXX='-Wl,'
13608	    lt_prog_compiler_pic_CXX='-qpic'
13609	    lt_prog_compiler_static_CXX='-qstaticlink'
13610	    ;;
13611	  *)
13612	    case `$CC -V 2>&1 | sed 5q` in
13613	    *Sun\ C*)
13614	      # Sun C++ 5.9
13615	      lt_prog_compiler_pic_CXX='-KPIC'
13616	      lt_prog_compiler_static_CXX='-Bstatic'
13617	      lt_prog_compiler_wl_CXX='-Qoption ld '
13618	      ;;
13619	    esac
13620	    ;;
13621	esac
13622	;;
13623      lynxos*)
13624	;;
13625      m88k*)
13626	;;
13627      mvs*)
13628	case $cc_basename in
13629	  cxx*)
13630	    lt_prog_compiler_pic_CXX='-W c,exportall'
13631	    ;;
13632	  *)
13633	    ;;
13634	esac
13635	;;
13636      netbsd*)
13637	;;
13638      *qnx* | *nto*)
13639        # QNX uses GNU C++, but need to define -shared option too, otherwise
13640        # it will coredump.
13641        lt_prog_compiler_pic_CXX='-fPIC -shared'
13642        ;;
13643      osf3* | osf4* | osf5*)
13644	case $cc_basename in
13645	  KCC*)
13646	    lt_prog_compiler_wl_CXX='--backend -Wl,'
13647	    ;;
13648	  RCC*)
13649	    # Rational C++ 2.4.1
13650	    lt_prog_compiler_pic_CXX='-pic'
13651	    ;;
13652	  cxx*)
13653	    # Digital/Compaq C++
13654	    lt_prog_compiler_wl_CXX='-Wl,'
13655	    # Make sure the PIC flag is empty.  It appears that all Alpha
13656	    # Linux and Compaq Tru64 Unix objects are PIC.
13657	    lt_prog_compiler_pic_CXX=
13658	    lt_prog_compiler_static_CXX='-non_shared'
13659	    ;;
13660	  *)
13661	    ;;
13662	esac
13663	;;
13664      psos*)
13665	;;
13666      solaris*)
13667	case $cc_basename in
13668	  CC*)
13669	    # Sun C++ 4.2, 5.x and Centerline C++
13670	    lt_prog_compiler_pic_CXX='-KPIC'
13671	    lt_prog_compiler_static_CXX='-Bstatic'
13672	    lt_prog_compiler_wl_CXX='-Qoption ld '
13673	    ;;
13674	  gcx*)
13675	    # Green Hills C++ Compiler
13676	    lt_prog_compiler_pic_CXX='-PIC'
13677	    ;;
13678	  *)
13679	    ;;
13680	esac
13681	;;
13682      sunos4*)
13683	case $cc_basename in
13684	  CC*)
13685	    # Sun C++ 4.x
13686	    lt_prog_compiler_pic_CXX='-pic'
13687	    lt_prog_compiler_static_CXX='-Bstatic'
13688	    ;;
13689	  lcc*)
13690	    # Lucid
13691	    lt_prog_compiler_pic_CXX='-pic'
13692	    ;;
13693	  *)
13694	    ;;
13695	esac
13696	;;
13697      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13698	case $cc_basename in
13699	  CC*)
13700	    lt_prog_compiler_wl_CXX='-Wl,'
13701	    lt_prog_compiler_pic_CXX='-KPIC'
13702	    lt_prog_compiler_static_CXX='-Bstatic'
13703	    ;;
13704	esac
13705	;;
13706      tandem*)
13707	case $cc_basename in
13708	  NCC*)
13709	    # NonStop-UX NCC 3.20
13710	    lt_prog_compiler_pic_CXX='-KPIC'
13711	    ;;
13712	  *)
13713	    ;;
13714	esac
13715	;;
13716      vxworks*)
13717	;;
13718      *)
13719	lt_prog_compiler_can_build_shared_CXX=no
13720	;;
13721    esac
13722  fi
13723
13724case $host_os in
13725  # For platforms which do not support PIC, -DPIC is meaningless:
13726  *djgpp*)
13727    lt_prog_compiler_pic_CXX=
13728    ;;
13729  *)
13730    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13731    ;;
13732esac
13733{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13734$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13735
13736
13737
13738#
13739# Check to make sure the PIC flag actually works.
13740#
13741if test -n "$lt_prog_compiler_pic_CXX"; then
13742  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13743$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13744if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13745  $as_echo_n "(cached) " >&6
13746else
13747  lt_cv_prog_compiler_pic_works_CXX=no
13748   ac_outfile=conftest.$ac_objext
13749   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13750   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13751   # Insert the option either (1) after the last *FLAGS variable, or
13752   # (2) before a word containing "conftest.", or (3) at the end.
13753   # Note that $ac_compile itself does not contain backslashes and begins
13754   # with a dollar sign (not a hyphen), so the echo should work correctly.
13755   # The option is referenced via a variable to avoid confusing sed.
13756   lt_compile=`echo "$ac_compile" | $SED \
13757   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13758   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13759   -e 's:$: $lt_compiler_flag:'`
13760   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13761   (eval "$lt_compile" 2>conftest.err)
13762   ac_status=$?
13763   cat conftest.err >&5
13764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13765   if (exit $ac_status) && test -s "$ac_outfile"; then
13766     # The compiler can only warn and ignore the option if not recognized
13767     # So say no if there are warnings other than the usual output.
13768     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13769     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13770     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13771       lt_cv_prog_compiler_pic_works_CXX=yes
13772     fi
13773   fi
13774   $RM conftest*
13775
13776fi
13777{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13778$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13779
13780if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13781    case $lt_prog_compiler_pic_CXX in
13782     "" | " "*) ;;
13783     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13784     esac
13785else
13786    lt_prog_compiler_pic_CXX=
13787     lt_prog_compiler_can_build_shared_CXX=no
13788fi
13789
13790fi
13791
13792
13793
13794#
13795# Check to make sure the static flag actually works.
13796#
13797wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13798{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13799$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13800if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13801  $as_echo_n "(cached) " >&6
13802else
13803  lt_cv_prog_compiler_static_works_CXX=no
13804   save_LDFLAGS="$LDFLAGS"
13805   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13806   echo "$lt_simple_link_test_code" > conftest.$ac_ext
13807   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13808     # The linker can only warn and ignore the option if not recognized
13809     # So say no if there are warnings
13810     if test -s conftest.err; then
13811       # Append any errors to the config.log.
13812       cat conftest.err 1>&5
13813       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13814       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13815       if diff conftest.exp conftest.er2 >/dev/null; then
13816         lt_cv_prog_compiler_static_works_CXX=yes
13817       fi
13818     else
13819       lt_cv_prog_compiler_static_works_CXX=yes
13820     fi
13821   fi
13822   $RM -r conftest*
13823   LDFLAGS="$save_LDFLAGS"
13824
13825fi
13826{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13827$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13828
13829if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13830    :
13831else
13832    lt_prog_compiler_static_CXX=
13833fi
13834
13835
13836
13837
13838    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13839$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13840if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13841  $as_echo_n "(cached) " >&6
13842else
13843  lt_cv_prog_compiler_c_o_CXX=no
13844   $RM -r conftest 2>/dev/null
13845   mkdir conftest
13846   cd conftest
13847   mkdir out
13848   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13849
13850   lt_compiler_flag="-o out/conftest2.$ac_objext"
13851   # Insert the option either (1) after the last *FLAGS variable, or
13852   # (2) before a word containing "conftest.", or (3) at the end.
13853   # Note that $ac_compile itself does not contain backslashes and begins
13854   # with a dollar sign (not a hyphen), so the echo should work correctly.
13855   lt_compile=`echo "$ac_compile" | $SED \
13856   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13857   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13858   -e 's:$: $lt_compiler_flag:'`
13859   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13860   (eval "$lt_compile" 2>out/conftest.err)
13861   ac_status=$?
13862   cat out/conftest.err >&5
13863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13864   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13865   then
13866     # The compiler can only warn and ignore the option if not recognized
13867     # So say no if there are warnings
13868     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13869     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13870     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13871       lt_cv_prog_compiler_c_o_CXX=yes
13872     fi
13873   fi
13874   chmod u+w . 2>&5
13875   $RM conftest*
13876   # SGI C++ compiler will create directory out/ii_files/ for
13877   # template instantiation
13878   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13879   $RM out/* && rmdir out
13880   cd ..
13881   $RM -r conftest
13882   $RM conftest*
13883
13884fi
13885{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13886$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13887
13888
13889
13890    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13891$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13892if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13893  $as_echo_n "(cached) " >&6
13894else
13895  lt_cv_prog_compiler_c_o_CXX=no
13896   $RM -r conftest 2>/dev/null
13897   mkdir conftest
13898   cd conftest
13899   mkdir out
13900   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13901
13902   lt_compiler_flag="-o out/conftest2.$ac_objext"
13903   # Insert the option either (1) after the last *FLAGS variable, or
13904   # (2) before a word containing "conftest.", or (3) at the end.
13905   # Note that $ac_compile itself does not contain backslashes and begins
13906   # with a dollar sign (not a hyphen), so the echo should work correctly.
13907   lt_compile=`echo "$ac_compile" | $SED \
13908   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13909   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13910   -e 's:$: $lt_compiler_flag:'`
13911   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13912   (eval "$lt_compile" 2>out/conftest.err)
13913   ac_status=$?
13914   cat out/conftest.err >&5
13915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13916   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13917   then
13918     # The compiler can only warn and ignore the option if not recognized
13919     # So say no if there are warnings
13920     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13921     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13922     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13923       lt_cv_prog_compiler_c_o_CXX=yes
13924     fi
13925   fi
13926   chmod u+w . 2>&5
13927   $RM conftest*
13928   # SGI C++ compiler will create directory out/ii_files/ for
13929   # template instantiation
13930   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13931   $RM out/* && rmdir out
13932   cd ..
13933   $RM -r conftest
13934   $RM conftest*
13935
13936fi
13937{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13938$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13939
13940
13941
13942
13943hard_links="nottested"
13944if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13945  # do not overwrite the value of need_locks provided by the user
13946  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13947$as_echo_n "checking if we can lock with hard links... " >&6; }
13948  hard_links=yes
13949  $RM conftest*
13950  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13951  touch conftest.a
13952  ln conftest.a conftest.b 2>&5 || hard_links=no
13953  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13954  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13955$as_echo "$hard_links" >&6; }
13956  if test "$hard_links" = no; then
13957    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13958$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13959    need_locks=warn
13960  fi
13961else
13962  need_locks=no
13963fi
13964
13965
13966
13967    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13968$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13969
13970  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13971  case $host_os in
13972  aix[4-9]*)
13973    # If we're using GNU nm, then we don't want the "-C" option.
13974    # -C means demangle to AIX nm, but means don't demangle with GNU nm
13975    # Also, AIX nm treats weak defined symbols like other global defined
13976    # symbols, whereas GNU nm marks them as "W".
13977    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13978      export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13979    else
13980      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'
13981    fi
13982    ;;
13983  pw32*)
13984    export_symbols_cmds_CXX="$ltdll_cmds"
13985  ;;
13986  cygwin* | mingw* | cegcc*)
13987    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'
13988  ;;
13989  *)
13990    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13991  ;;
13992  esac
13993  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13994
13995{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13996$as_echo "$ld_shlibs_CXX" >&6; }
13997test "$ld_shlibs_CXX" = no && can_build_shared=no
13998
13999with_gnu_ld_CXX=$with_gnu_ld
14000
14001
14002
14003
14004
14005
14006#
14007# Do we need to explicitly link libc?
14008#
14009case "x$archive_cmds_need_lc_CXX" in
14010x|xyes)
14011  # Assume -lc should be added
14012  archive_cmds_need_lc_CXX=yes
14013
14014  if test "$enable_shared" = yes && test "$GCC" = yes; then
14015    case $archive_cmds_CXX in
14016    *'~'*)
14017      # FIXME: we may have to deal with multi-command sequences.
14018      ;;
14019    '$CC '*)
14020      # Test whether the compiler implicitly links with -lc since on some
14021      # systems, -lgcc has to come before -lc. If gcc already passes -lc
14022      # to ld, don't add -lc before -lgcc.
14023      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14024$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14025if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14026  $as_echo_n "(cached) " >&6
14027else
14028  $RM conftest*
14029	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14030
14031	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14032  (eval $ac_compile) 2>&5
14033  ac_status=$?
14034  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14035  test $ac_status = 0; } 2>conftest.err; then
14036	  soname=conftest
14037	  lib=conftest
14038	  libobjs=conftest.$ac_objext
14039	  deplibs=
14040	  wl=$lt_prog_compiler_wl_CXX
14041	  pic_flag=$lt_prog_compiler_pic_CXX
14042	  compiler_flags=-v
14043	  linker_flags=-v
14044	  verstring=
14045	  output_objdir=.
14046	  libname=conftest
14047	  lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14048	  allow_undefined_flag_CXX=
14049	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14050  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14051  ac_status=$?
14052  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14053  test $ac_status = 0; }
14054	  then
14055	    lt_cv_archive_cmds_need_lc_CXX=no
14056	  else
14057	    lt_cv_archive_cmds_need_lc_CXX=yes
14058	  fi
14059	  allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14060	else
14061	  cat conftest.err 1>&5
14062	fi
14063	$RM conftest*
14064
14065fi
14066{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14067$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14068      archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14069      ;;
14070    esac
14071  fi
14072  ;;
14073esac
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
14091
14092
14093
14094
14095
14096
14097
14098
14099
14100
14101
14102
14103
14104
14105
14106
14107
14108
14109
14110
14111
14112
14113
14114
14115
14116
14117
14118
14119
14120
14121
14122
14123
14124
14125
14126
14127
14128
14129
14130
14131
14132
14133
14134
14135
14136
14137
14138    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14139$as_echo_n "checking dynamic linker characteristics... " >&6; }
14140
14141library_names_spec=
14142libname_spec='lib$name'
14143soname_spec=
14144shrext_cmds=".so"
14145postinstall_cmds=
14146postuninstall_cmds=
14147finish_cmds=
14148finish_eval=
14149shlibpath_var=
14150shlibpath_overrides_runpath=unknown
14151version_type=none
14152dynamic_linker="$host_os ld.so"
14153sys_lib_dlsearch_path_spec="/lib /usr/lib"
14154need_lib_prefix=unknown
14155hardcode_into_libs=no
14156
14157# when you set need_version to no, make sure it does not cause -set_version
14158# flags to be left without arguments
14159need_version=unknown
14160
14161case $host_os in
14162aix3*)
14163  version_type=linux
14164  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14165  shlibpath_var=LIBPATH
14166
14167  # AIX 3 has no versioning support, so we append a major version to the name.
14168  soname_spec='${libname}${release}${shared_ext}$major'
14169  ;;
14170
14171aix[4-9]*)
14172  version_type=linux
14173  need_lib_prefix=no
14174  need_version=no
14175  hardcode_into_libs=yes
14176  if test "$host_cpu" = ia64; then
14177    # AIX 5 supports IA64
14178    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14179    shlibpath_var=LD_LIBRARY_PATH
14180  else
14181    # With GCC up to 2.95.x, collect2 would create an import file
14182    # for dependence libraries.  The import file would start with
14183    # the line `#! .'.  This would cause the generated library to
14184    # depend on `.', always an invalid library.  This was fixed in
14185    # development snapshots of GCC prior to 3.0.
14186    case $host_os in
14187      aix4 | aix4.[01] | aix4.[01].*)
14188      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14189	   echo ' yes '
14190	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14191	:
14192      else
14193	can_build_shared=no
14194      fi
14195      ;;
14196    esac
14197    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14198    # soname into executable. Probably we can add versioning support to
14199    # collect2, so additional links can be useful in future.
14200    if test "$aix_use_runtimelinking" = yes; then
14201      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14202      # instead of lib<name>.a to let people know that these are not
14203      # typical AIX shared libraries.
14204      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14205    else
14206      # We preserve .a as extension for shared libraries through AIX4.2
14207      # and later when we are not doing run time linking.
14208      library_names_spec='${libname}${release}.a $libname.a'
14209      soname_spec='${libname}${release}${shared_ext}$major'
14210    fi
14211    shlibpath_var=LIBPATH
14212  fi
14213  ;;
14214
14215amigaos*)
14216  case $host_cpu in
14217  powerpc)
14218    # Since July 2007 AmigaOS4 officially supports .so libraries.
14219    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14220    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14221    ;;
14222  m68k)
14223    library_names_spec='$libname.ixlibrary $libname.a'
14224    # Create ${libname}_ixlibrary.a entries in /sys/libs.
14225    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
14226    ;;
14227  esac
14228  ;;
14229
14230beos*)
14231  library_names_spec='${libname}${shared_ext}'
14232  dynamic_linker="$host_os ld.so"
14233  shlibpath_var=LIBRARY_PATH
14234  ;;
14235
14236bsdi[45]*)
14237  version_type=linux
14238  need_version=no
14239  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14240  soname_spec='${libname}${release}${shared_ext}$major'
14241  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14242  shlibpath_var=LD_LIBRARY_PATH
14243  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14244  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14245  # the default ld.so.conf also contains /usr/contrib/lib and
14246  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14247  # libtool to hard-code these into programs
14248  ;;
14249
14250cygwin* | mingw* | pw32* | cegcc*)
14251  version_type=windows
14252  shrext_cmds=".dll"
14253  need_version=no
14254  need_lib_prefix=no
14255
14256  case $GCC,$host_os in
14257  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14258    library_names_spec='$libname.dll.a'
14259    # DLL is installed to $(libdir)/../bin by postinstall_cmds
14260    postinstall_cmds='base_file=`basename \${file}`~
14261      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14262      dldir=$destdir/`dirname \$dlpath`~
14263      test -d \$dldir || mkdir -p \$dldir~
14264      $install_prog $dir/$dlname \$dldir/$dlname~
14265      chmod a+x \$dldir/$dlname~
14266      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14267        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14268      fi'
14269    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14270      dlpath=$dir/\$dldll~
14271       $RM \$dlpath'
14272    shlibpath_overrides_runpath=yes
14273
14274    case $host_os in
14275    cygwin*)
14276      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14277      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14278
14279      ;;
14280    mingw* | cegcc*)
14281      # MinGW DLLs use traditional 'lib' prefix
14282      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14283      ;;
14284    pw32*)
14285      # pw32 DLLs use 'pw' prefix rather than 'lib'
14286      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14287      ;;
14288    esac
14289    ;;
14290
14291  *)
14292    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14293    ;;
14294  esac
14295  dynamic_linker='Win32 ld.exe'
14296  # FIXME: first we should search . and the directory the executable is in
14297  shlibpath_var=PATH
14298  ;;
14299
14300darwin* | rhapsody*)
14301  dynamic_linker="$host_os dyld"
14302  version_type=darwin
14303  need_lib_prefix=no
14304  need_version=no
14305  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14306  soname_spec='${libname}${release}${major}$shared_ext'
14307  shlibpath_overrides_runpath=yes
14308  shlibpath_var=DYLD_LIBRARY_PATH
14309  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14310
14311  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14312  ;;
14313
14314dgux*)
14315  version_type=linux
14316  need_lib_prefix=no
14317  need_version=no
14318  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14319  soname_spec='${libname}${release}${shared_ext}$major'
14320  shlibpath_var=LD_LIBRARY_PATH
14321  ;;
14322
14323freebsd* | dragonfly*)
14324  # DragonFly does not have aout.  When/if they implement a new
14325  # versioning mechanism, adjust this.
14326  if test -x /usr/bin/objformat; then
14327    objformat=`/usr/bin/objformat`
14328  else
14329    case $host_os in
14330    freebsd[23].*) objformat=aout ;;
14331    *) objformat=elf ;;
14332    esac
14333  fi
14334  version_type=freebsd-$objformat
14335  case $version_type in
14336    freebsd-elf*)
14337      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14338      need_version=no
14339      need_lib_prefix=no
14340      ;;
14341    freebsd-*)
14342      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14343      need_version=yes
14344      ;;
14345  esac
14346  shlibpath_var=LD_LIBRARY_PATH
14347  case $host_os in
14348  freebsd2.*)
14349    shlibpath_overrides_runpath=yes
14350    ;;
14351  freebsd3.[01]* | freebsdelf3.[01]*)
14352    shlibpath_overrides_runpath=yes
14353    hardcode_into_libs=yes
14354    ;;
14355  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14356  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14357    shlibpath_overrides_runpath=no
14358    hardcode_into_libs=yes
14359    ;;
14360  *) # from 4.6 on, and DragonFly
14361    shlibpath_overrides_runpath=yes
14362    hardcode_into_libs=yes
14363    ;;
14364  esac
14365  ;;
14366
14367gnu*)
14368  version_type=linux
14369  need_lib_prefix=no
14370  need_version=no
14371  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14372  soname_spec='${libname}${release}${shared_ext}$major'
14373  shlibpath_var=LD_LIBRARY_PATH
14374  hardcode_into_libs=yes
14375  ;;
14376
14377haiku*)
14378  version_type=linux
14379  need_lib_prefix=no
14380  need_version=no
14381  dynamic_linker="$host_os runtime_loader"
14382  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14383  soname_spec='${libname}${release}${shared_ext}$major'
14384  shlibpath_var=LIBRARY_PATH
14385  shlibpath_overrides_runpath=yes
14386  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14387  hardcode_into_libs=yes
14388  ;;
14389
14390hpux9* | hpux10* | hpux11*)
14391  # Give a soname corresponding to the major version so that dld.sl refuses to
14392  # link against other versions.
14393  version_type=sunos
14394  need_lib_prefix=no
14395  need_version=no
14396  case $host_cpu in
14397  ia64*)
14398    shrext_cmds='.so'
14399    hardcode_into_libs=yes
14400    dynamic_linker="$host_os dld.so"
14401    shlibpath_var=LD_LIBRARY_PATH
14402    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14403    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14404    soname_spec='${libname}${release}${shared_ext}$major'
14405    if test "X$HPUX_IA64_MODE" = X32; then
14406      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14407    else
14408      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14409    fi
14410    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14411    ;;
14412  hppa*64*)
14413    shrext_cmds='.sl'
14414    hardcode_into_libs=yes
14415    dynamic_linker="$host_os dld.sl"
14416    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14417    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14418    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14419    soname_spec='${libname}${release}${shared_ext}$major'
14420    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14421    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14422    ;;
14423  *)
14424    shrext_cmds='.sl'
14425    dynamic_linker="$host_os dld.sl"
14426    shlibpath_var=SHLIB_PATH
14427    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14428    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14429    soname_spec='${libname}${release}${shared_ext}$major'
14430    ;;
14431  esac
14432  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14433  postinstall_cmds='chmod 555 $lib'
14434  # or fails outright, so override atomically:
14435  install_override_mode=555
14436  ;;
14437
14438interix[3-9]*)
14439  version_type=linux
14440  need_lib_prefix=no
14441  need_version=no
14442  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14443  soname_spec='${libname}${release}${shared_ext}$major'
14444  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14445  shlibpath_var=LD_LIBRARY_PATH
14446  shlibpath_overrides_runpath=no
14447  hardcode_into_libs=yes
14448  ;;
14449
14450irix5* | irix6* | nonstopux*)
14451  case $host_os in
14452    nonstopux*) version_type=nonstopux ;;
14453    *)
14454	if test "$lt_cv_prog_gnu_ld" = yes; then
14455		version_type=linux
14456	else
14457		version_type=irix
14458	fi ;;
14459  esac
14460  need_lib_prefix=no
14461  need_version=no
14462  soname_spec='${libname}${release}${shared_ext}$major'
14463  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14464  case $host_os in
14465  irix5* | nonstopux*)
14466    libsuff= shlibsuff=
14467    ;;
14468  *)
14469    case $LD in # libtool.m4 will add one of these switches to LD
14470    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14471      libsuff= shlibsuff= libmagic=32-bit;;
14472    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14473      libsuff=32 shlibsuff=N32 libmagic=N32;;
14474    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14475      libsuff=64 shlibsuff=64 libmagic=64-bit;;
14476    *) libsuff= shlibsuff= libmagic=never-match;;
14477    esac
14478    ;;
14479  esac
14480  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14481  shlibpath_overrides_runpath=no
14482  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14483  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14484  hardcode_into_libs=yes
14485  ;;
14486
14487# No shared lib support for Linux oldld, aout, or coff.
14488linux*oldld* | linux*aout* | linux*coff*)
14489  dynamic_linker=no
14490  ;;
14491
14492# This must be Linux ELF.
14493linux* | k*bsd*-gnu | kopensolaris*-gnu)
14494  version_type=linux
14495  need_lib_prefix=no
14496  need_version=no
14497  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14498  soname_spec='${libname}${release}${shared_ext}$major'
14499  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14500  shlibpath_var=LD_LIBRARY_PATH
14501  shlibpath_overrides_runpath=no
14502
14503  # Some binutils ld are patched to set DT_RUNPATH
14504  if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14505  $as_echo_n "(cached) " >&6
14506else
14507  lt_cv_shlibpath_overrides_runpath=no
14508    save_LDFLAGS=$LDFLAGS
14509    save_libdir=$libdir
14510    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14511	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14512    if test x$gcc_no_link = xyes; then
14513  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14514fi
14515cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14516/* end confdefs.h.  */
14517
14518int
14519main ()
14520{
14521
14522  ;
14523  return 0;
14524}
14525_ACEOF
14526if ac_fn_cxx_try_link "$LINENO"; then :
14527  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14528  lt_cv_shlibpath_overrides_runpath=yes
14529fi
14530fi
14531rm -f core conftest.err conftest.$ac_objext \
14532    conftest$ac_exeext conftest.$ac_ext
14533    LDFLAGS=$save_LDFLAGS
14534    libdir=$save_libdir
14535
14536fi
14537
14538  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14539
14540  # This implies no fast_install, which is unacceptable.
14541  # Some rework will be needed to allow for fast_install
14542  # before this can be enabled.
14543  hardcode_into_libs=yes
14544
14545  # Append ld.so.conf contents to the search path
14546  if test -f /etc/ld.so.conf; then
14547    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[	 ]*hwcap[	 ]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
14548    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14549  fi
14550
14551  # We used to test for /lib/ld.so.1 and disable shared libraries on
14552  # powerpc, because MkLinux only supported shared libraries with the
14553  # GNU dynamic linker.  Since this was broken with cross compilers,
14554  # most powerpc-linux boxes support dynamic linking these days and
14555  # people can always --disable-shared, the test was removed, and we
14556  # assume the GNU/Linux dynamic linker is in use.
14557  dynamic_linker='GNU/Linux ld.so'
14558  ;;
14559
14560netbsd*)
14561  version_type=sunos
14562  need_lib_prefix=no
14563  need_version=no
14564  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14565    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14566    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14567    dynamic_linker='NetBSD (a.out) ld.so'
14568  else
14569    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14570    soname_spec='${libname}${release}${shared_ext}$major'
14571    dynamic_linker='NetBSD ld.elf_so'
14572  fi
14573  shlibpath_var=LD_LIBRARY_PATH
14574  shlibpath_overrides_runpath=yes
14575  hardcode_into_libs=yes
14576  ;;
14577
14578newsos6)
14579  version_type=linux
14580  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14581  shlibpath_var=LD_LIBRARY_PATH
14582  shlibpath_overrides_runpath=yes
14583  ;;
14584
14585*nto* | *qnx*)
14586  version_type=qnx
14587  need_lib_prefix=no
14588  need_version=no
14589  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14590  soname_spec='${libname}${release}${shared_ext}$major'
14591  shlibpath_var=LD_LIBRARY_PATH
14592  shlibpath_overrides_runpath=no
14593  hardcode_into_libs=yes
14594  dynamic_linker='ldqnx.so'
14595  ;;
14596
14597openbsd*)
14598  version_type=sunos
14599  sys_lib_dlsearch_path_spec="/usr/lib"
14600  need_lib_prefix=no
14601  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14602  case $host_os in
14603    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
14604    *)				need_version=no  ;;
14605  esac
14606  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14607  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14608  shlibpath_var=LD_LIBRARY_PATH
14609  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14610    case $host_os in
14611      openbsd2.[89] | openbsd2.[89].*)
14612	shlibpath_overrides_runpath=no
14613	;;
14614      *)
14615	shlibpath_overrides_runpath=yes
14616	;;
14617      esac
14618  else
14619    shlibpath_overrides_runpath=yes
14620  fi
14621  ;;
14622
14623os2*)
14624  libname_spec='$name'
14625  shrext_cmds=".dll"
14626  need_lib_prefix=no
14627  library_names_spec='$libname${shared_ext} $libname.a'
14628  dynamic_linker='OS/2 ld.exe'
14629  shlibpath_var=LIBPATH
14630  ;;
14631
14632osf3* | osf4* | osf5*)
14633  version_type=osf
14634  need_lib_prefix=no
14635  need_version=no
14636  soname_spec='${libname}${release}${shared_ext}$major'
14637  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14638  shlibpath_var=LD_LIBRARY_PATH
14639  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14640  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14641  ;;
14642
14643rdos*)
14644  dynamic_linker=no
14645  ;;
14646
14647solaris*)
14648  version_type=linux
14649  need_lib_prefix=no
14650  need_version=no
14651  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14652  soname_spec='${libname}${release}${shared_ext}$major'
14653  shlibpath_var=LD_LIBRARY_PATH
14654  shlibpath_overrides_runpath=yes
14655  hardcode_into_libs=yes
14656  # ldd complains unless libraries are executable
14657  postinstall_cmds='chmod +x $lib'
14658  ;;
14659
14660sunos4*)
14661  version_type=sunos
14662  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14663  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14664  shlibpath_var=LD_LIBRARY_PATH
14665  shlibpath_overrides_runpath=yes
14666  if test "$with_gnu_ld" = yes; then
14667    need_lib_prefix=no
14668  fi
14669  need_version=yes
14670  ;;
14671
14672sysv4 | sysv4.3*)
14673  version_type=linux
14674  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14675  soname_spec='${libname}${release}${shared_ext}$major'
14676  shlibpath_var=LD_LIBRARY_PATH
14677  case $host_vendor in
14678    sni)
14679      shlibpath_overrides_runpath=no
14680      need_lib_prefix=no
14681      runpath_var=LD_RUN_PATH
14682      ;;
14683    siemens)
14684      need_lib_prefix=no
14685      ;;
14686    motorola)
14687      need_lib_prefix=no
14688      need_version=no
14689      shlibpath_overrides_runpath=no
14690      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14691      ;;
14692  esac
14693  ;;
14694
14695sysv4*MP*)
14696  if test -d /usr/nec ;then
14697    version_type=linux
14698    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14699    soname_spec='$libname${shared_ext}.$major'
14700    shlibpath_var=LD_LIBRARY_PATH
14701  fi
14702  ;;
14703
14704sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14705  version_type=freebsd-elf
14706  need_lib_prefix=no
14707  need_version=no
14708  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14709  soname_spec='${libname}${release}${shared_ext}$major'
14710  shlibpath_var=LD_LIBRARY_PATH
14711  shlibpath_overrides_runpath=yes
14712  hardcode_into_libs=yes
14713  if test "$with_gnu_ld" = yes; then
14714    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14715  else
14716    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14717    case $host_os in
14718      sco3.2v5*)
14719        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14720	;;
14721    esac
14722  fi
14723  sys_lib_dlsearch_path_spec='/usr/lib'
14724  ;;
14725
14726tpf*)
14727  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
14728  version_type=linux
14729  need_lib_prefix=no
14730  need_version=no
14731  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14732  shlibpath_var=LD_LIBRARY_PATH
14733  shlibpath_overrides_runpath=no
14734  hardcode_into_libs=yes
14735  ;;
14736
14737uts4*)
14738  version_type=linux
14739  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14740  soname_spec='${libname}${release}${shared_ext}$major'
14741  shlibpath_var=LD_LIBRARY_PATH
14742  ;;
14743
14744*)
14745  dynamic_linker=no
14746  ;;
14747esac
14748{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14749$as_echo "$dynamic_linker" >&6; }
14750test "$dynamic_linker" = no && can_build_shared=no
14751
14752variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14753if test "$GCC" = yes; then
14754  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14755fi
14756
14757if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14758  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14759fi
14760if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14761  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14762fi
14763
14764
14765
14766
14767
14768
14769
14770
14771
14772
14773
14774
14775
14776
14777
14778
14779
14780
14781
14782
14783
14784
14785
14786
14787
14788
14789
14790
14791
14792
14793
14794
14795
14796
14797
14798
14799
14800
14801    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14802$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14803hardcode_action_CXX=
14804if test -n "$hardcode_libdir_flag_spec_CXX" ||
14805   test -n "$runpath_var_CXX" ||
14806   test "X$hardcode_automatic_CXX" = "Xyes" ; then
14807
14808  # We can hardcode non-existent directories.
14809  if test "$hardcode_direct_CXX" != no &&
14810     # If the only mechanism to avoid hardcoding is shlibpath_var, we
14811     # have to relink, otherwise we might link with an installed library
14812     # when we should be linking with a yet-to-be-installed one
14813     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14814     test "$hardcode_minus_L_CXX" != no; then
14815    # Linking always hardcodes the temporary library directory.
14816    hardcode_action_CXX=relink
14817  else
14818    # We can link without hardcoding, and we can hardcode nonexisting dirs.
14819    hardcode_action_CXX=immediate
14820  fi
14821else
14822  # We cannot hardcode anything, or else we can only hardcode existing
14823  # directories.
14824  hardcode_action_CXX=unsupported
14825fi
14826{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14827$as_echo "$hardcode_action_CXX" >&6; }
14828
14829if test "$hardcode_action_CXX" = relink ||
14830   test "$inherit_rpath_CXX" = yes; then
14831  # Fast installation is not supported
14832  enable_fast_install=no
14833elif test "$shlibpath_overrides_runpath" = yes ||
14834     test "$enable_shared" = no; then
14835  # Fast installation is not necessary
14836  enable_fast_install=needless
14837fi
14838
14839
14840
14841
14842
14843
14844
14845  fi # test -n "$compiler"
14846
14847  CC=$lt_save_CC
14848  LDCXX=$LD
14849  LD=$lt_save_LD
14850  GCC=$lt_save_GCC
14851  with_gnu_ld=$lt_save_with_gnu_ld
14852  lt_cv_path_LDCXX=$lt_cv_path_LD
14853  lt_cv_path_LD=$lt_save_path_LD
14854  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14855  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14856fi # test "$_lt_caught_CXX_error" != yes
14857
14858ac_ext=c
14859ac_cpp='$CPP $CPPFLAGS'
14860ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14861ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14862ac_compiler_gnu=$ac_cv_c_compiler_gnu
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876        ac_config_commands="$ac_config_commands libtool"
14877
14878
14879
14880
14881# Only expand once:
14882
14883
14884
14885
14886
14887case $host in
14888  *-cygwin* | *-mingw*)
14889    # 'host' will be top-level target in the case of a target lib,
14890    # we must compare to with_cross_host to decide if this is a native
14891    # or cross-compiler and select where to install dlls appropriately.
14892    if test -n "$with_cross_host" &&
14893	test x"$with_cross_host" != x"no"; then
14894      lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14895    else
14896      lt_host_flags='-no-undefined -bindir "$(bindir)"';
14897    fi
14898    ;;
14899  *)
14900    lt_host_flags=
14901    ;;
14902esac
14903
14904
14905
14906
14907
14908
14909# libtool variables for C++ shared and position-independent compiles.
14910#
14911# Use glibcxx_lt_pic_flag to designate the automake variable
14912# used to encapsulate the default libtool approach to creating objects
14913# with position-independent code. Default: -prefer-pic.
14914#
14915# Use glibcxx_compiler_shared_flag to designate a compile-time flags for
14916# creating shared objects. Default: -D_GLIBCXX_SHARED.
14917#
14918# Use glibcxx_compiler_pic_flag to designate a compile-time flags for
14919# creating position-independent objects. This varies with the target
14920# hardware and operating system, but is often: -DPIC -fPIC.
14921if test "$enable_shared" = yes; then
14922  glibcxx_lt_pic_flag="-prefer-pic"
14923  glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
14924  glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
14925
14926else
14927  glibcxx_lt_pic_flag=
14928  glibcxx_compiler_pic_flag=
14929  glibcxx_compiler_shared_flag=
14930fi
14931
14932
14933
14934
14935# Override the libtool's pic_flag and pic_mode.
14936# Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
14937# NB: this impacts --with-pic and --without-pic.
14938lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
14939pic_mode='default'
14940
14941# Eliminate -lstdc++ addition to postdeps for cross compiles.
14942postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14943
14944# Possibly disable most of the library.
14945## TODO: Consider skipping unncessary tests altogether in this case, rather
14946## than just ignoring the results.  Faster /and/ more correct, win win.
14947
14948  # Check whether --enable-hosted-libstdcxx was given.
14949if test "${enable_hosted_libstdcxx+set}" = set; then :
14950  enableval=$enable_hosted_libstdcxx;
14951else
14952  case "$host" in
14953	arm*-*-symbianelf*)
14954	    enable_hosted_libstdcxx=no
14955	    ;;
14956	*)
14957	    enable_hosted_libstdcxx=yes
14958	    ;;
14959     esac
14960fi
14961
14962  if test "$enable_hosted_libstdcxx" = no; then
14963    { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14964$as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14965    is_hosted=no
14966    hosted_define=0
14967    enable_abi_check=no
14968    enable_libstdcxx_pch=no
14969  else
14970    is_hosted=yes
14971    hosted_define=1
14972  fi
14973
14974
14975cat >>confdefs.h <<_ACEOF
14976#define _GLIBCXX_HOSTED $hosted_define
14977_ACEOF
14978
14979
14980
14981# Enable descriptive messages to standard output on termination.
14982
14983  # Check whether --enable-libstdcxx-verbose was given.
14984if test "${enable_libstdcxx_verbose+set}" = set; then :
14985  enableval=$enable_libstdcxx_verbose;
14986else
14987  enable_libstdcxx_verbose=yes
14988fi
14989
14990  if test x"$enable_libstdcxx_verbose" = xyes; then
14991    verbose_define=1
14992  else
14993    { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
14994$as_echo "$as_me: verbose termination messages are disabled" >&6;}
14995    verbose_define=0
14996  fi
14997
14998cat >>confdefs.h <<_ACEOF
14999#define _GLIBCXX_VERBOSE $verbose_define
15000_ACEOF
15001
15002
15003
15004# Enable compiler support that doesn't require linking.
15005
15006  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
15007$as_echo_n "checking for exception model to use... " >&6; }
15008
15009  ac_ext=cpp
15010ac_cpp='$CXXCPP $CPPFLAGS'
15011ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15012ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15013ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15014
15015   # Check whether --enable-sjlj-exceptions was given.
15016if test "${enable_sjlj_exceptions+set}" = set; then :
15017  enableval=$enable_sjlj_exceptions;
15018      case "$enableval" in
15019       yes|no|auto) ;;
15020       *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
15021	  	        esac
15022
15023else
15024  enable_sjlj_exceptions=auto
15025fi
15026
15027
15028
15029  if test $enable_sjlj_exceptions = auto; then
15030    # Botheration.  Now we've got to detect the exception model.  Link tests
15031    # against libgcc.a are problematic since we've not been given proper -L
15032    # bits for single-tree newlib and libgloss.
15033    #
15034    # Fake what AC_TRY_COMPILE does.  XXX Look at redoing this new-style.
15035    cat > conftest.$ac_ext << EOF
15036#line 15036 "configure"
15037struct S { ~S(); };
15038void bar();
15039void foo()
15040{
15041  S s;
15042  bar();
15043}
15044EOF
15045    old_CXXFLAGS="$CXXFLAGS"
15046    CXXFLAGS=-S
15047    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15048  (eval $ac_compile) 2>&5
15049  ac_status=$?
15050  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15051  test $ac_status = 0; }; then
15052      if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
15053	enable_sjlj_exceptions=yes
15054      elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
15055	enable_sjlj_exceptions=no
15056      elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
15057	enable_sjlj_exceptions=no
15058      fi
15059    fi
15060    CXXFLAGS="$old_CXXFLAGS"
15061    rm -f conftest*
15062  fi
15063
15064  # This is a tad weird, for hysterical raisins.  We have to map
15065  # enable/disable to two different models.
15066  case $enable_sjlj_exceptions in
15067    yes)
15068
15069$as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
15070
15071      ac_exception_model_name=sjlj
15072      ;;
15073    no)
15074      ac_exception_model_name="call frame"
15075      ;;
15076    *)
15077      as_fn_error "unable to detect exception model" "$LINENO" 5
15078      ;;
15079  esac
15080 ac_ext=c
15081ac_cpp='$CPP $CPPFLAGS'
15082ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15083ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15084ac_compiler_gnu=$ac_cv_c_compiler_gnu
15085
15086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15087$as_echo "$ac_exception_model_name" >&6; }
15088
15089
15090   # Check whether --enable-libstdcxx-pch was given.
15091if test "${enable_libstdcxx_pch+set}" = set; then :
15092  enableval=$enable_libstdcxx_pch;
15093      case "$enableval" in
15094       yes|no) ;;
15095       *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15096      esac
15097
15098else
15099  enable_libstdcxx_pch=$is_hosted
15100fi
15101
15102
15103  if test $enable_libstdcxx_pch = yes; then
15104    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15105$as_echo_n "checking for compiler with PCH support... " >&6; }
15106if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15107  $as_echo_n "(cached) " >&6
15108else
15109  ac_save_CXXFLAGS="$CXXFLAGS"
15110       CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15111
15112       ac_ext=cpp
15113ac_cpp='$CXXCPP $CPPFLAGS'
15114ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15115ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15116ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15117
15118       echo '#include <math.h>' > conftest.h
15119       if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15120			  -o conftest.h.gch 1>&5 2>&1 &&
15121		echo '#error "pch failed"' > conftest.h &&
15122	  echo '#include "conftest.h"' > conftest.cc &&
15123	       $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15124       then
15125	 glibcxx_cv_prog_CXX_pch=yes
15126       else
15127	 glibcxx_cv_prog_CXX_pch=no
15128       fi
15129       rm -f conftest*
15130       CXXFLAGS=$ac_save_CXXFLAGS
15131       ac_ext=c
15132ac_cpp='$CPP $CPPFLAGS'
15133ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15134ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15135ac_compiler_gnu=$ac_cv_c_compiler_gnu
15136
15137
15138fi
15139{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15140$as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15141    enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15142  fi
15143
15144  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15145$as_echo_n "checking for enabled PCH... " >&6; }
15146  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15147$as_echo "$enable_libstdcxx_pch" >&6; }
15148
15149
15150  if test $enable_libstdcxx_pch = yes; then
15151    glibcxx_PCHFLAGS="-include bits/stdc++.h"
15152  else
15153    glibcxx_PCHFLAGS=""
15154  fi
15155
15156
15157
15158  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15159$as_echo_n "checking for thread model used by GCC... " >&6; }
15160  target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15161  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15162$as_echo "$target_thread_file" >&6; }
15163
15164case $target_thread_file in
15165    aix)	thread_header=config/rs6000/gthr-aix.h ;;
15166    dce)	thread_header=config/pa/gthr-dce.h ;;
15167    lynx)	thread_header=config/gthr-lynx.h ;;
15168    mipssde)	thread_header=config/mips/gthr-mipssde.h ;;
15169    posix)	thread_header=gthr-posix.h ;;
15170    rtems)	thread_header=config/gthr-rtems.h ;;
15171    single)	thread_header=gthr-single.h ;;
15172    tpf)	thread_header=config/s390/gthr-tpf.h ;;
15173    vxworks)	thread_header=config/gthr-vxworks.h ;;
15174    win32)	thread_header=config/i386/gthr-win32.h ;;
15175esac
15176
15177
15178
15179
15180
15181  ac_ext=cpp
15182ac_cpp='$CXXCPP $CPPFLAGS'
15183ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15184ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15185ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15186
15187  old_CXXFLAGS="$CXXFLAGS"
15188
15189  # Do link tests if possible, instead asm tests, limited to some platforms
15190  # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15191  # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15192  atomic_builtins_link_tests=no
15193  if test x$gcc_no_link != xyes; then
15194    # Can do link tests. Limit to some tested platforms
15195    case "$host" in
15196      *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15197	atomic_builtins_link_tests=yes
15198	;;
15199    esac
15200  fi
15201
15202  if test x$atomic_builtins_link_tests = xyes; then
15203
15204  # Do link tests.
15205
15206  CXXFLAGS="$CXXFLAGS -fno-exceptions"
15207
15208  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15209$as_echo_n "checking for atomic builtins for bool... " >&6; }
15210  if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15211  $as_echo_n "(cached) " >&6
15212else
15213
15214    if test x$gcc_no_link = xyes; then
15215  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15216fi
15217cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15218/* end confdefs.h.  */
15219
15220int
15221main ()
15222{
15223typedef bool atomic_type;
15224       atomic_type c1;
15225       atomic_type c2;
15226       atomic_type c3(0);
15227       __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15228       __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15229				   __ATOMIC_RELAXED);
15230       __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15231       __atomic_load_n(&c1, __ATOMIC_RELAXED);
15232
15233  ;
15234  return 0;
15235}
15236_ACEOF
15237if ac_fn_cxx_try_link "$LINENO"; then :
15238  glibcxx_cv_atomic_bool=yes
15239else
15240  glibcxx_cv_atomic_bool=no
15241fi
15242rm -f core conftest.err conftest.$ac_objext \
15243    conftest$ac_exeext conftest.$ac_ext
15244
15245fi
15246
15247  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15248$as_echo "$glibcxx_cv_atomic_bool" >&6; }
15249
15250  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15251$as_echo_n "checking for atomic builtins for short... " >&6; }
15252  if test "${glibcxx_cv_atomic_short+set}" = set; then :
15253  $as_echo_n "(cached) " >&6
15254else
15255
15256    if test x$gcc_no_link = xyes; then
15257  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15258fi
15259cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15260/* end confdefs.h.  */
15261
15262int
15263main ()
15264{
15265typedef short atomic_type;
15266       atomic_type c1;
15267       atomic_type c2;
15268       atomic_type c3(0);
15269       __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15270       __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15271				   __ATOMIC_RELAXED);
15272       __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15273       __atomic_load_n(&c1, __ATOMIC_RELAXED);
15274
15275  ;
15276  return 0;
15277}
15278_ACEOF
15279if ac_fn_cxx_try_link "$LINENO"; then :
15280  glibcxx_cv_atomic_short=yes
15281else
15282  glibcxx_cv_atomic_short=no
15283fi
15284rm -f core conftest.err conftest.$ac_objext \
15285    conftest$ac_exeext conftest.$ac_ext
15286
15287fi
15288
15289  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15290$as_echo "$glibcxx_cv_atomic_short" >&6; }
15291
15292  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15293$as_echo_n "checking for atomic builtins for int... " >&6; }
15294  if test "${glibcxx_cv_atomic_int+set}" = set; then :
15295  $as_echo_n "(cached) " >&6
15296else
15297
15298    if test x$gcc_no_link = xyes; then
15299  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15300fi
15301cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15302/* end confdefs.h.  */
15303
15304int
15305main ()
15306{
15307typedef int atomic_type;
15308       atomic_type c1;
15309       atomic_type c2;
15310       atomic_type c3(0);
15311       __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15312       __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15313				   __ATOMIC_RELAXED);
15314       __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15315       __atomic_load_n(&c1, __ATOMIC_RELAXED);
15316
15317  ;
15318  return 0;
15319}
15320_ACEOF
15321if ac_fn_cxx_try_link "$LINENO"; then :
15322  glibcxx_cv_atomic_int=yes
15323else
15324  glibcxx_cv_atomic_int=no
15325fi
15326rm -f core conftest.err conftest.$ac_objext \
15327    conftest$ac_exeext conftest.$ac_ext
15328
15329fi
15330
15331  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15332$as_echo "$glibcxx_cv_atomic_int" >&6; }
15333
15334  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15335$as_echo_n "checking for atomic builtins for long long... " >&6; }
15336  if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15337  $as_echo_n "(cached) " >&6
15338else
15339
15340    if test x$gcc_no_link = xyes; then
15341  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15342fi
15343cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15344/* end confdefs.h.  */
15345
15346int
15347main ()
15348{
15349typedef long long atomic_type;
15350       atomic_type c1;
15351       atomic_type c2;
15352       atomic_type c3(0);
15353       __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15354       __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15355				   __ATOMIC_RELAXED);
15356       __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15357       __atomic_load_n(&c1, __ATOMIC_RELAXED);
15358
15359  ;
15360  return 0;
15361}
15362_ACEOF
15363if ac_fn_cxx_try_link "$LINENO"; then :
15364  glibcxx_cv_atomic_long_long=yes
15365else
15366  glibcxx_cv_atomic_long_long=no
15367fi
15368rm -f core conftest.err conftest.$ac_objext \
15369    conftest$ac_exeext conftest.$ac_ext
15370
15371fi
15372
15373  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15374$as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15375
15376  else
15377
15378  # Do asm tests.
15379
15380  # Compile unoptimized.
15381  CXXFLAGS='-O0 -S'
15382
15383  # Fake what AC_TRY_COMPILE does.
15384
15385    cat > conftest.$ac_ext << EOF
15386#line 15386 "configure"
15387int main()
15388{
15389  typedef bool atomic_type;
15390  atomic_type c1;
15391  atomic_type c2;
15392  atomic_type c3(0);
15393  __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15394  __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15395			      __ATOMIC_RELAXED);
15396  __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15397  __atomic_load_n(&c1, __ATOMIC_RELAXED);
15398
15399  return 0;
15400}
15401EOF
15402
15403    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15404$as_echo_n "checking for atomic builtins for bool... " >&6; }
15405    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15406  (eval $ac_compile) 2>&5
15407  ac_status=$?
15408  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15409  test $ac_status = 0; }; then
15410      if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15411	glibcxx_cv_atomic_bool=no
15412      else
15413	glibcxx_cv_atomic_bool=yes
15414      fi
15415    fi
15416    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15417$as_echo "$glibcxx_cv_atomic_bool" >&6; }
15418    rm -f conftest*
15419
15420    cat > conftest.$ac_ext << EOF
15421#line 15421 "configure"
15422int main()
15423{
15424  typedef short atomic_type;
15425  atomic_type c1;
15426  atomic_type c2;
15427  atomic_type c3(0);
15428  __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15429  __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15430			      __ATOMIC_RELAXED);
15431  __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15432  __atomic_load_n(&c1, __ATOMIC_RELAXED);
15433
15434  return 0;
15435}
15436EOF
15437
15438    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15439$as_echo_n "checking for atomic builtins for short... " >&6; }
15440    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15441  (eval $ac_compile) 2>&5
15442  ac_status=$?
15443  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15444  test $ac_status = 0; }; then
15445      if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15446	glibcxx_cv_atomic_short=no
15447      else
15448	glibcxx_cv_atomic_short=yes
15449      fi
15450    fi
15451    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15452$as_echo "$glibcxx_cv_atomic_short" >&6; }
15453    rm -f conftest*
15454
15455    cat > conftest.$ac_ext << EOF
15456#line 15456 "configure"
15457int main()
15458{
15459  // NB: _Atomic_word not necessarily int.
15460  typedef int atomic_type;
15461  atomic_type c1;
15462  atomic_type c2;
15463  atomic_type c3(0);
15464  __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15465  __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15466			      __ATOMIC_RELAXED);
15467  __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15468  __atomic_load_n(&c1, __ATOMIC_RELAXED);
15469
15470  return 0;
15471}
15472EOF
15473
15474    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15475$as_echo_n "checking for atomic builtins for int... " >&6; }
15476    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15477  (eval $ac_compile) 2>&5
15478  ac_status=$?
15479  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15480  test $ac_status = 0; }; then
15481      if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15482	glibcxx_cv_atomic_int=no
15483      else
15484	glibcxx_cv_atomic_int=yes
15485      fi
15486    fi
15487    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15488$as_echo "$glibcxx_cv_atomic_int" >&6; }
15489    rm -f conftest*
15490
15491    cat > conftest.$ac_ext << EOF
15492#line 15492 "configure"
15493int main()
15494{
15495  typedef long long atomic_type;
15496  atomic_type c1;
15497  atomic_type c2;
15498  atomic_type c3(0);
15499  __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15500  __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15501			      __ATOMIC_RELAXED);
15502  __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15503  __atomic_load_n(&c1, __ATOMIC_RELAXED);
15504
15505  return 0;
15506}
15507EOF
15508
15509    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15510$as_echo_n "checking for atomic builtins for long long... " >&6; }
15511    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15512  (eval $ac_compile) 2>&5
15513  ac_status=$?
15514  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15515  test $ac_status = 0; }; then
15516      if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15517	glibcxx_cv_atomic_long_long=no
15518      else
15519	glibcxx_cv_atomic_long_long=yes
15520      fi
15521    fi
15522    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15523$as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15524    rm -f conftest*
15525
15526  fi
15527
15528  CXXFLAGS="$old_CXXFLAGS"
15529  ac_ext=c
15530ac_cpp='$CPP $CPPFLAGS'
15531ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15532ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15533ac_compiler_gnu=$ac_cv_c_compiler_gnu
15534
15535
15536  # Set atomicity_dir to builtins if all but the long long test above passes.
15537  if test $glibcxx_cv_atomic_bool = yes \
15538     && test $glibcxx_cv_atomic_short = yes \
15539     && test $glibcxx_cv_atomic_int = yes; then
15540
15541$as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15542
15543    atomicity_dir=cpu/generic/atomicity_builtins
15544  fi
15545
15546  # If still generic, set to mutex.
15547  if test $atomicity_dir = "cpu/generic" ; then
15548    atomicity_dir=cpu/generic/atomicity_mutex
15549    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15550$as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15551      if test "x$target_thread_file" = xsingle; then
15552	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15553$as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15554	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15555$as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15556      else
15557	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15558$as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15559	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15560$as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15561      fi
15562  fi
15563
15564
15565
15566
15567  # Fake what AC_TRY_COMPILE does, without linking as this is
15568  # unnecessary for this test.
15569
15570    cat > conftest.$ac_ext << EOF
15571#line 15571 "configure"
15572int main()
15573{
15574  _Decimal32 d1;
15575  _Decimal64 d2;
15576  _Decimal128 d3;
15577  return 0;
15578}
15579EOF
15580
15581    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15582$as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15583    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15584  (eval $ac_compile) 2>&5
15585  ac_status=$?
15586  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15587  test $ac_status = 0; }; then
15588
15589$as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15590
15591      enable_dfp=yes
15592    else
15593      enable_dfp=no
15594    fi
15595    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15596$as_echo "$enable_dfp" >&6; }
15597    rm -f conftest*
15598
15599
15600
15601
15602  ac_ext=cpp
15603ac_cpp='$CXXCPP $CPPFLAGS'
15604ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15605ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15606ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15607
15608
15609  # Fake what AC_TRY_COMPILE does, without linking as this is
15610  # unnecessary for this test.
15611
15612    cat > conftest.$ac_ext << EOF
15613#line 15613 "configure"
15614template<typename T1, typename T2>
15615  struct same
15616  { typedef T2 type; };
15617
15618template<typename T>
15619  struct same<T, T>;
15620
15621int main()
15622{
15623  typename same<long, __int128>::type                i1;
15624  typename same<long long, __int128>::type           i2;
15625}
15626EOF
15627
15628    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15629$as_echo_n "checking for __int128... " >&6; }
15630    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15631  (eval $ac_compile) 2>&5
15632  ac_status=$?
15633  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15634  test $ac_status = 0; }; then
15635
15636$as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15637
15638      enable_int128=yes
15639    else
15640      enable_int128=no
15641    fi
15642    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15643$as_echo "$enable_int128" >&6; }
15644    rm -f conftest*
15645
15646    cat > conftest.$ac_ext << EOF
15647#line 15647 "configure"
15648template<typename T1, typename T2>
15649  struct same
15650  { typedef T2 type; };
15651
15652template<typename T>
15653  struct same<T, T>;
15654
15655int main()
15656{
15657  typename same<double, __float128>::type      f1;
15658  typename same<long double, __float128>::type f2;
15659}
15660EOF
15661
15662    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15663$as_echo_n "checking for __float128... " >&6; }
15664    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15665  (eval $ac_compile) 2>&5
15666  ac_status=$?
15667  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15668  test $ac_status = 0; }; then
15669
15670$as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15671
15672      enable_float128=yes
15673    else
15674      enable_float128=no
15675    fi
15676    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15677$as_echo "$enable_float128" >&6; }
15678    rm -f conftest*
15679
15680  ac_ext=c
15681ac_cpp='$CPP $CPPFLAGS'
15682ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15683ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15684ac_compiler_gnu=$ac_cv_c_compiler_gnu
15685
15686
15687
15688# Checks for compiler support that doesn't require linking.
15689
15690  # All these tests are for C++; save the language and the compiler flags.
15691  # The CXXFLAGS thing is suspicious, but based on similar bits previously
15692  # found in GLIBCXX_CONFIGURE.
15693
15694  ac_ext=cpp
15695ac_cpp='$CXXCPP $CPPFLAGS'
15696ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15697ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15698ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15699
15700  ac_test_CXXFLAGS="${CXXFLAGS+set}"
15701  ac_save_CXXFLAGS="$CXXFLAGS"
15702
15703  # Check for maintainer-mode bits.
15704  if test x"$USE_MAINTAINER_MODE" = xno; then
15705    WERROR=''
15706  else
15707    WERROR='-Werror'
15708  fi
15709
15710  # Check for -ffunction-sections -fdata-sections
15711  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15712$as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15713  CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15714  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15715/* end confdefs.h.  */
15716int foo; void bar() { };
15717int
15718main ()
15719{
15720
15721  ;
15722  return 0;
15723}
15724_ACEOF
15725if ac_fn_cxx_try_compile "$LINENO"; then :
15726  ac_fdsections=yes
15727else
15728  ac_fdsections=no
15729fi
15730rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15731  if test "$ac_test_CXXFLAGS" = set; then
15732    CXXFLAGS="$ac_save_CXXFLAGS"
15733  else
15734    # this is the suspicious part
15735    CXXFLAGS=''
15736  fi
15737  if test x"$ac_fdsections" = x"yes"; then
15738    SECTION_FLAGS='-ffunction-sections -fdata-sections'
15739  fi
15740  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15741$as_echo "$ac_fdsections" >&6; }
15742
15743  ac_ext=c
15744ac_cpp='$CPP $CPPFLAGS'
15745ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15746ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15747ac_compiler_gnu=$ac_cv_c_compiler_gnu
15748
15749
15750
15751
15752
15753# Enable all the variable C++ runtime options that don't require linking.
15754
15755  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15756$as_echo_n "checking for underlying I/O to use... " >&6; }
15757   # Check whether --enable-cstdio was given.
15758if test "${enable_cstdio+set}" = set; then :
15759  enableval=$enable_cstdio;
15760      case "$enableval" in
15761       stdio) ;;
15762       *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15763	  	        esac
15764
15765else
15766  enable_cstdio=stdio
15767fi
15768
15769
15770
15771  # Now that libio has been removed, you can have any color you want as long
15772  # as it's black.  This is one big no-op until other packages are added, but
15773  # showing the framework never hurts.
15774  case ${enable_cstdio} in
15775    stdio)
15776      CSTDIO_H=config/io/c_io_stdio.h
15777      BASIC_FILE_H=config/io/basic_file_stdio.h
15778      BASIC_FILE_CC=config/io/basic_file_stdio.cc
15779      { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15780$as_echo "stdio" >&6; }
15781      ;;
15782  esac
15783
15784
15785
15786
15787
15788
15789   # Check whether --enable-clocale was given.
15790if test "${enable_clocale+set}" = set; then :
15791  enableval=$enable_clocale;
15792      case "$enableval" in
15793       generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15794       *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15795	  	        esac
15796
15797else
15798  enable_clocale=auto
15799fi
15800
15801
15802
15803  # Deal with gettext issues.  Default to not using it (=no) until we detect
15804  # support for it later.  Let the user turn it off via --e/d, but let that
15805  # default to on for easier handling.
15806  USE_NLS=no
15807  # Check whether --enable-nls was given.
15808if test "${enable_nls+set}" = set; then :
15809  enableval=$enable_nls;
15810else
15811  enable_nls=yes
15812fi
15813
15814
15815  # Either a known package, or "auto"
15816  if test $enable_clocale = no || test $enable_clocale = yes; then
15817     enable_clocale=auto
15818  fi
15819  enable_clocale_flag=$enable_clocale
15820
15821  # Probe for locale model to use if none specified.
15822  # Default to "generic".
15823  if test $enable_clocale_flag = auto; then
15824    case ${target_os} in
15825      linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15826	enable_clocale_flag=gnu
15827	;;
15828      darwin* | freebsd*)
15829	enable_clocale_flag=darwin
15830	;;
15831      openbsd*)
15832	enable_clocale_flag=newlib
15833	;;
15834      *)
15835	if test x"$with_newlib" = x"yes"; then
15836	  enable_clocale_flag=newlib
15837	else
15838	  enable_clocale_flag=generic
15839	fi
15840	;;
15841    esac
15842  fi
15843
15844  # Sanity check model, and test for special functionality.
15845  if test $enable_clocale_flag = gnu; then
15846    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15847/* end confdefs.h.  */
15848
15849    #include <features.h>
15850    #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15851      _GLIBCXX_ok
15852    #endif
15853
15854_ACEOF
15855if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15856  $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15857  enable_clocale_flag=gnu
15858else
15859  enable_clocale_flag=generic
15860fi
15861rm -f conftest*
15862
15863
15864    # Set it to scream when it hurts.
15865    ac_save_CFLAGS="$CFLAGS"
15866    CFLAGS="-Wimplicit-function-declaration -Werror"
15867
15868    # Use strxfrm_l if available.
15869    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15870/* end confdefs.h.  */
15871#define _GNU_SOURCE 1
15872     		    #include <string.h>
15873		    #include <locale.h>
15874int
15875main ()
15876{
15877char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15878  ;
15879  return 0;
15880}
15881_ACEOF
15882if ac_fn_c_try_compile "$LINENO"; then :
15883
15884$as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15885
15886fi
15887rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15888
15889    # Use strerror_l if available.
15890    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15891/* end confdefs.h.  */
15892#define _GNU_SOURCE 1
15893		    #include <string.h>
15894		    #include <locale.h>
15895int
15896main ()
15897{
15898__locale_t loc; strerror_l(5, loc);
15899  ;
15900  return 0;
15901}
15902_ACEOF
15903if ac_fn_c_try_compile "$LINENO"; then :
15904
15905$as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15906
15907fi
15908rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15909
15910    CFLAGS="$ac_save_CFLAGS"
15911  fi
15912
15913  # Perhaps use strerror_r if available, and strerror_l isn't.
15914  ac_save_CFLAGS="$CFLAGS"
15915  CFLAGS="-Wimplicit-function-declaration -Werror"
15916  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15917/* end confdefs.h.  */
15918#define _GNU_SOURCE 1
15919	     	  #include <string.h>
15920		  #include <locale.h>
15921int
15922main ()
15923{
15924char s[128]; strerror_r(5, s, 128);
15925  ;
15926  return 0;
15927}
15928_ACEOF
15929if ac_fn_c_try_compile "$LINENO"; then :
15930
15931$as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15932
15933fi
15934rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15935  CFLAGS="$ac_save_CFLAGS"
15936
15937  # Set configure bits for specified locale package
15938  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15939$as_echo_n "checking for C locale to use... " >&6; }
15940  case ${enable_clocale_flag} in
15941    generic)
15942      { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15943$as_echo "generic" >&6; }
15944
15945      CLOCALE_H=config/locale/generic/c_locale.h
15946      CLOCALE_CC=config/locale/generic/c_locale.cc
15947      CCODECVT_CC=config/locale/generic/codecvt_members.cc
15948      CCOLLATE_CC=config/locale/generic/collate_members.cc
15949      CCTYPE_CC=config/locale/generic/ctype_members.cc
15950      CMESSAGES_H=config/locale/generic/messages_members.h
15951      CMESSAGES_CC=config/locale/generic/messages_members.cc
15952      CMONEY_CC=config/locale/generic/monetary_members.cc
15953      CNUMERIC_CC=config/locale/generic/numeric_members.cc
15954      CTIME_H=config/locale/generic/time_members.h
15955      CTIME_CC=config/locale/generic/time_members.cc
15956      CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15957      ;;
15958    darwin)
15959      { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15960$as_echo "darwin or freebsd" >&6; }
15961
15962      CLOCALE_H=config/locale/generic/c_locale.h
15963      CLOCALE_CC=config/locale/generic/c_locale.cc
15964      CCODECVT_CC=config/locale/generic/codecvt_members.cc
15965      CCOLLATE_CC=config/locale/generic/collate_members.cc
15966      CCTYPE_CC=config/locale/darwin/ctype_members.cc
15967      CMESSAGES_H=config/locale/generic/messages_members.h
15968      CMESSAGES_CC=config/locale/generic/messages_members.cc
15969      CMONEY_CC=config/locale/generic/monetary_members.cc
15970      CNUMERIC_CC=config/locale/generic/numeric_members.cc
15971      CTIME_H=config/locale/generic/time_members.h
15972      CTIME_CC=config/locale/generic/time_members.cc
15973      CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15974      ;;
15975
15976    gnu)
15977      { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15978$as_echo "gnu" >&6; }
15979
15980      # Declare intention to use gettext, and add support for specific
15981      # languages.
15982      # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15983      ALL_LINGUAS="de fr"
15984
15985      # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15986      # Extract the first word of "msgfmt", so it can be a program name with args.
15987set dummy msgfmt; ac_word=$2
15988{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15989$as_echo_n "checking for $ac_word... " >&6; }
15990if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
15991  $as_echo_n "(cached) " >&6
15992else
15993  if test -n "$check_msgfmt"; then
15994  ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15995else
15996as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15997for as_dir in $PATH
15998do
15999  IFS=$as_save_IFS
16000  test -z "$as_dir" && as_dir=.
16001    for ac_exec_ext in '' $ac_executable_extensions; do
16002  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16003    ac_cv_prog_check_msgfmt="yes"
16004    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16005    break 2
16006  fi
16007done
16008  done
16009IFS=$as_save_IFS
16010
16011  test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16012fi
16013fi
16014check_msgfmt=$ac_cv_prog_check_msgfmt
16015if test -n "$check_msgfmt"; then
16016  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16017$as_echo "$check_msgfmt" >&6; }
16018else
16019  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16020$as_echo "no" >&6; }
16021fi
16022
16023
16024      if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16025	USE_NLS=yes
16026      fi
16027      # Export the build objects.
16028      for ling in $ALL_LINGUAS; do \
16029	glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16030	glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16031      done
16032
16033
16034
16035      CLOCALE_H=config/locale/gnu/c_locale.h
16036      CLOCALE_CC=config/locale/gnu/c_locale.cc
16037      CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16038      CCOLLATE_CC=config/locale/gnu/collate_members.cc
16039      CCTYPE_CC=config/locale/gnu/ctype_members.cc
16040      CMESSAGES_H=config/locale/gnu/messages_members.h
16041      CMESSAGES_CC=config/locale/gnu/messages_members.cc
16042      CMONEY_CC=config/locale/gnu/monetary_members.cc
16043      CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16044      CTIME_H=config/locale/gnu/time_members.h
16045      CTIME_CC=config/locale/gnu/time_members.cc
16046      CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16047      ;;
16048    ieee_1003.1-2001)
16049      { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16050$as_echo "IEEE 1003.1" >&6; }
16051
16052      CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16053      CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16054      CCODECVT_CC=config/locale/generic/codecvt_members.cc
16055      CCOLLATE_CC=config/locale/generic/collate_members.cc
16056      CCTYPE_CC=config/locale/generic/ctype_members.cc
16057      CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16058      CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16059      CMONEY_CC=config/locale/generic/monetary_members.cc
16060      CNUMERIC_CC=config/locale/generic/numeric_members.cc
16061      CTIME_H=config/locale/generic/time_members.h
16062      CTIME_CC=config/locale/generic/time_members.cc
16063      CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16064      ;;
16065    newlib)
16066      { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16067$as_echo "newlib" >&6; }
16068
16069      CLOCALE_H=config/locale/generic/c_locale.h
16070      CLOCALE_CC=config/locale/generic/c_locale.cc
16071      CCODECVT_CC=config/locale/generic/codecvt_members.cc
16072      CCOLLATE_CC=config/locale/generic/collate_members.cc
16073      CCTYPE_CC=config/locale/newlib/ctype_members.cc
16074      CMESSAGES_H=config/locale/generic/messages_members.h
16075      CMESSAGES_CC=config/locale/generic/messages_members.cc
16076      CMONEY_CC=config/locale/generic/monetary_members.cc
16077      CNUMERIC_CC=config/locale/generic/numeric_members.cc
16078      CTIME_H=config/locale/generic/time_members.h
16079      CTIME_CC=config/locale/generic/time_members.cc
16080      CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16081      ;;
16082  esac
16083
16084  # This is where the testsuite looks for locale catalogs, using the
16085  # -DLOCALEDIR define during testsuite compilation.
16086  glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16087
16088
16089  # A standalone libintl (e.g., GNU libintl) may be in use.
16090  if test $USE_NLS = yes; then
16091    for ac_header in libintl.h
16092do :
16093  ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16094if test "x$ac_cv_header_libintl_h" = x""yes; then :
16095  cat >>confdefs.h <<_ACEOF
16096#define HAVE_LIBINTL_H 1
16097_ACEOF
16098
16099else
16100  USE_NLS=no
16101fi
16102
16103done
16104
16105    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16106$as_echo_n "checking for library containing gettext... " >&6; }
16107if test "${ac_cv_search_gettext+set}" = set; then :
16108  $as_echo_n "(cached) " >&6
16109else
16110  ac_func_search_save_LIBS=$LIBS
16111cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16112/* end confdefs.h.  */
16113
16114/* Override any GCC internal prototype to avoid an error.
16115   Use char because int might match the return type of a GCC
16116   builtin and then its argument prototype would still apply.  */
16117#ifdef __cplusplus
16118extern "C"
16119#endif
16120char gettext ();
16121int
16122main ()
16123{
16124return gettext ();
16125  ;
16126  return 0;
16127}
16128_ACEOF
16129for ac_lib in '' intl; do
16130  if test -z "$ac_lib"; then
16131    ac_res="none required"
16132  else
16133    ac_res=-l$ac_lib
16134    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
16135  fi
16136  if test x$gcc_no_link = xyes; then
16137  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16138fi
16139if ac_fn_c_try_link "$LINENO"; then :
16140  ac_cv_search_gettext=$ac_res
16141fi
16142rm -f core conftest.err conftest.$ac_objext \
16143    conftest$ac_exeext
16144  if test "${ac_cv_search_gettext+set}" = set; then :
16145  break
16146fi
16147done
16148if test "${ac_cv_search_gettext+set}" = set; then :
16149
16150else
16151  ac_cv_search_gettext=no
16152fi
16153rm conftest.$ac_ext
16154LIBS=$ac_func_search_save_LIBS
16155fi
16156{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16157$as_echo "$ac_cv_search_gettext" >&6; }
16158ac_res=$ac_cv_search_gettext
16159if test "$ac_res" != no; then :
16160  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16161
16162else
16163  USE_NLS=no
16164fi
16165
16166  fi
16167  if test $USE_NLS = yes; then
16168
16169$as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16170
16171  fi
16172
16173
16174
16175
16176
16177
16178
16179
16180
16181
16182
16183
16184
16185
16186
16187
16188  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16189$as_echo_n "checking for std::allocator base class... " >&6; }
16190   # Check whether --enable-libstdcxx-allocator was given.
16191if test "${enable_libstdcxx_allocator+set}" = set; then :
16192  enableval=$enable_libstdcxx_allocator;
16193      case "$enableval" in
16194       new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16195       *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16196	  	        esac
16197
16198else
16199  enable_libstdcxx_allocator=auto
16200fi
16201
16202
16203
16204  # If they didn't use this option switch, or if they specified --enable
16205  # with no specific model, we'll have to look for one.  If they
16206  # specified --disable (???), do likewise.
16207  if test $enable_libstdcxx_allocator = no ||
16208     test $enable_libstdcxx_allocator = yes;
16209  then
16210     enable_libstdcxx_allocator=auto
16211  fi
16212
16213  # Either a known package, or "auto". Auto implies the default choice
16214  # for a particular platform.
16215  enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16216
16217  # Probe for host-specific support if no specific model is specified.
16218  # Default to "new".
16219  if test $enable_libstdcxx_allocator_flag = auto; then
16220    case ${target_os} in
16221      linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16222	enable_libstdcxx_allocator_flag=new
16223	;;
16224      *)
16225	enable_libstdcxx_allocator_flag=new
16226	;;
16227    esac
16228  fi
16229  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16230$as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16231
16232
16233  # Set configure bits for specified locale package
16234  case ${enable_libstdcxx_allocator_flag} in
16235    bitmap)
16236      ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16237      ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16238      ;;
16239    malloc)
16240      ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16241      ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16242      ;;
16243    mt)
16244      ALLOCATOR_H=config/allocator/mt_allocator_base.h
16245      ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16246      ;;
16247    new)
16248      ALLOCATOR_H=config/allocator/new_allocator_base.h
16249      ALLOCATOR_NAME=__gnu_cxx::new_allocator
16250      ;;
16251    pool)
16252      ALLOCATOR_H=config/allocator/pool_allocator_base.h
16253      ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16254      ;;
16255  esac
16256
16257
16258
16259
16260
16261   # Check whether --enable-cheaders was given.
16262if test "${enable_cheaders+set}" = set; then :
16263  enableval=$enable_cheaders;
16264      case "$enableval" in
16265       c|c_std|c_global) ;;
16266       *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16267	  	        esac
16268
16269else
16270  enable_cheaders=$c_model
16271fi
16272
16273
16274  { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16275$as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16276
16277  C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16278
16279  # Allow overrides to configure.host here.
16280  if test $enable_cheaders = c_global; then
16281     c_compatibility=yes
16282  fi
16283
16284
16285
16286
16287
16288
16289
16290   # Check whether --enable-long-long was given.
16291if test "${enable_long_long+set}" = set; then :
16292  enableval=$enable_long_long;
16293      case "$enableval" in
16294       yes|no) ;;
16295       *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16296      esac
16297
16298else
16299  enable_long_long=yes
16300fi
16301
16302
16303  if test $enable_long_long = yes; then
16304
16305$as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16306
16307  fi
16308  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16309$as_echo_n "checking for enabled long long specializations... " >&6; }
16310  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16311$as_echo "$enable_long_long" >&6; }
16312
16313
16314   # Check whether --enable-wchar_t was given.
16315if test "${enable_wchar_t+set}" = set; then :
16316  enableval=$enable_wchar_t;
16317      case "$enableval" in
16318       yes|no) ;;
16319       *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16320      esac
16321
16322else
16323  enable_wchar_t=yes
16324fi
16325
16326
16327
16328  # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16329  for ac_header in wchar.h
16330do :
16331  ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16332if test "x$ac_cv_header_wchar_h" = x""yes; then :
16333  cat >>confdefs.h <<_ACEOF
16334#define HAVE_WCHAR_H 1
16335_ACEOF
16336 ac_has_wchar_h=yes
16337else
16338  ac_has_wchar_h=no
16339fi
16340
16341done
16342
16343  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16344$as_echo_n "checking for mbstate_t... " >&6; }
16345  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16346/* end confdefs.h.  */
16347#include <wchar.h>
16348int
16349main ()
16350{
16351mbstate_t teststate;
16352  ;
16353  return 0;
16354}
16355_ACEOF
16356if ac_fn_c_try_compile "$LINENO"; then :
16357  have_mbstate_t=yes
16358else
16359  have_mbstate_t=no
16360fi
16361rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16362  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16363$as_echo "$have_mbstate_t" >&6; }
16364  if test x"$have_mbstate_t" = xyes; then
16365
16366$as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16367
16368  fi
16369
16370  # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16371  # ac_has_wchar_h.
16372  for ac_header in wctype.h
16373do :
16374  ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16375if test "x$ac_cv_header_wctype_h" = x""yes; then :
16376  cat >>confdefs.h <<_ACEOF
16377#define HAVE_WCTYPE_H 1
16378_ACEOF
16379 ac_has_wctype_h=yes
16380else
16381  ac_has_wctype_h=no
16382fi
16383
16384done
16385
16386
16387  if test x"$enable_wchar_t" = x"yes"; then
16388
16389
16390    ac_ext=cpp
16391ac_cpp='$CXXCPP $CPPFLAGS'
16392ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16393ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16394ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16395
16396
16397    if test x"$ac_has_wchar_h" = xyes &&
16398       test x"$ac_has_wctype_h" = xyes; then
16399      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16400/* end confdefs.h.  */
16401#include <wchar.h>
16402		      #include <stddef.h>
16403		      wint_t i;
16404		      long l = WEOF;
16405		      long j = WCHAR_MIN;
16406		      long k = WCHAR_MAX;
16407		      namespace test
16408		      {
16409			using ::btowc;
16410			using ::fgetwc;
16411			using ::fgetws;
16412			using ::fputwc;
16413			using ::fputws;
16414			using ::fwide;
16415			using ::fwprintf;
16416			using ::fwscanf;
16417			using ::getwc;
16418			using ::getwchar;
16419 			using ::mbrlen;
16420			using ::mbrtowc;
16421			using ::mbsinit;
16422			using ::mbsrtowcs;
16423			using ::putwc;
16424			using ::putwchar;
16425			using ::swprintf;
16426			using ::swscanf;
16427			using ::ungetwc;
16428			using ::vfwprintf;
16429			using ::vswprintf;
16430			using ::vwprintf;
16431			using ::wcrtomb;
16432			using ::wcscat;
16433			using ::wcschr;
16434			using ::wcscmp;
16435			using ::wcscoll;
16436			using ::wcscpy;
16437			using ::wcscspn;
16438			using ::wcsftime;
16439			using ::wcslen;
16440			using ::wcsncat;
16441			using ::wcsncmp;
16442			using ::wcsncpy;
16443			using ::wcspbrk;
16444			using ::wcsrchr;
16445			using ::wcsrtombs;
16446			using ::wcsspn;
16447			using ::wcsstr;
16448			using ::wcstod;
16449			using ::wcstok;
16450			using ::wcstol;
16451			using ::wcstoul;
16452			using ::wcsxfrm;
16453			using ::wctob;
16454			using ::wmemchr;
16455			using ::wmemcmp;
16456			using ::wmemcpy;
16457			using ::wmemmove;
16458			using ::wmemset;
16459			using ::wprintf;
16460			using ::wscanf;
16461		      }
16462
16463int
16464main ()
16465{
16466
16467  ;
16468  return 0;
16469}
16470_ACEOF
16471if ac_fn_cxx_try_compile "$LINENO"; then :
16472
16473else
16474  enable_wchar_t=no
16475fi
16476rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16477    else
16478      enable_wchar_t=no
16479    fi
16480
16481    ac_ext=c
16482ac_cpp='$CPP $CPPFLAGS'
16483ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16484ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16485ac_compiler_gnu=$ac_cv_c_compiler_gnu
16486
16487  fi
16488
16489  if test x"$enable_wchar_t" = x"yes"; then
16490
16491$as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16492
16493  fi
16494
16495  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16496$as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16497  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16498$as_echo "$enable_wchar_t" >&6; }
16499
16500
16501
16502   # Check whether --enable-c99 was given.
16503if test "${enable_c99+set}" = set; then :
16504  enableval=$enable_c99;
16505      case "$enableval" in
16506       yes|no) ;;
16507       *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16508      esac
16509
16510else
16511  enable_c99=yes
16512fi
16513
16514
16515
16516  if test x"$enable_c99" = x"yes"; then
16517
16518
16519  ac_ext=cpp
16520ac_cpp='$CXXCPP $CPPFLAGS'
16521ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16522ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16523ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16524
16525
16526  # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16527  # undefined and fake C99 facilities - like pre-standard snprintf - may be
16528  # spuriously enabled.
16529  # Long term, -std=c++0x could be even better, could manage to explicitely
16530  # request C99 facilities to the underlying C headers.
16531  ac_save_CXXFLAGS="$CXXFLAGS"
16532  CXXFLAGS="$CXXFLAGS -std=c++98"
16533  ac_save_LIBS="$LIBS"
16534  ac_save_gcc_no_link="$gcc_no_link"
16535
16536  if test x$gcc_no_link != xyes; then
16537    # Use -fno-exceptions to that the C driver can link these tests without
16538    # hitting undefined references to personality routines.
16539    CXXFLAGS="$CXXFLAGS -fno-exceptions"
16540    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16541$as_echo_n "checking for sin in -lm... " >&6; }
16542if test "${ac_cv_lib_m_sin+set}" = set; then :
16543  $as_echo_n "(cached) " >&6
16544else
16545  ac_check_lib_save_LIBS=$LIBS
16546LIBS="-lm  $LIBS"
16547if test x$gcc_no_link = xyes; then
16548  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16549fi
16550cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16551/* end confdefs.h.  */
16552
16553/* Override any GCC internal prototype to avoid an error.
16554   Use char because int might match the return type of a GCC
16555   builtin and then its argument prototype would still apply.  */
16556#ifdef __cplusplus
16557extern "C"
16558#endif
16559char sin ();
16560int
16561main ()
16562{
16563return sin ();
16564  ;
16565  return 0;
16566}
16567_ACEOF
16568if ac_fn_cxx_try_link "$LINENO"; then :
16569  ac_cv_lib_m_sin=yes
16570else
16571  ac_cv_lib_m_sin=no
16572fi
16573rm -f core conftest.err conftest.$ac_objext \
16574    conftest$ac_exeext conftest.$ac_ext
16575LIBS=$ac_check_lib_save_LIBS
16576fi
16577{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16578$as_echo "$ac_cv_lib_m_sin" >&6; }
16579if test "x$ac_cv_lib_m_sin" = x""yes; then :
16580
16581      LIBS="$LIBS -lm"
16582
16583else
16584
16585      # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16586      gcc_no_link=yes
16587
16588fi
16589
16590  fi
16591
16592  # Check for the existence of <math.h> functions used if C99 is enabled.
16593  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16594$as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16595  if test "${glibcxx_cv_c99_math+set}" = set; then :
16596  $as_echo_n "(cached) " >&6
16597else
16598
16599  if test x$gcc_no_link = xyes; then
16600  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16601/* end confdefs.h.  */
16602#include <math.h>
16603      volatile double d1, d2;
16604      volatile int i;
16605int
16606main ()
16607{
16608i = fpclassify(d1);
16609      i = isfinite(d1);
16610      i = isinf(d1);
16611      i = isnan(d1);
16612      i = isnormal(d1);
16613      i = signbit(d1);
16614      i = isgreater(d1, d2);
16615      i = isgreaterequal(d1, d2);
16616      i = isless(d1, d2);
16617      i = islessequal(d1, d2);
16618      i = islessgreater(d1, d2);
16619      i = islessgreater(d1, d2);
16620      i = isunordered(d1, d2);
16621
16622  ;
16623  return 0;
16624}
16625_ACEOF
16626if ac_fn_cxx_try_compile "$LINENO"; then :
16627  glibcxx_cv_c99_math=yes
16628else
16629  glibcxx_cv_c99_math=no
16630fi
16631rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16632else
16633  if test x$gcc_no_link = xyes; then
16634  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16635fi
16636cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16637/* end confdefs.h.  */
16638#include <math.h>
16639      volatile double d1, d2;
16640      volatile int i;
16641int
16642main ()
16643{
16644i = fpclassify(d1);
16645      i = isfinite(d1);
16646      i = isinf(d1);
16647      i = isnan(d1);
16648      i = isnormal(d1);
16649      i = signbit(d1);
16650      i = isgreater(d1, d2);
16651      i = isgreaterequal(d1, d2);
16652      i = isless(d1, d2);
16653      i = islessequal(d1, d2);
16654      i = islessgreater(d1, d2);
16655      i = islessgreater(d1, d2);
16656      i = isunordered(d1, d2);
16657
16658  ;
16659  return 0;
16660}
16661_ACEOF
16662if ac_fn_cxx_try_link "$LINENO"; then :
16663  glibcxx_cv_c99_math=yes
16664else
16665  glibcxx_cv_c99_math=no
16666fi
16667rm -f core conftest.err conftest.$ac_objext \
16668    conftest$ac_exeext conftest.$ac_ext
16669fi
16670
16671fi
16672
16673  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16674$as_echo "$glibcxx_cv_c99_math" >&6; }
16675  if test x"$glibcxx_cv_c99_math" = x"yes"; then
16676
16677$as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16678
16679  fi
16680
16681  # Check for the existence of <complex.h> complex math functions.
16682  # This is necessary even though libstdc++ uses the builtin versions
16683  # of these functions, because if the builtin cannot be used, a reference
16684  # to the library function is emitted.
16685  for ac_header in tgmath.h
16686do :
16687  ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16688if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16689  cat >>confdefs.h <<_ACEOF
16690#define HAVE_TGMATH_H 1
16691_ACEOF
16692 ac_has_tgmath_h=yes
16693else
16694  ac_has_tgmath_h=no
16695fi
16696
16697done
16698
16699  for ac_header in complex.h
16700do :
16701  ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16702if test "x$ac_cv_header_complex_h" = x""yes; then :
16703  cat >>confdefs.h <<_ACEOF
16704#define HAVE_COMPLEX_H 1
16705_ACEOF
16706 ac_has_complex_h=yes
16707else
16708  ac_has_complex_h=no
16709fi
16710
16711done
16712
16713  glibcxx_cv_c99_complex=no;
16714  if test x"$ac_has_complex_h" = x"yes"; then
16715    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16716$as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16717    if test x$gcc_no_link = xyes; then
16718  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16719/* end confdefs.h.  */
16720#include <complex.h>
16721	typedef __complex__ float float_type;
16722	typedef __complex__ double double_type;
16723	typedef __complex__ long double ld_type;
16724	volatile float_type tmpf;
16725	volatile double_type tmpd;
16726	volatile ld_type tmpld;
16727	volatile float f;
16728	volatile double d;
16729	volatile long double ld;
16730int
16731main ()
16732{
16733f = cabsf(tmpf);
16734	f = cargf(tmpf);
16735	tmpf = ccosf(tmpf);
16736	tmpf = ccoshf(tmpf);
16737	tmpf = cexpf(tmpf);
16738	tmpf = clogf(tmpf);
16739	tmpf = csinf(tmpf);
16740	tmpf = csinhf(tmpf);
16741	tmpf = csqrtf(tmpf);
16742	tmpf = ctanf(tmpf);
16743	tmpf = ctanhf(tmpf);
16744	tmpf = cpowf(tmpf, tmpf);
16745	tmpf = cprojf(tmpf);
16746	d = cabs(tmpd);
16747	d = carg(tmpd);
16748	tmpd = ccos(tmpd);
16749	tmpd = ccosh(tmpd);
16750	tmpd = cexp(tmpd);
16751	tmpd = clog(tmpd);
16752	tmpd = csin(tmpd);
16753	tmpd = csinh(tmpd);
16754	tmpd = csqrt(tmpd);
16755	tmpd = ctan(tmpd);
16756	tmpd = ctanh(tmpd);
16757	tmpd = cpow(tmpd, tmpd);
16758	tmpd = cproj(tmpd);
16759	ld = cabsl(tmpld);
16760	ld = cargl(tmpld);
16761	tmpld = ccosl(tmpld);
16762	tmpld = ccoshl(tmpld);
16763	tmpld = cexpl(tmpld);
16764	tmpld = clogl(tmpld);
16765	tmpld = csinl(tmpld);
16766	tmpld = csinhl(tmpld);
16767	tmpld = csqrtl(tmpld);
16768	tmpld = ctanl(tmpld);
16769	tmpld = ctanhl(tmpld);
16770	tmpld = cpowl(tmpld, tmpld);
16771	tmpld = cprojl(tmpld);
16772
16773  ;
16774  return 0;
16775}
16776_ACEOF
16777if ac_fn_cxx_try_compile "$LINENO"; then :
16778  glibcxx_cv_c99_complex=yes
16779else
16780  glibcxx_cv_c99_complex=no
16781fi
16782rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16783else
16784  if test x$gcc_no_link = xyes; then
16785  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16786fi
16787cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16788/* end confdefs.h.  */
16789#include <complex.h>
16790	typedef __complex__ float float_type;
16791	typedef __complex__ double double_type;
16792	typedef __complex__ long double ld_type;
16793	volatile float_type tmpf;
16794	volatile double_type tmpd;
16795	volatile ld_type tmpld;
16796	volatile float f;
16797	volatile double d;
16798	volatile long double ld;
16799int
16800main ()
16801{
16802f = cabsf(tmpf);
16803	f = cargf(tmpf);
16804	tmpf = ccosf(tmpf);
16805	tmpf = ccoshf(tmpf);
16806	tmpf = cexpf(tmpf);
16807	tmpf = clogf(tmpf);
16808	tmpf = csinf(tmpf);
16809	tmpf = csinhf(tmpf);
16810	tmpf = csqrtf(tmpf);
16811	tmpf = ctanf(tmpf);
16812	tmpf = ctanhf(tmpf);
16813	tmpf = cpowf(tmpf, tmpf);
16814	tmpf = cprojf(tmpf);
16815	d = cabs(tmpd);
16816	d = carg(tmpd);
16817	tmpd = ccos(tmpd);
16818	tmpd = ccosh(tmpd);
16819	tmpd = cexp(tmpd);
16820	tmpd = clog(tmpd);
16821	tmpd = csin(tmpd);
16822	tmpd = csinh(tmpd);
16823	tmpd = csqrt(tmpd);
16824	tmpd = ctan(tmpd);
16825	tmpd = ctanh(tmpd);
16826	tmpd = cpow(tmpd, tmpd);
16827	tmpd = cproj(tmpd);
16828	ld = cabsl(tmpld);
16829	ld = cargl(tmpld);
16830	tmpld = ccosl(tmpld);
16831	tmpld = ccoshl(tmpld);
16832	tmpld = cexpl(tmpld);
16833	tmpld = clogl(tmpld);
16834	tmpld = csinl(tmpld);
16835	tmpld = csinhl(tmpld);
16836	tmpld = csqrtl(tmpld);
16837	tmpld = ctanl(tmpld);
16838	tmpld = ctanhl(tmpld);
16839	tmpld = cpowl(tmpld, tmpld);
16840	tmpld = cprojl(tmpld);
16841
16842  ;
16843  return 0;
16844}
16845_ACEOF
16846if ac_fn_cxx_try_link "$LINENO"; then :
16847  glibcxx_cv_c99_complex=yes
16848else
16849  glibcxx_cv_c99_complex=no
16850fi
16851rm -f core conftest.err conftest.$ac_objext \
16852    conftest$ac_exeext conftest.$ac_ext
16853fi
16854  fi
16855  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16856$as_echo "$glibcxx_cv_c99_complex" >&6; }
16857  if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16858
16859$as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16860
16861  fi
16862
16863  # Check for the existence in <stdio.h> of vscanf, et. al.
16864  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16865$as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16866  if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16867  $as_echo_n "(cached) " >&6
16868else
16869
16870  if test x$gcc_no_link = xyes; then
16871  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16872/* end confdefs.h.  */
16873#include <stdio.h>
16874      #include <stdarg.h>
16875      void foo(char* fmt, ...)
16876      {
16877	va_list args; va_start(args, fmt);
16878	vfscanf(stderr, "%i", args);
16879	vscanf("%i", args);
16880	vsnprintf(fmt, 0, "%i", args);
16881	vsscanf(fmt, "%i", args);
16882      }
16883int
16884main ()
16885{
16886snprintf("12", 0, "%i");
16887  ;
16888  return 0;
16889}
16890_ACEOF
16891if ac_fn_cxx_try_compile "$LINENO"; then :
16892  glibcxx_cv_c99_stdio=yes
16893else
16894  glibcxx_cv_c99_stdio=no
16895fi
16896rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16897else
16898  if test x$gcc_no_link = xyes; then
16899  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16900fi
16901cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16902/* end confdefs.h.  */
16903#include <stdio.h>
16904      #include <stdarg.h>
16905      void foo(char* fmt, ...)
16906      {
16907	va_list args; va_start(args, fmt);
16908	vfscanf(stderr, "%i", args);
16909	vscanf("%i", args);
16910	vsnprintf(fmt, 0, "%i", args);
16911	vsscanf(fmt, "%i", args);
16912      }
16913int
16914main ()
16915{
16916snprintf("12", 0, "%i");
16917  ;
16918  return 0;
16919}
16920_ACEOF
16921if ac_fn_cxx_try_link "$LINENO"; then :
16922  glibcxx_cv_c99_stdio=yes
16923else
16924  glibcxx_cv_c99_stdio=no
16925fi
16926rm -f core conftest.err conftest.$ac_objext \
16927    conftest$ac_exeext conftest.$ac_ext
16928fi
16929
16930fi
16931
16932  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16933$as_echo "$glibcxx_cv_c99_stdio" >&6; }
16934
16935  # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16936  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16937$as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16938  if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16939  $as_echo_n "(cached) " >&6
16940else
16941
16942  if test x$gcc_no_link = xyes; then
16943  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16944/* end confdefs.h.  */
16945#include <stdlib.h>
16946      volatile float f;
16947      volatile long double ld;
16948      volatile unsigned long long ll;
16949      lldiv_t mydivt;
16950int
16951main ()
16952{
16953char* tmp;
16954      f = strtof("gnu", &tmp);
16955      ld = strtold("gnu", &tmp);
16956      ll = strtoll("gnu", &tmp, 10);
16957      ll = strtoull("gnu", &tmp, 10);
16958      ll = llabs(10);
16959      mydivt = lldiv(10,1);
16960      ll = mydivt.quot;
16961      ll = mydivt.rem;
16962      ll = atoll("10");
16963      _Exit(0);
16964
16965  ;
16966  return 0;
16967}
16968_ACEOF
16969if ac_fn_cxx_try_compile "$LINENO"; then :
16970  glibcxx_cv_c99_stdlib=yes
16971else
16972  glibcxx_cv_c99_stdlib=no
16973fi
16974rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16975else
16976  if test x$gcc_no_link = xyes; then
16977  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16978fi
16979cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16980/* end confdefs.h.  */
16981#include <stdlib.h>
16982      volatile float f;
16983      volatile long double ld;
16984      volatile unsigned long long ll;
16985      lldiv_t mydivt;
16986int
16987main ()
16988{
16989char* tmp;
16990      f = strtof("gnu", &tmp);
16991      ld = strtold("gnu", &tmp);
16992      ll = strtoll("gnu", &tmp, 10);
16993      ll = strtoull("gnu", &tmp, 10);
16994      ll = llabs(10);
16995      mydivt = lldiv(10,1);
16996      ll = mydivt.quot;
16997      ll = mydivt.rem;
16998      ll = atoll("10");
16999      _Exit(0);
17000
17001  ;
17002  return 0;
17003}
17004_ACEOF
17005if ac_fn_cxx_try_link "$LINENO"; then :
17006  glibcxx_cv_c99_stdlib=yes
17007else
17008  glibcxx_cv_c99_stdlib=no
17009fi
17010rm -f core conftest.err conftest.$ac_objext \
17011    conftest$ac_exeext conftest.$ac_ext
17012fi
17013
17014fi
17015
17016  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
17017$as_echo "$glibcxx_cv_c99_stdlib" >&6; }
17018
17019  # Check for the existence in <wchar.h> of wcstold, etc.
17020  glibcxx_cv_c99_wchar=no;
17021  if test x"$ac_has_wchar_h" = xyes &&
17022     test x"$ac_has_wctype_h" = xyes; then
17023    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
17024$as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
17025    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17026/* end confdefs.h.  */
17027#include <wchar.h>
17028		    namespace test
17029		    {
17030		      using ::wcstold;
17031		      using ::wcstoll;
17032		      using ::wcstoull;
17033		    }
17034
17035int
17036main ()
17037{
17038
17039  ;
17040  return 0;
17041}
17042_ACEOF
17043if ac_fn_cxx_try_compile "$LINENO"; then :
17044  glibcxx_cv_c99_wchar=yes
17045else
17046  glibcxx_cv_c99_wchar=no
17047fi
17048rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17049
17050    # Checks for wide character functions that may not be present.
17051    # Injection of these is wrapped with guard macros.
17052    # NB: only put functions here, instead of immediately above, if
17053    # absolutely necessary.
17054    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17055/* end confdefs.h.  */
17056#include <wchar.h>
17057		    namespace test { using ::vfwscanf; }
17058int
17059main ()
17060{
17061
17062  ;
17063  return 0;
17064}
17065_ACEOF
17066if ac_fn_cxx_try_compile "$LINENO"; then :
17067
17068$as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17069
17070fi
17071rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17072
17073    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17074/* end confdefs.h.  */
17075#include <wchar.h>
17076		    namespace test { using ::vswscanf; }
17077int
17078main ()
17079{
17080
17081  ;
17082  return 0;
17083}
17084_ACEOF
17085if ac_fn_cxx_try_compile "$LINENO"; then :
17086
17087$as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17088
17089fi
17090rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17091
17092    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17093/* end confdefs.h.  */
17094#include <wchar.h>
17095		    namespace test { using ::vwscanf; }
17096int
17097main ()
17098{
17099
17100  ;
17101  return 0;
17102}
17103_ACEOF
17104if ac_fn_cxx_try_compile "$LINENO"; then :
17105
17106$as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17107
17108fi
17109rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17110
17111    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17112/* end confdefs.h.  */
17113#include <wchar.h>
17114		    namespace test { using ::wcstof; }
17115int
17116main ()
17117{
17118
17119  ;
17120  return 0;
17121}
17122_ACEOF
17123if ac_fn_cxx_try_compile "$LINENO"; then :
17124
17125$as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17126
17127fi
17128rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17129
17130    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17131/* end confdefs.h.  */
17132#include <wctype.h>
17133int
17134main ()
17135{
17136 wint_t t; int i = iswblank(t);
17137  ;
17138  return 0;
17139}
17140_ACEOF
17141if ac_fn_cxx_try_compile "$LINENO"; then :
17142
17143$as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17144
17145fi
17146rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17147
17148    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
17149$as_echo "$glibcxx_cv_c99_wchar" >&6; }
17150  fi
17151
17152  # Option parsed, now set things appropriately.
17153  if test x"$glibcxx_cv_c99_math" = x"no" ||
17154     test x"$glibcxx_cv_c99_complex" = x"no" ||
17155     test x"$glibcxx_cv_c99_stdio" = x"no" ||
17156     test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17157     test x"$glibcxx_cv_c99_wchar" = x"no"; then
17158    enable_c99=no;
17159  else
17160
17161$as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17162
17163  fi
17164
17165  gcc_no_link="$ac_save_gcc_no_link"
17166  LIBS="$ac_save_LIBS"
17167  CXXFLAGS="$ac_save_CXXFLAGS"
17168  ac_ext=c
17169ac_cpp='$CPP $CPPFLAGS'
17170ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17171ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17172ac_compiler_gnu=$ac_cv_c_compiler_gnu
17173
17174  fi
17175
17176  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17177$as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17178  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17179$as_echo "$enable_c99" >&6; }
17180
17181
17182   # Check whether --enable-concept-checks was given.
17183if test "${enable_concept_checks+set}" = set; then :
17184  enableval=$enable_concept_checks;
17185      case "$enableval" in
17186       yes|no) ;;
17187       *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17188      esac
17189
17190else
17191  enable_concept_checks=no
17192fi
17193
17194
17195  if test $enable_concept_checks = yes; then
17196
17197$as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17198
17199  fi
17200
17201
17202   # Check whether --enable-libstdcxx-debug-flags was given.
17203if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17204  enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17205      xno | x)    enable_libstdcxx_debug_flags= ;;
17206      x-*)        ;;
17207      *)          as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17208     esac
17209else
17210  enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17211fi
17212
17213
17214
17215  # Option parsed, now set things appropriately
17216  DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17217
17218
17219  { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17220$as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17221
17222
17223  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17224$as_echo_n "checking for additional debug build... " >&6; }
17225   # Check whether --enable-libstdcxx-debug was given.
17226if test "${enable_libstdcxx_debug+set}" = set; then :
17227  enableval=$enable_libstdcxx_debug;
17228      case "$enableval" in
17229       yes|no) ;;
17230       *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17231      esac
17232
17233else
17234  enable_libstdcxx_debug=no
17235fi
17236
17237
17238  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17239$as_echo "$enable_libstdcxx_debug" >&6; }
17240
17241
17242
17243
17244  enable_parallel=no;
17245
17246  # See if configured libgomp/omp.h exists. (libgomp may be in
17247  # noconfigdirs but not explicitly disabled.)
17248  if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17249    enable_parallel=yes;
17250  else
17251    { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17252$as_echo "$as_me: target-libgomp not built" >&6;}
17253  fi
17254
17255  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17256$as_echo_n "checking for parallel mode support... " >&6; }
17257  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17258$as_echo "$enable_parallel" >&6; }
17259
17260  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17261$as_echo_n "checking for extra compiler flags for building... " >&6; }
17262   # Check whether --enable-cxx-flags was given.
17263if test "${enable_cxx_flags+set}" = set; then :
17264  enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17265      xno | x)   enable_cxx_flags= ;;
17266      x-*)       ;;
17267      *)         as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17268     esac
17269else
17270  enable_cxx_flags=
17271fi
17272
17273
17274
17275  # Run through flags (either default or command-line) and set anything
17276  # extra (e.g., #defines) that must accompany particular g++ options.
17277  if test -n "$enable_cxx_flags"; then
17278    for f in $enable_cxx_flags; do
17279      case "$f" in
17280	-fhonor-std)  ;;
17281	-*)  ;;
17282	*)   # and we're trying to pass /what/ exactly?
17283	     as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17284      esac
17285    done
17286  fi
17287
17288  EXTRA_CXX_FLAGS="$enable_cxx_flags"
17289  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17290$as_echo "$EXTRA_CXX_FLAGS" >&6; }
17291
17292
17293
17294   # Check whether --enable-fully-dynamic-string was given.
17295if test "${enable_fully_dynamic_string+set}" = set; then :
17296  enableval=$enable_fully_dynamic_string;
17297      case "$enableval" in
17298       yes|no) ;;
17299       *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17300      esac
17301
17302else
17303  enable_fully_dynamic_string=no
17304fi
17305
17306
17307  if test $enable_fully_dynamic_string = yes; then
17308    enable_fully_dynamic_string_def=1
17309  else
17310    enable_fully_dynamic_string_def=0
17311  fi
17312
17313cat >>confdefs.h <<_ACEOF
17314#define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
17315_ACEOF
17316
17317
17318
17319
17320   # Check whether --enable-extern-template was given.
17321if test "${enable_extern_template+set}" = set; then :
17322  enableval=$enable_extern_template;
17323      case "$enableval" in
17324       yes|no) ;;
17325       *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17326      esac
17327
17328else
17329  enable_extern_template=yes
17330fi
17331
17332
17333
17334  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17335$as_echo_n "checking for extern template support... " >&6; }
17336  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17337$as_echo "$enable_extern_template" >&6; }
17338
17339
17340
17341
17342
17343{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
17344$as_echo_n "checking for custom python install directory... " >&6; }
17345
17346# Check whether --with-python-dir was given.
17347if test "${with_python_dir+set}" = set; then :
17348  withval=$with_python_dir; with_python_dir=$withval
17349else
17350  with_python_dir="no"
17351fi
17352
17353{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
17354$as_echo "${with_python_dir}" >&6; }
17355
17356# Needed for installing Python modules during make install.
17357python_mod_dir="${with_python_dir}"
17358
17359
17360
17361
17362  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
17363$as_echo_n "checking for -Werror... " >&6; }
17364   # Check whether --enable-werror was given.
17365if test "${enable_werror+set}" = set; then :
17366  enableval=$enable_werror;
17367      case "$enableval" in
17368       yes|no) ;;
17369       *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
17370      esac
17371
17372else
17373  enable_werror=yes
17374fi
17375
17376
17377  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
17378$as_echo "$enable_werror" >&6; }
17379
17380
17381
17382# Checks for operating systems support that doesn't require linking.
17383
17384
17385
17386  ac_ext=cpp
17387ac_cpp='$CXXCPP $CPPFLAGS'
17388ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17389ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17390ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17391
17392
17393  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
17394$as_echo_n "checking for gets declaration... " >&6; }
17395  if test "${glibcxx_cv_gets+set}" = set; then :
17396  $as_echo_n "(cached) " >&6
17397else
17398
17399  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17400/* end confdefs.h.  */
17401#include <stdio.h>
17402	   namespace test
17403	   {
17404              using ::gets;
17405	   }
17406
17407_ACEOF
17408if ac_fn_cxx_try_compile "$LINENO"; then :
17409  glibcxx_cv_gets=yes
17410else
17411  glibcxx_cv_gets=no
17412
17413fi
17414rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17415fi
17416
17417
17418  if test $glibcxx_cv_gets = yes; then
17419
17420$as_echo "#define HAVE_GETS 1" >>confdefs.h
17421
17422  fi
17423  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
17424$as_echo "$glibcxx_cv_gets" >&6; }
17425
17426  ac_ext=c
17427ac_cpp='$CPP $CPPFLAGS'
17428ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17429ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17430ac_compiler_gnu=$ac_cv_c_compiler_gnu
17431
17432
17433
17434
17435{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17436$as_echo_n "checking for EOWNERDEAD... " >&6; }
17437if test "${glibcxx_cv_system_error1+set}" = set; then :
17438  $as_echo_n "(cached) " >&6
17439else
17440
17441cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17442/* end confdefs.h.  */
17443#include <errno.h>
17444int
17445main ()
17446{
17447int i = EOWNERDEAD;
17448  ;
17449  return 0;
17450}
17451_ACEOF
17452if ac_fn_c_try_compile "$LINENO"; then :
17453  glibcxx_cv_system_error1=yes
17454else
17455  glibcxx_cv_system_error1=no
17456fi
17457rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17458
17459fi
17460
17461{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17462$as_echo "$glibcxx_cv_system_error1" >&6; }
17463if test x"$glibcxx_cv_system_error1" = x"yes"; then
17464
17465$as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17466
17467fi
17468{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17469$as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17470if test "${glibcxx_cv_system_error2+set}" = set; then :
17471  $as_echo_n "(cached) " >&6
17472else
17473
17474cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17475/* end confdefs.h.  */
17476#include <errno.h>
17477int
17478main ()
17479{
17480int i = ENOTRECOVERABLE;
17481  ;
17482  return 0;
17483}
17484_ACEOF
17485if ac_fn_c_try_compile "$LINENO"; then :
17486  glibcxx_cv_system_error2=yes
17487else
17488  glibcxx_cv_system_error2=no
17489fi
17490rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17491
17492fi
17493
17494{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17495$as_echo "$glibcxx_cv_system_error2" >&6; }
17496if test x"$glibcxx_cv_system_error2" = x"yes"; then
17497
17498$as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17499
17500fi
17501{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17502$as_echo_n "checking for ENOLINK... " >&6; }
17503if test "${glibcxx_cv_system_error3+set}" = set; then :
17504  $as_echo_n "(cached) " >&6
17505else
17506
17507cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17508/* end confdefs.h.  */
17509#include <errno.h>
17510int
17511main ()
17512{
17513int i = ENOLINK;
17514  ;
17515  return 0;
17516}
17517_ACEOF
17518if ac_fn_c_try_compile "$LINENO"; then :
17519  glibcxx_cv_system_error3=yes
17520else
17521  glibcxx_cv_system_error3=no
17522fi
17523rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17524
17525fi
17526
17527{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17528$as_echo "$glibcxx_cv_system_error3" >&6; }
17529if test x"$glibcxx_cv_system_error3" = x"yes"; then
17530
17531$as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17532
17533fi
17534{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17535$as_echo_n "checking for EPROTO... " >&6; }
17536if test "${glibcxx_cv_system_error4+set}" = set; then :
17537  $as_echo_n "(cached) " >&6
17538else
17539
17540cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17541/* end confdefs.h.  */
17542#include <errno.h>
17543int
17544main ()
17545{
17546int i = EPROTO;
17547  ;
17548  return 0;
17549}
17550_ACEOF
17551if ac_fn_c_try_compile "$LINENO"; then :
17552  glibcxx_cv_system_error4=yes
17553else
17554  glibcxx_cv_system_error4=no
17555fi
17556rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17557
17558fi
17559
17560{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17561$as_echo "$glibcxx_cv_system_error4" >&6; }
17562if test x"$glibcxx_cv_system_error4" = x"yes"; then
17563
17564$as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17565
17566fi
17567{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17568$as_echo_n "checking for ENODATA... " >&6; }
17569if test "${glibcxx_cv_system_error5+set}" = set; then :
17570  $as_echo_n "(cached) " >&6
17571else
17572
17573cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17574/* end confdefs.h.  */
17575#include <errno.h>
17576int
17577main ()
17578{
17579int i = ENODATA;
17580  ;
17581  return 0;
17582}
17583_ACEOF
17584if ac_fn_c_try_compile "$LINENO"; then :
17585  glibcxx_cv_system_error5=yes
17586else
17587  glibcxx_cv_system_error5=no
17588fi
17589rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17590
17591fi
17592
17593{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17594$as_echo "$glibcxx_cv_system_error5" >&6; }
17595if test x"$glibcxx_cv_system_error5" = x"yes"; then
17596
17597$as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17598
17599fi
17600{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17601$as_echo_n "checking for ENOSR... " >&6; }
17602if test "${glibcxx_cv_system_error6+set}" = set; then :
17603  $as_echo_n "(cached) " >&6
17604else
17605
17606cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17607/* end confdefs.h.  */
17608#include <errno.h>
17609int
17610main ()
17611{
17612int i = ENOSR;
17613  ;
17614  return 0;
17615}
17616_ACEOF
17617if ac_fn_c_try_compile "$LINENO"; then :
17618  glibcxx_cv_system_error6=yes
17619else
17620  glibcxx_cv_system_error6=no
17621fi
17622rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17623
17624fi
17625
17626{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17627$as_echo "$glibcxx_cv_system_error6" >&6; }
17628if test x"$glibcxx_cv_system_error6" = x"yes"; then
17629
17630$as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17631
17632fi
17633{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17634$as_echo_n "checking for ENOSTR... " >&6; }
17635if test "${glibcxx_cv_system_error7+set}" = set; then :
17636  $as_echo_n "(cached) " >&6
17637else
17638
17639cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17640/* end confdefs.h.  */
17641#include <errno.h>
17642int
17643main ()
17644{
17645int i = ENOSTR;
17646  ;
17647  return 0;
17648}
17649_ACEOF
17650if ac_fn_c_try_compile "$LINENO"; then :
17651  glibcxx_cv_system_error7=yes
17652else
17653  glibcxx_cv_system_error7=no
17654fi
17655rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17656
17657fi
17658
17659{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17660$as_echo "$glibcxx_cv_system_error7" >&6; }
17661if test x"$glibcxx_cv_system_error7" = x"yes"; then
17662
17663$as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17664
17665fi
17666{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17667$as_echo_n "checking for ETIME... " >&6; }
17668if test "${glibcxx_cv_system_error8+set}" = set; then :
17669  $as_echo_n "(cached) " >&6
17670else
17671
17672cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17673/* end confdefs.h.  */
17674#include <errno.h>
17675int
17676main ()
17677{
17678int i = ETIME;
17679  ;
17680  return 0;
17681}
17682_ACEOF
17683if ac_fn_c_try_compile "$LINENO"; then :
17684  glibcxx_cv_system_error8=yes
17685else
17686  glibcxx_cv_system_error8=no
17687fi
17688rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17689
17690fi
17691
17692{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17693$as_echo "$glibcxx_cv_system_error8" >&6; }
17694if test x"$glibcxx_cv_system_error8" = x"yes"; then
17695
17696$as_echo "#define HAVE_ETIME 1" >>confdefs.h
17697
17698fi
17699{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17700$as_echo_n "checking for EBADMSG... " >&6; }
17701if test "${glibcxx_cv_system_error9+set}" = set; then :
17702  $as_echo_n "(cached) " >&6
17703else
17704
17705cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17706/* end confdefs.h.  */
17707#include <errno.h>
17708int
17709main ()
17710{
17711int i = EBADMSG;
17712  ;
17713  return 0;
17714}
17715_ACEOF
17716if ac_fn_c_try_compile "$LINENO"; then :
17717  glibcxx_cv_system_error9=yes
17718else
17719  glibcxx_cv_system_error9=no
17720fi
17721rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17722
17723fi
17724
17725{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17726$as_echo "$glibcxx_cv_system_error9" >&6; }
17727if test x"$glibcxx_cv_system_error9" = x"yes"; then
17728
17729$as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17730
17731fi
17732{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17733$as_echo_n "checking for ECANCELED... " >&6; }
17734if test "${glibcxx_cv_system_error10+set}" = set; then :
17735  $as_echo_n "(cached) " >&6
17736else
17737
17738cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17739/* end confdefs.h.  */
17740#include <errno.h>
17741int
17742main ()
17743{
17744int i = ECANCELED;
17745  ;
17746  return 0;
17747}
17748_ACEOF
17749if ac_fn_c_try_compile "$LINENO"; then :
17750  glibcxx_cv_system_error10=yes
17751else
17752  glibcxx_cv_system_error10=no
17753fi
17754rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17755
17756fi
17757
17758{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17759$as_echo "$glibcxx_cv_system_error10" >&6; }
17760if test x"$glibcxx_cv_system_error10" = x"yes"; then
17761
17762$as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17763
17764fi
17765{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17766$as_echo_n "checking for EOVERFLOW... " >&6; }
17767if test "${glibcxx_cv_system_error11+set}" = set; then :
17768  $as_echo_n "(cached) " >&6
17769else
17770
17771cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17772/* end confdefs.h.  */
17773#include <errno.h>
17774int
17775main ()
17776{
17777int i = EOVERFLOW;
17778  ;
17779  return 0;
17780}
17781_ACEOF
17782if ac_fn_c_try_compile "$LINENO"; then :
17783  glibcxx_cv_system_error11=yes
17784else
17785  glibcxx_cv_system_error11=no
17786fi
17787rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17788
17789fi
17790
17791{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17792$as_echo "$glibcxx_cv_system_error11" >&6; }
17793if test x"$glibcxx_cv_system_error11" = x"yes"; then
17794
17795$as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17796
17797fi
17798{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17799$as_echo_n "checking for ENOTSUP... " >&6; }
17800if test "${glibcxx_cv_system_error12+set}" = set; then :
17801  $as_echo_n "(cached) " >&6
17802else
17803
17804cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17805/* end confdefs.h.  */
17806#include <errno.h>
17807int
17808main ()
17809{
17810int i = ENOTSUP;
17811  ;
17812  return 0;
17813}
17814_ACEOF
17815if ac_fn_c_try_compile "$LINENO"; then :
17816  glibcxx_cv_system_error12=yes
17817else
17818  glibcxx_cv_system_error12=no
17819fi
17820rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17821
17822fi
17823
17824{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17825$as_echo "$glibcxx_cv_system_error12" >&6; }
17826if test x"$glibcxx_cv_system_error12" = x"yes"; then
17827
17828$as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17829
17830fi
17831{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17832$as_echo_n "checking for EIDRM... " >&6; }
17833if test "${glibcxx_cv_system_error13+set}" = set; then :
17834  $as_echo_n "(cached) " >&6
17835else
17836
17837cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17838/* end confdefs.h.  */
17839#include <errno.h>
17840int
17841main ()
17842{
17843int i = EIDRM;
17844  ;
17845  return 0;
17846}
17847_ACEOF
17848if ac_fn_c_try_compile "$LINENO"; then :
17849  glibcxx_cv_system_error13=yes
17850else
17851  glibcxx_cv_system_error13=no
17852fi
17853rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17854
17855fi
17856
17857{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17858$as_echo "$glibcxx_cv_system_error13" >&6; }
17859if test x"$glibcxx_cv_system_error13" = x"yes"; then
17860
17861$as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17862
17863fi
17864{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17865$as_echo_n "checking for ETXTBSY... " >&6; }
17866if test "${glibcxx_cv_system_error14+set}" = set; then :
17867  $as_echo_n "(cached) " >&6
17868else
17869
17870cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17871/* end confdefs.h.  */
17872#include <errno.h>
17873int
17874main ()
17875{
17876int i = ETXTBSY;
17877  ;
17878  return 0;
17879}
17880_ACEOF
17881if ac_fn_c_try_compile "$LINENO"; then :
17882  glibcxx_cv_system_error14=yes
17883else
17884  glibcxx_cv_system_error14=no
17885fi
17886rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17887
17888fi
17889
17890{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17891$as_echo "$glibcxx_cv_system_error14" >&6; }
17892if test x"$glibcxx_cv_system_error14" = x"yes"; then
17893
17894$as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17895
17896fi
17897{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
17898$as_echo_n "checking for ECHILD... " >&6; }
17899if test "${glibcxx_cv_system_error15+set}" = set; then :
17900  $as_echo_n "(cached) " >&6
17901else
17902
17903cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17904/* end confdefs.h.  */
17905#include <errno.h>
17906int
17907main ()
17908{
17909int i = ECHILD;
17910  ;
17911  return 0;
17912}
17913_ACEOF
17914if ac_fn_c_try_compile "$LINENO"; then :
17915  glibcxx_cv_system_error15=yes
17916else
17917  glibcxx_cv_system_error15=no
17918fi
17919rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17920
17921fi
17922
17923{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
17924$as_echo "$glibcxx_cv_system_error15" >&6; }
17925if test x"$glibcxx_cv_system_error15" = x"yes"; then
17926
17927$as_echo "#define HAVE_ECHILD 1" >>confdefs.h
17928
17929fi
17930{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
17931$as_echo_n "checking for ENOSPC... " >&6; }
17932if test "${glibcxx_cv_system_error16+set}" = set; then :
17933  $as_echo_n "(cached) " >&6
17934else
17935
17936cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17937/* end confdefs.h.  */
17938#include <errno.h>
17939int
17940main ()
17941{
17942int i = ENOSPC;
17943  ;
17944  return 0;
17945}
17946_ACEOF
17947if ac_fn_c_try_compile "$LINENO"; then :
17948  glibcxx_cv_system_error16=yes
17949else
17950  glibcxx_cv_system_error16=no
17951fi
17952rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17953
17954fi
17955
17956{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
17957$as_echo "$glibcxx_cv_system_error16" >&6; }
17958if test x"$glibcxx_cv_system_error16" = x"yes"; then
17959
17960$as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
17961
17962fi
17963{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
17964$as_echo_n "checking for EPERM... " >&6; }
17965if test "${glibcxx_cv_system_error17+set}" = set; then :
17966  $as_echo_n "(cached) " >&6
17967else
17968
17969cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17970/* end confdefs.h.  */
17971#include <errno.h>
17972int
17973main ()
17974{
17975int i = EPERM;
17976  ;
17977  return 0;
17978}
17979_ACEOF
17980if ac_fn_c_try_compile "$LINENO"; then :
17981  glibcxx_cv_system_error17=yes
17982else
17983  glibcxx_cv_system_error17=no
17984fi
17985rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17986
17987fi
17988
17989{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
17990$as_echo "$glibcxx_cv_system_error17" >&6; }
17991if test x"$glibcxx_cv_system_error17" = x"yes"; then
17992
17993$as_echo "#define HAVE_EPERM 1" >>confdefs.h
17994
17995fi
17996{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
17997$as_echo_n "checking for ETIMEDOUT... " >&6; }
17998if test "${glibcxx_cv_system_error18+set}" = set; then :
17999  $as_echo_n "(cached) " >&6
18000else
18001
18002cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18003/* end confdefs.h.  */
18004#include <errno.h>
18005int
18006main ()
18007{
18008int i = ETIMEDOUT;
18009  ;
18010  return 0;
18011}
18012_ACEOF
18013if ac_fn_c_try_compile "$LINENO"; then :
18014  glibcxx_cv_system_error18=yes
18015else
18016  glibcxx_cv_system_error18=no
18017fi
18018rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18019
18020fi
18021
18022{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
18023$as_echo "$glibcxx_cv_system_error18" >&6; }
18024if test x"$glibcxx_cv_system_error18" = x"yes"; then
18025
18026$as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
18027
18028fi
18029{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
18030$as_echo_n "checking for EWOULDBLOCK... " >&6; }
18031if test "${glibcxx_cv_system_error19+set}" = set; then :
18032  $as_echo_n "(cached) " >&6
18033else
18034
18035cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18036/* end confdefs.h.  */
18037#include <errno.h>
18038int
18039main ()
18040{
18041int i = EWOULDBLOCK;
18042  ;
18043  return 0;
18044}
18045_ACEOF
18046if ac_fn_c_try_compile "$LINENO"; then :
18047  glibcxx_cv_system_error19=yes
18048else
18049  glibcxx_cv_system_error19=no
18050fi
18051rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18052
18053fi
18054
18055{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
18056$as_echo "$glibcxx_cv_system_error19" >&6; }
18057if test x"$glibcxx_cv_system_error19" = x"yes"; then
18058
18059$as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
18060
18061fi
18062
18063
18064
18065# For the streamoff typedef.
18066
18067
18068
18069  ac_ext=cpp
18070ac_cpp='$CXXCPP $CPPFLAGS'
18071ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18072ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18073ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18074
18075
18076  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
18077$as_echo_n "checking for int64_t... " >&6; }
18078  if test "${glibcxx_cv_INT64_T+set}" = set; then :
18079  $as_echo_n "(cached) " >&6
18080else
18081
18082    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18083/* end confdefs.h.  */
18084#include <stdint.h>
18085int
18086main ()
18087{
18088int64_t var;
18089  ;
18090  return 0;
18091}
18092_ACEOF
18093if ac_fn_cxx_try_compile "$LINENO"; then :
18094  glibcxx_cv_INT64_T=yes
18095else
18096  glibcxx_cv_INT64_T=no
18097fi
18098rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18099
18100fi
18101
18102
18103  if test $glibcxx_cv_INT64_T = yes; then
18104
18105$as_echo "#define HAVE_INT64_T 1" >>confdefs.h
18106
18107    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
18108$as_echo "$glibcxx_cv_INT64_T" >&6; }
18109
18110    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
18111$as_echo_n "checking for int64_t as long... " >&6; }
18112    if test "${glibcxx_cv_int64_t_long+set}" = set; then :
18113  $as_echo_n "(cached) " >&6
18114else
18115
18116      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18117/* end confdefs.h.  */
18118#include <stdint.h>
18119	template<typename, typename> struct same { enum { value = -1 }; };
18120	template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18121	int array[same<int64_t, long>::value];
18122int
18123main ()
18124{
18125
18126  ;
18127  return 0;
18128}
18129_ACEOF
18130if ac_fn_cxx_try_compile "$LINENO"; then :
18131  glibcxx_cv_int64_t_long=yes
18132else
18133  glibcxx_cv_int64_t_long=no
18134fi
18135rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18136
18137fi
18138
18139
18140    if test $glibcxx_cv_int64_t_long = yes; then
18141
18142$as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
18143
18144      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
18145$as_echo "$glibcxx_cv_int64_t_long" >&6; }
18146    fi
18147
18148    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
18149$as_echo_n "checking for int64_t as long long... " >&6; }
18150    if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
18151  $as_echo_n "(cached) " >&6
18152else
18153
18154      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18155/* end confdefs.h.  */
18156#include <stdint.h>
18157	template<typename, typename> struct same { enum { value = -1 }; };
18158	template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18159	int array[same<int64_t, long long>::value];
18160int
18161main ()
18162{
18163
18164  ;
18165  return 0;
18166}
18167_ACEOF
18168if ac_fn_cxx_try_compile "$LINENO"; then :
18169  glibcxx_cv_int64_t_long_long=yes
18170else
18171  glibcxx_cv_int64_t_long_long=no
18172fi
18173rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18174
18175fi
18176
18177
18178    if test $glibcxx_cv_int64_t_long_long = yes; then
18179
18180$as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
18181
18182      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
18183$as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
18184    fi
18185  fi
18186
18187  ac_ext=c
18188ac_cpp='$CPP $CPPFLAGS'
18189ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18190ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18191ac_compiler_gnu=$ac_cv_c_compiler_gnu
18192
18193
18194
18195# For LFS support.
18196
18197
18198  ac_ext=cpp
18199ac_cpp='$CXXCPP $CPPFLAGS'
18200ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18201ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18202ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18203
18204  ac_save_CXXFLAGS="$CXXFLAGS"
18205  CXXFLAGS="$CXXFLAGS -fno-exceptions"
18206  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
18207$as_echo_n "checking for LFS support... " >&6; }
18208  if test "${glibcxx_cv_LFS+set}" = set; then :
18209  $as_echo_n "(cached) " >&6
18210else
18211
18212    if test x$gcc_no_link = xyes; then
18213  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18214/* end confdefs.h.  */
18215#include <unistd.h>
18216       #include <stdio.h>
18217       #include <sys/stat.h>
18218
18219int
18220main ()
18221{
18222FILE* fp;
18223       fopen64("t", "w");
18224       fseeko64(fp, 0, SEEK_CUR);
18225       ftello64(fp);
18226       lseek64(1, 0, SEEK_CUR);
18227       struct stat64 buf;
18228       fstat64(1, &buf);
18229  ;
18230  return 0;
18231}
18232_ACEOF
18233if ac_fn_cxx_try_compile "$LINENO"; then :
18234  glibcxx_cv_LFS=yes
18235else
18236  glibcxx_cv_LFS=no
18237fi
18238rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18239else
18240  if test x$gcc_no_link = xyes; then
18241  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18242fi
18243cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18244/* end confdefs.h.  */
18245#include <unistd.h>
18246       #include <stdio.h>
18247       #include <sys/stat.h>
18248
18249int
18250main ()
18251{
18252FILE* fp;
18253       fopen64("t", "w");
18254       fseeko64(fp, 0, SEEK_CUR);
18255       ftello64(fp);
18256       lseek64(1, 0, SEEK_CUR);
18257       struct stat64 buf;
18258       fstat64(1, &buf);
18259  ;
18260  return 0;
18261}
18262_ACEOF
18263if ac_fn_cxx_try_link "$LINENO"; then :
18264  glibcxx_cv_LFS=yes
18265else
18266  glibcxx_cv_LFS=no
18267fi
18268rm -f core conftest.err conftest.$ac_objext \
18269    conftest$ac_exeext conftest.$ac_ext
18270fi
18271
18272fi
18273
18274  if test $glibcxx_cv_LFS = yes; then
18275
18276$as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
18277
18278  fi
18279  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
18280$as_echo "$glibcxx_cv_LFS" >&6; }
18281  CXXFLAGS="$ac_save_CXXFLAGS"
18282  ac_ext=c
18283ac_cpp='$CPP $CPPFLAGS'
18284ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18285ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18286ac_compiler_gnu=$ac_cv_c_compiler_gnu
18287
18288
18289
18290# For showmanyc_helper().
18291for ac_header in sys/ioctl.h sys/filio.h
18292do :
18293  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18294ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18295eval as_val=\$$as_ac_Header
18296   if test "x$as_val" = x""yes; then :
18297  cat >>confdefs.h <<_ACEOF
18298#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18299_ACEOF
18300
18301fi
18302
18303done
18304
18305
18306
18307
18308  ac_ext=cpp
18309ac_cpp='$CXXCPP $CPPFLAGS'
18310ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18311ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18312ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18313
18314  ac_save_CXXFLAGS="$CXXFLAGS"
18315  CXXFLAGS="$CXXFLAGS -fno-exceptions"
18316
18317  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
18318$as_echo_n "checking for poll... " >&6; }
18319  if test "${glibcxx_cv_POLL+set}" = set; then :
18320  $as_echo_n "(cached) " >&6
18321else
18322
18323    if test x$gcc_no_link = xyes; then
18324  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18325/* end confdefs.h.  */
18326#include <poll.h>
18327int
18328main ()
18329{
18330struct pollfd pfd[1];
18331       pfd[0].events = POLLIN;
18332       poll(pfd, 1, 0);
18333  ;
18334  return 0;
18335}
18336_ACEOF
18337if ac_fn_cxx_try_compile "$LINENO"; then :
18338  glibcxx_cv_POLL=yes
18339else
18340  glibcxx_cv_POLL=no
18341fi
18342rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18343else
18344  if test x$gcc_no_link = xyes; then
18345  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18346fi
18347cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18348/* end confdefs.h.  */
18349#include <poll.h>
18350int
18351main ()
18352{
18353struct pollfd pfd[1];
18354       pfd[0].events = POLLIN;
18355       poll(pfd, 1, 0);
18356  ;
18357  return 0;
18358}
18359_ACEOF
18360if ac_fn_cxx_try_link "$LINENO"; then :
18361  glibcxx_cv_POLL=yes
18362else
18363  glibcxx_cv_POLL=no
18364fi
18365rm -f core conftest.err conftest.$ac_objext \
18366    conftest$ac_exeext conftest.$ac_ext
18367fi
18368
18369fi
18370
18371  if test $glibcxx_cv_POLL = yes; then
18372
18373$as_echo "#define HAVE_POLL 1" >>confdefs.h
18374
18375  fi
18376  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
18377$as_echo "$glibcxx_cv_POLL" >&6; }
18378
18379  CXXFLAGS="$ac_save_CXXFLAGS"
18380  ac_ext=c
18381ac_cpp='$CPP $CPPFLAGS'
18382ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18383ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18384ac_compiler_gnu=$ac_cv_c_compiler_gnu
18385
18386
18387
18388
18389
18390  ac_ext=cpp
18391ac_cpp='$CXXCPP $CPPFLAGS'
18392ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18393ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18394ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18395
18396  ac_save_CXXFLAGS="$CXXFLAGS"
18397  CXXFLAGS="$CXXFLAGS -fno-exceptions"
18398
18399  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
18400$as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
18401  if test "${glibcxx_cv_S_ISREG+set}" = set; then :
18402  $as_echo_n "(cached) " >&6
18403else
18404
18405    if test x$gcc_no_link = xyes; then
18406  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18407/* end confdefs.h.  */
18408#include <sys/stat.h>
18409int
18410main ()
18411{
18412struct stat buffer;
18413       fstat(0, &buffer);
18414       S_ISREG(buffer.st_mode);
18415  ;
18416  return 0;
18417}
18418_ACEOF
18419if ac_fn_cxx_try_compile "$LINENO"; then :
18420  glibcxx_cv_S_ISREG=yes
18421else
18422  glibcxx_cv_S_ISREG=no
18423fi
18424rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18425else
18426  if test x$gcc_no_link = xyes; then
18427  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18428fi
18429cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18430/* end confdefs.h.  */
18431#include <sys/stat.h>
18432int
18433main ()
18434{
18435struct stat buffer;
18436       fstat(0, &buffer);
18437       S_ISREG(buffer.st_mode);
18438  ;
18439  return 0;
18440}
18441_ACEOF
18442if ac_fn_cxx_try_link "$LINENO"; then :
18443  glibcxx_cv_S_ISREG=yes
18444else
18445  glibcxx_cv_S_ISREG=no
18446fi
18447rm -f core conftest.err conftest.$ac_objext \
18448    conftest$ac_exeext conftest.$ac_ext
18449fi
18450
18451fi
18452
18453  if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18454  $as_echo_n "(cached) " >&6
18455else
18456
18457    if test x$gcc_no_link = xyes; then
18458  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18459/* end confdefs.h.  */
18460#include <sys/stat.h>
18461int
18462main ()
18463{
18464struct stat buffer;
18465       fstat(0, &buffer);
18466       S_IFREG & buffer.st_mode;
18467  ;
18468  return 0;
18469}
18470_ACEOF
18471if ac_fn_cxx_try_compile "$LINENO"; then :
18472  glibcxx_cv_S_IFREG=yes
18473else
18474  glibcxx_cv_S_IFREG=no
18475fi
18476rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18477else
18478  if test x$gcc_no_link = xyes; then
18479  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18480fi
18481cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18482/* end confdefs.h.  */
18483#include <sys/stat.h>
18484int
18485main ()
18486{
18487struct stat buffer;
18488       fstat(0, &buffer);
18489       S_IFREG & buffer.st_mode;
18490  ;
18491  return 0;
18492}
18493_ACEOF
18494if ac_fn_cxx_try_link "$LINENO"; then :
18495  glibcxx_cv_S_IFREG=yes
18496else
18497  glibcxx_cv_S_IFREG=no
18498fi
18499rm -f core conftest.err conftest.$ac_objext \
18500    conftest$ac_exeext conftest.$ac_ext
18501fi
18502
18503fi
18504
18505  res=no
18506  if test $glibcxx_cv_S_ISREG = yes; then
18507
18508$as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18509
18510    res=S_ISREG
18511  elif test $glibcxx_cv_S_IFREG = yes; then
18512
18513$as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18514
18515    res=S_IFREG
18516  fi
18517  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18518$as_echo "$res" >&6; }
18519
18520  CXXFLAGS="$ac_save_CXXFLAGS"
18521  ac_ext=c
18522ac_cpp='$CPP $CPPFLAGS'
18523ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18524ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18525ac_compiler_gnu=$ac_cv_c_compiler_gnu
18526
18527
18528
18529# For xsputn_2().
18530for ac_header in sys/uio.h
18531do :
18532  ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18533if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18534  cat >>confdefs.h <<_ACEOF
18535#define HAVE_SYS_UIO_H 1
18536_ACEOF
18537
18538fi
18539
18540done
18541
18542
18543
18544
18545  ac_ext=cpp
18546ac_cpp='$CXXCPP $CPPFLAGS'
18547ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18548ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18549ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18550
18551  ac_save_CXXFLAGS="$CXXFLAGS"
18552  CXXFLAGS="$CXXFLAGS -fno-exceptions"
18553
18554  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18555$as_echo_n "checking for writev... " >&6; }
18556  if test "${glibcxx_cv_WRITEV+set}" = set; then :
18557  $as_echo_n "(cached) " >&6
18558else
18559
18560    if test x$gcc_no_link = xyes; then
18561  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18562/* end confdefs.h.  */
18563#include <sys/uio.h>
18564int
18565main ()
18566{
18567struct iovec iov[2];
18568       writev(0, iov, 0);
18569  ;
18570  return 0;
18571}
18572_ACEOF
18573if ac_fn_cxx_try_compile "$LINENO"; then :
18574  glibcxx_cv_WRITEV=yes
18575else
18576  glibcxx_cv_WRITEV=no
18577fi
18578rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18579else
18580  if test x$gcc_no_link = xyes; then
18581  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18582fi
18583cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18584/* end confdefs.h.  */
18585#include <sys/uio.h>
18586int
18587main ()
18588{
18589struct iovec iov[2];
18590       writev(0, iov, 0);
18591  ;
18592  return 0;
18593}
18594_ACEOF
18595if ac_fn_cxx_try_link "$LINENO"; then :
18596  glibcxx_cv_WRITEV=yes
18597else
18598  glibcxx_cv_WRITEV=no
18599fi
18600rm -f core conftest.err conftest.$ac_objext \
18601    conftest$ac_exeext conftest.$ac_ext
18602fi
18603
18604fi
18605
18606  if test $glibcxx_cv_WRITEV = yes; then
18607
18608$as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18609
18610  fi
18611  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18612$as_echo "$glibcxx_cv_WRITEV" >&6; }
18613
18614  CXXFLAGS="$ac_save_CXXFLAGS"
18615  ac_ext=c
18616ac_cpp='$CPP $CPPFLAGS'
18617ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18618ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18619ac_compiler_gnu=$ac_cv_c_compiler_gnu
18620
18621
18622
18623# For C99 support to TR1.
18624
18625
18626
18627  ac_ext=cpp
18628ac_cpp='$CXXCPP $CPPFLAGS'
18629ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18630ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18631ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18632
18633
18634  # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18635  # undefined and fake C99 facilities may be spuriously enabled.
18636  ac_save_CXXFLAGS="$CXXFLAGS"
18637  CXXFLAGS="$CXXFLAGS -std=c++98"
18638
18639  # Check for the existence of <complex.h> complex math functions used
18640  # by tr1/complex.
18641  for ac_header in complex.h
18642do :
18643  ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18644if test "x$ac_cv_header_complex_h" = x""yes; then :
18645  cat >>confdefs.h <<_ACEOF
18646#define HAVE_COMPLEX_H 1
18647_ACEOF
18648 ac_has_complex_h=yes
18649else
18650  ac_has_complex_h=no
18651fi
18652
18653done
18654
18655  ac_c99_complex_tr1=no;
18656  if test x"$ac_has_complex_h" = x"yes"; then
18657    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18658$as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18659    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18660/* end confdefs.h.  */
18661#include <complex.h>
18662int
18663main ()
18664{
18665typedef __complex__ float float_type; float_type tmpf;
18666		    cacosf(tmpf);
18667		    casinf(tmpf);
18668		    catanf(tmpf);
18669		    cacoshf(tmpf);
18670		    casinhf(tmpf);
18671		    catanhf(tmpf);
18672		    typedef __complex__ double double_type; double_type tmpd;
18673		    cacos(tmpd);
18674		    casin(tmpd);
18675		    catan(tmpd);
18676		    cacosh(tmpd);
18677		    casinh(tmpd);
18678		    catanh(tmpd);
18679		    typedef __complex__ long double ld_type; ld_type tmpld;
18680		    cacosl(tmpld);
18681		    casinl(tmpld);
18682		    catanl(tmpld);
18683		    cacoshl(tmpld);
18684		    casinhl(tmpld);
18685		    catanhl(tmpld);
18686
18687  ;
18688  return 0;
18689}
18690_ACEOF
18691if ac_fn_cxx_try_compile "$LINENO"; then :
18692  ac_c99_complex_tr1=yes
18693else
18694  ac_c99_complex_tr1=no
18695fi
18696rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18697  fi
18698  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18699$as_echo "$ac_c99_complex_tr1" >&6; }
18700  if test x"$ac_c99_complex_tr1" = x"yes"; then
18701
18702$as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18703
18704  fi
18705
18706  # Check for the existence of <ctype.h> functions.
18707  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18708$as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18709  if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18710  $as_echo_n "(cached) " >&6
18711else
18712
18713  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18714/* end confdefs.h.  */
18715#include <ctype.h>
18716int
18717main ()
18718{
18719int ch;
18720		  int ret;
18721		  ret = isblank(ch);
18722
18723  ;
18724  return 0;
18725}
18726_ACEOF
18727if ac_fn_cxx_try_compile "$LINENO"; then :
18728  glibcxx_cv_c99_ctype_tr1=yes
18729else
18730  glibcxx_cv_c99_ctype_tr1=no
18731fi
18732rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18733
18734fi
18735
18736  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18737$as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18738  if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18739
18740$as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18741
18742  fi
18743
18744  # Check for the existence of <fenv.h> functions.
18745  for ac_header in fenv.h
18746do :
18747  ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18748if test "x$ac_cv_header_fenv_h" = x""yes; then :
18749  cat >>confdefs.h <<_ACEOF
18750#define HAVE_FENV_H 1
18751_ACEOF
18752 ac_has_fenv_h=yes
18753else
18754  ac_has_fenv_h=no
18755fi
18756
18757done
18758
18759  ac_c99_fenv_tr1=no;
18760  if test x"$ac_has_fenv_h" = x"yes"; then
18761    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18762$as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18763    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18764/* end confdefs.h.  */
18765#include <fenv.h>
18766int
18767main ()
18768{
18769int except, mode;
18770		    fexcept_t* pflag;
18771		    fenv_t* penv;
18772		    int ret;
18773		    ret = feclearexcept(except);
18774		    ret = fegetexceptflag(pflag, except);
18775		    ret = feraiseexcept(except);
18776		    ret = fesetexceptflag(pflag, except);
18777		    ret = fetestexcept(except);
18778		    ret = fegetround();
18779		    ret = fesetround(mode);
18780		    ret = fegetenv(penv);
18781		    ret = feholdexcept(penv);
18782		    ret = fesetenv(penv);
18783		    ret = feupdateenv(penv);
18784
18785  ;
18786  return 0;
18787}
18788_ACEOF
18789if ac_fn_cxx_try_compile "$LINENO"; then :
18790  ac_c99_fenv_tr1=yes
18791else
18792  ac_c99_fenv_tr1=no
18793fi
18794rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18795  fi
18796  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18797$as_echo "$ac_c99_fenv_tr1" >&6; }
18798  if test x"$ac_c99_fenv_tr1" = x"yes"; then
18799
18800$as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18801
18802  fi
18803
18804  # Check for the existence of <stdint.h> types.
18805  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18806$as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18807  if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18808  $as_echo_n "(cached) " >&6
18809else
18810
18811  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18812/* end confdefs.h.  */
18813#define __STDC_LIMIT_MACROS
18814		  #define __STDC_CONSTANT_MACROS
18815		  #include <stdint.h>
18816int
18817main ()
18818{
18819typedef int8_t          my_int8_t;
18820		  my_int8_t               i8 = INT8_MIN;
18821		  i8 = INT8_MAX;
18822		  typedef int16_t         my_int16_t;
18823		  my_int16_t              i16 = INT16_MIN;
18824		  i16 = INT16_MAX;
18825		  typedef int32_t         my_int32_t;
18826		  my_int32_t              i32 = INT32_MIN;
18827		  i32 = INT32_MAX;
18828		  typedef int64_t         my_int64_t;
18829		  my_int64_t              i64 = INT64_MIN;
18830		  i64 = INT64_MAX;
18831		  typedef int_fast8_t     my_int_fast8_t;
18832		  my_int_fast8_t          if8 = INT_FAST8_MIN;
18833		  if8 = INT_FAST8_MAX;
18834		  typedef int_fast16_t    my_int_fast16_t;
18835		  my_int_fast16_t         if16 = INT_FAST16_MIN;
18836		  if16 = INT_FAST16_MAX;
18837		  typedef int_fast32_t    my_int_fast32_t;
18838		  my_int_fast32_t         if32 = INT_FAST32_MIN;
18839		  if32 = INT_FAST32_MAX;
18840		  typedef int_fast64_t    my_int_fast64_t;
18841		  my_int_fast64_t         if64 = INT_FAST64_MIN;
18842		  if64 = INT_FAST64_MAX;
18843		  typedef int_least8_t    my_int_least8_t;
18844		  my_int_least8_t         il8 = INT_LEAST8_MIN;
18845		  il8 = INT_LEAST8_MAX;
18846		  typedef int_least16_t   my_int_least16_t;
18847		  my_int_least16_t        il16 = INT_LEAST16_MIN;
18848		  il16 = INT_LEAST16_MAX;
18849		  typedef int_least32_t   my_int_least32_t;
18850		  my_int_least32_t        il32 = INT_LEAST32_MIN;
18851		  il32 = INT_LEAST32_MAX;
18852		  typedef int_least64_t   my_int_least64_t;
18853		  my_int_least64_t        il64 = INT_LEAST64_MIN;
18854		  il64 = INT_LEAST64_MAX;
18855		  typedef intmax_t        my_intmax_t;
18856		  my_intmax_t             im = INTMAX_MAX;
18857		  im = INTMAX_MIN;
18858		  typedef intptr_t        my_intptr_t;
18859		  my_intptr_t             ip = INTPTR_MAX;
18860		  ip = INTPTR_MIN;
18861		  typedef uint8_t         my_uint8_t;
18862		  my_uint8_t              ui8 = UINT8_MAX;
18863		  ui8 = UINT8_MAX;
18864		  typedef uint16_t        my_uint16_t;
18865		  my_uint16_t             ui16 = UINT16_MAX;
18866		  ui16 = UINT16_MAX;
18867		  typedef uint32_t        my_uint32_t;
18868		  my_uint32_t             ui32 = UINT32_MAX;
18869		  ui32 = UINT32_MAX;
18870		  typedef uint64_t        my_uint64_t;
18871		  my_uint64_t             ui64 = UINT64_MAX;
18872		  ui64 = UINT64_MAX;
18873		  typedef uint_fast8_t    my_uint_fast8_t;
18874		  my_uint_fast8_t         uif8 = UINT_FAST8_MAX;
18875		  uif8 = UINT_FAST8_MAX;
18876		  typedef uint_fast16_t   my_uint_fast16_t;
18877		  my_uint_fast16_t        uif16 = UINT_FAST16_MAX;
18878		  uif16 = UINT_FAST16_MAX;
18879		  typedef uint_fast32_t   my_uint_fast32_t;
18880		  my_uint_fast32_t        uif32 = UINT_FAST32_MAX;
18881		  uif32 = UINT_FAST32_MAX;
18882		  typedef uint_fast64_t   my_uint_fast64_t;
18883		  my_uint_fast64_t        uif64 = UINT_FAST64_MAX;
18884		  uif64 = UINT_FAST64_MAX;
18885		  typedef uint_least8_t   my_uint_least8_t;
18886		  my_uint_least8_t        uil8 = UINT_LEAST8_MAX;
18887		  uil8 = UINT_LEAST8_MAX;
18888		  typedef uint_least16_t  my_uint_least16_t;
18889		  my_uint_least16_t       uil16 = UINT_LEAST16_MAX;
18890		  uil16 = UINT_LEAST16_MAX;
18891		  typedef uint_least32_t  my_uint_least32_t;
18892		  my_uint_least32_t       uil32 = UINT_LEAST32_MAX;
18893		  uil32 = UINT_LEAST32_MAX;
18894		  typedef uint_least64_t  my_uint_least64_t;
18895		  my_uint_least64_t       uil64 = UINT_LEAST64_MAX;
18896		  uil64 = UINT_LEAST64_MAX;
18897		  typedef uintmax_t       my_uintmax_t;
18898		  my_uintmax_t            uim = UINTMAX_MAX;
18899		  uim = UINTMAX_MAX;
18900		  typedef uintptr_t       my_uintptr_t;
18901		  my_uintptr_t            uip = UINTPTR_MAX;
18902		  uip = UINTPTR_MAX;
18903
18904  ;
18905  return 0;
18906}
18907_ACEOF
18908if ac_fn_cxx_try_compile "$LINENO"; then :
18909  glibcxx_cv_c99_stdint_tr1=yes
18910else
18911  glibcxx_cv_c99_stdint_tr1=no
18912fi
18913rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18914
18915fi
18916
18917  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18918$as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18919  if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18920
18921$as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18922
18923  fi
18924
18925  # Check for the existence of <math.h> functions.
18926  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
18927$as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
18928  if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
18929  $as_echo_n "(cached) " >&6
18930else
18931
18932  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18933/* end confdefs.h.  */
18934#include <math.h>
18935int
18936main ()
18937{
18938typedef double_t  my_double_t;
18939		  typedef float_t   my_float_t;
18940		  acosh(0.0);
18941		  acoshf(0.0f);
18942		  acoshl(0.0l);
18943		  asinh(0.0);
18944		  asinhf(0.0f);
18945		  asinhl(0.0l);
18946		  atanh(0.0);
18947		  atanhf(0.0f);
18948		  atanhl(0.0l);
18949		  cbrt(0.0);
18950		  cbrtf(0.0f);
18951		  cbrtl(0.0l);
18952		  copysign(0.0, 0.0);
18953		  copysignf(0.0f, 0.0f);
18954		  copysignl(0.0l, 0.0l);
18955		  erf(0.0);
18956		  erff(0.0f);
18957		  erfl(0.0l);
18958		  erfc(0.0);
18959		  erfcf(0.0f);
18960		  erfcl(0.0l);
18961		  exp2(0.0);
18962		  exp2f(0.0f);
18963		  exp2l(0.0l);
18964		  expm1(0.0);
18965		  expm1f(0.0f);
18966		  expm1l(0.0l);
18967		  fdim(0.0, 0.0);
18968		  fdimf(0.0f, 0.0f);
18969		  fdiml(0.0l, 0.0l);
18970		  fma(0.0, 0.0, 0.0);
18971		  fmaf(0.0f, 0.0f, 0.0f);
18972		  fmal(0.0l, 0.0l, 0.0l);
18973		  fmax(0.0, 0.0);
18974		  fmaxf(0.0f, 0.0f);
18975		  fmaxl(0.0l, 0.0l);
18976		  fmin(0.0, 0.0);
18977		  fminf(0.0f, 0.0f);
18978		  fminl(0.0l, 0.0l);
18979		  hypot(0.0, 0.0);
18980		  hypotf(0.0f, 0.0f);
18981		  hypotl(0.0l, 0.0l);
18982		  ilogb(0.0);
18983		  ilogbf(0.0f);
18984		  ilogbl(0.0l);
18985		  lgamma(0.0);
18986		  lgammaf(0.0f);
18987		  lgammal(0.0l);
18988		  llrint(0.0);
18989		  llrintf(0.0f);
18990		  llrintl(0.0l);
18991		  llround(0.0);
18992		  llroundf(0.0f);
18993		  llroundl(0.0l);
18994		  log1p(0.0);
18995		  log1pf(0.0f);
18996		  log1pl(0.0l);
18997		  log2(0.0);
18998		  log2f(0.0f);
18999		  log2l(0.0l);
19000		  logb(0.0);
19001		  logbf(0.0f);
19002		  logbl(0.0l);
19003		  lrint(0.0);
19004		  lrintf(0.0f);
19005		  lrintl(0.0l);
19006		  lround(0.0);
19007		  lroundf(0.0f);
19008		  lroundl(0.0l);
19009		  nan(0);
19010		  nanf(0);
19011		  nanl(0);
19012		  nearbyint(0.0);
19013		  nearbyintf(0.0f);
19014		  nearbyintl(0.0l);
19015		  nextafter(0.0, 0.0);
19016		  nextafterf(0.0f, 0.0f);
19017		  nextafterl(0.0l, 0.0l);
19018		  nexttoward(0.0, 0.0);
19019		  nexttowardf(0.0f, 0.0f);
19020		  nexttowardl(0.0l, 0.0l);
19021		  remainder(0.0, 0.0);
19022		  remainderf(0.0f, 0.0f);
19023		  remainderl(0.0l, 0.0l);
19024		  remquo(0.0, 0.0, 0);
19025		  remquof(0.0f, 0.0f, 0);
19026		  remquol(0.0l, 0.0l, 0);
19027		  rint(0.0);
19028		  rintf(0.0f);
19029		  rintl(0.0l);
19030		  round(0.0);
19031		  roundf(0.0f);
19032		  roundl(0.0l);
19033		  scalbln(0.0, 0l);
19034		  scalblnf(0.0f, 0l);
19035		  scalblnl(0.0l, 0l);
19036		  scalbn(0.0, 0);
19037		  scalbnf(0.0f, 0);
19038		  scalbnl(0.0l, 0);
19039		  tgamma(0.0);
19040		  tgammaf(0.0f);
19041		  tgammal(0.0l);
19042		  trunc(0.0);
19043		  truncf(0.0f);
19044		  truncl(0.0l);
19045
19046  ;
19047  return 0;
19048}
19049_ACEOF
19050if ac_fn_cxx_try_compile "$LINENO"; then :
19051  glibcxx_cv_c99_math_tr1=yes
19052else
19053  glibcxx_cv_c99_math_tr1=no
19054fi
19055rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19056
19057fi
19058
19059  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
19060$as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
19061  if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
19062
19063$as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
19064
19065  fi
19066
19067  # Check for the existence of <inttypes.h> functions (NB: doesn't make
19068  # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19069  ac_c99_inttypes_tr1=no;
19070  if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19071    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
19072$as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19073    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19074/* end confdefs.h.  */
19075#include <inttypes.h>
19076int
19077main ()
19078{
19079intmax_t i, numer, denom, base;
19080		    const char* s;
19081		    char** endptr;
19082		    intmax_t ret = imaxabs(i);
19083		    imaxdiv_t dret = imaxdiv(numer, denom);
19084		    ret = strtoimax(s, endptr, base);
19085		    uintmax_t uret = strtoumax(s, endptr, base);
19086
19087  ;
19088  return 0;
19089}
19090_ACEOF
19091if ac_fn_cxx_try_compile "$LINENO"; then :
19092  ac_c99_inttypes_tr1=yes
19093else
19094  ac_c99_inttypes_tr1=no
19095fi
19096rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19097  fi
19098  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
19099$as_echo "$ac_c99_inttypes_tr1" >&6; }
19100  if test x"$ac_c99_inttypes_tr1" = x"yes"; then
19101
19102$as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
19103
19104  fi
19105
19106  # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
19107  # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19108  ac_c99_inttypes_wchar_t_tr1=no;
19109  if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19110    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
19111$as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19112    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19113/* end confdefs.h.  */
19114#include <inttypes.h>
19115int
19116main ()
19117{
19118intmax_t base;
19119		    const wchar_t* s;
19120		    wchar_t** endptr;
19121		    intmax_t ret = wcstoimax(s, endptr, base);
19122		    uintmax_t uret = wcstoumax(s, endptr, base);
19123
19124  ;
19125  return 0;
19126}
19127_ACEOF
19128if ac_fn_cxx_try_compile "$LINENO"; then :
19129  ac_c99_inttypes_wchar_t_tr1=yes
19130else
19131  ac_c99_inttypes_wchar_t_tr1=no
19132fi
19133rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19134  fi
19135  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
19136$as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
19137  if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
19138
19139$as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
19140
19141  fi
19142
19143  # Check for the existence of the <stdbool.h> header.
19144  for ac_header in stdbool.h
19145do :
19146  ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
19147if test "x$ac_cv_header_stdbool_h" = x""yes; then :
19148  cat >>confdefs.h <<_ACEOF
19149#define HAVE_STDBOOL_H 1
19150_ACEOF
19151
19152fi
19153
19154done
19155
19156
19157  # Check for the existence of the <stdalign.h> header.
19158  for ac_header in stdalign.h
19159do :
19160  ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
19161if test "x$ac_cv_header_stdalign_h" = x""yes; then :
19162  cat >>confdefs.h <<_ACEOF
19163#define HAVE_STDALIGN_H 1
19164_ACEOF
19165
19166fi
19167
19168done
19169
19170
19171  CXXFLAGS="$ac_save_CXXFLAGS"
19172  ac_ext=c
19173ac_cpp='$CPP $CPPFLAGS'
19174ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19175ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19176ac_compiler_gnu=$ac_cv_c_compiler_gnu
19177
19178
19179
19180# For the EOF, SEEK_CUR, and SEEK_END integer constants.
19181
19182
19183  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
19184$as_echo_n "checking for the value of EOF... " >&6; }
19185if test "${glibcxx_cv_stdio_eof+set}" = set; then :
19186  $as_echo_n "(cached) " >&6
19187else
19188
19189  if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof"        "#include <stdio.h>"; then :
19190
19191else
19192  as_fn_error "computing EOF failed" "$LINENO" 5
19193fi
19194
19195
19196fi
19197{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
19198$as_echo "$glibcxx_cv_stdio_eof" >&6; }
19199
19200cat >>confdefs.h <<_ACEOF
19201#define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
19202_ACEOF
19203
19204
19205  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
19206$as_echo_n "checking for the value of SEEK_CUR... " >&6; }
19207if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
19208  $as_echo_n "(cached) " >&6
19209else
19210
19211  if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur"        "#include <stdio.h>"; then :
19212
19213else
19214  as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
19215fi
19216
19217
19218fi
19219{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
19220$as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
19221
19222cat >>confdefs.h <<_ACEOF
19223#define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
19224_ACEOF
19225
19226
19227  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
19228$as_echo_n "checking for the value of SEEK_END... " >&6; }
19229if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
19230  $as_echo_n "(cached) " >&6
19231else
19232
19233  if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end"        "#include <stdio.h>"; then :
19234
19235else
19236  as_fn_error "computing SEEK_END failed" "$LINENO" 5
19237fi
19238
19239
19240fi
19241{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
19242$as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
19243
19244cat >>confdefs.h <<_ACEOF
19245#define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
19246_ACEOF
19247
19248
19249
19250# For gettimeofday support.
19251
19252
19253  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19254$as_echo_n "checking for gettimeofday... " >&6; }
19255
19256
19257  ac_ext=cpp
19258ac_cpp='$CXXCPP $CPPFLAGS'
19259ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19260ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19261ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19262
19263  ac_save_CXXFLAGS="$CXXFLAGS"
19264  CXXFLAGS="$CXXFLAGS -fno-exceptions"
19265
19266  ac_has_gettimeofday=no;
19267  for ac_header in sys/time.h
19268do :
19269  ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
19270if test "x$ac_cv_header_sys_time_h" = x""yes; then :
19271  cat >>confdefs.h <<_ACEOF
19272#define HAVE_SYS_TIME_H 1
19273_ACEOF
19274 ac_has_sys_time_h=yes
19275else
19276  ac_has_sys_time_h=no
19277fi
19278
19279done
19280
19281  if test x"$ac_has_sys_time_h" = x"yes"; then
19282    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19283$as_echo_n "checking for gettimeofday... " >&6; }
19284    if test x$gcc_no_link = xyes; then
19285  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19286/* end confdefs.h.  */
19287#include <sys/time.h>
19288int
19289main ()
19290{
19291timeval tv; gettimeofday(&tv, 0);
19292  ;
19293  return 0;
19294}
19295_ACEOF
19296if ac_fn_cxx_try_compile "$LINENO"; then :
19297  ac_has_gettimeofday=yes
19298else
19299  ac_has_gettimeofday=no
19300fi
19301rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19302else
19303  if test x$gcc_no_link = xyes; then
19304  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19305fi
19306cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19307/* end confdefs.h.  */
19308#include <sys/time.h>
19309int
19310main ()
19311{
19312timeval tv; gettimeofday(&tv, 0);
19313  ;
19314  return 0;
19315}
19316_ACEOF
19317if ac_fn_cxx_try_link "$LINENO"; then :
19318  ac_has_gettimeofday=yes
19319else
19320  ac_has_gettimeofday=no
19321fi
19322rm -f core conftest.err conftest.$ac_objext \
19323    conftest$ac_exeext conftest.$ac_ext
19324fi
19325
19326    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
19327$as_echo "$ac_has_gettimeofday" >&6; }
19328  fi
19329
19330  if test x"$ac_has_gettimeofday" = x"yes"; then
19331
19332$as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
19333
19334  fi
19335
19336  CXXFLAGS="$ac_save_CXXFLAGS"
19337  ac_ext=c
19338ac_cpp='$CPP $CPPFLAGS'
19339ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19340ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19341ac_compiler_gnu=$ac_cv_c_compiler_gnu
19342
19343
19344
19345# For clock_gettime, nanosleep and sched_yield support.
19346# NB: The default is [no], because otherwise it requires linking.
19347
19348
19349  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime, nanosleep and sched_yield" >&5
19350$as_echo_n "checking for clock_gettime, nanosleep and sched_yield... " >&6; }
19351   # Check whether --enable-libstdcxx-time was given.
19352if test "${enable_libstdcxx_time+set}" = set; then :
19353  enableval=$enable_libstdcxx_time;
19354      case "$enableval" in
19355       yes|no|rt) ;;
19356       *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
19357	  	        esac
19358
19359else
19360  enable_libstdcxx_time=no
19361fi
19362
19363
19364
19365
19366  ac_ext=cpp
19367ac_cpp='$CXXCPP $CPPFLAGS'
19368ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19369ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19370ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19371
19372  ac_save_CXXFLAGS="$CXXFLAGS"
19373  CXXFLAGS="$CXXFLAGS -fno-exceptions"
19374  ac_save_LIBS="$LIBS"
19375
19376  ac_has_clock_monotonic=no
19377  ac_has_clock_realtime=no
19378  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_time" >&5
19379$as_echo "$enable_libstdcxx_time" >&6; }
19380
19381  if test x"$enable_libstdcxx_time" != x"no"; then
19382
19383    if test x"$enable_libstdcxx_time" = x"rt"; then
19384      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19385$as_echo_n "checking for library containing clock_gettime... " >&6; }
19386if test "${ac_cv_search_clock_gettime+set}" = set; then :
19387  $as_echo_n "(cached) " >&6
19388else
19389  ac_func_search_save_LIBS=$LIBS
19390cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19391/* end confdefs.h.  */
19392
19393/* Override any GCC internal prototype to avoid an error.
19394   Use char because int might match the return type of a GCC
19395   builtin and then its argument prototype would still apply.  */
19396#ifdef __cplusplus
19397extern "C"
19398#endif
19399char clock_gettime ();
19400int
19401main ()
19402{
19403return clock_gettime ();
19404  ;
19405  return 0;
19406}
19407_ACEOF
19408for ac_lib in '' rt posix4; do
19409  if test -z "$ac_lib"; then
19410    ac_res="none required"
19411  else
19412    ac_res=-l$ac_lib
19413    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19414  fi
19415  if test x$gcc_no_link = xyes; then
19416  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19417fi
19418if ac_fn_cxx_try_link "$LINENO"; then :
19419  ac_cv_search_clock_gettime=$ac_res
19420fi
19421rm -f core conftest.err conftest.$ac_objext \
19422    conftest$ac_exeext
19423  if test "${ac_cv_search_clock_gettime+set}" = set; then :
19424  break
19425fi
19426done
19427if test "${ac_cv_search_clock_gettime+set}" = set; then :
19428
19429else
19430  ac_cv_search_clock_gettime=no
19431fi
19432rm conftest.$ac_ext
19433LIBS=$ac_func_search_save_LIBS
19434fi
19435{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19436$as_echo "$ac_cv_search_clock_gettime" >&6; }
19437ac_res=$ac_cv_search_clock_gettime
19438if test "$ac_res" != no; then :
19439  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19440
19441fi
19442
19443      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19444$as_echo_n "checking for library containing nanosleep... " >&6; }
19445if test "${ac_cv_search_nanosleep+set}" = set; then :
19446  $as_echo_n "(cached) " >&6
19447else
19448  ac_func_search_save_LIBS=$LIBS
19449cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19450/* end confdefs.h.  */
19451
19452/* Override any GCC internal prototype to avoid an error.
19453   Use char because int might match the return type of a GCC
19454   builtin and then its argument prototype would still apply.  */
19455#ifdef __cplusplus
19456extern "C"
19457#endif
19458char nanosleep ();
19459int
19460main ()
19461{
19462return nanosleep ();
19463  ;
19464  return 0;
19465}
19466_ACEOF
19467for ac_lib in '' rt posix4; do
19468  if test -z "$ac_lib"; then
19469    ac_res="none required"
19470  else
19471    ac_res=-l$ac_lib
19472    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19473  fi
19474  if test x$gcc_no_link = xyes; then
19475  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19476fi
19477if ac_fn_cxx_try_link "$LINENO"; then :
19478  ac_cv_search_nanosleep=$ac_res
19479fi
19480rm -f core conftest.err conftest.$ac_objext \
19481    conftest$ac_exeext
19482  if test "${ac_cv_search_nanosleep+set}" = set; then :
19483  break
19484fi
19485done
19486if test "${ac_cv_search_nanosleep+set}" = set; then :
19487
19488else
19489  ac_cv_search_nanosleep=no
19490fi
19491rm conftest.$ac_ext
19492LIBS=$ac_func_search_save_LIBS
19493fi
19494{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19495$as_echo "$ac_cv_search_nanosleep" >&6; }
19496ac_res=$ac_cv_search_nanosleep
19497if test "$ac_res" != no; then :
19498  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19499
19500fi
19501
19502    else
19503      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19504$as_echo_n "checking for library containing clock_gettime... " >&6; }
19505if test "${ac_cv_search_clock_gettime+set}" = set; then :
19506  $as_echo_n "(cached) " >&6
19507else
19508  ac_func_search_save_LIBS=$LIBS
19509cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19510/* end confdefs.h.  */
19511
19512/* Override any GCC internal prototype to avoid an error.
19513   Use char because int might match the return type of a GCC
19514   builtin and then its argument prototype would still apply.  */
19515#ifdef __cplusplus
19516extern "C"
19517#endif
19518char clock_gettime ();
19519int
19520main ()
19521{
19522return clock_gettime ();
19523  ;
19524  return 0;
19525}
19526_ACEOF
19527for ac_lib in '' posix4; do
19528  if test -z "$ac_lib"; then
19529    ac_res="none required"
19530  else
19531    ac_res=-l$ac_lib
19532    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19533  fi
19534  if test x$gcc_no_link = xyes; then
19535  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19536fi
19537if ac_fn_cxx_try_link "$LINENO"; then :
19538  ac_cv_search_clock_gettime=$ac_res
19539fi
19540rm -f core conftest.err conftest.$ac_objext \
19541    conftest$ac_exeext
19542  if test "${ac_cv_search_clock_gettime+set}" = set; then :
19543  break
19544fi
19545done
19546if test "${ac_cv_search_clock_gettime+set}" = set; then :
19547
19548else
19549  ac_cv_search_clock_gettime=no
19550fi
19551rm conftest.$ac_ext
19552LIBS=$ac_func_search_save_LIBS
19553fi
19554{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19555$as_echo "$ac_cv_search_clock_gettime" >&6; }
19556ac_res=$ac_cv_search_clock_gettime
19557if test "$ac_res" != no; then :
19558  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19559
19560fi
19561
19562      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19563$as_echo_n "checking for library containing nanosleep... " >&6; }
19564if test "${ac_cv_search_nanosleep+set}" = set; then :
19565  $as_echo_n "(cached) " >&6
19566else
19567  ac_func_search_save_LIBS=$LIBS
19568cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19569/* end confdefs.h.  */
19570
19571/* Override any GCC internal prototype to avoid an error.
19572   Use char because int might match the return type of a GCC
19573   builtin and then its argument prototype would still apply.  */
19574#ifdef __cplusplus
19575extern "C"
19576#endif
19577char nanosleep ();
19578int
19579main ()
19580{
19581return nanosleep ();
19582  ;
19583  return 0;
19584}
19585_ACEOF
19586for ac_lib in '' posix4; do
19587  if test -z "$ac_lib"; then
19588    ac_res="none required"
19589  else
19590    ac_res=-l$ac_lib
19591    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19592  fi
19593  if test x$gcc_no_link = xyes; then
19594  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19595fi
19596if ac_fn_cxx_try_link "$LINENO"; then :
19597  ac_cv_search_nanosleep=$ac_res
19598fi
19599rm -f core conftest.err conftest.$ac_objext \
19600    conftest$ac_exeext
19601  if test "${ac_cv_search_nanosleep+set}" = set; then :
19602  break
19603fi
19604done
19605if test "${ac_cv_search_nanosleep+set}" = set; then :
19606
19607else
19608  ac_cv_search_nanosleep=no
19609fi
19610rm conftest.$ac_ext
19611LIBS=$ac_func_search_save_LIBS
19612fi
19613{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19614$as_echo "$ac_cv_search_nanosleep" >&6; }
19615ac_res=$ac_cv_search_nanosleep
19616if test "$ac_res" != no; then :
19617  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19618
19619fi
19620
19621    fi
19622
19623    case "$ac_cv_search_clock_gettime" in
19624      -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19625      ;;
19626    esac
19627    case "$ac_cv_search_nanosleep" in
19628      -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19629      ;;
19630    esac
19631
19632    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19633$as_echo_n "checking for library containing sched_yield... " >&6; }
19634if test "${ac_cv_search_sched_yield+set}" = set; then :
19635  $as_echo_n "(cached) " >&6
19636else
19637  ac_func_search_save_LIBS=$LIBS
19638cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19639/* end confdefs.h.  */
19640
19641/* Override any GCC internal prototype to avoid an error.
19642   Use char because int might match the return type of a GCC
19643   builtin and then its argument prototype would still apply.  */
19644#ifdef __cplusplus
19645extern "C"
19646#endif
19647char sched_yield ();
19648int
19649main ()
19650{
19651return sched_yield ();
19652  ;
19653  return 0;
19654}
19655_ACEOF
19656for ac_lib in '' rt posix4; do
19657  if test -z "$ac_lib"; then
19658    ac_res="none required"
19659  else
19660    ac_res=-l$ac_lib
19661    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19662  fi
19663  if test x$gcc_no_link = xyes; then
19664  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19665fi
19666if ac_fn_cxx_try_link "$LINENO"; then :
19667  ac_cv_search_sched_yield=$ac_res
19668fi
19669rm -f core conftest.err conftest.$ac_objext \
19670    conftest$ac_exeext
19671  if test "${ac_cv_search_sched_yield+set}" = set; then :
19672  break
19673fi
19674done
19675if test "${ac_cv_search_sched_yield+set}" = set; then :
19676
19677else
19678  ac_cv_search_sched_yield=no
19679fi
19680rm conftest.$ac_ext
19681LIBS=$ac_func_search_save_LIBS
19682fi
19683{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19684$as_echo "$ac_cv_search_sched_yield" >&6; }
19685ac_res=$ac_cv_search_sched_yield
19686if test "$ac_res" != no; then :
19687  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19688
19689fi
19690
19691
19692    case "$ac_cv_search_sched_yield" in
19693      -lposix4*)
19694      GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19695
19696$as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19697
19698      ;;
19699      -lrt*)
19700      if test x"$enable_libstdcxx_time" = x"rt"; then
19701	GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19702
19703$as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19704
19705      fi
19706      ;;
19707      *)
19708
19709$as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19710
19711      ;;
19712    esac
19713
19714    for ac_header in unistd.h
19715do :
19716  ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19717if test "x$ac_cv_header_unistd_h" = x""yes; then :
19718  cat >>confdefs.h <<_ACEOF
19719#define HAVE_UNISTD_H 1
19720_ACEOF
19721 ac_has_unistd_h=yes
19722else
19723  ac_has_unistd_h=no
19724fi
19725
19726done
19727
19728
19729    if test x"$ac_has_unistd_h" = x"yes"; then
19730      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19731$as_echo_n "checking for monotonic clock... " >&6; }
19732      if test x$gcc_no_link = xyes; then
19733  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19734fi
19735cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19736/* end confdefs.h.  */
19737#include <unistd.h>
19738	 #include <time.h>
19739
19740int
19741main ()
19742{
19743#if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19744	  timespec tp;
19745	 #endif
19746	  clock_gettime(CLOCK_MONOTONIC, &tp);
19747
19748  ;
19749  return 0;
19750}
19751_ACEOF
19752if ac_fn_cxx_try_link "$LINENO"; then :
19753  ac_has_clock_monotonic=yes
19754else
19755  ac_has_clock_monotonic=no
19756fi
19757rm -f core conftest.err conftest.$ac_objext \
19758    conftest$ac_exeext conftest.$ac_ext
19759
19760      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19761$as_echo "$ac_has_clock_monotonic" >&6; }
19762
19763      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19764$as_echo_n "checking for realtime clock... " >&6; }
19765      if test x$gcc_no_link = xyes; then
19766  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19767fi
19768cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19769/* end confdefs.h.  */
19770#include <unistd.h>
19771	 #include <time.h>
19772
19773int
19774main ()
19775{
19776#if _POSIX_TIMERS > 0
19777	  timespec tp;
19778	 #endif
19779	  clock_gettime(CLOCK_REALTIME, &tp);
19780
19781  ;
19782  return 0;
19783}
19784_ACEOF
19785if ac_fn_cxx_try_link "$LINENO"; then :
19786  ac_has_clock_realtime=yes
19787else
19788  ac_has_clock_realtime=no
19789fi
19790rm -f core conftest.err conftest.$ac_objext \
19791    conftest$ac_exeext conftest.$ac_ext
19792
19793      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19794$as_echo "$ac_has_clock_realtime" >&6; }
19795
19796      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19797$as_echo_n "checking for nanosleep... " >&6; }
19798      if test x$gcc_no_link = xyes; then
19799  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19800fi
19801cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19802/* end confdefs.h.  */
19803#include <unistd.h>
19804	 #include <time.h>
19805
19806int
19807main ()
19808{
19809#if _POSIX_TIMERS > 0
19810	  timespec tp;
19811	 #endif
19812	  nanosleep(&tp, 0);
19813
19814  ;
19815  return 0;
19816}
19817_ACEOF
19818if ac_fn_cxx_try_link "$LINENO"; then :
19819  ac_has_nanosleep=yes
19820else
19821  ac_has_nanosleep=no
19822fi
19823rm -f core conftest.err conftest.$ac_objext \
19824    conftest$ac_exeext conftest.$ac_ext
19825
19826      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19827$as_echo "$ac_has_nanosleep" >&6; }
19828    fi
19829  fi
19830
19831  if test x"$ac_has_clock_monotonic" != x"yes"; then
19832    case ${target_os} in
19833      linux*)
19834	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
19835$as_echo_n "checking for clock_gettime syscall... " >&6; }
19836	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19837/* end confdefs.h.  */
19838#include <unistd.h>
19839	   #include <time.h>
19840	   #include <sys/syscall.h>
19841
19842int
19843main ()
19844{
19845#if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19846	    timespec tp;
19847	   #endif
19848	   syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
19849	   syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
19850
19851  ;
19852  return 0;
19853}
19854_ACEOF
19855if ac_fn_cxx_try_compile "$LINENO"; then :
19856  ac_has_clock_monotonic_syscall=yes
19857else
19858  ac_has_clock_monotonic_syscall=no
19859fi
19860rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19861	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
19862$as_echo "$ac_has_clock_monotonic_syscall" >&6; }
19863	if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
19864
19865$as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
19866
19867	  ac_has_clock_monotonic=yes
19868	  ac_has_clock_realtime=yes
19869	fi;;
19870    esac
19871  fi
19872
19873  if test x"$ac_has_clock_monotonic" = x"yes"; then
19874
19875$as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19876
19877  fi
19878
19879  if test x"$ac_has_clock_realtime" = x"yes"; then
19880
19881$as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19882
19883  fi
19884
19885  if test x"$ac_has_nanosleep" = x"yes"; then
19886
19887$as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19888
19889  else
19890      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
19891$as_echo_n "checking for sleep... " >&6; }
19892      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19893/* end confdefs.h.  */
19894#include <unistd.h>
19895int
19896main ()
19897{
19898sleep(1)
19899  ;
19900  return 0;
19901}
19902_ACEOF
19903if ac_fn_cxx_try_compile "$LINENO"; then :
19904  ac_has_sleep=yes
19905else
19906  ac_has_sleep=no
19907fi
19908rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19909      if test x"$ac_has_sleep" = x"yes"; then
19910
19911$as_echo "#define HAVE_SLEEP 1" >>confdefs.h
19912
19913      fi
19914      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
19915$as_echo "$ac_has_sleep" >&6; }
19916      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
19917$as_echo_n "checking for usleep... " >&6; }
19918      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19919/* end confdefs.h.  */
19920#include <unistd.h>
19921int
19922main ()
19923{
19924sleep(1);
19925                      usleep(100);
19926  ;
19927  return 0;
19928}
19929_ACEOF
19930if ac_fn_cxx_try_compile "$LINENO"; then :
19931  ac_has_usleep=yes
19932else
19933  ac_has_usleep=no
19934fi
19935rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19936      if test x"$ac_has_usleep" = x"yes"; then
19937
19938$as_echo "#define HAVE_USLEEP 1" >>confdefs.h
19939
19940      fi
19941      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
19942$as_echo "$ac_has_usleep" >&6; }
19943  fi
19944
19945  if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
19946      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
19947$as_echo_n "checking for Sleep... " >&6; }
19948      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19949/* end confdefs.h.  */
19950#include <windows.h>
19951int
19952main ()
19953{
19954Sleep(1)
19955  ;
19956  return 0;
19957}
19958_ACEOF
19959if ac_fn_cxx_try_compile "$LINENO"; then :
19960  ac_has_win32_sleep=yes
19961else
19962  ac_has_win32_sleep=no
19963fi
19964rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19965      if test x"$ac_has_win32_sleep" = x"yes"; then
19966
19967$as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
19968
19969      fi
19970      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
19971$as_echo "$ac_has_win32_sleep" >&6; }
19972  fi
19973
19974
19975
19976  CXXFLAGS="$ac_save_CXXFLAGS"
19977  LIBS="$ac_save_LIBS"
19978  ac_ext=c
19979ac_cpp='$CPP $CPPFLAGS'
19980ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19981ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19982ac_compiler_gnu=$ac_cv_c_compiler_gnu
19983
19984
19985
19986
19987  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19988if test "x$ac_cv_header_locale_h" = x""yes; then :
19989
19990    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19991$as_echo_n "checking for LC_MESSAGES... " >&6; }
19992if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
19993  $as_echo_n "(cached) " >&6
19994else
19995  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19996/* end confdefs.h.  */
19997#include <locale.h>
19998int
19999main ()
20000{
20001return LC_MESSAGES
20002  ;
20003  return 0;
20004}
20005_ACEOF
20006if ac_fn_c_try_compile "$LINENO"; then :
20007  ac_cv_val_LC_MESSAGES=yes
20008else
20009  ac_cv_val_LC_MESSAGES=no
20010fi
20011rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20012fi
20013{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
20014$as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
20015    if test $ac_cv_val_LC_MESSAGES = yes; then
20016
20017$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
20018
20019    fi
20020
20021fi
20022
20023
20024
20025
20026# For hardware_concurrency
20027for ac_header in sys/sysinfo.h
20028do :
20029  ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
20030if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
20031  cat >>confdefs.h <<_ACEOF
20032#define HAVE_SYS_SYSINFO_H 1
20033_ACEOF
20034
20035fi
20036
20037done
20038
20039
20040
20041
20042  ac_ext=cpp
20043ac_cpp='$CXXCPP $CPPFLAGS'
20044ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20045ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20046ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20047
20048  ac_save_CXXFLAGS="$CXXFLAGS"
20049  CXXFLAGS="$CXXFLAGS -fno-exceptions"
20050
20051  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
20052$as_echo_n "checking for get_nprocs... " >&6; }
20053  if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
20054  $as_echo_n "(cached) " >&6
20055else
20056
20057    if test x$gcc_no_link = xyes; then
20058  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20059/* end confdefs.h.  */
20060#include <sys/sysinfo.h>
20061int
20062main ()
20063{
20064int n = get_nprocs();
20065  ;
20066  return 0;
20067}
20068_ACEOF
20069if ac_fn_cxx_try_compile "$LINENO"; then :
20070  glibcxx_cv_GET_NPROCS=yes
20071else
20072  glibcxx_cv_GET_NPROCS=no
20073fi
20074rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20075else
20076  if test x$gcc_no_link = xyes; then
20077  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20078fi
20079cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20080/* end confdefs.h.  */
20081#include <sys/sysinfo.h>
20082int
20083main ()
20084{
20085int n = get_nprocs();
20086  ;
20087  return 0;
20088}
20089_ACEOF
20090if ac_fn_cxx_try_link "$LINENO"; then :
20091  glibcxx_cv_GET_NPROCS=yes
20092else
20093  glibcxx_cv_GET_NPROCS=no
20094fi
20095rm -f core conftest.err conftest.$ac_objext \
20096    conftest$ac_exeext conftest.$ac_ext
20097fi
20098
20099fi
20100
20101  if test $glibcxx_cv_GET_NPROCS = yes; then
20102
20103$as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
20104
20105  fi
20106  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
20107$as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
20108
20109  CXXFLAGS="$ac_save_CXXFLAGS"
20110  ac_ext=c
20111ac_cpp='$CPP $CPPFLAGS'
20112ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20113ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20114ac_compiler_gnu=$ac_cv_c_compiler_gnu
20115
20116
20117for ac_header in unistd.h
20118do :
20119  ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20120if test "x$ac_cv_header_unistd_h" = x""yes; then :
20121  cat >>confdefs.h <<_ACEOF
20122#define HAVE_UNISTD_H 1
20123_ACEOF
20124
20125fi
20126
20127done
20128
20129
20130
20131
20132  ac_ext=cpp
20133ac_cpp='$CXXCPP $CPPFLAGS'
20134ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20135ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20136ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20137
20138  ac_save_CXXFLAGS="$CXXFLAGS"
20139  CXXFLAGS="$CXXFLAGS -fno-exceptions"
20140
20141  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
20142$as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
20143  if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
20144  $as_echo_n "(cached) " >&6
20145else
20146
20147    if test x$gcc_no_link = xyes; then
20148  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20149/* end confdefs.h.  */
20150#include <unistd.h>
20151int
20152main ()
20153{
20154int n = sysconf(_SC_NPROCESSORS_ONLN);
20155  ;
20156  return 0;
20157}
20158_ACEOF
20159if ac_fn_cxx_try_compile "$LINENO"; then :
20160  glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20161else
20162  glibcxx_cv_SC_NPROCESSORS_ONLN=no
20163fi
20164rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20165else
20166  if test x$gcc_no_link = xyes; then
20167  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20168fi
20169cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20170/* end confdefs.h.  */
20171#include <unistd.h>
20172int
20173main ()
20174{
20175int n = sysconf(_SC_NPROCESSORS_ONLN);
20176  ;
20177  return 0;
20178}
20179_ACEOF
20180if ac_fn_cxx_try_link "$LINENO"; then :
20181  glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20182else
20183  glibcxx_cv_SC_NPROCESSORS_ONLN=no
20184fi
20185rm -f core conftest.err conftest.$ac_objext \
20186    conftest$ac_exeext conftest.$ac_ext
20187fi
20188
20189fi
20190
20191  if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
20192
20193$as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
20194
20195  fi
20196  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
20197$as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
20198
20199  CXXFLAGS="$ac_save_CXXFLAGS"
20200  ac_ext=c
20201ac_cpp='$CPP $CPPFLAGS'
20202ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20203ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20204ac_compiler_gnu=$ac_cv_c_compiler_gnu
20205
20206
20207
20208
20209
20210  ac_ext=cpp
20211ac_cpp='$CXXCPP $CPPFLAGS'
20212ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20213ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20214ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20215
20216  ac_save_CXXFLAGS="$CXXFLAGS"
20217  CXXFLAGS="$CXXFLAGS -fno-exceptions"
20218
20219  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
20220$as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
20221  if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
20222  $as_echo_n "(cached) " >&6
20223else
20224
20225    if test x$gcc_no_link = xyes; then
20226  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20227/* end confdefs.h.  */
20228#include <unistd.h>
20229int
20230main ()
20231{
20232int n = sysconf(_SC_NPROC_ONLN);
20233  ;
20234  return 0;
20235}
20236_ACEOF
20237if ac_fn_cxx_try_compile "$LINENO"; then :
20238  glibcxx_cv_SC_NPROC_ONLN=yes
20239else
20240  glibcxx_cv_SC_NPROC_ONLN=no
20241fi
20242rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20243else
20244  if test x$gcc_no_link = xyes; then
20245  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20246fi
20247cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20248/* end confdefs.h.  */
20249#include <unistd.h>
20250int
20251main ()
20252{
20253int n = sysconf(_SC_NPROC_ONLN);
20254  ;
20255  return 0;
20256}
20257_ACEOF
20258if ac_fn_cxx_try_link "$LINENO"; then :
20259  glibcxx_cv_SC_NPROC_ONLN=yes
20260else
20261  glibcxx_cv_SC_NPROC_ONLN=no
20262fi
20263rm -f core conftest.err conftest.$ac_objext \
20264    conftest$ac_exeext conftest.$ac_ext
20265fi
20266
20267fi
20268
20269  if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
20270
20271$as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
20272
20273  fi
20274  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
20275$as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
20276
20277  CXXFLAGS="$ac_save_CXXFLAGS"
20278  ac_ext=c
20279ac_cpp='$CPP $CPPFLAGS'
20280ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20281ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20282ac_compiler_gnu=$ac_cv_c_compiler_gnu
20283
20284
20285
20286
20287
20288  ac_ext=cpp
20289ac_cpp='$CXXCPP $CPPFLAGS'
20290ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20291ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20292ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20293
20294  ac_save_CXXFLAGS="$CXXFLAGS"
20295  CXXFLAGS="$CXXFLAGS -fno-exceptions"
20296
20297  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
20298$as_echo_n "checking for pthreads_num_processors_np... " >&6; }
20299  if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
20300  $as_echo_n "(cached) " >&6
20301else
20302
20303    if test x$gcc_no_link = xyes; then
20304  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20305/* end confdefs.h.  */
20306#include <pthread.h>
20307int
20308main ()
20309{
20310int n = pthread_num_processors_np();
20311  ;
20312  return 0;
20313}
20314_ACEOF
20315if ac_fn_cxx_try_compile "$LINENO"; then :
20316  glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20317else
20318  glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20319fi
20320rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20321else
20322  if test x$gcc_no_link = xyes; then
20323  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20324fi
20325cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20326/* end confdefs.h.  */
20327#include <pthread.h>
20328int
20329main ()
20330{
20331int n = pthread_num_processors_np();
20332  ;
20333  return 0;
20334}
20335_ACEOF
20336if ac_fn_cxx_try_link "$LINENO"; then :
20337  glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20338else
20339  glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20340fi
20341rm -f core conftest.err conftest.$ac_objext \
20342    conftest$ac_exeext conftest.$ac_ext
20343fi
20344
20345fi
20346
20347  if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
20348
20349$as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
20350
20351  fi
20352  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
20353$as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
20354
20355  CXXFLAGS="$ac_save_CXXFLAGS"
20356  ac_ext=c
20357ac_cpp='$CPP $CPPFLAGS'
20358ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20359ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20360ac_compiler_gnu=$ac_cv_c_compiler_gnu
20361
20362
20363
20364
20365
20366  ac_ext=cpp
20367ac_cpp='$CXXCPP $CPPFLAGS'
20368ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20369ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20370ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20371
20372  ac_save_CXXFLAGS="$CXXFLAGS"
20373  CXXFLAGS="$CXXFLAGS -fno-exceptions"
20374
20375  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
20376$as_echo_n "checking for hw.ncpu sysctl... " >&6; }
20377  if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
20378  $as_echo_n "(cached) " >&6
20379else
20380
20381    if test x$gcc_no_link = xyes; then
20382  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20383/* end confdefs.h.  */
20384
20385       #include <stddef.h>
20386       #include <sys/sysctl.h>
20387
20388int
20389main ()
20390{
20391
20392       int count;
20393       size_t size = sizeof(count);
20394       int mib[] = { CTL_HW, HW_NCPU };
20395       sysctl(mib, 2, &count, &size, NULL, 0);
20396
20397  ;
20398  return 0;
20399}
20400_ACEOF
20401if ac_fn_cxx_try_compile "$LINENO"; then :
20402  glibcxx_cv_SYSCTL_HW_NCPU=yes
20403else
20404  glibcxx_cv_SYSCTL_HW_NCPU=no
20405fi
20406rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20407else
20408  if test x$gcc_no_link = xyes; then
20409  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20410fi
20411cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20412/* end confdefs.h.  */
20413
20414       #include <stddef.h>
20415       #include <sys/sysctl.h>
20416
20417int
20418main ()
20419{
20420
20421       int count;
20422       size_t size = sizeof(count);
20423       int mib[] = { CTL_HW, HW_NCPU };
20424       sysctl(mib, 2, &count, &size, NULL, 0);
20425
20426  ;
20427  return 0;
20428}
20429_ACEOF
20430if ac_fn_cxx_try_link "$LINENO"; then :
20431  glibcxx_cv_SYSCTL_HW_NCPU=yes
20432else
20433  glibcxx_cv_SYSCTL_HW_NCPU=no
20434fi
20435rm -f core conftest.err conftest.$ac_objext \
20436    conftest$ac_exeext conftest.$ac_ext
20437fi
20438
20439fi
20440
20441  if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
20442
20443$as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
20444
20445  fi
20446  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
20447$as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
20448
20449  CXXFLAGS="$ac_save_CXXFLAGS"
20450  ac_ext=c
20451ac_cpp='$CPP $CPPFLAGS'
20452ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20453ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20454ac_compiler_gnu=$ac_cv_c_compiler_gnu
20455
20456
20457
20458  { $as_echo "$as_me:${as_lineno-$LINENO}: result: for suitable sys/sdt.h" >&5
20459$as_echo "for suitable sys/sdt.h" >&6; }
20460  # Note that this test has to be run with the C language.
20461  # Otherwise, sdt.h will try to include some headers from
20462  # libstdc++ itself.
20463
20464  ac_ext=c
20465ac_cpp='$CPP $CPPFLAGS'
20466ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20467ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20468ac_compiler_gnu=$ac_cv_c_compiler_gnu
20469
20470  if test "${glibcxx_cv_sys_sdt_h+set}" = set; then :
20471  $as_echo_n "(cached) " >&6
20472else
20473
20474    # Because we have to run the test in C, we use grep rather
20475    # than the compiler to check for the bug.  The bug is that
20476    # were strings without trailing whitespace, causing g++
20477    # to look for operator"".  The pattern searches for the fixed
20478    # output.
20479    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20480/* end confdefs.h.  */
20481
20482      #include <sys/sdt.h>
20483      int f() { STAP_PROBE(hi, bob); }
20484
20485_ACEOF
20486if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20487  $EGREP " \",\" " >/dev/null 2>&1; then :
20488  glibcxx_cv_sys_sdt_h=yes
20489else
20490  glibcxx_cv_sys_sdt_h=no
20491fi
20492rm -f conftest*
20493
20494
20495fi
20496
20497  ac_ext=c
20498ac_cpp='$CPP $CPPFLAGS'
20499ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20500ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20501ac_compiler_gnu=$ac_cv_c_compiler_gnu
20502
20503  if test $glibcxx_cv_sys_sdt_h = yes; then
20504
20505$as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
20506
20507  fi
20508  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
20509$as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
20510
20511
20512# Check for available headers.
20513for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
20514locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
20515strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
20516sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
20517wchar.h wctype.h
20518do :
20519  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20520ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20521eval as_val=\$$as_ac_Header
20522   if test "x$as_val" = x""yes; then :
20523  cat >>confdefs.h <<_ACEOF
20524#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20525_ACEOF
20526
20527fi
20528
20529done
20530
20531
20532# Only do link tests if native. Else, hardcode.
20533if $GLIBCXX_IS_NATIVE; then
20534
20535  # We can do more elaborate tests that assume a working linker.
20536  CANADIAN=no
20537
20538
20539
20540# Check whether --with-gnu-ld was given.
20541if test "${with_gnu_ld+set}" = set; then :
20542  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20543else
20544  with_gnu_ld=no
20545fi
20546
20547ac_prog=ld
20548if test "$GCC" = yes; then
20549  # Check if gcc -print-prog-name=ld gives a path.
20550  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20551$as_echo_n "checking for ld used by $CC... " >&6; }
20552  case $host in
20553  *-*-mingw*)
20554    # gcc leaves a trailing carriage return which upsets mingw
20555    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20556  *)
20557    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20558  esac
20559  case $ac_prog in
20560    # Accept absolute paths.
20561    [\\/]* | ?:[\\/]*)
20562      re_direlt='/[^/][^/]*/\.\./'
20563      # Canonicalize the pathname of ld
20564      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
20565      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
20566	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
20567      done
20568      test -z "$LD" && LD="$ac_prog"
20569      ;;
20570  "")
20571    # If it fails, then pretend we aren't using GCC.
20572    ac_prog=ld
20573    ;;
20574  *)
20575    # If it is relative, then search for the first ld in PATH.
20576    with_gnu_ld=unknown
20577    ;;
20578  esac
20579elif test "$with_gnu_ld" = yes; then
20580  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20581$as_echo_n "checking for GNU ld... " >&6; }
20582else
20583  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20584$as_echo_n "checking for non-GNU ld... " >&6; }
20585fi
20586if test "${lt_cv_path_LD+set}" = set; then :
20587  $as_echo_n "(cached) " >&6
20588else
20589  if test -z "$LD"; then
20590  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20591  for ac_dir in $PATH; do
20592    IFS="$lt_save_ifs"
20593    test -z "$ac_dir" && ac_dir=.
20594    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20595      lt_cv_path_LD="$ac_dir/$ac_prog"
20596      # Check to see if the program is GNU ld.  I'd rather use --version,
20597      # but apparently some variants of GNU ld only accept -v.
20598      # Break only if it was the GNU/non-GNU ld that we prefer.
20599      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20600      *GNU* | *'with BFD'*)
20601	test "$with_gnu_ld" != no && break
20602	;;
20603      *)
20604	test "$with_gnu_ld" != yes && break
20605	;;
20606      esac
20607    fi
20608  done
20609  IFS="$lt_save_ifs"
20610else
20611  lt_cv_path_LD="$LD" # Let the user override the test with a path.
20612fi
20613fi
20614
20615LD="$lt_cv_path_LD"
20616if test -n "$LD"; then
20617  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20618$as_echo "$LD" >&6; }
20619else
20620  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20621$as_echo "no" >&6; }
20622fi
20623test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
20624{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20625$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20626if test "${lt_cv_prog_gnu_ld+set}" = set; then :
20627  $as_echo_n "(cached) " >&6
20628else
20629  # I'd rather use --version here, but apparently some GNU lds only accept -v.
20630case `$LD -v 2>&1 </dev/null` in
20631*GNU* | *'with BFD'*)
20632  lt_cv_prog_gnu_ld=yes
20633  ;;
20634*)
20635  lt_cv_prog_gnu_ld=no
20636  ;;
20637esac
20638fi
20639{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
20640$as_echo "$lt_cv_prog_gnu_ld" >&6; }
20641with_gnu_ld=$lt_cv_prog_gnu_ld
20642
20643
20644
20645
20646
20647
20648
20649  # If we're not using GNU ld, then there's no point in even trying these
20650  # tests.  Check for that first.  We should have already tested for gld
20651  # by now (in libtool), but require it now just to be safe...
20652  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
20653  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
20654
20655
20656
20657  # The name set by libtool depends on the version of libtool.  Shame on us
20658  # for depending on an impl detail, but c'est la vie.  Older versions used
20659  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
20660  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
20661  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
20662  # set (hence we're using an older libtool), then set it.
20663  if test x${with_gnu_ld+set} != xset; then
20664    if test x${ac_cv_prog_gnu_ld+set} != xset; then
20665      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
20666      with_gnu_ld=no
20667    else
20668      with_gnu_ld=$ac_cv_prog_gnu_ld
20669    fi
20670  fi
20671
20672  # Start by getting the version number.  I think the libtool test already
20673  # does some of this, but throws away the result.
20674  glibcxx_ld_is_gold=no
20675  if test x"$with_gnu_ld" = x"yes"; then
20676    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
20677$as_echo_n "checking for ld version... " >&6; }
20678
20679    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
20680      glibcxx_ld_is_gold=yes
20681    fi
20682    ldver=`$LD --version 2>/dev/null |
20683	   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'`
20684
20685    glibcxx_gnu_ld_version=`echo $ldver | \
20686	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
20687    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
20688$as_echo "$glibcxx_gnu_ld_version" >&6; }
20689  fi
20690
20691  # Set --gc-sections.
20692  glibcxx_have_gc_sections=no
20693  if test "$glibcxx_ld_is_gold" = "yes"; then
20694    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
20695      glibcxx_have_gc_sections=yes
20696    fi
20697  else
20698    glibcxx_gcsections_min_ld=21602
20699    if test x"$with_gnu_ld" = x"yes" &&
20700	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
20701      glibcxx_have_gc_sections=yes
20702    fi
20703  fi
20704  if test "$glibcxx_have_gc_sections" = "yes"; then
20705    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
20706    # NB: This flag only works reliably after 2.16.1. Configure tests
20707    # for this are difficult, so hard wire a value that should work.
20708
20709    ac_test_CFLAGS="${CFLAGS+set}"
20710    ac_save_CFLAGS="$CFLAGS"
20711    CFLAGS='-Wl,--gc-sections'
20712
20713    # Check for -Wl,--gc-sections
20714    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
20715$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
20716    if test x$gcc_no_link = xyes; then
20717  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20718fi
20719cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20720/* end confdefs.h.  */
20721 int one(void) { return 1; }
20722     int two(void) { return 2; }
20723
20724int
20725main ()
20726{
20727 two();
20728  ;
20729  return 0;
20730}
20731_ACEOF
20732if ac_fn_c_try_link "$LINENO"; then :
20733  ac_gcsections=yes
20734else
20735  ac_gcsections=no
20736fi
20737rm -f core conftest.err conftest.$ac_objext \
20738    conftest$ac_exeext conftest.$ac_ext
20739    if test "$ac_gcsections" = "yes"; then
20740      rm -f conftest.c
20741      touch conftest.c
20742      if $CC -c conftest.c; then
20743	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
20744	   grep "Warning: gc-sections option ignored" > /dev/null; then
20745	  ac_gcsections=no
20746	fi
20747      fi
20748      rm -f conftest.c conftest.o conftest
20749    fi
20750    if test "$ac_gcsections" = "yes"; then
20751      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
20752    fi
20753    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
20754$as_echo "$ac_gcsections" >&6; }
20755
20756    if test "$ac_test_CFLAGS" = set; then
20757      CFLAGS="$ac_save_CFLAGS"
20758    else
20759      # this is the suspicious part
20760      CFLAGS=''
20761    fi
20762  fi
20763
20764  # Set -z,relro.
20765  # Note this is only for shared objects.
20766  ac_ld_relro=no
20767  if test x"$with_gnu_ld" = x"yes"; then
20768    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
20769$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
20770    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
20771    if test -n "$cxx_z_relo"; then
20772      OPT_LDFLAGS="-Wl,-z,relro"
20773      ac_ld_relro=yes
20774    fi
20775    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
20776$as_echo "$ac_ld_relro" >&6; }
20777  fi
20778
20779  # Set linker optimization flags.
20780  if test x"$with_gnu_ld" = x"yes"; then
20781    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
20782  fi
20783
20784
20785
20786
20787
20788  ac_test_CXXFLAGS="${CXXFLAGS+set}"
20789  ac_save_CXXFLAGS="$CXXFLAGS"
20790  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
20791
20792    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
20793$as_echo_n "checking for sin in -lm... " >&6; }
20794if test "${ac_cv_lib_m_sin+set}" = set; then :
20795  $as_echo_n "(cached) " >&6
20796else
20797  ac_check_lib_save_LIBS=$LIBS
20798LIBS="-lm  $LIBS"
20799if test x$gcc_no_link = xyes; then
20800  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20801fi
20802cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20803/* end confdefs.h.  */
20804
20805/* Override any GCC internal prototype to avoid an error.
20806   Use char because int might match the return type of a GCC
20807   builtin and then its argument prototype would still apply.  */
20808#ifdef __cplusplus
20809extern "C"
20810#endif
20811char sin ();
20812int
20813main ()
20814{
20815return sin ();
20816  ;
20817  return 0;
20818}
20819_ACEOF
20820if ac_fn_c_try_link "$LINENO"; then :
20821  ac_cv_lib_m_sin=yes
20822else
20823  ac_cv_lib_m_sin=no
20824fi
20825rm -f core conftest.err conftest.$ac_objext \
20826    conftest$ac_exeext conftest.$ac_ext
20827LIBS=$ac_check_lib_save_LIBS
20828fi
20829{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
20830$as_echo "$ac_cv_lib_m_sin" >&6; }
20831if test "x$ac_cv_lib_m_sin" = x""yes; then :
20832  libm="-lm"
20833fi
20834
20835  ac_save_LIBS="$LIBS"
20836  LIBS="$LIBS $libm"
20837
20838
20839
20840  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
20841$as_echo_n "checking for isinf declaration... " >&6; }
20842  if test x${glibcxx_cv_func_isinf_use+set} != xset; then
20843    if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
20844  $as_echo_n "(cached) " >&6
20845else
20846
20847
20848      ac_ext=cpp
20849ac_cpp='$CXXCPP $CPPFLAGS'
20850ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20851ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20852ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20853
20854      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20855/* end confdefs.h.  */
20856#include <math.h>
20857		      #ifdef HAVE_IEEEFP_H
20858		      #include <ieeefp.h>
20859		      #endif
20860
20861int
20862main ()
20863{
20864 isinf(0);
20865  ;
20866  return 0;
20867}
20868_ACEOF
20869if ac_fn_cxx_try_compile "$LINENO"; then :
20870  glibcxx_cv_func_isinf_use=yes
20871else
20872  glibcxx_cv_func_isinf_use=no
20873fi
20874rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20875      ac_ext=c
20876ac_cpp='$CPP $CPPFLAGS'
20877ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20878ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20879ac_compiler_gnu=$ac_cv_c_compiler_gnu
20880
20881
20882fi
20883
20884  fi
20885  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
20886$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
20887
20888  if test x$glibcxx_cv_func_isinf_use = x"yes"; then
20889    for ac_func in isinf
20890do :
20891  ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
20892if test "x$ac_cv_func_isinf" = x""yes; then :
20893  cat >>confdefs.h <<_ACEOF
20894#define HAVE_ISINF 1
20895_ACEOF
20896
20897fi
20898done
20899
20900  else
20901
20902  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
20903$as_echo_n "checking for _isinf declaration... " >&6; }
20904  if test x${glibcxx_cv_func__isinf_use+set} != xset; then
20905    if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
20906  $as_echo_n "(cached) " >&6
20907else
20908
20909
20910      ac_ext=cpp
20911ac_cpp='$CXXCPP $CPPFLAGS'
20912ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20913ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20914ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20915
20916      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20917/* end confdefs.h.  */
20918#include <math.h>
20919		      #ifdef HAVE_IEEEFP_H
20920		      #include <ieeefp.h>
20921		      #endif
20922
20923int
20924main ()
20925{
20926 _isinf(0);
20927  ;
20928  return 0;
20929}
20930_ACEOF
20931if ac_fn_cxx_try_compile "$LINENO"; then :
20932  glibcxx_cv_func__isinf_use=yes
20933else
20934  glibcxx_cv_func__isinf_use=no
20935fi
20936rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20937      ac_ext=c
20938ac_cpp='$CPP $CPPFLAGS'
20939ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20940ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20941ac_compiler_gnu=$ac_cv_c_compiler_gnu
20942
20943
20944fi
20945
20946  fi
20947  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
20948$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
20949
20950    if test x$glibcxx_cv_func__isinf_use = x"yes"; then
20951      for ac_func in _isinf
20952do :
20953  ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
20954if test "x$ac_cv_func__isinf" = x""yes; then :
20955  cat >>confdefs.h <<_ACEOF
20956#define HAVE__ISINF 1
20957_ACEOF
20958
20959fi
20960done
20961
20962    fi
20963  fi
20964
20965
20966
20967
20968
20969  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
20970$as_echo_n "checking for isnan declaration... " >&6; }
20971  if test x${glibcxx_cv_func_isnan_use+set} != xset; then
20972    if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
20973  $as_echo_n "(cached) " >&6
20974else
20975
20976
20977      ac_ext=cpp
20978ac_cpp='$CXXCPP $CPPFLAGS'
20979ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20980ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20981ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20982
20983      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20984/* end confdefs.h.  */
20985#include <math.h>
20986		      #ifdef HAVE_IEEEFP_H
20987		      #include <ieeefp.h>
20988		      #endif
20989
20990int
20991main ()
20992{
20993 isnan(0);
20994  ;
20995  return 0;
20996}
20997_ACEOF
20998if ac_fn_cxx_try_compile "$LINENO"; then :
20999  glibcxx_cv_func_isnan_use=yes
21000else
21001  glibcxx_cv_func_isnan_use=no
21002fi
21003rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21004      ac_ext=c
21005ac_cpp='$CPP $CPPFLAGS'
21006ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21007ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21008ac_compiler_gnu=$ac_cv_c_compiler_gnu
21009
21010
21011fi
21012
21013  fi
21014  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
21015$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
21016
21017  if test x$glibcxx_cv_func_isnan_use = x"yes"; then
21018    for ac_func in isnan
21019do :
21020  ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
21021if test "x$ac_cv_func_isnan" = x""yes; then :
21022  cat >>confdefs.h <<_ACEOF
21023#define HAVE_ISNAN 1
21024_ACEOF
21025
21026fi
21027done
21028
21029  else
21030
21031  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
21032$as_echo_n "checking for _isnan declaration... " >&6; }
21033  if test x${glibcxx_cv_func__isnan_use+set} != xset; then
21034    if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
21035  $as_echo_n "(cached) " >&6
21036else
21037
21038
21039      ac_ext=cpp
21040ac_cpp='$CXXCPP $CPPFLAGS'
21041ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21042ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21043ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21044
21045      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21046/* end confdefs.h.  */
21047#include <math.h>
21048		      #ifdef HAVE_IEEEFP_H
21049		      #include <ieeefp.h>
21050		      #endif
21051
21052int
21053main ()
21054{
21055 _isnan(0);
21056  ;
21057  return 0;
21058}
21059_ACEOF
21060if ac_fn_cxx_try_compile "$LINENO"; then :
21061  glibcxx_cv_func__isnan_use=yes
21062else
21063  glibcxx_cv_func__isnan_use=no
21064fi
21065rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21066      ac_ext=c
21067ac_cpp='$CPP $CPPFLAGS'
21068ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21069ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21070ac_compiler_gnu=$ac_cv_c_compiler_gnu
21071
21072
21073fi
21074
21075  fi
21076  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
21077$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
21078
21079    if test x$glibcxx_cv_func__isnan_use = x"yes"; then
21080      for ac_func in _isnan
21081do :
21082  ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
21083if test "x$ac_cv_func__isnan" = x""yes; then :
21084  cat >>confdefs.h <<_ACEOF
21085#define HAVE__ISNAN 1
21086_ACEOF
21087
21088fi
21089done
21090
21091    fi
21092  fi
21093
21094
21095
21096
21097
21098  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
21099$as_echo_n "checking for finite declaration... " >&6; }
21100  if test x${glibcxx_cv_func_finite_use+set} != xset; then
21101    if test "${glibcxx_cv_func_finite_use+set}" = set; then :
21102  $as_echo_n "(cached) " >&6
21103else
21104
21105
21106      ac_ext=cpp
21107ac_cpp='$CXXCPP $CPPFLAGS'
21108ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21109ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21110ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21111
21112      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21113/* end confdefs.h.  */
21114#include <math.h>
21115		      #ifdef HAVE_IEEEFP_H
21116		      #include <ieeefp.h>
21117		      #endif
21118
21119int
21120main ()
21121{
21122 finite(0);
21123  ;
21124  return 0;
21125}
21126_ACEOF
21127if ac_fn_cxx_try_compile "$LINENO"; then :
21128  glibcxx_cv_func_finite_use=yes
21129else
21130  glibcxx_cv_func_finite_use=no
21131fi
21132rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21133      ac_ext=c
21134ac_cpp='$CPP $CPPFLAGS'
21135ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21136ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21137ac_compiler_gnu=$ac_cv_c_compiler_gnu
21138
21139
21140fi
21141
21142  fi
21143  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
21144$as_echo "$glibcxx_cv_func_finite_use" >&6; }
21145
21146  if test x$glibcxx_cv_func_finite_use = x"yes"; then
21147    for ac_func in finite
21148do :
21149  ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
21150if test "x$ac_cv_func_finite" = x""yes; then :
21151  cat >>confdefs.h <<_ACEOF
21152#define HAVE_FINITE 1
21153_ACEOF
21154
21155fi
21156done
21157
21158  else
21159
21160  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
21161$as_echo_n "checking for _finite declaration... " >&6; }
21162  if test x${glibcxx_cv_func__finite_use+set} != xset; then
21163    if test "${glibcxx_cv_func__finite_use+set}" = set; then :
21164  $as_echo_n "(cached) " >&6
21165else
21166
21167
21168      ac_ext=cpp
21169ac_cpp='$CXXCPP $CPPFLAGS'
21170ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21171ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21172ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21173
21174      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21175/* end confdefs.h.  */
21176#include <math.h>
21177		      #ifdef HAVE_IEEEFP_H
21178		      #include <ieeefp.h>
21179		      #endif
21180
21181int
21182main ()
21183{
21184 _finite(0);
21185  ;
21186  return 0;
21187}
21188_ACEOF
21189if ac_fn_cxx_try_compile "$LINENO"; then :
21190  glibcxx_cv_func__finite_use=yes
21191else
21192  glibcxx_cv_func__finite_use=no
21193fi
21194rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21195      ac_ext=c
21196ac_cpp='$CPP $CPPFLAGS'
21197ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21198ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21199ac_compiler_gnu=$ac_cv_c_compiler_gnu
21200
21201
21202fi
21203
21204  fi
21205  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
21206$as_echo "$glibcxx_cv_func__finite_use" >&6; }
21207
21208    if test x$glibcxx_cv_func__finite_use = x"yes"; then
21209      for ac_func in _finite
21210do :
21211  ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
21212if test "x$ac_cv_func__finite" = x""yes; then :
21213  cat >>confdefs.h <<_ACEOF
21214#define HAVE__FINITE 1
21215_ACEOF
21216
21217fi
21218done
21219
21220    fi
21221  fi
21222
21223
21224
21225
21226
21227  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
21228$as_echo_n "checking for sincos declaration... " >&6; }
21229  if test x${glibcxx_cv_func_sincos_use+set} != xset; then
21230    if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
21231  $as_echo_n "(cached) " >&6
21232else
21233
21234
21235      ac_ext=cpp
21236ac_cpp='$CXXCPP $CPPFLAGS'
21237ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21238ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21239ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21240
21241      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21242/* end confdefs.h.  */
21243#include <math.h>
21244int
21245main ()
21246{
21247 sincos(0, 0, 0);
21248  ;
21249  return 0;
21250}
21251_ACEOF
21252if ac_fn_cxx_try_compile "$LINENO"; then :
21253  glibcxx_cv_func_sincos_use=yes
21254else
21255  glibcxx_cv_func_sincos_use=no
21256fi
21257rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21258      ac_ext=c
21259ac_cpp='$CPP $CPPFLAGS'
21260ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21261ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21262ac_compiler_gnu=$ac_cv_c_compiler_gnu
21263
21264
21265fi
21266
21267  fi
21268  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
21269$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
21270
21271  if test x$glibcxx_cv_func_sincos_use = x"yes"; then
21272    for ac_func in sincos
21273do :
21274  ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
21275if test "x$ac_cv_func_sincos" = x""yes; then :
21276  cat >>confdefs.h <<_ACEOF
21277#define HAVE_SINCOS 1
21278_ACEOF
21279
21280fi
21281done
21282
21283  else
21284
21285  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
21286$as_echo_n "checking for _sincos declaration... " >&6; }
21287  if test x${glibcxx_cv_func__sincos_use+set} != xset; then
21288    if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
21289  $as_echo_n "(cached) " >&6
21290else
21291
21292
21293      ac_ext=cpp
21294ac_cpp='$CXXCPP $CPPFLAGS'
21295ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21296ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21297ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21298
21299      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21300/* end confdefs.h.  */
21301#include <math.h>
21302int
21303main ()
21304{
21305 _sincos(0, 0, 0);
21306  ;
21307  return 0;
21308}
21309_ACEOF
21310if ac_fn_cxx_try_compile "$LINENO"; then :
21311  glibcxx_cv_func__sincos_use=yes
21312else
21313  glibcxx_cv_func__sincos_use=no
21314fi
21315rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21316      ac_ext=c
21317ac_cpp='$CPP $CPPFLAGS'
21318ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21319ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21320ac_compiler_gnu=$ac_cv_c_compiler_gnu
21321
21322
21323fi
21324
21325  fi
21326  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
21327$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
21328
21329    if test x$glibcxx_cv_func__sincos_use = x"yes"; then
21330      for ac_func in _sincos
21331do :
21332  ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
21333if test "x$ac_cv_func__sincos" = x""yes; then :
21334  cat >>confdefs.h <<_ACEOF
21335#define HAVE__SINCOS 1
21336_ACEOF
21337
21338fi
21339done
21340
21341    fi
21342  fi
21343
21344
21345
21346
21347
21348  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
21349$as_echo_n "checking for fpclass declaration... " >&6; }
21350  if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
21351    if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
21352  $as_echo_n "(cached) " >&6
21353else
21354
21355
21356      ac_ext=cpp
21357ac_cpp='$CXXCPP $CPPFLAGS'
21358ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21359ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21360ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21361
21362      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21363/* end confdefs.h.  */
21364#include <math.h>
21365		      #ifdef HAVE_IEEEFP_H
21366		      #include <ieeefp.h>
21367		      #endif
21368
21369int
21370main ()
21371{
21372 fpclass(0);
21373  ;
21374  return 0;
21375}
21376_ACEOF
21377if ac_fn_cxx_try_compile "$LINENO"; then :
21378  glibcxx_cv_func_fpclass_use=yes
21379else
21380  glibcxx_cv_func_fpclass_use=no
21381fi
21382rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21383      ac_ext=c
21384ac_cpp='$CPP $CPPFLAGS'
21385ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21386ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21387ac_compiler_gnu=$ac_cv_c_compiler_gnu
21388
21389
21390fi
21391
21392  fi
21393  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
21394$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
21395
21396  if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
21397    for ac_func in fpclass
21398do :
21399  ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
21400if test "x$ac_cv_func_fpclass" = x""yes; then :
21401  cat >>confdefs.h <<_ACEOF
21402#define HAVE_FPCLASS 1
21403_ACEOF
21404
21405fi
21406done
21407
21408  else
21409
21410  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
21411$as_echo_n "checking for _fpclass declaration... " >&6; }
21412  if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
21413    if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
21414  $as_echo_n "(cached) " >&6
21415else
21416
21417
21418      ac_ext=cpp
21419ac_cpp='$CXXCPP $CPPFLAGS'
21420ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21421ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21422ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21423
21424      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21425/* end confdefs.h.  */
21426#include <math.h>
21427		      #ifdef HAVE_IEEEFP_H
21428		      #include <ieeefp.h>
21429		      #endif
21430
21431int
21432main ()
21433{
21434 _fpclass(0);
21435  ;
21436  return 0;
21437}
21438_ACEOF
21439if ac_fn_cxx_try_compile "$LINENO"; then :
21440  glibcxx_cv_func__fpclass_use=yes
21441else
21442  glibcxx_cv_func__fpclass_use=no
21443fi
21444rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21445      ac_ext=c
21446ac_cpp='$CPP $CPPFLAGS'
21447ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21448ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21449ac_compiler_gnu=$ac_cv_c_compiler_gnu
21450
21451
21452fi
21453
21454  fi
21455  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
21456$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
21457
21458    if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21459      for ac_func in _fpclass
21460do :
21461  ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
21462if test "x$ac_cv_func__fpclass" = x""yes; then :
21463  cat >>confdefs.h <<_ACEOF
21464#define HAVE__FPCLASS 1
21465_ACEOF
21466
21467fi
21468done
21469
21470    fi
21471  fi
21472
21473
21474
21475
21476
21477  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
21478$as_echo_n "checking for qfpclass declaration... " >&6; }
21479  if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21480    if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
21481  $as_echo_n "(cached) " >&6
21482else
21483
21484
21485      ac_ext=cpp
21486ac_cpp='$CXXCPP $CPPFLAGS'
21487ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21488ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21489ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21490
21491      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21492/* end confdefs.h.  */
21493#include <math.h>
21494		      #ifdef HAVE_IEEEFP_H
21495		      #include <ieeefp.h>
21496		      #endif
21497
21498int
21499main ()
21500{
21501 qfpclass(0);
21502  ;
21503  return 0;
21504}
21505_ACEOF
21506if ac_fn_cxx_try_compile "$LINENO"; then :
21507  glibcxx_cv_func_qfpclass_use=yes
21508else
21509  glibcxx_cv_func_qfpclass_use=no
21510fi
21511rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21512      ac_ext=c
21513ac_cpp='$CPP $CPPFLAGS'
21514ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21515ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21516ac_compiler_gnu=$ac_cv_c_compiler_gnu
21517
21518
21519fi
21520
21521  fi
21522  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
21523$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
21524
21525  if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21526    for ac_func in qfpclass
21527do :
21528  ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
21529if test "x$ac_cv_func_qfpclass" = x""yes; then :
21530  cat >>confdefs.h <<_ACEOF
21531#define HAVE_QFPCLASS 1
21532_ACEOF
21533
21534fi
21535done
21536
21537  else
21538
21539  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
21540$as_echo_n "checking for _qfpclass declaration... " >&6; }
21541  if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21542    if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
21543  $as_echo_n "(cached) " >&6
21544else
21545
21546
21547      ac_ext=cpp
21548ac_cpp='$CXXCPP $CPPFLAGS'
21549ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21550ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21551ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21552
21553      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21554/* end confdefs.h.  */
21555#include <math.h>
21556		      #ifdef HAVE_IEEEFP_H
21557		      #include <ieeefp.h>
21558		      #endif
21559
21560int
21561main ()
21562{
21563 _qfpclass(0);
21564  ;
21565  return 0;
21566}
21567_ACEOF
21568if ac_fn_cxx_try_compile "$LINENO"; then :
21569  glibcxx_cv_func__qfpclass_use=yes
21570else
21571  glibcxx_cv_func__qfpclass_use=no
21572fi
21573rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21574      ac_ext=c
21575ac_cpp='$CPP $CPPFLAGS'
21576ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21577ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21578ac_compiler_gnu=$ac_cv_c_compiler_gnu
21579
21580
21581fi
21582
21583  fi
21584  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
21585$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
21586
21587    if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21588      for ac_func in _qfpclass
21589do :
21590  ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
21591if test "x$ac_cv_func__qfpclass" = x""yes; then :
21592  cat >>confdefs.h <<_ACEOF
21593#define HAVE__QFPCLASS 1
21594_ACEOF
21595
21596fi
21597done
21598
21599    fi
21600  fi
21601
21602
21603
21604
21605
21606  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
21607$as_echo_n "checking for hypot declaration... " >&6; }
21608  if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21609    if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
21610  $as_echo_n "(cached) " >&6
21611else
21612
21613
21614      ac_ext=cpp
21615ac_cpp='$CXXCPP $CPPFLAGS'
21616ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21617ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21618ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21619
21620      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21621/* end confdefs.h.  */
21622#include <math.h>
21623int
21624main ()
21625{
21626 hypot(0, 0);
21627  ;
21628  return 0;
21629}
21630_ACEOF
21631if ac_fn_cxx_try_compile "$LINENO"; then :
21632  glibcxx_cv_func_hypot_use=yes
21633else
21634  glibcxx_cv_func_hypot_use=no
21635fi
21636rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21637      ac_ext=c
21638ac_cpp='$CPP $CPPFLAGS'
21639ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21640ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21641ac_compiler_gnu=$ac_cv_c_compiler_gnu
21642
21643
21644fi
21645
21646  fi
21647  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
21648$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
21649
21650  if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21651    for ac_func in hypot
21652do :
21653  ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
21654if test "x$ac_cv_func_hypot" = x""yes; then :
21655  cat >>confdefs.h <<_ACEOF
21656#define HAVE_HYPOT 1
21657_ACEOF
21658
21659fi
21660done
21661
21662  else
21663
21664  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
21665$as_echo_n "checking for _hypot declaration... " >&6; }
21666  if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21667    if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
21668  $as_echo_n "(cached) " >&6
21669else
21670
21671
21672      ac_ext=cpp
21673ac_cpp='$CXXCPP $CPPFLAGS'
21674ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21675ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21676ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21677
21678      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21679/* end confdefs.h.  */
21680#include <math.h>
21681int
21682main ()
21683{
21684 _hypot(0, 0);
21685  ;
21686  return 0;
21687}
21688_ACEOF
21689if ac_fn_cxx_try_compile "$LINENO"; then :
21690  glibcxx_cv_func__hypot_use=yes
21691else
21692  glibcxx_cv_func__hypot_use=no
21693fi
21694rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21695      ac_ext=c
21696ac_cpp='$CPP $CPPFLAGS'
21697ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21698ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21699ac_compiler_gnu=$ac_cv_c_compiler_gnu
21700
21701
21702fi
21703
21704  fi
21705  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
21706$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
21707
21708    if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21709      for ac_func in _hypot
21710do :
21711  ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
21712if test "x$ac_cv_func__hypot" = x""yes; then :
21713  cat >>confdefs.h <<_ACEOF
21714#define HAVE__HYPOT 1
21715_ACEOF
21716
21717fi
21718done
21719
21720    fi
21721  fi
21722
21723
21724
21725
21726
21727    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
21728$as_echo_n "checking for float trig functions... " >&6; }
21729  if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
21730  $as_echo_n "(cached) " >&6
21731else
21732
21733
21734    ac_ext=cpp
21735ac_cpp='$CXXCPP $CPPFLAGS'
21736ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21737ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21738ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21739
21740    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21741/* end confdefs.h.  */
21742#include <math.h>
21743int
21744main ()
21745{
21746acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21747  ;
21748  return 0;
21749}
21750_ACEOF
21751if ac_fn_cxx_try_compile "$LINENO"; then :
21752  glibcxx_cv_func_float_trig_use=yes
21753else
21754  glibcxx_cv_func_float_trig_use=no
21755fi
21756rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21757    ac_ext=c
21758ac_cpp='$CPP $CPPFLAGS'
21759ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21760ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21761ac_compiler_gnu=$ac_cv_c_compiler_gnu
21762
21763fi
21764
21765  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
21766$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
21767  if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
21768    for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
21769do :
21770  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21771ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21772eval as_val=\$$as_ac_var
21773   if test "x$as_val" = x""yes; then :
21774  cat >>confdefs.h <<_ACEOF
21775#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21776_ACEOF
21777
21778fi
21779done
21780
21781  else
21782    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
21783$as_echo_n "checking for _float trig functions... " >&6; }
21784    if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
21785  $as_echo_n "(cached) " >&6
21786else
21787
21788
21789      ac_ext=cpp
21790ac_cpp='$CXXCPP $CPPFLAGS'
21791ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21792ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21793ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21794
21795      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21796/* end confdefs.h.  */
21797#include <math.h>
21798int
21799main ()
21800{
21801_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
21802  ;
21803  return 0;
21804}
21805_ACEOF
21806if ac_fn_cxx_try_compile "$LINENO"; then :
21807  glibcxx_cv_func__float_trig_use=yes
21808else
21809  glibcxx_cv_func__float_trig_use=no
21810fi
21811rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21812      ac_ext=c
21813ac_cpp='$CPP $CPPFLAGS'
21814ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21815ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21816ac_compiler_gnu=$ac_cv_c_compiler_gnu
21817
21818fi
21819
21820    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
21821$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
21822    if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
21823      for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
21824do :
21825  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21826ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21827eval as_val=\$$as_ac_var
21828   if test "x$as_val" = x""yes; then :
21829  cat >>confdefs.h <<_ACEOF
21830#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21831_ACEOF
21832
21833fi
21834done
21835
21836    fi
21837  fi
21838
21839
21840
21841
21842
21843    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
21844$as_echo_n "checking for float round functions... " >&6; }
21845  if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
21846  $as_echo_n "(cached) " >&6
21847else
21848
21849
21850    ac_ext=cpp
21851ac_cpp='$CXXCPP $CPPFLAGS'
21852ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21853ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21854ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21855
21856    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21857/* end confdefs.h.  */
21858#include <math.h>
21859int
21860main ()
21861{
21862ceilf (0); floorf (0);
21863  ;
21864  return 0;
21865}
21866_ACEOF
21867if ac_fn_cxx_try_compile "$LINENO"; then :
21868  glibcxx_cv_func_float_round_use=yes
21869else
21870  glibcxx_cv_func_float_round_use=no
21871fi
21872rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21873    ac_ext=c
21874ac_cpp='$CPP $CPPFLAGS'
21875ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21876ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21877ac_compiler_gnu=$ac_cv_c_compiler_gnu
21878
21879fi
21880
21881  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
21882$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
21883  if test x$glibcxx_cv_func_float_round_use = x"yes"; then
21884    for ac_func in ceilf floorf
21885do :
21886  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21887ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21888eval as_val=\$$as_ac_var
21889   if test "x$as_val" = x""yes; then :
21890  cat >>confdefs.h <<_ACEOF
21891#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21892_ACEOF
21893
21894fi
21895done
21896
21897  else
21898    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
21899$as_echo_n "checking for _float round functions... " >&6; }
21900    if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
21901  $as_echo_n "(cached) " >&6
21902else
21903
21904
21905      ac_ext=cpp
21906ac_cpp='$CXXCPP $CPPFLAGS'
21907ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21908ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21909ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21910
21911      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21912/* end confdefs.h.  */
21913#include <math.h>
21914int
21915main ()
21916{
21917_ceilf (0); _floorf (0);
21918  ;
21919  return 0;
21920}
21921_ACEOF
21922if ac_fn_cxx_try_compile "$LINENO"; then :
21923  glibcxx_cv_func__float_round_use=yes
21924else
21925  glibcxx_cv_func__float_round_use=no
21926fi
21927rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21928      ac_ext=c
21929ac_cpp='$CPP $CPPFLAGS'
21930ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21931ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21932ac_compiler_gnu=$ac_cv_c_compiler_gnu
21933
21934fi
21935
21936    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
21937$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
21938    if test x$glibcxx_cv_func__float_round_use = x"yes"; then
21939      for ac_func in _ceilf _floorf
21940do :
21941  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21942ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21943eval as_val=\$$as_ac_var
21944   if test "x$as_val" = x""yes; then :
21945  cat >>confdefs.h <<_ACEOF
21946#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21947_ACEOF
21948
21949fi
21950done
21951
21952    fi
21953  fi
21954
21955
21956
21957
21958
21959
21960  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
21961$as_echo_n "checking for expf declaration... " >&6; }
21962  if test x${glibcxx_cv_func_expf_use+set} != xset; then
21963    if test "${glibcxx_cv_func_expf_use+set}" = set; then :
21964  $as_echo_n "(cached) " >&6
21965else
21966
21967
21968      ac_ext=cpp
21969ac_cpp='$CXXCPP $CPPFLAGS'
21970ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21971ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21972ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21973
21974      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21975/* end confdefs.h.  */
21976#include <math.h>
21977		      #ifdef HAVE_IEEEFP_H
21978		      #include <ieeefp.h>
21979		      #endif
21980
21981int
21982main ()
21983{
21984 expf(0);
21985  ;
21986  return 0;
21987}
21988_ACEOF
21989if ac_fn_cxx_try_compile "$LINENO"; then :
21990  glibcxx_cv_func_expf_use=yes
21991else
21992  glibcxx_cv_func_expf_use=no
21993fi
21994rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21995      ac_ext=c
21996ac_cpp='$CPP $CPPFLAGS'
21997ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21998ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21999ac_compiler_gnu=$ac_cv_c_compiler_gnu
22000
22001
22002fi
22003
22004  fi
22005  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
22006$as_echo "$glibcxx_cv_func_expf_use" >&6; }
22007
22008  if test x$glibcxx_cv_func_expf_use = x"yes"; then
22009    for ac_func in expf
22010do :
22011  ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
22012if test "x$ac_cv_func_expf" = x""yes; then :
22013  cat >>confdefs.h <<_ACEOF
22014#define HAVE_EXPF 1
22015_ACEOF
22016
22017fi
22018done
22019
22020  else
22021
22022  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
22023$as_echo_n "checking for _expf declaration... " >&6; }
22024  if test x${glibcxx_cv_func__expf_use+set} != xset; then
22025    if test "${glibcxx_cv_func__expf_use+set}" = set; then :
22026  $as_echo_n "(cached) " >&6
22027else
22028
22029
22030      ac_ext=cpp
22031ac_cpp='$CXXCPP $CPPFLAGS'
22032ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22033ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22034ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22035
22036      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22037/* end confdefs.h.  */
22038#include <math.h>
22039		      #ifdef HAVE_IEEEFP_H
22040		      #include <ieeefp.h>
22041		      #endif
22042
22043int
22044main ()
22045{
22046 _expf(0);
22047  ;
22048  return 0;
22049}
22050_ACEOF
22051if ac_fn_cxx_try_compile "$LINENO"; then :
22052  glibcxx_cv_func__expf_use=yes
22053else
22054  glibcxx_cv_func__expf_use=no
22055fi
22056rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22057      ac_ext=c
22058ac_cpp='$CPP $CPPFLAGS'
22059ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22060ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22061ac_compiler_gnu=$ac_cv_c_compiler_gnu
22062
22063
22064fi
22065
22066  fi
22067  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
22068$as_echo "$glibcxx_cv_func__expf_use" >&6; }
22069
22070    if test x$glibcxx_cv_func__expf_use = x"yes"; then
22071      for ac_func in _expf
22072do :
22073  ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
22074if test "x$ac_cv_func__expf" = x""yes; then :
22075  cat >>confdefs.h <<_ACEOF
22076#define HAVE__EXPF 1
22077_ACEOF
22078
22079fi
22080done
22081
22082    fi
22083  fi
22084
22085
22086
22087
22088
22089  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
22090$as_echo_n "checking for isnanf declaration... " >&6; }
22091  if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
22092    if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
22093  $as_echo_n "(cached) " >&6
22094else
22095
22096
22097      ac_ext=cpp
22098ac_cpp='$CXXCPP $CPPFLAGS'
22099ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22100ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22101ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22102
22103      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22104/* end confdefs.h.  */
22105#include <math.h>
22106		      #ifdef HAVE_IEEEFP_H
22107		      #include <ieeefp.h>
22108		      #endif
22109
22110int
22111main ()
22112{
22113 isnanf(0);
22114  ;
22115  return 0;
22116}
22117_ACEOF
22118if ac_fn_cxx_try_compile "$LINENO"; then :
22119  glibcxx_cv_func_isnanf_use=yes
22120else
22121  glibcxx_cv_func_isnanf_use=no
22122fi
22123rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22124      ac_ext=c
22125ac_cpp='$CPP $CPPFLAGS'
22126ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22127ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22128ac_compiler_gnu=$ac_cv_c_compiler_gnu
22129
22130
22131fi
22132
22133  fi
22134  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
22135$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
22136
22137  if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
22138    for ac_func in isnanf
22139do :
22140  ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
22141if test "x$ac_cv_func_isnanf" = x""yes; then :
22142  cat >>confdefs.h <<_ACEOF
22143#define HAVE_ISNANF 1
22144_ACEOF
22145
22146fi
22147done
22148
22149  else
22150
22151  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
22152$as_echo_n "checking for _isnanf declaration... " >&6; }
22153  if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
22154    if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
22155  $as_echo_n "(cached) " >&6
22156else
22157
22158
22159      ac_ext=cpp
22160ac_cpp='$CXXCPP $CPPFLAGS'
22161ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22162ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22163ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22164
22165      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22166/* end confdefs.h.  */
22167#include <math.h>
22168		      #ifdef HAVE_IEEEFP_H
22169		      #include <ieeefp.h>
22170		      #endif
22171
22172int
22173main ()
22174{
22175 _isnanf(0);
22176  ;
22177  return 0;
22178}
22179_ACEOF
22180if ac_fn_cxx_try_compile "$LINENO"; then :
22181  glibcxx_cv_func__isnanf_use=yes
22182else
22183  glibcxx_cv_func__isnanf_use=no
22184fi
22185rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22186      ac_ext=c
22187ac_cpp='$CPP $CPPFLAGS'
22188ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22189ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22190ac_compiler_gnu=$ac_cv_c_compiler_gnu
22191
22192
22193fi
22194
22195  fi
22196  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
22197$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
22198
22199    if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
22200      for ac_func in _isnanf
22201do :
22202  ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
22203if test "x$ac_cv_func__isnanf" = x""yes; then :
22204  cat >>confdefs.h <<_ACEOF
22205#define HAVE__ISNANF 1
22206_ACEOF
22207
22208fi
22209done
22210
22211    fi
22212  fi
22213
22214
22215
22216
22217
22218  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
22219$as_echo_n "checking for isinff declaration... " >&6; }
22220  if test x${glibcxx_cv_func_isinff_use+set} != xset; then
22221    if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
22222  $as_echo_n "(cached) " >&6
22223else
22224
22225
22226      ac_ext=cpp
22227ac_cpp='$CXXCPP $CPPFLAGS'
22228ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22229ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22230ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22231
22232      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22233/* end confdefs.h.  */
22234#include <math.h>
22235		      #ifdef HAVE_IEEEFP_H
22236		      #include <ieeefp.h>
22237		      #endif
22238
22239int
22240main ()
22241{
22242 isinff(0);
22243  ;
22244  return 0;
22245}
22246_ACEOF
22247if ac_fn_cxx_try_compile "$LINENO"; then :
22248  glibcxx_cv_func_isinff_use=yes
22249else
22250  glibcxx_cv_func_isinff_use=no
22251fi
22252rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22253      ac_ext=c
22254ac_cpp='$CPP $CPPFLAGS'
22255ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22256ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22257ac_compiler_gnu=$ac_cv_c_compiler_gnu
22258
22259
22260fi
22261
22262  fi
22263  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
22264$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
22265
22266  if test x$glibcxx_cv_func_isinff_use = x"yes"; then
22267    for ac_func in isinff
22268do :
22269  ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
22270if test "x$ac_cv_func_isinff" = x""yes; then :
22271  cat >>confdefs.h <<_ACEOF
22272#define HAVE_ISINFF 1
22273_ACEOF
22274
22275fi
22276done
22277
22278  else
22279
22280  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
22281$as_echo_n "checking for _isinff declaration... " >&6; }
22282  if test x${glibcxx_cv_func__isinff_use+set} != xset; then
22283    if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
22284  $as_echo_n "(cached) " >&6
22285else
22286
22287
22288      ac_ext=cpp
22289ac_cpp='$CXXCPP $CPPFLAGS'
22290ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22291ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22292ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22293
22294      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22295/* end confdefs.h.  */
22296#include <math.h>
22297		      #ifdef HAVE_IEEEFP_H
22298		      #include <ieeefp.h>
22299		      #endif
22300
22301int
22302main ()
22303{
22304 _isinff(0);
22305  ;
22306  return 0;
22307}
22308_ACEOF
22309if ac_fn_cxx_try_compile "$LINENO"; then :
22310  glibcxx_cv_func__isinff_use=yes
22311else
22312  glibcxx_cv_func__isinff_use=no
22313fi
22314rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22315      ac_ext=c
22316ac_cpp='$CPP $CPPFLAGS'
22317ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22318ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22319ac_compiler_gnu=$ac_cv_c_compiler_gnu
22320
22321
22322fi
22323
22324  fi
22325  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
22326$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
22327
22328    if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22329      for ac_func in _isinff
22330do :
22331  ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
22332if test "x$ac_cv_func__isinff" = x""yes; then :
22333  cat >>confdefs.h <<_ACEOF
22334#define HAVE__ISINFF 1
22335_ACEOF
22336
22337fi
22338done
22339
22340    fi
22341  fi
22342
22343
22344
22345
22346
22347  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
22348$as_echo_n "checking for atan2f declaration... " >&6; }
22349  if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22350    if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
22351  $as_echo_n "(cached) " >&6
22352else
22353
22354
22355      ac_ext=cpp
22356ac_cpp='$CXXCPP $CPPFLAGS'
22357ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22358ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22359ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22360
22361      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22362/* end confdefs.h.  */
22363#include <math.h>
22364int
22365main ()
22366{
22367 atan2f(0, 0);
22368  ;
22369  return 0;
22370}
22371_ACEOF
22372if ac_fn_cxx_try_compile "$LINENO"; then :
22373  glibcxx_cv_func_atan2f_use=yes
22374else
22375  glibcxx_cv_func_atan2f_use=no
22376fi
22377rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22378      ac_ext=c
22379ac_cpp='$CPP $CPPFLAGS'
22380ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22381ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22382ac_compiler_gnu=$ac_cv_c_compiler_gnu
22383
22384
22385fi
22386
22387  fi
22388  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
22389$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
22390
22391  if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22392    for ac_func in atan2f
22393do :
22394  ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
22395if test "x$ac_cv_func_atan2f" = x""yes; then :
22396  cat >>confdefs.h <<_ACEOF
22397#define HAVE_ATAN2F 1
22398_ACEOF
22399
22400fi
22401done
22402
22403  else
22404
22405  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
22406$as_echo_n "checking for _atan2f declaration... " >&6; }
22407  if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22408    if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
22409  $as_echo_n "(cached) " >&6
22410else
22411
22412
22413      ac_ext=cpp
22414ac_cpp='$CXXCPP $CPPFLAGS'
22415ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22416ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22417ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22418
22419      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22420/* end confdefs.h.  */
22421#include <math.h>
22422int
22423main ()
22424{
22425 _atan2f(0, 0);
22426  ;
22427  return 0;
22428}
22429_ACEOF
22430if ac_fn_cxx_try_compile "$LINENO"; then :
22431  glibcxx_cv_func__atan2f_use=yes
22432else
22433  glibcxx_cv_func__atan2f_use=no
22434fi
22435rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22436      ac_ext=c
22437ac_cpp='$CPP $CPPFLAGS'
22438ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22439ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22440ac_compiler_gnu=$ac_cv_c_compiler_gnu
22441
22442
22443fi
22444
22445  fi
22446  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
22447$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
22448
22449    if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22450      for ac_func in _atan2f
22451do :
22452  ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
22453if test "x$ac_cv_func__atan2f" = x""yes; then :
22454  cat >>confdefs.h <<_ACEOF
22455#define HAVE__ATAN2F 1
22456_ACEOF
22457
22458fi
22459done
22460
22461    fi
22462  fi
22463
22464
22465
22466
22467
22468  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
22469$as_echo_n "checking for fabsf declaration... " >&6; }
22470  if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22471    if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
22472  $as_echo_n "(cached) " >&6
22473else
22474
22475
22476      ac_ext=cpp
22477ac_cpp='$CXXCPP $CPPFLAGS'
22478ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22479ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22480ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22481
22482      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22483/* end confdefs.h.  */
22484#include <math.h>
22485		      #ifdef HAVE_IEEEFP_H
22486		      #include <ieeefp.h>
22487		      #endif
22488
22489int
22490main ()
22491{
22492 fabsf(0);
22493  ;
22494  return 0;
22495}
22496_ACEOF
22497if ac_fn_cxx_try_compile "$LINENO"; then :
22498  glibcxx_cv_func_fabsf_use=yes
22499else
22500  glibcxx_cv_func_fabsf_use=no
22501fi
22502rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22503      ac_ext=c
22504ac_cpp='$CPP $CPPFLAGS'
22505ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22506ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22507ac_compiler_gnu=$ac_cv_c_compiler_gnu
22508
22509
22510fi
22511
22512  fi
22513  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
22514$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
22515
22516  if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22517    for ac_func in fabsf
22518do :
22519  ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
22520if test "x$ac_cv_func_fabsf" = x""yes; then :
22521  cat >>confdefs.h <<_ACEOF
22522#define HAVE_FABSF 1
22523_ACEOF
22524
22525fi
22526done
22527
22528  else
22529
22530  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
22531$as_echo_n "checking for _fabsf declaration... " >&6; }
22532  if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22533    if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
22534  $as_echo_n "(cached) " >&6
22535else
22536
22537
22538      ac_ext=cpp
22539ac_cpp='$CXXCPP $CPPFLAGS'
22540ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22541ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22542ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22543
22544      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22545/* end confdefs.h.  */
22546#include <math.h>
22547		      #ifdef HAVE_IEEEFP_H
22548		      #include <ieeefp.h>
22549		      #endif
22550
22551int
22552main ()
22553{
22554 _fabsf(0);
22555  ;
22556  return 0;
22557}
22558_ACEOF
22559if ac_fn_cxx_try_compile "$LINENO"; then :
22560  glibcxx_cv_func__fabsf_use=yes
22561else
22562  glibcxx_cv_func__fabsf_use=no
22563fi
22564rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22565      ac_ext=c
22566ac_cpp='$CPP $CPPFLAGS'
22567ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22568ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22569ac_compiler_gnu=$ac_cv_c_compiler_gnu
22570
22571
22572fi
22573
22574  fi
22575  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
22576$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
22577
22578    if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22579      for ac_func in _fabsf
22580do :
22581  ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
22582if test "x$ac_cv_func__fabsf" = x""yes; then :
22583  cat >>confdefs.h <<_ACEOF
22584#define HAVE__FABSF 1
22585_ACEOF
22586
22587fi
22588done
22589
22590    fi
22591  fi
22592
22593
22594
22595
22596
22597  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
22598$as_echo_n "checking for fmodf declaration... " >&6; }
22599  if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22600    if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
22601  $as_echo_n "(cached) " >&6
22602else
22603
22604
22605      ac_ext=cpp
22606ac_cpp='$CXXCPP $CPPFLAGS'
22607ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22608ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22609ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22610
22611      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22612/* end confdefs.h.  */
22613#include <math.h>
22614int
22615main ()
22616{
22617 fmodf(0, 0);
22618  ;
22619  return 0;
22620}
22621_ACEOF
22622if ac_fn_cxx_try_compile "$LINENO"; then :
22623  glibcxx_cv_func_fmodf_use=yes
22624else
22625  glibcxx_cv_func_fmodf_use=no
22626fi
22627rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22628      ac_ext=c
22629ac_cpp='$CPP $CPPFLAGS'
22630ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22631ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22632ac_compiler_gnu=$ac_cv_c_compiler_gnu
22633
22634
22635fi
22636
22637  fi
22638  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
22639$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
22640
22641  if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
22642    for ac_func in fmodf
22643do :
22644  ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
22645if test "x$ac_cv_func_fmodf" = x""yes; then :
22646  cat >>confdefs.h <<_ACEOF
22647#define HAVE_FMODF 1
22648_ACEOF
22649
22650fi
22651done
22652
22653  else
22654
22655  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
22656$as_echo_n "checking for _fmodf declaration... " >&6; }
22657  if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
22658    if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
22659  $as_echo_n "(cached) " >&6
22660else
22661
22662
22663      ac_ext=cpp
22664ac_cpp='$CXXCPP $CPPFLAGS'
22665ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22666ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22667ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22668
22669      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22670/* end confdefs.h.  */
22671#include <math.h>
22672int
22673main ()
22674{
22675 _fmodf(0, 0);
22676  ;
22677  return 0;
22678}
22679_ACEOF
22680if ac_fn_cxx_try_compile "$LINENO"; then :
22681  glibcxx_cv_func__fmodf_use=yes
22682else
22683  glibcxx_cv_func__fmodf_use=no
22684fi
22685rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22686      ac_ext=c
22687ac_cpp='$CPP $CPPFLAGS'
22688ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22689ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22690ac_compiler_gnu=$ac_cv_c_compiler_gnu
22691
22692
22693fi
22694
22695  fi
22696  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
22697$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
22698
22699    if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
22700      for ac_func in _fmodf
22701do :
22702  ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
22703if test "x$ac_cv_func__fmodf" = x""yes; then :
22704  cat >>confdefs.h <<_ACEOF
22705#define HAVE__FMODF 1
22706_ACEOF
22707
22708fi
22709done
22710
22711    fi
22712  fi
22713
22714
22715
22716
22717
22718  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
22719$as_echo_n "checking for frexpf declaration... " >&6; }
22720  if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
22721    if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
22722  $as_echo_n "(cached) " >&6
22723else
22724
22725
22726      ac_ext=cpp
22727ac_cpp='$CXXCPP $CPPFLAGS'
22728ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22729ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22730ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22731
22732      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22733/* end confdefs.h.  */
22734#include <math.h>
22735int
22736main ()
22737{
22738 frexpf(0, 0);
22739  ;
22740  return 0;
22741}
22742_ACEOF
22743if ac_fn_cxx_try_compile "$LINENO"; then :
22744  glibcxx_cv_func_frexpf_use=yes
22745else
22746  glibcxx_cv_func_frexpf_use=no
22747fi
22748rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22749      ac_ext=c
22750ac_cpp='$CPP $CPPFLAGS'
22751ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22752ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22753ac_compiler_gnu=$ac_cv_c_compiler_gnu
22754
22755
22756fi
22757
22758  fi
22759  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
22760$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
22761
22762  if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
22763    for ac_func in frexpf
22764do :
22765  ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
22766if test "x$ac_cv_func_frexpf" = x""yes; then :
22767  cat >>confdefs.h <<_ACEOF
22768#define HAVE_FREXPF 1
22769_ACEOF
22770
22771fi
22772done
22773
22774  else
22775
22776  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
22777$as_echo_n "checking for _frexpf declaration... " >&6; }
22778  if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
22779    if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
22780  $as_echo_n "(cached) " >&6
22781else
22782
22783
22784      ac_ext=cpp
22785ac_cpp='$CXXCPP $CPPFLAGS'
22786ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22787ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22788ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22789
22790      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22791/* end confdefs.h.  */
22792#include <math.h>
22793int
22794main ()
22795{
22796 _frexpf(0, 0);
22797  ;
22798  return 0;
22799}
22800_ACEOF
22801if ac_fn_cxx_try_compile "$LINENO"; then :
22802  glibcxx_cv_func__frexpf_use=yes
22803else
22804  glibcxx_cv_func__frexpf_use=no
22805fi
22806rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22807      ac_ext=c
22808ac_cpp='$CPP $CPPFLAGS'
22809ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22810ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22811ac_compiler_gnu=$ac_cv_c_compiler_gnu
22812
22813
22814fi
22815
22816  fi
22817  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
22818$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
22819
22820    if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
22821      for ac_func in _frexpf
22822do :
22823  ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
22824if test "x$ac_cv_func__frexpf" = x""yes; then :
22825  cat >>confdefs.h <<_ACEOF
22826#define HAVE__FREXPF 1
22827_ACEOF
22828
22829fi
22830done
22831
22832    fi
22833  fi
22834
22835
22836
22837
22838
22839  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
22840$as_echo_n "checking for hypotf declaration... " >&6; }
22841  if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
22842    if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
22843  $as_echo_n "(cached) " >&6
22844else
22845
22846
22847      ac_ext=cpp
22848ac_cpp='$CXXCPP $CPPFLAGS'
22849ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22850ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22851ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22852
22853      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22854/* end confdefs.h.  */
22855#include <math.h>
22856int
22857main ()
22858{
22859 hypotf(0, 0);
22860  ;
22861  return 0;
22862}
22863_ACEOF
22864if ac_fn_cxx_try_compile "$LINENO"; then :
22865  glibcxx_cv_func_hypotf_use=yes
22866else
22867  glibcxx_cv_func_hypotf_use=no
22868fi
22869rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22870      ac_ext=c
22871ac_cpp='$CPP $CPPFLAGS'
22872ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22873ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22874ac_compiler_gnu=$ac_cv_c_compiler_gnu
22875
22876
22877fi
22878
22879  fi
22880  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
22881$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
22882
22883  if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
22884    for ac_func in hypotf
22885do :
22886  ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
22887if test "x$ac_cv_func_hypotf" = x""yes; then :
22888  cat >>confdefs.h <<_ACEOF
22889#define HAVE_HYPOTF 1
22890_ACEOF
22891
22892fi
22893done
22894
22895  else
22896
22897  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
22898$as_echo_n "checking for _hypotf declaration... " >&6; }
22899  if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
22900    if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
22901  $as_echo_n "(cached) " >&6
22902else
22903
22904
22905      ac_ext=cpp
22906ac_cpp='$CXXCPP $CPPFLAGS'
22907ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22908ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22909ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22910
22911      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22912/* end confdefs.h.  */
22913#include <math.h>
22914int
22915main ()
22916{
22917 _hypotf(0, 0);
22918  ;
22919  return 0;
22920}
22921_ACEOF
22922if ac_fn_cxx_try_compile "$LINENO"; then :
22923  glibcxx_cv_func__hypotf_use=yes
22924else
22925  glibcxx_cv_func__hypotf_use=no
22926fi
22927rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22928      ac_ext=c
22929ac_cpp='$CPP $CPPFLAGS'
22930ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22931ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22932ac_compiler_gnu=$ac_cv_c_compiler_gnu
22933
22934
22935fi
22936
22937  fi
22938  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
22939$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
22940
22941    if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
22942      for ac_func in _hypotf
22943do :
22944  ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
22945if test "x$ac_cv_func__hypotf" = x""yes; then :
22946  cat >>confdefs.h <<_ACEOF
22947#define HAVE__HYPOTF 1
22948_ACEOF
22949
22950fi
22951done
22952
22953    fi
22954  fi
22955
22956
22957
22958
22959
22960  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
22961$as_echo_n "checking for ldexpf declaration... " >&6; }
22962  if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
22963    if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
22964  $as_echo_n "(cached) " >&6
22965else
22966
22967
22968      ac_ext=cpp
22969ac_cpp='$CXXCPP $CPPFLAGS'
22970ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22971ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22972ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22973
22974      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22975/* end confdefs.h.  */
22976#include <math.h>
22977int
22978main ()
22979{
22980 ldexpf(0, 0);
22981  ;
22982  return 0;
22983}
22984_ACEOF
22985if ac_fn_cxx_try_compile "$LINENO"; then :
22986  glibcxx_cv_func_ldexpf_use=yes
22987else
22988  glibcxx_cv_func_ldexpf_use=no
22989fi
22990rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22991      ac_ext=c
22992ac_cpp='$CPP $CPPFLAGS'
22993ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22994ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22995ac_compiler_gnu=$ac_cv_c_compiler_gnu
22996
22997
22998fi
22999
23000  fi
23001  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
23002$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
23003
23004  if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
23005    for ac_func in ldexpf
23006do :
23007  ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
23008if test "x$ac_cv_func_ldexpf" = x""yes; then :
23009  cat >>confdefs.h <<_ACEOF
23010#define HAVE_LDEXPF 1
23011_ACEOF
23012
23013fi
23014done
23015
23016  else
23017
23018  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
23019$as_echo_n "checking for _ldexpf declaration... " >&6; }
23020  if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
23021    if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
23022  $as_echo_n "(cached) " >&6
23023else
23024
23025
23026      ac_ext=cpp
23027ac_cpp='$CXXCPP $CPPFLAGS'
23028ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23029ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23030ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23031
23032      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23033/* end confdefs.h.  */
23034#include <math.h>
23035int
23036main ()
23037{
23038 _ldexpf(0, 0);
23039  ;
23040  return 0;
23041}
23042_ACEOF
23043if ac_fn_cxx_try_compile "$LINENO"; then :
23044  glibcxx_cv_func__ldexpf_use=yes
23045else
23046  glibcxx_cv_func__ldexpf_use=no
23047fi
23048rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23049      ac_ext=c
23050ac_cpp='$CPP $CPPFLAGS'
23051ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23052ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23053ac_compiler_gnu=$ac_cv_c_compiler_gnu
23054
23055
23056fi
23057
23058  fi
23059  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
23060$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
23061
23062    if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
23063      for ac_func in _ldexpf
23064do :
23065  ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
23066if test "x$ac_cv_func__ldexpf" = x""yes; then :
23067  cat >>confdefs.h <<_ACEOF
23068#define HAVE__LDEXPF 1
23069_ACEOF
23070
23071fi
23072done
23073
23074    fi
23075  fi
23076
23077
23078
23079
23080
23081  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
23082$as_echo_n "checking for logf declaration... " >&6; }
23083  if test x${glibcxx_cv_func_logf_use+set} != xset; then
23084    if test "${glibcxx_cv_func_logf_use+set}" = set; then :
23085  $as_echo_n "(cached) " >&6
23086else
23087
23088
23089      ac_ext=cpp
23090ac_cpp='$CXXCPP $CPPFLAGS'
23091ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23092ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23093ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23094
23095      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23096/* end confdefs.h.  */
23097#include <math.h>
23098		      #ifdef HAVE_IEEEFP_H
23099		      #include <ieeefp.h>
23100		      #endif
23101
23102int
23103main ()
23104{
23105 logf(0);
23106  ;
23107  return 0;
23108}
23109_ACEOF
23110if ac_fn_cxx_try_compile "$LINENO"; then :
23111  glibcxx_cv_func_logf_use=yes
23112else
23113  glibcxx_cv_func_logf_use=no
23114fi
23115rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23116      ac_ext=c
23117ac_cpp='$CPP $CPPFLAGS'
23118ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23119ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23120ac_compiler_gnu=$ac_cv_c_compiler_gnu
23121
23122
23123fi
23124
23125  fi
23126  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
23127$as_echo "$glibcxx_cv_func_logf_use" >&6; }
23128
23129  if test x$glibcxx_cv_func_logf_use = x"yes"; then
23130    for ac_func in logf
23131do :
23132  ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
23133if test "x$ac_cv_func_logf" = x""yes; then :
23134  cat >>confdefs.h <<_ACEOF
23135#define HAVE_LOGF 1
23136_ACEOF
23137
23138fi
23139done
23140
23141  else
23142
23143  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
23144$as_echo_n "checking for _logf declaration... " >&6; }
23145  if test x${glibcxx_cv_func__logf_use+set} != xset; then
23146    if test "${glibcxx_cv_func__logf_use+set}" = set; then :
23147  $as_echo_n "(cached) " >&6
23148else
23149
23150
23151      ac_ext=cpp
23152ac_cpp='$CXXCPP $CPPFLAGS'
23153ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23154ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23155ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23156
23157      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23158/* end confdefs.h.  */
23159#include <math.h>
23160		      #ifdef HAVE_IEEEFP_H
23161		      #include <ieeefp.h>
23162		      #endif
23163
23164int
23165main ()
23166{
23167 _logf(0);
23168  ;
23169  return 0;
23170}
23171_ACEOF
23172if ac_fn_cxx_try_compile "$LINENO"; then :
23173  glibcxx_cv_func__logf_use=yes
23174else
23175  glibcxx_cv_func__logf_use=no
23176fi
23177rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23178      ac_ext=c
23179ac_cpp='$CPP $CPPFLAGS'
23180ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23181ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23182ac_compiler_gnu=$ac_cv_c_compiler_gnu
23183
23184
23185fi
23186
23187  fi
23188  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
23189$as_echo "$glibcxx_cv_func__logf_use" >&6; }
23190
23191    if test x$glibcxx_cv_func__logf_use = x"yes"; then
23192      for ac_func in _logf
23193do :
23194  ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
23195if test "x$ac_cv_func__logf" = x""yes; then :
23196  cat >>confdefs.h <<_ACEOF
23197#define HAVE__LOGF 1
23198_ACEOF
23199
23200fi
23201done
23202
23203    fi
23204  fi
23205
23206
23207
23208
23209
23210  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
23211$as_echo_n "checking for log10f declaration... " >&6; }
23212  if test x${glibcxx_cv_func_log10f_use+set} != xset; then
23213    if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
23214  $as_echo_n "(cached) " >&6
23215else
23216
23217
23218      ac_ext=cpp
23219ac_cpp='$CXXCPP $CPPFLAGS'
23220ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23221ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23222ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23223
23224      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23225/* end confdefs.h.  */
23226#include <math.h>
23227		      #ifdef HAVE_IEEEFP_H
23228		      #include <ieeefp.h>
23229		      #endif
23230
23231int
23232main ()
23233{
23234 log10f(0);
23235  ;
23236  return 0;
23237}
23238_ACEOF
23239if ac_fn_cxx_try_compile "$LINENO"; then :
23240  glibcxx_cv_func_log10f_use=yes
23241else
23242  glibcxx_cv_func_log10f_use=no
23243fi
23244rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23245      ac_ext=c
23246ac_cpp='$CPP $CPPFLAGS'
23247ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23248ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23249ac_compiler_gnu=$ac_cv_c_compiler_gnu
23250
23251
23252fi
23253
23254  fi
23255  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
23256$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
23257
23258  if test x$glibcxx_cv_func_log10f_use = x"yes"; then
23259    for ac_func in log10f
23260do :
23261  ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
23262if test "x$ac_cv_func_log10f" = x""yes; then :
23263  cat >>confdefs.h <<_ACEOF
23264#define HAVE_LOG10F 1
23265_ACEOF
23266
23267fi
23268done
23269
23270  else
23271
23272  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
23273$as_echo_n "checking for _log10f declaration... " >&6; }
23274  if test x${glibcxx_cv_func__log10f_use+set} != xset; then
23275    if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
23276  $as_echo_n "(cached) " >&6
23277else
23278
23279
23280      ac_ext=cpp
23281ac_cpp='$CXXCPP $CPPFLAGS'
23282ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23283ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23284ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23285
23286      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23287/* end confdefs.h.  */
23288#include <math.h>
23289		      #ifdef HAVE_IEEEFP_H
23290		      #include <ieeefp.h>
23291		      #endif
23292
23293int
23294main ()
23295{
23296 _log10f(0);
23297  ;
23298  return 0;
23299}
23300_ACEOF
23301if ac_fn_cxx_try_compile "$LINENO"; then :
23302  glibcxx_cv_func__log10f_use=yes
23303else
23304  glibcxx_cv_func__log10f_use=no
23305fi
23306rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23307      ac_ext=c
23308ac_cpp='$CPP $CPPFLAGS'
23309ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23310ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23311ac_compiler_gnu=$ac_cv_c_compiler_gnu
23312
23313
23314fi
23315
23316  fi
23317  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
23318$as_echo "$glibcxx_cv_func__log10f_use" >&6; }
23319
23320    if test x$glibcxx_cv_func__log10f_use = x"yes"; then
23321      for ac_func in _log10f
23322do :
23323  ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
23324if test "x$ac_cv_func__log10f" = x""yes; then :
23325  cat >>confdefs.h <<_ACEOF
23326#define HAVE__LOG10F 1
23327_ACEOF
23328
23329fi
23330done
23331
23332    fi
23333  fi
23334
23335
23336
23337
23338
23339  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
23340$as_echo_n "checking for modff declaration... " >&6; }
23341  if test x${glibcxx_cv_func_modff_use+set} != xset; then
23342    if test "${glibcxx_cv_func_modff_use+set}" = set; then :
23343  $as_echo_n "(cached) " >&6
23344else
23345
23346
23347      ac_ext=cpp
23348ac_cpp='$CXXCPP $CPPFLAGS'
23349ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23350ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23351ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23352
23353      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23354/* end confdefs.h.  */
23355#include <math.h>
23356int
23357main ()
23358{
23359 modff(0, 0);
23360  ;
23361  return 0;
23362}
23363_ACEOF
23364if ac_fn_cxx_try_compile "$LINENO"; then :
23365  glibcxx_cv_func_modff_use=yes
23366else
23367  glibcxx_cv_func_modff_use=no
23368fi
23369rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23370      ac_ext=c
23371ac_cpp='$CPP $CPPFLAGS'
23372ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23373ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23374ac_compiler_gnu=$ac_cv_c_compiler_gnu
23375
23376
23377fi
23378
23379  fi
23380  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
23381$as_echo "$glibcxx_cv_func_modff_use" >&6; }
23382
23383  if test x$glibcxx_cv_func_modff_use = x"yes"; then
23384    for ac_func in modff
23385do :
23386  ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
23387if test "x$ac_cv_func_modff" = x""yes; then :
23388  cat >>confdefs.h <<_ACEOF
23389#define HAVE_MODFF 1
23390_ACEOF
23391
23392fi
23393done
23394
23395  else
23396
23397  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
23398$as_echo_n "checking for _modff declaration... " >&6; }
23399  if test x${glibcxx_cv_func__modff_use+set} != xset; then
23400    if test "${glibcxx_cv_func__modff_use+set}" = set; then :
23401  $as_echo_n "(cached) " >&6
23402else
23403
23404
23405      ac_ext=cpp
23406ac_cpp='$CXXCPP $CPPFLAGS'
23407ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23408ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23409ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23410
23411      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23412/* end confdefs.h.  */
23413#include <math.h>
23414int
23415main ()
23416{
23417 _modff(0, 0);
23418  ;
23419  return 0;
23420}
23421_ACEOF
23422if ac_fn_cxx_try_compile "$LINENO"; then :
23423  glibcxx_cv_func__modff_use=yes
23424else
23425  glibcxx_cv_func__modff_use=no
23426fi
23427rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23428      ac_ext=c
23429ac_cpp='$CPP $CPPFLAGS'
23430ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23431ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23432ac_compiler_gnu=$ac_cv_c_compiler_gnu
23433
23434
23435fi
23436
23437  fi
23438  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
23439$as_echo "$glibcxx_cv_func__modff_use" >&6; }
23440
23441    if test x$glibcxx_cv_func__modff_use = x"yes"; then
23442      for ac_func in _modff
23443do :
23444  ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
23445if test "x$ac_cv_func__modff" = x""yes; then :
23446  cat >>confdefs.h <<_ACEOF
23447#define HAVE__MODFF 1
23448_ACEOF
23449
23450fi
23451done
23452
23453    fi
23454  fi
23455
23456
23457
23458
23459
23460  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
23461$as_echo_n "checking for modf declaration... " >&6; }
23462  if test x${glibcxx_cv_func_modf_use+set} != xset; then
23463    if test "${glibcxx_cv_func_modf_use+set}" = set; then :
23464  $as_echo_n "(cached) " >&6
23465else
23466
23467
23468      ac_ext=cpp
23469ac_cpp='$CXXCPP $CPPFLAGS'
23470ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23471ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23472ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23473
23474      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23475/* end confdefs.h.  */
23476#include <math.h>
23477int
23478main ()
23479{
23480 modf(0, 0);
23481  ;
23482  return 0;
23483}
23484_ACEOF
23485if ac_fn_cxx_try_compile "$LINENO"; then :
23486  glibcxx_cv_func_modf_use=yes
23487else
23488  glibcxx_cv_func_modf_use=no
23489fi
23490rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23491      ac_ext=c
23492ac_cpp='$CPP $CPPFLAGS'
23493ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23494ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23495ac_compiler_gnu=$ac_cv_c_compiler_gnu
23496
23497
23498fi
23499
23500  fi
23501  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
23502$as_echo "$glibcxx_cv_func_modf_use" >&6; }
23503
23504  if test x$glibcxx_cv_func_modf_use = x"yes"; then
23505    for ac_func in modf
23506do :
23507  ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
23508if test "x$ac_cv_func_modf" = x""yes; then :
23509  cat >>confdefs.h <<_ACEOF
23510#define HAVE_MODF 1
23511_ACEOF
23512
23513fi
23514done
23515
23516  else
23517
23518  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
23519$as_echo_n "checking for _modf declaration... " >&6; }
23520  if test x${glibcxx_cv_func__modf_use+set} != xset; then
23521    if test "${glibcxx_cv_func__modf_use+set}" = set; then :
23522  $as_echo_n "(cached) " >&6
23523else
23524
23525
23526      ac_ext=cpp
23527ac_cpp='$CXXCPP $CPPFLAGS'
23528ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23529ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23530ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23531
23532      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23533/* end confdefs.h.  */
23534#include <math.h>
23535int
23536main ()
23537{
23538 _modf(0, 0);
23539  ;
23540  return 0;
23541}
23542_ACEOF
23543if ac_fn_cxx_try_compile "$LINENO"; then :
23544  glibcxx_cv_func__modf_use=yes
23545else
23546  glibcxx_cv_func__modf_use=no
23547fi
23548rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23549      ac_ext=c
23550ac_cpp='$CPP $CPPFLAGS'
23551ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23552ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23553ac_compiler_gnu=$ac_cv_c_compiler_gnu
23554
23555
23556fi
23557
23558  fi
23559  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
23560$as_echo "$glibcxx_cv_func__modf_use" >&6; }
23561
23562    if test x$glibcxx_cv_func__modf_use = x"yes"; then
23563      for ac_func in _modf
23564do :
23565  ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
23566if test "x$ac_cv_func__modf" = x""yes; then :
23567  cat >>confdefs.h <<_ACEOF
23568#define HAVE__MODF 1
23569_ACEOF
23570
23571fi
23572done
23573
23574    fi
23575  fi
23576
23577
23578
23579
23580
23581  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
23582$as_echo_n "checking for powf declaration... " >&6; }
23583  if test x${glibcxx_cv_func_powf_use+set} != xset; then
23584    if test "${glibcxx_cv_func_powf_use+set}" = set; then :
23585  $as_echo_n "(cached) " >&6
23586else
23587
23588
23589      ac_ext=cpp
23590ac_cpp='$CXXCPP $CPPFLAGS'
23591ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23592ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23593ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23594
23595      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23596/* end confdefs.h.  */
23597#include <math.h>
23598int
23599main ()
23600{
23601 powf(0, 0);
23602  ;
23603  return 0;
23604}
23605_ACEOF
23606if ac_fn_cxx_try_compile "$LINENO"; then :
23607  glibcxx_cv_func_powf_use=yes
23608else
23609  glibcxx_cv_func_powf_use=no
23610fi
23611rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23612      ac_ext=c
23613ac_cpp='$CPP $CPPFLAGS'
23614ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23615ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23616ac_compiler_gnu=$ac_cv_c_compiler_gnu
23617
23618
23619fi
23620
23621  fi
23622  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
23623$as_echo "$glibcxx_cv_func_powf_use" >&6; }
23624
23625  if test x$glibcxx_cv_func_powf_use = x"yes"; then
23626    for ac_func in powf
23627do :
23628  ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
23629if test "x$ac_cv_func_powf" = x""yes; then :
23630  cat >>confdefs.h <<_ACEOF
23631#define HAVE_POWF 1
23632_ACEOF
23633
23634fi
23635done
23636
23637  else
23638
23639  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
23640$as_echo_n "checking for _powf declaration... " >&6; }
23641  if test x${glibcxx_cv_func__powf_use+set} != xset; then
23642    if test "${glibcxx_cv_func__powf_use+set}" = set; then :
23643  $as_echo_n "(cached) " >&6
23644else
23645
23646
23647      ac_ext=cpp
23648ac_cpp='$CXXCPP $CPPFLAGS'
23649ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23650ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23651ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23652
23653      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23654/* end confdefs.h.  */
23655#include <math.h>
23656int
23657main ()
23658{
23659 _powf(0, 0);
23660  ;
23661  return 0;
23662}
23663_ACEOF
23664if ac_fn_cxx_try_compile "$LINENO"; then :
23665  glibcxx_cv_func__powf_use=yes
23666else
23667  glibcxx_cv_func__powf_use=no
23668fi
23669rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23670      ac_ext=c
23671ac_cpp='$CPP $CPPFLAGS'
23672ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23673ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23674ac_compiler_gnu=$ac_cv_c_compiler_gnu
23675
23676
23677fi
23678
23679  fi
23680  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
23681$as_echo "$glibcxx_cv_func__powf_use" >&6; }
23682
23683    if test x$glibcxx_cv_func__powf_use = x"yes"; then
23684      for ac_func in _powf
23685do :
23686  ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
23687if test "x$ac_cv_func__powf" = x""yes; then :
23688  cat >>confdefs.h <<_ACEOF
23689#define HAVE__POWF 1
23690_ACEOF
23691
23692fi
23693done
23694
23695    fi
23696  fi
23697
23698
23699
23700
23701
23702  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
23703$as_echo_n "checking for sqrtf declaration... " >&6; }
23704  if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
23705    if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
23706  $as_echo_n "(cached) " >&6
23707else
23708
23709
23710      ac_ext=cpp
23711ac_cpp='$CXXCPP $CPPFLAGS'
23712ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23713ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23714ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23715
23716      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23717/* end confdefs.h.  */
23718#include <math.h>
23719		      #ifdef HAVE_IEEEFP_H
23720		      #include <ieeefp.h>
23721		      #endif
23722
23723int
23724main ()
23725{
23726 sqrtf(0);
23727  ;
23728  return 0;
23729}
23730_ACEOF
23731if ac_fn_cxx_try_compile "$LINENO"; then :
23732  glibcxx_cv_func_sqrtf_use=yes
23733else
23734  glibcxx_cv_func_sqrtf_use=no
23735fi
23736rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23737      ac_ext=c
23738ac_cpp='$CPP $CPPFLAGS'
23739ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23740ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23741ac_compiler_gnu=$ac_cv_c_compiler_gnu
23742
23743
23744fi
23745
23746  fi
23747  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
23748$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
23749
23750  if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
23751    for ac_func in sqrtf
23752do :
23753  ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
23754if test "x$ac_cv_func_sqrtf" = x""yes; then :
23755  cat >>confdefs.h <<_ACEOF
23756#define HAVE_SQRTF 1
23757_ACEOF
23758
23759fi
23760done
23761
23762  else
23763
23764  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
23765$as_echo_n "checking for _sqrtf declaration... " >&6; }
23766  if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
23767    if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
23768  $as_echo_n "(cached) " >&6
23769else
23770
23771
23772      ac_ext=cpp
23773ac_cpp='$CXXCPP $CPPFLAGS'
23774ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23775ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23776ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23777
23778      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23779/* end confdefs.h.  */
23780#include <math.h>
23781		      #ifdef HAVE_IEEEFP_H
23782		      #include <ieeefp.h>
23783		      #endif
23784
23785int
23786main ()
23787{
23788 _sqrtf(0);
23789  ;
23790  return 0;
23791}
23792_ACEOF
23793if ac_fn_cxx_try_compile "$LINENO"; then :
23794  glibcxx_cv_func__sqrtf_use=yes
23795else
23796  glibcxx_cv_func__sqrtf_use=no
23797fi
23798rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23799      ac_ext=c
23800ac_cpp='$CPP $CPPFLAGS'
23801ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23802ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23803ac_compiler_gnu=$ac_cv_c_compiler_gnu
23804
23805
23806fi
23807
23808  fi
23809  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
23810$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
23811
23812    if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
23813      for ac_func in _sqrtf
23814do :
23815  ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
23816if test "x$ac_cv_func__sqrtf" = x""yes; then :
23817  cat >>confdefs.h <<_ACEOF
23818#define HAVE__SQRTF 1
23819_ACEOF
23820
23821fi
23822done
23823
23824    fi
23825  fi
23826
23827
23828
23829
23830
23831  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
23832$as_echo_n "checking for sincosf declaration... " >&6; }
23833  if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
23834    if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
23835  $as_echo_n "(cached) " >&6
23836else
23837
23838
23839      ac_ext=cpp
23840ac_cpp='$CXXCPP $CPPFLAGS'
23841ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23842ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23843ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23844
23845      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23846/* end confdefs.h.  */
23847#include <math.h>
23848int
23849main ()
23850{
23851 sincosf(0, 0, 0);
23852  ;
23853  return 0;
23854}
23855_ACEOF
23856if ac_fn_cxx_try_compile "$LINENO"; then :
23857  glibcxx_cv_func_sincosf_use=yes
23858else
23859  glibcxx_cv_func_sincosf_use=no
23860fi
23861rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23862      ac_ext=c
23863ac_cpp='$CPP $CPPFLAGS'
23864ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23865ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23866ac_compiler_gnu=$ac_cv_c_compiler_gnu
23867
23868
23869fi
23870
23871  fi
23872  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
23873$as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
23874
23875  if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
23876    for ac_func in sincosf
23877do :
23878  ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
23879if test "x$ac_cv_func_sincosf" = x""yes; then :
23880  cat >>confdefs.h <<_ACEOF
23881#define HAVE_SINCOSF 1
23882_ACEOF
23883
23884fi
23885done
23886
23887  else
23888
23889  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
23890$as_echo_n "checking for _sincosf declaration... " >&6; }
23891  if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
23892    if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
23893  $as_echo_n "(cached) " >&6
23894else
23895
23896
23897      ac_ext=cpp
23898ac_cpp='$CXXCPP $CPPFLAGS'
23899ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23900ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23901ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23902
23903      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23904/* end confdefs.h.  */
23905#include <math.h>
23906int
23907main ()
23908{
23909 _sincosf(0, 0, 0);
23910  ;
23911  return 0;
23912}
23913_ACEOF
23914if ac_fn_cxx_try_compile "$LINENO"; then :
23915  glibcxx_cv_func__sincosf_use=yes
23916else
23917  glibcxx_cv_func__sincosf_use=no
23918fi
23919rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23920      ac_ext=c
23921ac_cpp='$CPP $CPPFLAGS'
23922ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23923ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23924ac_compiler_gnu=$ac_cv_c_compiler_gnu
23925
23926
23927fi
23928
23929  fi
23930  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
23931$as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
23932
23933    if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
23934      for ac_func in _sincosf
23935do :
23936  ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
23937if test "x$ac_cv_func__sincosf" = x""yes; then :
23938  cat >>confdefs.h <<_ACEOF
23939#define HAVE__SINCOSF 1
23940_ACEOF
23941
23942fi
23943done
23944
23945    fi
23946  fi
23947
23948
23949
23950
23951
23952  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
23953$as_echo_n "checking for finitef declaration... " >&6; }
23954  if test x${glibcxx_cv_func_finitef_use+set} != xset; then
23955    if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
23956  $as_echo_n "(cached) " >&6
23957else
23958
23959
23960      ac_ext=cpp
23961ac_cpp='$CXXCPP $CPPFLAGS'
23962ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23963ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23964ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23965
23966      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23967/* end confdefs.h.  */
23968#include <math.h>
23969		      #ifdef HAVE_IEEEFP_H
23970		      #include <ieeefp.h>
23971		      #endif
23972
23973int
23974main ()
23975{
23976 finitef(0);
23977  ;
23978  return 0;
23979}
23980_ACEOF
23981if ac_fn_cxx_try_compile "$LINENO"; then :
23982  glibcxx_cv_func_finitef_use=yes
23983else
23984  glibcxx_cv_func_finitef_use=no
23985fi
23986rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23987      ac_ext=c
23988ac_cpp='$CPP $CPPFLAGS'
23989ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23990ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23991ac_compiler_gnu=$ac_cv_c_compiler_gnu
23992
23993
23994fi
23995
23996  fi
23997  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
23998$as_echo "$glibcxx_cv_func_finitef_use" >&6; }
23999
24000  if test x$glibcxx_cv_func_finitef_use = x"yes"; then
24001    for ac_func in finitef
24002do :
24003  ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
24004if test "x$ac_cv_func_finitef" = x""yes; then :
24005  cat >>confdefs.h <<_ACEOF
24006#define HAVE_FINITEF 1
24007_ACEOF
24008
24009fi
24010done
24011
24012  else
24013
24014  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
24015$as_echo_n "checking for _finitef declaration... " >&6; }
24016  if test x${glibcxx_cv_func__finitef_use+set} != xset; then
24017    if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
24018  $as_echo_n "(cached) " >&6
24019else
24020
24021
24022      ac_ext=cpp
24023ac_cpp='$CXXCPP $CPPFLAGS'
24024ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24025ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24026ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24027
24028      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24029/* end confdefs.h.  */
24030#include <math.h>
24031		      #ifdef HAVE_IEEEFP_H
24032		      #include <ieeefp.h>
24033		      #endif
24034
24035int
24036main ()
24037{
24038 _finitef(0);
24039  ;
24040  return 0;
24041}
24042_ACEOF
24043if ac_fn_cxx_try_compile "$LINENO"; then :
24044  glibcxx_cv_func__finitef_use=yes
24045else
24046  glibcxx_cv_func__finitef_use=no
24047fi
24048rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24049      ac_ext=c
24050ac_cpp='$CPP $CPPFLAGS'
24051ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24052ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24053ac_compiler_gnu=$ac_cv_c_compiler_gnu
24054
24055
24056fi
24057
24058  fi
24059  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
24060$as_echo "$glibcxx_cv_func__finitef_use" >&6; }
24061
24062    if test x$glibcxx_cv_func__finitef_use = x"yes"; then
24063      for ac_func in _finitef
24064do :
24065  ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
24066if test "x$ac_cv_func__finitef" = x""yes; then :
24067  cat >>confdefs.h <<_ACEOF
24068#define HAVE__FINITEF 1
24069_ACEOF
24070
24071fi
24072done
24073
24074    fi
24075  fi
24076
24077
24078
24079
24080
24081    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
24082$as_echo_n "checking for long double trig functions... " >&6; }
24083  if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
24084  $as_echo_n "(cached) " >&6
24085else
24086
24087
24088    ac_ext=cpp
24089ac_cpp='$CXXCPP $CPPFLAGS'
24090ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24091ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24092ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24093
24094    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24095/* end confdefs.h.  */
24096#include <math.h>
24097int
24098main ()
24099{
24100acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
24101  ;
24102  return 0;
24103}
24104_ACEOF
24105if ac_fn_cxx_try_compile "$LINENO"; then :
24106  glibcxx_cv_func_long_double_trig_use=yes
24107else
24108  glibcxx_cv_func_long_double_trig_use=no
24109fi
24110rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24111    ac_ext=c
24112ac_cpp='$CPP $CPPFLAGS'
24113ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24114ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24115ac_compiler_gnu=$ac_cv_c_compiler_gnu
24116
24117fi
24118
24119  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
24120$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
24121  if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
24122    for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
24123do :
24124  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24125ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24126eval as_val=\$$as_ac_var
24127   if test "x$as_val" = x""yes; then :
24128  cat >>confdefs.h <<_ACEOF
24129#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24130_ACEOF
24131
24132fi
24133done
24134
24135  else
24136    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
24137$as_echo_n "checking for _long double trig functions... " >&6; }
24138    if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
24139  $as_echo_n "(cached) " >&6
24140else
24141
24142
24143      ac_ext=cpp
24144ac_cpp='$CXXCPP $CPPFLAGS'
24145ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24146ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24147ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24148
24149      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24150/* end confdefs.h.  */
24151#include <math.h>
24152int
24153main ()
24154{
24155_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
24156  ;
24157  return 0;
24158}
24159_ACEOF
24160if ac_fn_cxx_try_compile "$LINENO"; then :
24161  glibcxx_cv_func__long_double_trig_use=yes
24162else
24163  glibcxx_cv_func__long_double_trig_use=no
24164fi
24165rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24166      ac_ext=c
24167ac_cpp='$CPP $CPPFLAGS'
24168ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24169ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24170ac_compiler_gnu=$ac_cv_c_compiler_gnu
24171
24172fi
24173
24174    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
24175$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
24176    if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
24177      for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
24178do :
24179  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24180ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24181eval as_val=\$$as_ac_var
24182   if test "x$as_val" = x""yes; then :
24183  cat >>confdefs.h <<_ACEOF
24184#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24185_ACEOF
24186
24187fi
24188done
24189
24190    fi
24191  fi
24192
24193
24194
24195
24196
24197    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
24198$as_echo_n "checking for long double round functions... " >&6; }
24199  if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
24200  $as_echo_n "(cached) " >&6
24201else
24202
24203
24204    ac_ext=cpp
24205ac_cpp='$CXXCPP $CPPFLAGS'
24206ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24207ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24208ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24209
24210    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24211/* end confdefs.h.  */
24212#include <math.h>
24213int
24214main ()
24215{
24216ceill (0); floorl (0);
24217  ;
24218  return 0;
24219}
24220_ACEOF
24221if ac_fn_cxx_try_compile "$LINENO"; then :
24222  glibcxx_cv_func_long_double_round_use=yes
24223else
24224  glibcxx_cv_func_long_double_round_use=no
24225fi
24226rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24227    ac_ext=c
24228ac_cpp='$CPP $CPPFLAGS'
24229ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24230ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24231ac_compiler_gnu=$ac_cv_c_compiler_gnu
24232
24233fi
24234
24235  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
24236$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
24237  if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
24238    for ac_func in ceill floorl
24239do :
24240  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24241ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24242eval as_val=\$$as_ac_var
24243   if test "x$as_val" = x""yes; then :
24244  cat >>confdefs.h <<_ACEOF
24245#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24246_ACEOF
24247
24248fi
24249done
24250
24251  else
24252    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
24253$as_echo_n "checking for _long double round functions... " >&6; }
24254    if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
24255  $as_echo_n "(cached) " >&6
24256else
24257
24258
24259      ac_ext=cpp
24260ac_cpp='$CXXCPP $CPPFLAGS'
24261ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24262ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24263ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24264
24265      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24266/* end confdefs.h.  */
24267#include <math.h>
24268int
24269main ()
24270{
24271_ceill (0); _floorl (0);
24272  ;
24273  return 0;
24274}
24275_ACEOF
24276if ac_fn_cxx_try_compile "$LINENO"; then :
24277  glibcxx_cv_func__long_double_round_use=yes
24278else
24279  glibcxx_cv_func__long_double_round_use=no
24280fi
24281rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24282      ac_ext=c
24283ac_cpp='$CPP $CPPFLAGS'
24284ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24285ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24286ac_compiler_gnu=$ac_cv_c_compiler_gnu
24287
24288fi
24289
24290    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
24291$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
24292    if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24293      for ac_func in _ceill _floorl
24294do :
24295  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24296ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24297eval as_val=\$$as_ac_var
24298   if test "x$as_val" = x""yes; then :
24299  cat >>confdefs.h <<_ACEOF
24300#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24301_ACEOF
24302
24303fi
24304done
24305
24306    fi
24307  fi
24308
24309
24310
24311
24312
24313
24314  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
24315$as_echo_n "checking for isnanl declaration... " >&6; }
24316  if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
24317    if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
24318  $as_echo_n "(cached) " >&6
24319else
24320
24321
24322      ac_ext=cpp
24323ac_cpp='$CXXCPP $CPPFLAGS'
24324ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24325ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24326ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24327
24328      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24329/* end confdefs.h.  */
24330#include <math.h>
24331		      #ifdef HAVE_IEEEFP_H
24332		      #include <ieeefp.h>
24333		      #endif
24334
24335int
24336main ()
24337{
24338 isnanl(0);
24339  ;
24340  return 0;
24341}
24342_ACEOF
24343if ac_fn_cxx_try_compile "$LINENO"; then :
24344  glibcxx_cv_func_isnanl_use=yes
24345else
24346  glibcxx_cv_func_isnanl_use=no
24347fi
24348rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24349      ac_ext=c
24350ac_cpp='$CPP $CPPFLAGS'
24351ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24352ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24353ac_compiler_gnu=$ac_cv_c_compiler_gnu
24354
24355
24356fi
24357
24358  fi
24359  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
24360$as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
24361
24362  if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
24363    for ac_func in isnanl
24364do :
24365  ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
24366if test "x$ac_cv_func_isnanl" = x""yes; then :
24367  cat >>confdefs.h <<_ACEOF
24368#define HAVE_ISNANL 1
24369_ACEOF
24370
24371fi
24372done
24373
24374  else
24375
24376  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
24377$as_echo_n "checking for _isnanl declaration... " >&6; }
24378  if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
24379    if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
24380  $as_echo_n "(cached) " >&6
24381else
24382
24383
24384      ac_ext=cpp
24385ac_cpp='$CXXCPP $CPPFLAGS'
24386ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24387ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24388ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24389
24390      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24391/* end confdefs.h.  */
24392#include <math.h>
24393		      #ifdef HAVE_IEEEFP_H
24394		      #include <ieeefp.h>
24395		      #endif
24396
24397int
24398main ()
24399{
24400 _isnanl(0);
24401  ;
24402  return 0;
24403}
24404_ACEOF
24405if ac_fn_cxx_try_compile "$LINENO"; then :
24406  glibcxx_cv_func__isnanl_use=yes
24407else
24408  glibcxx_cv_func__isnanl_use=no
24409fi
24410rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24411      ac_ext=c
24412ac_cpp='$CPP $CPPFLAGS'
24413ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24414ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24415ac_compiler_gnu=$ac_cv_c_compiler_gnu
24416
24417
24418fi
24419
24420  fi
24421  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
24422$as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
24423
24424    if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
24425      for ac_func in _isnanl
24426do :
24427  ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
24428if test "x$ac_cv_func__isnanl" = x""yes; then :
24429  cat >>confdefs.h <<_ACEOF
24430#define HAVE__ISNANL 1
24431_ACEOF
24432
24433fi
24434done
24435
24436    fi
24437  fi
24438
24439
24440
24441
24442
24443  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
24444$as_echo_n "checking for isinfl declaration... " >&6; }
24445  if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
24446    if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
24447  $as_echo_n "(cached) " >&6
24448else
24449
24450
24451      ac_ext=cpp
24452ac_cpp='$CXXCPP $CPPFLAGS'
24453ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24454ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24455ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24456
24457      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24458/* end confdefs.h.  */
24459#include <math.h>
24460		      #ifdef HAVE_IEEEFP_H
24461		      #include <ieeefp.h>
24462		      #endif
24463
24464int
24465main ()
24466{
24467 isinfl(0);
24468  ;
24469  return 0;
24470}
24471_ACEOF
24472if ac_fn_cxx_try_compile "$LINENO"; then :
24473  glibcxx_cv_func_isinfl_use=yes
24474else
24475  glibcxx_cv_func_isinfl_use=no
24476fi
24477rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24478      ac_ext=c
24479ac_cpp='$CPP $CPPFLAGS'
24480ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24481ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24482ac_compiler_gnu=$ac_cv_c_compiler_gnu
24483
24484
24485fi
24486
24487  fi
24488  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
24489$as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
24490
24491  if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
24492    for ac_func in isinfl
24493do :
24494  ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
24495if test "x$ac_cv_func_isinfl" = x""yes; then :
24496  cat >>confdefs.h <<_ACEOF
24497#define HAVE_ISINFL 1
24498_ACEOF
24499
24500fi
24501done
24502
24503  else
24504
24505  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
24506$as_echo_n "checking for _isinfl declaration... " >&6; }
24507  if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
24508    if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
24509  $as_echo_n "(cached) " >&6
24510else
24511
24512
24513      ac_ext=cpp
24514ac_cpp='$CXXCPP $CPPFLAGS'
24515ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24516ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24517ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24518
24519      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24520/* end confdefs.h.  */
24521#include <math.h>
24522		      #ifdef HAVE_IEEEFP_H
24523		      #include <ieeefp.h>
24524		      #endif
24525
24526int
24527main ()
24528{
24529 _isinfl(0);
24530  ;
24531  return 0;
24532}
24533_ACEOF
24534if ac_fn_cxx_try_compile "$LINENO"; then :
24535  glibcxx_cv_func__isinfl_use=yes
24536else
24537  glibcxx_cv_func__isinfl_use=no
24538fi
24539rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24540      ac_ext=c
24541ac_cpp='$CPP $CPPFLAGS'
24542ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24543ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24544ac_compiler_gnu=$ac_cv_c_compiler_gnu
24545
24546
24547fi
24548
24549  fi
24550  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
24551$as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
24552
24553    if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
24554      for ac_func in _isinfl
24555do :
24556  ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
24557if test "x$ac_cv_func__isinfl" = x""yes; then :
24558  cat >>confdefs.h <<_ACEOF
24559#define HAVE__ISINFL 1
24560_ACEOF
24561
24562fi
24563done
24564
24565    fi
24566  fi
24567
24568
24569
24570
24571
24572  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
24573$as_echo_n "checking for atan2l declaration... " >&6; }
24574  if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
24575    if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
24576  $as_echo_n "(cached) " >&6
24577else
24578
24579
24580      ac_ext=cpp
24581ac_cpp='$CXXCPP $CPPFLAGS'
24582ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24583ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24584ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24585
24586      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24587/* end confdefs.h.  */
24588#include <math.h>
24589int
24590main ()
24591{
24592 atan2l(0, 0);
24593  ;
24594  return 0;
24595}
24596_ACEOF
24597if ac_fn_cxx_try_compile "$LINENO"; then :
24598  glibcxx_cv_func_atan2l_use=yes
24599else
24600  glibcxx_cv_func_atan2l_use=no
24601fi
24602rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24603      ac_ext=c
24604ac_cpp='$CPP $CPPFLAGS'
24605ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24606ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24607ac_compiler_gnu=$ac_cv_c_compiler_gnu
24608
24609
24610fi
24611
24612  fi
24613  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
24614$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
24615
24616  if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
24617    for ac_func in atan2l
24618do :
24619  ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
24620if test "x$ac_cv_func_atan2l" = x""yes; then :
24621  cat >>confdefs.h <<_ACEOF
24622#define HAVE_ATAN2L 1
24623_ACEOF
24624
24625fi
24626done
24627
24628  else
24629
24630  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
24631$as_echo_n "checking for _atan2l declaration... " >&6; }
24632  if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
24633    if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
24634  $as_echo_n "(cached) " >&6
24635else
24636
24637
24638      ac_ext=cpp
24639ac_cpp='$CXXCPP $CPPFLAGS'
24640ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24641ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24642ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24643
24644      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24645/* end confdefs.h.  */
24646#include <math.h>
24647int
24648main ()
24649{
24650 _atan2l(0, 0);
24651  ;
24652  return 0;
24653}
24654_ACEOF
24655if ac_fn_cxx_try_compile "$LINENO"; then :
24656  glibcxx_cv_func__atan2l_use=yes
24657else
24658  glibcxx_cv_func__atan2l_use=no
24659fi
24660rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24661      ac_ext=c
24662ac_cpp='$CPP $CPPFLAGS'
24663ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24664ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24665ac_compiler_gnu=$ac_cv_c_compiler_gnu
24666
24667
24668fi
24669
24670  fi
24671  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
24672$as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
24673
24674    if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
24675      for ac_func in _atan2l
24676do :
24677  ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
24678if test "x$ac_cv_func__atan2l" = x""yes; then :
24679  cat >>confdefs.h <<_ACEOF
24680#define HAVE__ATAN2L 1
24681_ACEOF
24682
24683fi
24684done
24685
24686    fi
24687  fi
24688
24689
24690
24691
24692
24693  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
24694$as_echo_n "checking for expl declaration... " >&6; }
24695  if test x${glibcxx_cv_func_expl_use+set} != xset; then
24696    if test "${glibcxx_cv_func_expl_use+set}" = set; then :
24697  $as_echo_n "(cached) " >&6
24698else
24699
24700
24701      ac_ext=cpp
24702ac_cpp='$CXXCPP $CPPFLAGS'
24703ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24704ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24705ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24706
24707      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24708/* end confdefs.h.  */
24709#include <math.h>
24710		      #ifdef HAVE_IEEEFP_H
24711		      #include <ieeefp.h>
24712		      #endif
24713
24714int
24715main ()
24716{
24717 expl(0);
24718  ;
24719  return 0;
24720}
24721_ACEOF
24722if ac_fn_cxx_try_compile "$LINENO"; then :
24723  glibcxx_cv_func_expl_use=yes
24724else
24725  glibcxx_cv_func_expl_use=no
24726fi
24727rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24728      ac_ext=c
24729ac_cpp='$CPP $CPPFLAGS'
24730ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24731ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24732ac_compiler_gnu=$ac_cv_c_compiler_gnu
24733
24734
24735fi
24736
24737  fi
24738  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
24739$as_echo "$glibcxx_cv_func_expl_use" >&6; }
24740
24741  if test x$glibcxx_cv_func_expl_use = x"yes"; then
24742    for ac_func in expl
24743do :
24744  ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
24745if test "x$ac_cv_func_expl" = x""yes; then :
24746  cat >>confdefs.h <<_ACEOF
24747#define HAVE_EXPL 1
24748_ACEOF
24749
24750fi
24751done
24752
24753  else
24754
24755  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
24756$as_echo_n "checking for _expl declaration... " >&6; }
24757  if test x${glibcxx_cv_func__expl_use+set} != xset; then
24758    if test "${glibcxx_cv_func__expl_use+set}" = set; then :
24759  $as_echo_n "(cached) " >&6
24760else
24761
24762
24763      ac_ext=cpp
24764ac_cpp='$CXXCPP $CPPFLAGS'
24765ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24766ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24767ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24768
24769      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24770/* end confdefs.h.  */
24771#include <math.h>
24772		      #ifdef HAVE_IEEEFP_H
24773		      #include <ieeefp.h>
24774		      #endif
24775
24776int
24777main ()
24778{
24779 _expl(0);
24780  ;
24781  return 0;
24782}
24783_ACEOF
24784if ac_fn_cxx_try_compile "$LINENO"; then :
24785  glibcxx_cv_func__expl_use=yes
24786else
24787  glibcxx_cv_func__expl_use=no
24788fi
24789rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24790      ac_ext=c
24791ac_cpp='$CPP $CPPFLAGS'
24792ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24793ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24794ac_compiler_gnu=$ac_cv_c_compiler_gnu
24795
24796
24797fi
24798
24799  fi
24800  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
24801$as_echo "$glibcxx_cv_func__expl_use" >&6; }
24802
24803    if test x$glibcxx_cv_func__expl_use = x"yes"; then
24804      for ac_func in _expl
24805do :
24806  ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
24807if test "x$ac_cv_func__expl" = x""yes; then :
24808  cat >>confdefs.h <<_ACEOF
24809#define HAVE__EXPL 1
24810_ACEOF
24811
24812fi
24813done
24814
24815    fi
24816  fi
24817
24818
24819
24820
24821
24822  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
24823$as_echo_n "checking for fabsl declaration... " >&6; }
24824  if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
24825    if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
24826  $as_echo_n "(cached) " >&6
24827else
24828
24829
24830      ac_ext=cpp
24831ac_cpp='$CXXCPP $CPPFLAGS'
24832ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24833ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24834ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24835
24836      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24837/* end confdefs.h.  */
24838#include <math.h>
24839		      #ifdef HAVE_IEEEFP_H
24840		      #include <ieeefp.h>
24841		      #endif
24842
24843int
24844main ()
24845{
24846 fabsl(0);
24847  ;
24848  return 0;
24849}
24850_ACEOF
24851if ac_fn_cxx_try_compile "$LINENO"; then :
24852  glibcxx_cv_func_fabsl_use=yes
24853else
24854  glibcxx_cv_func_fabsl_use=no
24855fi
24856rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24857      ac_ext=c
24858ac_cpp='$CPP $CPPFLAGS'
24859ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24860ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24861ac_compiler_gnu=$ac_cv_c_compiler_gnu
24862
24863
24864fi
24865
24866  fi
24867  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
24868$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
24869
24870  if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
24871    for ac_func in fabsl
24872do :
24873  ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
24874if test "x$ac_cv_func_fabsl" = x""yes; then :
24875  cat >>confdefs.h <<_ACEOF
24876#define HAVE_FABSL 1
24877_ACEOF
24878
24879fi
24880done
24881
24882  else
24883
24884  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
24885$as_echo_n "checking for _fabsl declaration... " >&6; }
24886  if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
24887    if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
24888  $as_echo_n "(cached) " >&6
24889else
24890
24891
24892      ac_ext=cpp
24893ac_cpp='$CXXCPP $CPPFLAGS'
24894ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24895ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24896ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24897
24898      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24899/* end confdefs.h.  */
24900#include <math.h>
24901		      #ifdef HAVE_IEEEFP_H
24902		      #include <ieeefp.h>
24903		      #endif
24904
24905int
24906main ()
24907{
24908 _fabsl(0);
24909  ;
24910  return 0;
24911}
24912_ACEOF
24913if ac_fn_cxx_try_compile "$LINENO"; then :
24914  glibcxx_cv_func__fabsl_use=yes
24915else
24916  glibcxx_cv_func__fabsl_use=no
24917fi
24918rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24919      ac_ext=c
24920ac_cpp='$CPP $CPPFLAGS'
24921ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24922ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24923ac_compiler_gnu=$ac_cv_c_compiler_gnu
24924
24925
24926fi
24927
24928  fi
24929  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
24930$as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
24931
24932    if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
24933      for ac_func in _fabsl
24934do :
24935  ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
24936if test "x$ac_cv_func__fabsl" = x""yes; then :
24937  cat >>confdefs.h <<_ACEOF
24938#define HAVE__FABSL 1
24939_ACEOF
24940
24941fi
24942done
24943
24944    fi
24945  fi
24946
24947
24948
24949
24950
24951  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
24952$as_echo_n "checking for fmodl declaration... " >&6; }
24953  if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
24954    if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
24955  $as_echo_n "(cached) " >&6
24956else
24957
24958
24959      ac_ext=cpp
24960ac_cpp='$CXXCPP $CPPFLAGS'
24961ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24962ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24963ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24964
24965      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24966/* end confdefs.h.  */
24967#include <math.h>
24968int
24969main ()
24970{
24971 fmodl(0, 0);
24972  ;
24973  return 0;
24974}
24975_ACEOF
24976if ac_fn_cxx_try_compile "$LINENO"; then :
24977  glibcxx_cv_func_fmodl_use=yes
24978else
24979  glibcxx_cv_func_fmodl_use=no
24980fi
24981rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24982      ac_ext=c
24983ac_cpp='$CPP $CPPFLAGS'
24984ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24985ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24986ac_compiler_gnu=$ac_cv_c_compiler_gnu
24987
24988
24989fi
24990
24991  fi
24992  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
24993$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
24994
24995  if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
24996    for ac_func in fmodl
24997do :
24998  ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
24999if test "x$ac_cv_func_fmodl" = x""yes; then :
25000  cat >>confdefs.h <<_ACEOF
25001#define HAVE_FMODL 1
25002_ACEOF
25003
25004fi
25005done
25006
25007  else
25008
25009  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
25010$as_echo_n "checking for _fmodl declaration... " >&6; }
25011  if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
25012    if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
25013  $as_echo_n "(cached) " >&6
25014else
25015
25016
25017      ac_ext=cpp
25018ac_cpp='$CXXCPP $CPPFLAGS'
25019ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25020ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25021ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25022
25023      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25024/* end confdefs.h.  */
25025#include <math.h>
25026int
25027main ()
25028{
25029 _fmodl(0, 0);
25030  ;
25031  return 0;
25032}
25033_ACEOF
25034if ac_fn_cxx_try_compile "$LINENO"; then :
25035  glibcxx_cv_func__fmodl_use=yes
25036else
25037  glibcxx_cv_func__fmodl_use=no
25038fi
25039rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25040      ac_ext=c
25041ac_cpp='$CPP $CPPFLAGS'
25042ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25043ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25044ac_compiler_gnu=$ac_cv_c_compiler_gnu
25045
25046
25047fi
25048
25049  fi
25050  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
25051$as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
25052
25053    if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
25054      for ac_func in _fmodl
25055do :
25056  ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
25057if test "x$ac_cv_func__fmodl" = x""yes; then :
25058  cat >>confdefs.h <<_ACEOF
25059#define HAVE__FMODL 1
25060_ACEOF
25061
25062fi
25063done
25064
25065    fi
25066  fi
25067
25068
25069
25070
25071
25072  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
25073$as_echo_n "checking for frexpl declaration... " >&6; }
25074  if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
25075    if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
25076  $as_echo_n "(cached) " >&6
25077else
25078
25079
25080      ac_ext=cpp
25081ac_cpp='$CXXCPP $CPPFLAGS'
25082ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25083ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25084ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25085
25086      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25087/* end confdefs.h.  */
25088#include <math.h>
25089int
25090main ()
25091{
25092 frexpl(0, 0);
25093  ;
25094  return 0;
25095}
25096_ACEOF
25097if ac_fn_cxx_try_compile "$LINENO"; then :
25098  glibcxx_cv_func_frexpl_use=yes
25099else
25100  glibcxx_cv_func_frexpl_use=no
25101fi
25102rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25103      ac_ext=c
25104ac_cpp='$CPP $CPPFLAGS'
25105ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25106ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25107ac_compiler_gnu=$ac_cv_c_compiler_gnu
25108
25109
25110fi
25111
25112  fi
25113  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
25114$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
25115
25116  if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
25117    for ac_func in frexpl
25118do :
25119  ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
25120if test "x$ac_cv_func_frexpl" = x""yes; then :
25121  cat >>confdefs.h <<_ACEOF
25122#define HAVE_FREXPL 1
25123_ACEOF
25124
25125fi
25126done
25127
25128  else
25129
25130  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
25131$as_echo_n "checking for _frexpl declaration... " >&6; }
25132  if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
25133    if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
25134  $as_echo_n "(cached) " >&6
25135else
25136
25137
25138      ac_ext=cpp
25139ac_cpp='$CXXCPP $CPPFLAGS'
25140ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25141ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25142ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25143
25144      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25145/* end confdefs.h.  */
25146#include <math.h>
25147int
25148main ()
25149{
25150 _frexpl(0, 0);
25151  ;
25152  return 0;
25153}
25154_ACEOF
25155if ac_fn_cxx_try_compile "$LINENO"; then :
25156  glibcxx_cv_func__frexpl_use=yes
25157else
25158  glibcxx_cv_func__frexpl_use=no
25159fi
25160rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25161      ac_ext=c
25162ac_cpp='$CPP $CPPFLAGS'
25163ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25164ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25165ac_compiler_gnu=$ac_cv_c_compiler_gnu
25166
25167
25168fi
25169
25170  fi
25171  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
25172$as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
25173
25174    if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
25175      for ac_func in _frexpl
25176do :
25177  ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
25178if test "x$ac_cv_func__frexpl" = x""yes; then :
25179  cat >>confdefs.h <<_ACEOF
25180#define HAVE__FREXPL 1
25181_ACEOF
25182
25183fi
25184done
25185
25186    fi
25187  fi
25188
25189
25190
25191
25192
25193  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
25194$as_echo_n "checking for hypotl declaration... " >&6; }
25195  if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
25196    if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
25197  $as_echo_n "(cached) " >&6
25198else
25199
25200
25201      ac_ext=cpp
25202ac_cpp='$CXXCPP $CPPFLAGS'
25203ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25204ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25205ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25206
25207      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25208/* end confdefs.h.  */
25209#include <math.h>
25210int
25211main ()
25212{
25213 hypotl(0, 0);
25214  ;
25215  return 0;
25216}
25217_ACEOF
25218if ac_fn_cxx_try_compile "$LINENO"; then :
25219  glibcxx_cv_func_hypotl_use=yes
25220else
25221  glibcxx_cv_func_hypotl_use=no
25222fi
25223rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25224      ac_ext=c
25225ac_cpp='$CPP $CPPFLAGS'
25226ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25227ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25228ac_compiler_gnu=$ac_cv_c_compiler_gnu
25229
25230
25231fi
25232
25233  fi
25234  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
25235$as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
25236
25237  if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
25238    for ac_func in hypotl
25239do :
25240  ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
25241if test "x$ac_cv_func_hypotl" = x""yes; then :
25242  cat >>confdefs.h <<_ACEOF
25243#define HAVE_HYPOTL 1
25244_ACEOF
25245
25246fi
25247done
25248
25249  else
25250
25251  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
25252$as_echo_n "checking for _hypotl declaration... " >&6; }
25253  if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
25254    if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
25255  $as_echo_n "(cached) " >&6
25256else
25257
25258
25259      ac_ext=cpp
25260ac_cpp='$CXXCPP $CPPFLAGS'
25261ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25262ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25263ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25264
25265      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25266/* end confdefs.h.  */
25267#include <math.h>
25268int
25269main ()
25270{
25271 _hypotl(0, 0);
25272  ;
25273  return 0;
25274}
25275_ACEOF
25276if ac_fn_cxx_try_compile "$LINENO"; then :
25277  glibcxx_cv_func__hypotl_use=yes
25278else
25279  glibcxx_cv_func__hypotl_use=no
25280fi
25281rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25282      ac_ext=c
25283ac_cpp='$CPP $CPPFLAGS'
25284ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25285ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25286ac_compiler_gnu=$ac_cv_c_compiler_gnu
25287
25288
25289fi
25290
25291  fi
25292  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
25293$as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
25294
25295    if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
25296      for ac_func in _hypotl
25297do :
25298  ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
25299if test "x$ac_cv_func__hypotl" = x""yes; then :
25300  cat >>confdefs.h <<_ACEOF
25301#define HAVE__HYPOTL 1
25302_ACEOF
25303
25304fi
25305done
25306
25307    fi
25308  fi
25309
25310
25311
25312
25313
25314  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
25315$as_echo_n "checking for ldexpl declaration... " >&6; }
25316  if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
25317    if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
25318  $as_echo_n "(cached) " >&6
25319else
25320
25321
25322      ac_ext=cpp
25323ac_cpp='$CXXCPP $CPPFLAGS'
25324ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25325ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25326ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25327
25328      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25329/* end confdefs.h.  */
25330#include <math.h>
25331int
25332main ()
25333{
25334 ldexpl(0, 0);
25335  ;
25336  return 0;
25337}
25338_ACEOF
25339if ac_fn_cxx_try_compile "$LINENO"; then :
25340  glibcxx_cv_func_ldexpl_use=yes
25341else
25342  glibcxx_cv_func_ldexpl_use=no
25343fi
25344rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25345      ac_ext=c
25346ac_cpp='$CPP $CPPFLAGS'
25347ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25348ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25349ac_compiler_gnu=$ac_cv_c_compiler_gnu
25350
25351
25352fi
25353
25354  fi
25355  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
25356$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
25357
25358  if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
25359    for ac_func in ldexpl
25360do :
25361  ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
25362if test "x$ac_cv_func_ldexpl" = x""yes; then :
25363  cat >>confdefs.h <<_ACEOF
25364#define HAVE_LDEXPL 1
25365_ACEOF
25366
25367fi
25368done
25369
25370  else
25371
25372  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
25373$as_echo_n "checking for _ldexpl declaration... " >&6; }
25374  if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
25375    if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
25376  $as_echo_n "(cached) " >&6
25377else
25378
25379
25380      ac_ext=cpp
25381ac_cpp='$CXXCPP $CPPFLAGS'
25382ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25383ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25384ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25385
25386      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25387/* end confdefs.h.  */
25388#include <math.h>
25389int
25390main ()
25391{
25392 _ldexpl(0, 0);
25393  ;
25394  return 0;
25395}
25396_ACEOF
25397if ac_fn_cxx_try_compile "$LINENO"; then :
25398  glibcxx_cv_func__ldexpl_use=yes
25399else
25400  glibcxx_cv_func__ldexpl_use=no
25401fi
25402rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25403      ac_ext=c
25404ac_cpp='$CPP $CPPFLAGS'
25405ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25406ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25407ac_compiler_gnu=$ac_cv_c_compiler_gnu
25408
25409
25410fi
25411
25412  fi
25413  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
25414$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
25415
25416    if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
25417      for ac_func in _ldexpl
25418do :
25419  ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
25420if test "x$ac_cv_func__ldexpl" = x""yes; then :
25421  cat >>confdefs.h <<_ACEOF
25422#define HAVE__LDEXPL 1
25423_ACEOF
25424
25425fi
25426done
25427
25428    fi
25429  fi
25430
25431
25432
25433
25434
25435  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
25436$as_echo_n "checking for logl declaration... " >&6; }
25437  if test x${glibcxx_cv_func_logl_use+set} != xset; then
25438    if test "${glibcxx_cv_func_logl_use+set}" = set; then :
25439  $as_echo_n "(cached) " >&6
25440else
25441
25442
25443      ac_ext=cpp
25444ac_cpp='$CXXCPP $CPPFLAGS'
25445ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25446ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25447ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25448
25449      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25450/* end confdefs.h.  */
25451#include <math.h>
25452		      #ifdef HAVE_IEEEFP_H
25453		      #include <ieeefp.h>
25454		      #endif
25455
25456int
25457main ()
25458{
25459 logl(0);
25460  ;
25461  return 0;
25462}
25463_ACEOF
25464if ac_fn_cxx_try_compile "$LINENO"; then :
25465  glibcxx_cv_func_logl_use=yes
25466else
25467  glibcxx_cv_func_logl_use=no
25468fi
25469rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25470      ac_ext=c
25471ac_cpp='$CPP $CPPFLAGS'
25472ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25473ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25474ac_compiler_gnu=$ac_cv_c_compiler_gnu
25475
25476
25477fi
25478
25479  fi
25480  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
25481$as_echo "$glibcxx_cv_func_logl_use" >&6; }
25482
25483  if test x$glibcxx_cv_func_logl_use = x"yes"; then
25484    for ac_func in logl
25485do :
25486  ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
25487if test "x$ac_cv_func_logl" = x""yes; then :
25488  cat >>confdefs.h <<_ACEOF
25489#define HAVE_LOGL 1
25490_ACEOF
25491
25492fi
25493done
25494
25495  else
25496
25497  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
25498$as_echo_n "checking for _logl declaration... " >&6; }
25499  if test x${glibcxx_cv_func__logl_use+set} != xset; then
25500    if test "${glibcxx_cv_func__logl_use+set}" = set; then :
25501  $as_echo_n "(cached) " >&6
25502else
25503
25504
25505      ac_ext=cpp
25506ac_cpp='$CXXCPP $CPPFLAGS'
25507ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25508ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25509ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25510
25511      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25512/* end confdefs.h.  */
25513#include <math.h>
25514		      #ifdef HAVE_IEEEFP_H
25515		      #include <ieeefp.h>
25516		      #endif
25517
25518int
25519main ()
25520{
25521 _logl(0);
25522  ;
25523  return 0;
25524}
25525_ACEOF
25526if ac_fn_cxx_try_compile "$LINENO"; then :
25527  glibcxx_cv_func__logl_use=yes
25528else
25529  glibcxx_cv_func__logl_use=no
25530fi
25531rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25532      ac_ext=c
25533ac_cpp='$CPP $CPPFLAGS'
25534ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25535ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25536ac_compiler_gnu=$ac_cv_c_compiler_gnu
25537
25538
25539fi
25540
25541  fi
25542  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
25543$as_echo "$glibcxx_cv_func__logl_use" >&6; }
25544
25545    if test x$glibcxx_cv_func__logl_use = x"yes"; then
25546      for ac_func in _logl
25547do :
25548  ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
25549if test "x$ac_cv_func__logl" = x""yes; then :
25550  cat >>confdefs.h <<_ACEOF
25551#define HAVE__LOGL 1
25552_ACEOF
25553
25554fi
25555done
25556
25557    fi
25558  fi
25559
25560
25561
25562
25563
25564  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
25565$as_echo_n "checking for log10l declaration... " >&6; }
25566  if test x${glibcxx_cv_func_log10l_use+set} != xset; then
25567    if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
25568  $as_echo_n "(cached) " >&6
25569else
25570
25571
25572      ac_ext=cpp
25573ac_cpp='$CXXCPP $CPPFLAGS'
25574ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25575ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25576ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25577
25578      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25579/* end confdefs.h.  */
25580#include <math.h>
25581		      #ifdef HAVE_IEEEFP_H
25582		      #include <ieeefp.h>
25583		      #endif
25584
25585int
25586main ()
25587{
25588 log10l(0);
25589  ;
25590  return 0;
25591}
25592_ACEOF
25593if ac_fn_cxx_try_compile "$LINENO"; then :
25594  glibcxx_cv_func_log10l_use=yes
25595else
25596  glibcxx_cv_func_log10l_use=no
25597fi
25598rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25599      ac_ext=c
25600ac_cpp='$CPP $CPPFLAGS'
25601ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25602ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25603ac_compiler_gnu=$ac_cv_c_compiler_gnu
25604
25605
25606fi
25607
25608  fi
25609  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
25610$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
25611
25612  if test x$glibcxx_cv_func_log10l_use = x"yes"; then
25613    for ac_func in log10l
25614do :
25615  ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
25616if test "x$ac_cv_func_log10l" = x""yes; then :
25617  cat >>confdefs.h <<_ACEOF
25618#define HAVE_LOG10L 1
25619_ACEOF
25620
25621fi
25622done
25623
25624  else
25625
25626  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
25627$as_echo_n "checking for _log10l declaration... " >&6; }
25628  if test x${glibcxx_cv_func__log10l_use+set} != xset; then
25629    if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
25630  $as_echo_n "(cached) " >&6
25631else
25632
25633
25634      ac_ext=cpp
25635ac_cpp='$CXXCPP $CPPFLAGS'
25636ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25637ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25638ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25639
25640      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25641/* end confdefs.h.  */
25642#include <math.h>
25643		      #ifdef HAVE_IEEEFP_H
25644		      #include <ieeefp.h>
25645		      #endif
25646
25647int
25648main ()
25649{
25650 _log10l(0);
25651  ;
25652  return 0;
25653}
25654_ACEOF
25655if ac_fn_cxx_try_compile "$LINENO"; then :
25656  glibcxx_cv_func__log10l_use=yes
25657else
25658  glibcxx_cv_func__log10l_use=no
25659fi
25660rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25661      ac_ext=c
25662ac_cpp='$CPP $CPPFLAGS'
25663ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25664ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25665ac_compiler_gnu=$ac_cv_c_compiler_gnu
25666
25667
25668fi
25669
25670  fi
25671  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
25672$as_echo "$glibcxx_cv_func__log10l_use" >&6; }
25673
25674    if test x$glibcxx_cv_func__log10l_use = x"yes"; then
25675      for ac_func in _log10l
25676do :
25677  ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
25678if test "x$ac_cv_func__log10l" = x""yes; then :
25679  cat >>confdefs.h <<_ACEOF
25680#define HAVE__LOG10L 1
25681_ACEOF
25682
25683fi
25684done
25685
25686    fi
25687  fi
25688
25689
25690
25691
25692
25693  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
25694$as_echo_n "checking for modfl declaration... " >&6; }
25695  if test x${glibcxx_cv_func_modfl_use+set} != xset; then
25696    if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
25697  $as_echo_n "(cached) " >&6
25698else
25699
25700
25701      ac_ext=cpp
25702ac_cpp='$CXXCPP $CPPFLAGS'
25703ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25704ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25705ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25706
25707      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25708/* end confdefs.h.  */
25709#include <math.h>
25710int
25711main ()
25712{
25713 modfl(0, 0);
25714  ;
25715  return 0;
25716}
25717_ACEOF
25718if ac_fn_cxx_try_compile "$LINENO"; then :
25719  glibcxx_cv_func_modfl_use=yes
25720else
25721  glibcxx_cv_func_modfl_use=no
25722fi
25723rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25724      ac_ext=c
25725ac_cpp='$CPP $CPPFLAGS'
25726ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25727ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25728ac_compiler_gnu=$ac_cv_c_compiler_gnu
25729
25730
25731fi
25732
25733  fi
25734  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
25735$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
25736
25737  if test x$glibcxx_cv_func_modfl_use = x"yes"; then
25738    for ac_func in modfl
25739do :
25740  ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
25741if test "x$ac_cv_func_modfl" = x""yes; then :
25742  cat >>confdefs.h <<_ACEOF
25743#define HAVE_MODFL 1
25744_ACEOF
25745
25746fi
25747done
25748
25749  else
25750
25751  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
25752$as_echo_n "checking for _modfl declaration... " >&6; }
25753  if test x${glibcxx_cv_func__modfl_use+set} != xset; then
25754    if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
25755  $as_echo_n "(cached) " >&6
25756else
25757
25758
25759      ac_ext=cpp
25760ac_cpp='$CXXCPP $CPPFLAGS'
25761ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25762ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25763ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25764
25765      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25766/* end confdefs.h.  */
25767#include <math.h>
25768int
25769main ()
25770{
25771 _modfl(0, 0);
25772  ;
25773  return 0;
25774}
25775_ACEOF
25776if ac_fn_cxx_try_compile "$LINENO"; then :
25777  glibcxx_cv_func__modfl_use=yes
25778else
25779  glibcxx_cv_func__modfl_use=no
25780fi
25781rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25782      ac_ext=c
25783ac_cpp='$CPP $CPPFLAGS'
25784ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25785ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25786ac_compiler_gnu=$ac_cv_c_compiler_gnu
25787
25788
25789fi
25790
25791  fi
25792  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
25793$as_echo "$glibcxx_cv_func__modfl_use" >&6; }
25794
25795    if test x$glibcxx_cv_func__modfl_use = x"yes"; then
25796      for ac_func in _modfl
25797do :
25798  ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
25799if test "x$ac_cv_func__modfl" = x""yes; then :
25800  cat >>confdefs.h <<_ACEOF
25801#define HAVE__MODFL 1
25802_ACEOF
25803
25804fi
25805done
25806
25807    fi
25808  fi
25809
25810
25811
25812
25813
25814  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
25815$as_echo_n "checking for powl declaration... " >&6; }
25816  if test x${glibcxx_cv_func_powl_use+set} != xset; then
25817    if test "${glibcxx_cv_func_powl_use+set}" = set; then :
25818  $as_echo_n "(cached) " >&6
25819else
25820
25821
25822      ac_ext=cpp
25823ac_cpp='$CXXCPP $CPPFLAGS'
25824ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25825ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25826ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25827
25828      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25829/* end confdefs.h.  */
25830#include <math.h>
25831int
25832main ()
25833{
25834 powl(0, 0);
25835  ;
25836  return 0;
25837}
25838_ACEOF
25839if ac_fn_cxx_try_compile "$LINENO"; then :
25840  glibcxx_cv_func_powl_use=yes
25841else
25842  glibcxx_cv_func_powl_use=no
25843fi
25844rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25845      ac_ext=c
25846ac_cpp='$CPP $CPPFLAGS'
25847ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25848ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25849ac_compiler_gnu=$ac_cv_c_compiler_gnu
25850
25851
25852fi
25853
25854  fi
25855  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
25856$as_echo "$glibcxx_cv_func_powl_use" >&6; }
25857
25858  if test x$glibcxx_cv_func_powl_use = x"yes"; then
25859    for ac_func in powl
25860do :
25861  ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
25862if test "x$ac_cv_func_powl" = x""yes; then :
25863  cat >>confdefs.h <<_ACEOF
25864#define HAVE_POWL 1
25865_ACEOF
25866
25867fi
25868done
25869
25870  else
25871
25872  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
25873$as_echo_n "checking for _powl declaration... " >&6; }
25874  if test x${glibcxx_cv_func__powl_use+set} != xset; then
25875    if test "${glibcxx_cv_func__powl_use+set}" = set; then :
25876  $as_echo_n "(cached) " >&6
25877else
25878
25879
25880      ac_ext=cpp
25881ac_cpp='$CXXCPP $CPPFLAGS'
25882ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25883ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25884ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25885
25886      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25887/* end confdefs.h.  */
25888#include <math.h>
25889int
25890main ()
25891{
25892 _powl(0, 0);
25893  ;
25894  return 0;
25895}
25896_ACEOF
25897if ac_fn_cxx_try_compile "$LINENO"; then :
25898  glibcxx_cv_func__powl_use=yes
25899else
25900  glibcxx_cv_func__powl_use=no
25901fi
25902rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25903      ac_ext=c
25904ac_cpp='$CPP $CPPFLAGS'
25905ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25906ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25907ac_compiler_gnu=$ac_cv_c_compiler_gnu
25908
25909
25910fi
25911
25912  fi
25913  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
25914$as_echo "$glibcxx_cv_func__powl_use" >&6; }
25915
25916    if test x$glibcxx_cv_func__powl_use = x"yes"; then
25917      for ac_func in _powl
25918do :
25919  ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
25920if test "x$ac_cv_func__powl" = x""yes; then :
25921  cat >>confdefs.h <<_ACEOF
25922#define HAVE__POWL 1
25923_ACEOF
25924
25925fi
25926done
25927
25928    fi
25929  fi
25930
25931
25932
25933
25934
25935  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
25936$as_echo_n "checking for sqrtl declaration... " >&6; }
25937  if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
25938    if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
25939  $as_echo_n "(cached) " >&6
25940else
25941
25942
25943      ac_ext=cpp
25944ac_cpp='$CXXCPP $CPPFLAGS'
25945ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25946ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25947ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25948
25949      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25950/* end confdefs.h.  */
25951#include <math.h>
25952		      #ifdef HAVE_IEEEFP_H
25953		      #include <ieeefp.h>
25954		      #endif
25955
25956int
25957main ()
25958{
25959 sqrtl(0);
25960  ;
25961  return 0;
25962}
25963_ACEOF
25964if ac_fn_cxx_try_compile "$LINENO"; then :
25965  glibcxx_cv_func_sqrtl_use=yes
25966else
25967  glibcxx_cv_func_sqrtl_use=no
25968fi
25969rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25970      ac_ext=c
25971ac_cpp='$CPP $CPPFLAGS'
25972ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25973ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25974ac_compiler_gnu=$ac_cv_c_compiler_gnu
25975
25976
25977fi
25978
25979  fi
25980  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
25981$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
25982
25983  if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
25984    for ac_func in sqrtl
25985do :
25986  ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
25987if test "x$ac_cv_func_sqrtl" = x""yes; then :
25988  cat >>confdefs.h <<_ACEOF
25989#define HAVE_SQRTL 1
25990_ACEOF
25991
25992fi
25993done
25994
25995  else
25996
25997  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
25998$as_echo_n "checking for _sqrtl declaration... " >&6; }
25999  if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
26000    if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
26001  $as_echo_n "(cached) " >&6
26002else
26003
26004
26005      ac_ext=cpp
26006ac_cpp='$CXXCPP $CPPFLAGS'
26007ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26008ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26009ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26010
26011      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26012/* end confdefs.h.  */
26013#include <math.h>
26014		      #ifdef HAVE_IEEEFP_H
26015		      #include <ieeefp.h>
26016		      #endif
26017
26018int
26019main ()
26020{
26021 _sqrtl(0);
26022  ;
26023  return 0;
26024}
26025_ACEOF
26026if ac_fn_cxx_try_compile "$LINENO"; then :
26027  glibcxx_cv_func__sqrtl_use=yes
26028else
26029  glibcxx_cv_func__sqrtl_use=no
26030fi
26031rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26032      ac_ext=c
26033ac_cpp='$CPP $CPPFLAGS'
26034ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26035ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26036ac_compiler_gnu=$ac_cv_c_compiler_gnu
26037
26038
26039fi
26040
26041  fi
26042  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
26043$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
26044
26045    if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
26046      for ac_func in _sqrtl
26047do :
26048  ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
26049if test "x$ac_cv_func__sqrtl" = x""yes; then :
26050  cat >>confdefs.h <<_ACEOF
26051#define HAVE__SQRTL 1
26052_ACEOF
26053
26054fi
26055done
26056
26057    fi
26058  fi
26059
26060
26061
26062
26063
26064  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
26065$as_echo_n "checking for sincosl declaration... " >&6; }
26066  if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
26067    if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
26068  $as_echo_n "(cached) " >&6
26069else
26070
26071
26072      ac_ext=cpp
26073ac_cpp='$CXXCPP $CPPFLAGS'
26074ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26075ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26076ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26077
26078      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26079/* end confdefs.h.  */
26080#include <math.h>
26081int
26082main ()
26083{
26084 sincosl(0, 0, 0);
26085  ;
26086  return 0;
26087}
26088_ACEOF
26089if ac_fn_cxx_try_compile "$LINENO"; then :
26090  glibcxx_cv_func_sincosl_use=yes
26091else
26092  glibcxx_cv_func_sincosl_use=no
26093fi
26094rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26095      ac_ext=c
26096ac_cpp='$CPP $CPPFLAGS'
26097ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26098ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26099ac_compiler_gnu=$ac_cv_c_compiler_gnu
26100
26101
26102fi
26103
26104  fi
26105  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
26106$as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
26107
26108  if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
26109    for ac_func in sincosl
26110do :
26111  ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
26112if test "x$ac_cv_func_sincosl" = x""yes; then :
26113  cat >>confdefs.h <<_ACEOF
26114#define HAVE_SINCOSL 1
26115_ACEOF
26116
26117fi
26118done
26119
26120  else
26121
26122  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
26123$as_echo_n "checking for _sincosl declaration... " >&6; }
26124  if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
26125    if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
26126  $as_echo_n "(cached) " >&6
26127else
26128
26129
26130      ac_ext=cpp
26131ac_cpp='$CXXCPP $CPPFLAGS'
26132ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26133ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26134ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26135
26136      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26137/* end confdefs.h.  */
26138#include <math.h>
26139int
26140main ()
26141{
26142 _sincosl(0, 0, 0);
26143  ;
26144  return 0;
26145}
26146_ACEOF
26147if ac_fn_cxx_try_compile "$LINENO"; then :
26148  glibcxx_cv_func__sincosl_use=yes
26149else
26150  glibcxx_cv_func__sincosl_use=no
26151fi
26152rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26153      ac_ext=c
26154ac_cpp='$CPP $CPPFLAGS'
26155ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26156ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26157ac_compiler_gnu=$ac_cv_c_compiler_gnu
26158
26159
26160fi
26161
26162  fi
26163  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
26164$as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
26165
26166    if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
26167      for ac_func in _sincosl
26168do :
26169  ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
26170if test "x$ac_cv_func__sincosl" = x""yes; then :
26171  cat >>confdefs.h <<_ACEOF
26172#define HAVE__SINCOSL 1
26173_ACEOF
26174
26175fi
26176done
26177
26178    fi
26179  fi
26180
26181
26182
26183
26184
26185  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
26186$as_echo_n "checking for finitel declaration... " >&6; }
26187  if test x${glibcxx_cv_func_finitel_use+set} != xset; then
26188    if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
26189  $as_echo_n "(cached) " >&6
26190else
26191
26192
26193      ac_ext=cpp
26194ac_cpp='$CXXCPP $CPPFLAGS'
26195ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26196ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26197ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26198
26199      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26200/* end confdefs.h.  */
26201#include <math.h>
26202		      #ifdef HAVE_IEEEFP_H
26203		      #include <ieeefp.h>
26204		      #endif
26205
26206int
26207main ()
26208{
26209 finitel(0);
26210  ;
26211  return 0;
26212}
26213_ACEOF
26214if ac_fn_cxx_try_compile "$LINENO"; then :
26215  glibcxx_cv_func_finitel_use=yes
26216else
26217  glibcxx_cv_func_finitel_use=no
26218fi
26219rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26220      ac_ext=c
26221ac_cpp='$CPP $CPPFLAGS'
26222ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26223ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26224ac_compiler_gnu=$ac_cv_c_compiler_gnu
26225
26226
26227fi
26228
26229  fi
26230  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
26231$as_echo "$glibcxx_cv_func_finitel_use" >&6; }
26232
26233  if test x$glibcxx_cv_func_finitel_use = x"yes"; then
26234    for ac_func in finitel
26235do :
26236  ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
26237if test "x$ac_cv_func_finitel" = x""yes; then :
26238  cat >>confdefs.h <<_ACEOF
26239#define HAVE_FINITEL 1
26240_ACEOF
26241
26242fi
26243done
26244
26245  else
26246
26247  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
26248$as_echo_n "checking for _finitel declaration... " >&6; }
26249  if test x${glibcxx_cv_func__finitel_use+set} != xset; then
26250    if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
26251  $as_echo_n "(cached) " >&6
26252else
26253
26254
26255      ac_ext=cpp
26256ac_cpp='$CXXCPP $CPPFLAGS'
26257ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26258ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26259ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26260
26261      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26262/* end confdefs.h.  */
26263#include <math.h>
26264		      #ifdef HAVE_IEEEFP_H
26265		      #include <ieeefp.h>
26266		      #endif
26267
26268int
26269main ()
26270{
26271 _finitel(0);
26272  ;
26273  return 0;
26274}
26275_ACEOF
26276if ac_fn_cxx_try_compile "$LINENO"; then :
26277  glibcxx_cv_func__finitel_use=yes
26278else
26279  glibcxx_cv_func__finitel_use=no
26280fi
26281rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26282      ac_ext=c
26283ac_cpp='$CPP $CPPFLAGS'
26284ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26285ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26286ac_compiler_gnu=$ac_cv_c_compiler_gnu
26287
26288
26289fi
26290
26291  fi
26292  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
26293$as_echo "$glibcxx_cv_func__finitel_use" >&6; }
26294
26295    if test x$glibcxx_cv_func__finitel_use = x"yes"; then
26296      for ac_func in _finitel
26297do :
26298  ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
26299if test "x$ac_cv_func__finitel" = x""yes; then :
26300  cat >>confdefs.h <<_ACEOF
26301#define HAVE__FINITEL 1
26302_ACEOF
26303
26304fi
26305done
26306
26307    fi
26308  fi
26309
26310
26311
26312
26313  LIBS="$ac_save_LIBS"
26314  CXXFLAGS="$ac_save_CXXFLAGS"
26315
26316
26317  ac_test_CXXFLAGS="${CXXFLAGS+set}"
26318  ac_save_CXXFLAGS="$CXXFLAGS"
26319  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26320
26321
26322  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
26323$as_echo_n "checking for at_quick_exit declaration... " >&6; }
26324  if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
26325    if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
26326  $as_echo_n "(cached) " >&6
26327else
26328
26329
26330      ac_ext=cpp
26331ac_cpp='$CXXCPP $CPPFLAGS'
26332ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26333ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26334ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26335
26336      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26337/* end confdefs.h.  */
26338#include <stdlib.h>
26339int
26340main ()
26341{
26342 at_quick_exit(0);
26343  ;
26344  return 0;
26345}
26346_ACEOF
26347if ac_fn_cxx_try_compile "$LINENO"; then :
26348  glibcxx_cv_func_at_quick_exit_use=yes
26349else
26350  glibcxx_cv_func_at_quick_exit_use=no
26351fi
26352rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26353      ac_ext=c
26354ac_cpp='$CPP $CPPFLAGS'
26355ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26356ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26357ac_compiler_gnu=$ac_cv_c_compiler_gnu
26358
26359
26360fi
26361
26362  fi
26363  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
26364$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
26365  if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
26366    for ac_func in at_quick_exit
26367do :
26368  ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
26369if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
26370  cat >>confdefs.h <<_ACEOF
26371#define HAVE_AT_QUICK_EXIT 1
26372_ACEOF
26373
26374fi
26375done
26376
26377  fi
26378
26379
26380  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
26381$as_echo_n "checking for quick_exit declaration... " >&6; }
26382  if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
26383    if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
26384  $as_echo_n "(cached) " >&6
26385else
26386
26387
26388      ac_ext=cpp
26389ac_cpp='$CXXCPP $CPPFLAGS'
26390ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26391ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26392ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26393
26394      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26395/* end confdefs.h.  */
26396#include <stdlib.h>
26397int
26398main ()
26399{
26400 quick_exit(0);
26401  ;
26402  return 0;
26403}
26404_ACEOF
26405if ac_fn_cxx_try_compile "$LINENO"; then :
26406  glibcxx_cv_func_quick_exit_use=yes
26407else
26408  glibcxx_cv_func_quick_exit_use=no
26409fi
26410rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26411      ac_ext=c
26412ac_cpp='$CPP $CPPFLAGS'
26413ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26414ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26415ac_compiler_gnu=$ac_cv_c_compiler_gnu
26416
26417
26418fi
26419
26420  fi
26421  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
26422$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
26423  if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
26424    for ac_func in quick_exit
26425do :
26426  ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
26427if test "x$ac_cv_func_quick_exit" = x""yes; then :
26428  cat >>confdefs.h <<_ACEOF
26429#define HAVE_QUICK_EXIT 1
26430_ACEOF
26431
26432fi
26433done
26434
26435  fi
26436
26437
26438  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
26439$as_echo_n "checking for strtold declaration... " >&6; }
26440  if test x${glibcxx_cv_func_strtold_use+set} != xset; then
26441    if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
26442  $as_echo_n "(cached) " >&6
26443else
26444
26445
26446      ac_ext=cpp
26447ac_cpp='$CXXCPP $CPPFLAGS'
26448ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26449ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26450ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26451
26452      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26453/* end confdefs.h.  */
26454#include <stdlib.h>
26455int
26456main ()
26457{
26458 strtold(0, 0);
26459  ;
26460  return 0;
26461}
26462_ACEOF
26463if ac_fn_cxx_try_compile "$LINENO"; then :
26464  glibcxx_cv_func_strtold_use=yes
26465else
26466  glibcxx_cv_func_strtold_use=no
26467fi
26468rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26469      ac_ext=c
26470ac_cpp='$CPP $CPPFLAGS'
26471ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26472ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26473ac_compiler_gnu=$ac_cv_c_compiler_gnu
26474
26475
26476fi
26477
26478  fi
26479  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
26480$as_echo "$glibcxx_cv_func_strtold_use" >&6; }
26481  if test x$glibcxx_cv_func_strtold_use = x"yes"; then
26482    for ac_func in strtold
26483do :
26484  ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
26485if test "x$ac_cv_func_strtold" = x""yes; then :
26486  cat >>confdefs.h <<_ACEOF
26487#define HAVE_STRTOLD 1
26488_ACEOF
26489
26490fi
26491done
26492
26493  fi
26494
26495
26496
26497
26498  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
26499$as_echo_n "checking for strtof declaration... " >&6; }
26500  if test x${glibcxx_cv_func_strtof_use+set} != xset; then
26501    if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
26502  $as_echo_n "(cached) " >&6
26503else
26504
26505
26506      ac_ext=cpp
26507ac_cpp='$CXXCPP $CPPFLAGS'
26508ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26509ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26510ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26511
26512      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26513/* end confdefs.h.  */
26514#include <stdlib.h>
26515int
26516main ()
26517{
26518 strtof(0, 0);
26519  ;
26520  return 0;
26521}
26522_ACEOF
26523if ac_fn_cxx_try_compile "$LINENO"; then :
26524  glibcxx_cv_func_strtof_use=yes
26525else
26526  glibcxx_cv_func_strtof_use=no
26527fi
26528rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26529      ac_ext=c
26530ac_cpp='$CPP $CPPFLAGS'
26531ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26532ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26533ac_compiler_gnu=$ac_cv_c_compiler_gnu
26534
26535
26536fi
26537
26538  fi
26539  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
26540$as_echo "$glibcxx_cv_func_strtof_use" >&6; }
26541  if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26542    for ac_func in strtof
26543do :
26544  ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
26545if test "x$ac_cv_func_strtof" = x""yes; then :
26546  cat >>confdefs.h <<_ACEOF
26547#define HAVE_STRTOF 1
26548_ACEOF
26549
26550fi
26551done
26552
26553  fi
26554
26555
26556
26557
26558  CXXFLAGS="$ac_save_CXXFLAGS"
26559
26560
26561  # For /dev/random and /dev/urandom for TR1.
26562
26563
26564  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
26565$as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
26566  if test "${glibcxx_cv_random_tr1+set}" = set; then :
26567  $as_echo_n "(cached) " >&6
26568else
26569
26570    if test -r /dev/random && test -r /dev/urandom; then
26571  ## For MSys environment the test above is detect as false-positive
26572  ## on mingw-targets.  So disable it explicit for them.
26573      case ${target_os} in
26574	*mingw*) glibcxx_cv_random_tr1=no ;;
26575	*) glibcxx_cv_random_tr1=yes ;;
26576      esac
26577    else
26578      glibcxx_cv_random_tr1=no;
26579    fi
26580
26581fi
26582
26583  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
26584$as_echo "$glibcxx_cv_random_tr1" >&6; }
26585
26586  if test x"$glibcxx_cv_random_tr1" = x"yes"; then
26587
26588$as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
26589
26590  fi
26591
26592
26593
26594  # For TLS support.
26595
26596
26597   # Check whether --enable-tls was given.
26598if test "${enable_tls+set}" = set; then :
26599  enableval=$enable_tls;
26600      case "$enableval" in
26601       yes|no) ;;
26602       *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
26603      esac
26604
26605else
26606  enable_tls=yes
26607fi
26608
26609
26610  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
26611$as_echo_n "checking whether the target supports thread-local storage... " >&6; }
26612if test "${gcc_cv_have_tls+set}" = set; then :
26613  $as_echo_n "(cached) " >&6
26614else
26615
26616    if test "$cross_compiling" = yes; then :
26617                if test x$gcc_no_link = xyes; then
26618  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26619fi
26620cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26621/* end confdefs.h.  */
26622__thread int a; int b; int main() { return a = b; }
26623_ACEOF
26624if ac_fn_c_try_link "$LINENO"; then :
26625  chktls_save_LDFLAGS="$LDFLAGS"
26626	  	  	  case $host in
26627	    *-*-linux*)
26628	      LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
26629	      ;;
26630	  esac
26631	  chktls_save_CFLAGS="$CFLAGS"
26632	  CFLAGS="-fPIC $CFLAGS"
26633	  	  if test x$gcc_no_link = xyes; then
26634  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26635fi
26636cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26637/* end confdefs.h.  */
26638int f() { return 0; }
26639_ACEOF
26640if ac_fn_c_try_link "$LINENO"; then :
26641  if test x$gcc_no_link = xyes; then
26642  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26643fi
26644cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26645/* end confdefs.h.  */
26646__thread int a; int b; int f() { return a = b; }
26647_ACEOF
26648if ac_fn_c_try_link "$LINENO"; then :
26649  gcc_cv_have_tls=yes
26650else
26651  gcc_cv_have_tls=no
26652fi
26653rm -f core conftest.err conftest.$ac_objext \
26654    conftest$ac_exeext conftest.$ac_ext
26655else
26656  gcc_cv_have_tls=yes
26657fi
26658rm -f core conftest.err conftest.$ac_objext \
26659    conftest$ac_exeext conftest.$ac_ext
26660	  CFLAGS="$chktls_save_CFLAGS"
26661	  LDFLAGS="$chktls_save_LDFLAGS"
26662else
26663  gcc_cv_have_tls=no
26664fi
26665rm -f core conftest.err conftest.$ac_objext \
26666    conftest$ac_exeext conftest.$ac_ext
26667
26668
26669else
26670  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26671/* end confdefs.h.  */
26672__thread int a; int b; int main() { return a = b; }
26673_ACEOF
26674if ac_fn_c_try_run "$LINENO"; then :
26675                      chktls_save_LDFLAGS="$LDFLAGS"
26676      LDFLAGS="-static $LDFLAGS"
26677      if test x$gcc_no_link = xyes; then
26678  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26679fi
26680cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26681/* end confdefs.h.  */
26682int main() { return 0; }
26683_ACEOF
26684if ac_fn_c_try_link "$LINENO"; then :
26685  if test "$cross_compiling" = yes; then :
26686  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26687$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26688as_fn_error "cannot run test program while cross compiling
26689See \`config.log' for more details." "$LINENO" 5; }
26690else
26691  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26692/* end confdefs.h.  */
26693__thread int a; int b; int main() { return a = b; }
26694_ACEOF
26695if ac_fn_c_try_run "$LINENO"; then :
26696  gcc_cv_have_tls=yes
26697else
26698  gcc_cv_have_tls=no
26699fi
26700rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26701  conftest.$ac_objext conftest.beam conftest.$ac_ext
26702fi
26703
26704else
26705  gcc_cv_have_tls=yes
26706fi
26707rm -f core conftest.err conftest.$ac_objext \
26708    conftest$ac_exeext conftest.$ac_ext
26709      LDFLAGS="$chktls_save_LDFLAGS"
26710      if test $gcc_cv_have_tls = yes; then
26711						chktls_save_CFLAGS="$CFLAGS"
26712	thread_CFLAGS=failed
26713	for flag in '' '-pthread' '-lpthread'; do
26714	  CFLAGS="$flag $chktls_save_CFLAGS"
26715	  if test x$gcc_no_link = xyes; then
26716  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26717fi
26718cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26719/* end confdefs.h.  */
26720#include <pthread.h>
26721		void *g(void *d) { return NULL; }
26722int
26723main ()
26724{
26725pthread_t t; pthread_create(&t,NULL,g,NULL);
26726  ;
26727  return 0;
26728}
26729_ACEOF
26730if ac_fn_c_try_link "$LINENO"; then :
26731  thread_CFLAGS="$flag"
26732fi
26733rm -f core conftest.err conftest.$ac_objext \
26734    conftest$ac_exeext conftest.$ac_ext
26735	  if test "X$thread_CFLAGS" != Xfailed; then
26736	    break
26737	  fi
26738	done
26739	CFLAGS="$chktls_save_CFLAGS"
26740	if test "X$thread_CFLAGS" != Xfailed; then
26741	  CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
26742 	  	  	  	  	  	  if test "$cross_compiling" = yes; then :
26743  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26744$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26745as_fn_error "cannot run test program while cross compiling
26746See \`config.log' for more details." "$LINENO" 5; }
26747else
26748  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26749/* end confdefs.h.  */
26750#include <pthread.h>
26751		__thread int a;
26752		static int *volatile a_in_other_thread;
26753		static void *
26754		thread_func (void *arg)
26755		{
26756		  a_in_other_thread = &a;
26757		  return (void *)0;
26758		}
26759int
26760main ()
26761{
26762pthread_t thread;
26763		void *thread_retval;
26764		int *volatile a_in_main_thread;
26765		a_in_main_thread = &a;
26766		if (pthread_create (&thread, (pthread_attr_t *)0,
26767				    thread_func, (void *)0))
26768		  return 0;
26769		if (pthread_join (thread, &thread_retval))
26770		  return 0;
26771		return (a_in_other_thread == a_in_main_thread);
26772  ;
26773  return 0;
26774}
26775_ACEOF
26776if ac_fn_c_try_run "$LINENO"; then :
26777  gcc_cv_have_tls=yes
26778else
26779  gcc_cv_have_tls=no
26780fi
26781rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26782  conftest.$ac_objext conftest.beam conftest.$ac_ext
26783fi
26784
26785	  CFLAGS="$chktls_save_CFLAGS"
26786	fi
26787      fi
26788else
26789  gcc_cv_have_tls=no
26790fi
26791rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26792  conftest.$ac_objext conftest.beam conftest.$ac_ext
26793fi
26794
26795fi
26796{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
26797$as_echo "$gcc_cv_have_tls" >&6; }
26798  if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
26799
26800$as_echo "#define HAVE_TLS 1" >>confdefs.h
26801
26802  fi
26803
26804  for ac_func in __cxa_thread_atexit_impl
26805do :
26806  ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
26807if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
26808  cat >>confdefs.h <<_ACEOF
26809#define HAVE___CXA_THREAD_ATEXIT_IMPL 1
26810_ACEOF
26811
26812fi
26813done
26814
26815
26816  # For iconv support.
26817
26818      if test "X$prefix" = "XNONE"; then
26819    acl_final_prefix="$ac_default_prefix"
26820  else
26821    acl_final_prefix="$prefix"
26822  fi
26823  if test "X$exec_prefix" = "XNONE"; then
26824    acl_final_exec_prefix='${prefix}'
26825  else
26826    acl_final_exec_prefix="$exec_prefix"
26827  fi
26828  acl_save_prefix="$prefix"
26829  prefix="$acl_final_prefix"
26830  eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
26831  prefix="$acl_save_prefix"
26832
26833
26834# Check whether --with-gnu-ld was given.
26835if test "${with_gnu_ld+set}" = set; then :
26836  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
26837else
26838  with_gnu_ld=no
26839fi
26840
26841# Prepare PATH_SEPARATOR.
26842# The user is always right.
26843if test "${PATH_SEPARATOR+set}" != set; then
26844  echo "#! /bin/sh" >conf$$.sh
26845  echo  "exit 0"   >>conf$$.sh
26846  chmod +x conf$$.sh
26847  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
26848    PATH_SEPARATOR=';'
26849  else
26850    PATH_SEPARATOR=:
26851  fi
26852  rm -f conf$$.sh
26853fi
26854ac_prog=ld
26855if test "$GCC" = yes; then
26856  # Check if gcc -print-prog-name=ld gives a path.
26857  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
26858$as_echo_n "checking for ld used by GCC... " >&6; }
26859  case $host in
26860  *-*-mingw*)
26861    # gcc leaves a trailing carriage return which upsets mingw
26862    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
26863  *)
26864    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
26865  esac
26866  case $ac_prog in
26867    # Accept absolute paths.
26868    [\\/]* | [A-Za-z]:[\\/]*)
26869      re_direlt='/[^/][^/]*/\.\./'
26870      # Canonicalize the path of ld
26871      ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
26872      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
26873	ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
26874      done
26875      test -z "$LD" && LD="$ac_prog"
26876      ;;
26877  "")
26878    # If it fails, then pretend we aren't using GCC.
26879    ac_prog=ld
26880    ;;
26881  *)
26882    # If it is relative, then search for the first ld in PATH.
26883    with_gnu_ld=unknown
26884    ;;
26885  esac
26886elif test "$with_gnu_ld" = yes; then
26887  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
26888$as_echo_n "checking for GNU ld... " >&6; }
26889else
26890  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
26891$as_echo_n "checking for non-GNU ld... " >&6; }
26892fi
26893if test "${acl_cv_path_LD+set}" = set; then :
26894  $as_echo_n "(cached) " >&6
26895else
26896  if test -z "$LD"; then
26897  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
26898  for ac_dir in $PATH; do
26899    test -z "$ac_dir" && ac_dir=.
26900    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
26901      acl_cv_path_LD="$ac_dir/$ac_prog"
26902      # Check to see if the program is GNU ld.  I'd rather use --version,
26903      # but apparently some GNU ld's only accept -v.
26904      # Break only if it was the GNU/non-GNU ld that we prefer.
26905      if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
26906	test "$with_gnu_ld" != no && break
26907      else
26908	test "$with_gnu_ld" != yes && break
26909      fi
26910    fi
26911  done
26912  IFS="$ac_save_ifs"
26913else
26914  acl_cv_path_LD="$LD" # Let the user override the test with a path.
26915fi
26916fi
26917
26918LD="$acl_cv_path_LD"
26919if test -n "$LD"; then
26920  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
26921$as_echo "$LD" >&6; }
26922else
26923  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26924$as_echo "no" >&6; }
26925fi
26926test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
26927{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
26928$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
26929if test "${acl_cv_prog_gnu_ld+set}" = set; then :
26930  $as_echo_n "(cached) " >&6
26931else
26932  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
26933if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
26934  acl_cv_prog_gnu_ld=yes
26935else
26936  acl_cv_prog_gnu_ld=no
26937fi
26938fi
26939{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
26940$as_echo "$acl_cv_prog_gnu_ld" >&6; }
26941with_gnu_ld=$acl_cv_prog_gnu_ld
26942
26943
26944
26945                                                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
26946$as_echo_n "checking for shared library run path origin... " >&6; }
26947if test "${acl_cv_rpath+set}" = set; then :
26948  $as_echo_n "(cached) " >&6
26949else
26950
26951    CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
26952    ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
26953    . ./conftest.sh
26954    rm -f ./conftest.sh
26955    acl_cv_rpath=done
26956
26957fi
26958{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
26959$as_echo "$acl_cv_rpath" >&6; }
26960  wl="$acl_cv_wl"
26961  libext="$acl_cv_libext"
26962  shlibext="$acl_cv_shlibext"
26963  hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
26964  hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
26965  hardcode_direct="$acl_cv_hardcode_direct"
26966  hardcode_minus_L="$acl_cv_hardcode_minus_L"
26967    # Check whether --enable-rpath was given.
26968if test "${enable_rpath+set}" = set; then :
26969  enableval=$enable_rpath; :
26970else
26971  enable_rpath=yes
26972fi
26973
26974
26975
26976
26977
26978
26979
26980
26981    use_additional=yes
26982
26983  acl_save_prefix="$prefix"
26984  prefix="$acl_final_prefix"
26985  acl_save_exec_prefix="$exec_prefix"
26986  exec_prefix="$acl_final_exec_prefix"
26987
26988    eval additional_includedir=\"$includedir\"
26989    eval additional_libdir=\"$libdir\"
26990
26991  exec_prefix="$acl_save_exec_prefix"
26992  prefix="$acl_save_prefix"
26993
26994
26995# Check whether --with-libiconv-prefix was given.
26996if test "${with_libiconv_prefix+set}" = set; then :
26997  withval=$with_libiconv_prefix;
26998    if test "X$withval" = "Xno"; then
26999      use_additional=no
27000    else
27001      if test "X$withval" = "X"; then
27002
27003  acl_save_prefix="$prefix"
27004  prefix="$acl_final_prefix"
27005  acl_save_exec_prefix="$exec_prefix"
27006  exec_prefix="$acl_final_exec_prefix"
27007
27008          eval additional_includedir=\"$includedir\"
27009          eval additional_libdir=\"$libdir\"
27010
27011  exec_prefix="$acl_save_exec_prefix"
27012  prefix="$acl_save_prefix"
27013
27014      else
27015        additional_includedir="$withval/include"
27016        additional_libdir="$withval/lib"
27017      fi
27018    fi
27019
27020fi
27021
27022      LIBICONV=
27023  LTLIBICONV=
27024  INCICONV=
27025  rpathdirs=
27026  ltrpathdirs=
27027  names_already_handled=
27028  names_next_round='iconv '
27029  while test -n "$names_next_round"; do
27030    names_this_round="$names_next_round"
27031    names_next_round=
27032    for name in $names_this_round; do
27033      already_handled=
27034      for n in $names_already_handled; do
27035        if test "$n" = "$name"; then
27036          already_handled=yes
27037          break
27038        fi
27039      done
27040      if test -z "$already_handled"; then
27041        names_already_handled="$names_already_handled $name"
27042                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
27043        eval value=\"\$HAVE_LIB$uppername\"
27044        if test -n "$value"; then
27045          if test "$value" = yes; then
27046            eval value=\"\$LIB$uppername\"
27047            test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
27048            eval value=\"\$LTLIB$uppername\"
27049            test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
27050          else
27051                                    :
27052          fi
27053        else
27054                              found_dir=
27055          found_la=
27056          found_so=
27057          found_a=
27058          if test $use_additional = yes; then
27059            if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
27060              found_dir="$additional_libdir"
27061              found_so="$additional_libdir/lib$name.$shlibext"
27062              if test -f "$additional_libdir/lib$name.la"; then
27063                found_la="$additional_libdir/lib$name.la"
27064              fi
27065            else
27066              if test -f "$additional_libdir/lib$name.$libext"; then
27067                found_dir="$additional_libdir"
27068                found_a="$additional_libdir/lib$name.$libext"
27069                if test -f "$additional_libdir/lib$name.la"; then
27070                  found_la="$additional_libdir/lib$name.la"
27071                fi
27072              fi
27073            fi
27074          fi
27075          if test "X$found_dir" = "X"; then
27076            for x in $LDFLAGS $LTLIBICONV; do
27077
27078  acl_save_prefix="$prefix"
27079  prefix="$acl_final_prefix"
27080  acl_save_exec_prefix="$exec_prefix"
27081  exec_prefix="$acl_final_exec_prefix"
27082  eval x=\"$x\"
27083  exec_prefix="$acl_save_exec_prefix"
27084  prefix="$acl_save_prefix"
27085
27086              case "$x" in
27087                -L*)
27088                  dir=`echo "X$x" | sed -e 's/^X-L//'`
27089                  if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
27090                    found_dir="$dir"
27091                    found_so="$dir/lib$name.$shlibext"
27092                    if test -f "$dir/lib$name.la"; then
27093                      found_la="$dir/lib$name.la"
27094                    fi
27095                  else
27096                    if test -f "$dir/lib$name.$libext"; then
27097                      found_dir="$dir"
27098                      found_a="$dir/lib$name.$libext"
27099                      if test -f "$dir/lib$name.la"; then
27100                        found_la="$dir/lib$name.la"
27101                      fi
27102                    fi
27103                  fi
27104                  ;;
27105              esac
27106              if test "X$found_dir" != "X"; then
27107                break
27108              fi
27109            done
27110          fi
27111          if test "X$found_dir" != "X"; then
27112                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
27113            if test "X$found_so" != "X"; then
27114                                                        if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
27115                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27116              else
27117                                                                                haveit=
27118                for x in $ltrpathdirs; do
27119                  if test "X$x" = "X$found_dir"; then
27120                    haveit=yes
27121                    break
27122                  fi
27123                done
27124                if test -z "$haveit"; then
27125                  ltrpathdirs="$ltrpathdirs $found_dir"
27126                fi
27127                                if test "$hardcode_direct" = yes; then
27128                                                      LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27129                else
27130                  if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
27131                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27132                                                            haveit=
27133                    for x in $rpathdirs; do
27134                      if test "X$x" = "X$found_dir"; then
27135                        haveit=yes
27136                        break
27137                      fi
27138                    done
27139                    if test -z "$haveit"; then
27140                      rpathdirs="$rpathdirs $found_dir"
27141                    fi
27142                  else
27143                                                                                haveit=
27144                    for x in $LDFLAGS $LIBICONV; do
27145
27146  acl_save_prefix="$prefix"
27147  prefix="$acl_final_prefix"
27148  acl_save_exec_prefix="$exec_prefix"
27149  exec_prefix="$acl_final_exec_prefix"
27150  eval x=\"$x\"
27151  exec_prefix="$acl_save_exec_prefix"
27152  prefix="$acl_save_prefix"
27153
27154                      if test "X$x" = "X-L$found_dir"; then
27155                        haveit=yes
27156                        break
27157                      fi
27158                    done
27159                    if test -z "$haveit"; then
27160                      LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
27161                    fi
27162                    if test "$hardcode_minus_L" != no; then
27163                                                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27164                    else
27165                                                                                                                                                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27166                    fi
27167                  fi
27168                fi
27169              fi
27170            else
27171              if test "X$found_a" != "X"; then
27172                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
27173              else
27174                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
27175              fi
27176            fi
27177                        additional_includedir=
27178            case "$found_dir" in
27179              */lib | */lib/)
27180                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
27181                additional_includedir="$basedir/include"
27182                ;;
27183            esac
27184            if test "X$additional_includedir" != "X"; then
27185                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
27186                haveit=
27187                if test "X$additional_includedir" = "X/usr/local/include"; then
27188                  if test -n "$GCC"; then
27189                    case $host_os in
27190                      linux*) haveit=yes;;
27191                    esac
27192                  fi
27193                fi
27194                if test -z "$haveit"; then
27195                  for x in $CPPFLAGS $INCICONV; do
27196
27197  acl_save_prefix="$prefix"
27198  prefix="$acl_final_prefix"
27199  acl_save_exec_prefix="$exec_prefix"
27200  exec_prefix="$acl_final_exec_prefix"
27201  eval x=\"$x\"
27202  exec_prefix="$acl_save_exec_prefix"
27203  prefix="$acl_save_prefix"
27204
27205                    if test "X$x" = "X-I$additional_includedir"; then
27206                      haveit=yes
27207                      break
27208                    fi
27209                  done
27210                  if test -z "$haveit"; then
27211                    if test -d "$additional_includedir"; then
27212                                            INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
27213                    fi
27214                  fi
27215                fi
27216              fi
27217            fi
27218                        if test -n "$found_la"; then
27219                                                        save_libdir="$libdir"
27220              case "$found_la" in
27221                */* | *\\*) . "$found_la" ;;
27222                *) . "./$found_la" ;;
27223              esac
27224              libdir="$save_libdir"
27225                            for dep in $dependency_libs; do
27226                case "$dep" in
27227                  -L*)
27228                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
27229                                                                                                                                                                if test "X$additional_libdir" != "X/usr/lib"; then
27230                      haveit=
27231                      if test "X$additional_libdir" = "X/usr/local/lib"; then
27232                        if test -n "$GCC"; then
27233                          case $host_os in
27234                            linux*) haveit=yes;;
27235                          esac
27236                        fi
27237                      fi
27238                      if test -z "$haveit"; then
27239                        haveit=
27240                        for x in $LDFLAGS $LIBICONV; do
27241
27242  acl_save_prefix="$prefix"
27243  prefix="$acl_final_prefix"
27244  acl_save_exec_prefix="$exec_prefix"
27245  exec_prefix="$acl_final_exec_prefix"
27246  eval x=\"$x\"
27247  exec_prefix="$acl_save_exec_prefix"
27248  prefix="$acl_save_prefix"
27249
27250                          if test "X$x" = "X-L$additional_libdir"; then
27251                            haveit=yes
27252                            break
27253                          fi
27254                        done
27255                        if test -z "$haveit"; then
27256                          if test -d "$additional_libdir"; then
27257                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
27258                          fi
27259                        fi
27260                        haveit=
27261                        for x in $LDFLAGS $LTLIBICONV; do
27262
27263  acl_save_prefix="$prefix"
27264  prefix="$acl_final_prefix"
27265  acl_save_exec_prefix="$exec_prefix"
27266  exec_prefix="$acl_final_exec_prefix"
27267  eval x=\"$x\"
27268  exec_prefix="$acl_save_exec_prefix"
27269  prefix="$acl_save_prefix"
27270
27271                          if test "X$x" = "X-L$additional_libdir"; then
27272                            haveit=yes
27273                            break
27274                          fi
27275                        done
27276                        if test -z "$haveit"; then
27277                          if test -d "$additional_libdir"; then
27278                                                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
27279                          fi
27280                        fi
27281                      fi
27282                    fi
27283                    ;;
27284                  -R*)
27285                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
27286                    if test "$enable_rpath" != no; then
27287                                                                  haveit=
27288                      for x in $rpathdirs; do
27289                        if test "X$x" = "X$dir"; then
27290                          haveit=yes
27291                          break
27292                        fi
27293                      done
27294                      if test -z "$haveit"; then
27295                        rpathdirs="$rpathdirs $dir"
27296                      fi
27297                                                                  haveit=
27298                      for x in $ltrpathdirs; do
27299                        if test "X$x" = "X$dir"; then
27300                          haveit=yes
27301                          break
27302                        fi
27303                      done
27304                      if test -z "$haveit"; then
27305                        ltrpathdirs="$ltrpathdirs $dir"
27306                      fi
27307                    fi
27308                    ;;
27309                  -l*)
27310                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
27311                    ;;
27312                  *.la)
27313                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
27314                    ;;
27315                  *)
27316                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
27317                    LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
27318                    ;;
27319                esac
27320              done
27321            fi
27322          else
27323                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27324            LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
27325          fi
27326        fi
27327      fi
27328    done
27329  done
27330  if test "X$rpathdirs" != "X"; then
27331    if test -n "$hardcode_libdir_separator"; then
27332                        alldirs=
27333      for found_dir in $rpathdirs; do
27334        alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
27335      done
27336            acl_save_libdir="$libdir"
27337      libdir="$alldirs"
27338      eval flag=\"$hardcode_libdir_flag_spec\"
27339      libdir="$acl_save_libdir"
27340      LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27341    else
27342            for found_dir in $rpathdirs; do
27343        acl_save_libdir="$libdir"
27344        libdir="$found_dir"
27345        eval flag=\"$hardcode_libdir_flag_spec\"
27346        libdir="$acl_save_libdir"
27347        LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27348      done
27349    fi
27350  fi
27351  if test "X$ltrpathdirs" != "X"; then
27352            for found_dir in $ltrpathdirs; do
27353      LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
27354    done
27355  fi
27356
27357
27358
27359
27360
27361
27362
27363          am_save_CPPFLAGS="$CPPFLAGS"
27364
27365  for element in $INCICONV; do
27366    haveit=
27367    for x in $CPPFLAGS; do
27368
27369  acl_save_prefix="$prefix"
27370  prefix="$acl_final_prefix"
27371  acl_save_exec_prefix="$exec_prefix"
27372  exec_prefix="$acl_final_exec_prefix"
27373  eval x=\"$x\"
27374  exec_prefix="$acl_save_exec_prefix"
27375  prefix="$acl_save_prefix"
27376
27377      if test "X$x" = "X$element"; then
27378        haveit=yes
27379        break
27380      fi
27381    done
27382    if test -z "$haveit"; then
27383      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
27384    fi
27385  done
27386
27387
27388  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
27389$as_echo_n "checking for iconv... " >&6; }
27390if test "${am_cv_func_iconv+set}" = set; then :
27391  $as_echo_n "(cached) " >&6
27392else
27393
27394    am_cv_func_iconv="no, consider installing GNU libiconv"
27395    am_cv_lib_iconv=no
27396    if test x$gcc_no_link = xyes; then
27397  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27398fi
27399cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27400/* end confdefs.h.  */
27401#include <stdlib.h>
27402#include <iconv.h>
27403int
27404main ()
27405{
27406iconv_t cd = iconv_open("","");
27407       iconv(cd,NULL,NULL,NULL,NULL);
27408       iconv_close(cd);
27409  ;
27410  return 0;
27411}
27412_ACEOF
27413if ac_fn_c_try_link "$LINENO"; then :
27414  am_cv_func_iconv=yes
27415fi
27416rm -f core conftest.err conftest.$ac_objext \
27417    conftest$ac_exeext conftest.$ac_ext
27418    if test "$am_cv_func_iconv" != yes; then
27419      am_save_LIBS="$LIBS"
27420      LIBS="$LIBS $LIBICONV"
27421      if test x$gcc_no_link = xyes; then
27422  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27423fi
27424cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27425/* end confdefs.h.  */
27426#include <stdlib.h>
27427#include <iconv.h>
27428int
27429main ()
27430{
27431iconv_t cd = iconv_open("","");
27432         iconv(cd,NULL,NULL,NULL,NULL);
27433         iconv_close(cd);
27434  ;
27435  return 0;
27436}
27437_ACEOF
27438if ac_fn_c_try_link "$LINENO"; then :
27439  am_cv_lib_iconv=yes
27440        am_cv_func_iconv=yes
27441fi
27442rm -f core conftest.err conftest.$ac_objext \
27443    conftest$ac_exeext conftest.$ac_ext
27444      LIBS="$am_save_LIBS"
27445    fi
27446
27447fi
27448{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
27449$as_echo "$am_cv_func_iconv" >&6; }
27450  if test "$am_cv_func_iconv" = yes; then
27451
27452$as_echo "#define HAVE_ICONV 1" >>confdefs.h
27453
27454  fi
27455  if test "$am_cv_lib_iconv" = yes; then
27456    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
27457$as_echo_n "checking how to link with libiconv... " >&6; }
27458    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
27459$as_echo "$LIBICONV" >&6; }
27460  else
27461            CPPFLAGS="$am_save_CPPFLAGS"
27462    LIBICONV=
27463    LTLIBICONV=
27464  fi
27465
27466
27467
27468  if test "$am_cv_func_iconv" = yes; then
27469    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
27470$as_echo_n "checking for iconv declaration... " >&6; }
27471    if test "${am_cv_proto_iconv+set}" = set; then :
27472  $as_echo_n "(cached) " >&6
27473else
27474
27475      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27476/* end confdefs.h.  */
27477
27478#include <stdlib.h>
27479#include <iconv.h>
27480extern
27481#ifdef __cplusplus
27482"C"
27483#endif
27484#if defined(__STDC__) || defined(__cplusplus)
27485size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27486#else
27487size_t iconv();
27488#endif
27489
27490int
27491main ()
27492{
27493
27494  ;
27495  return 0;
27496}
27497_ACEOF
27498if ac_fn_c_try_compile "$LINENO"; then :
27499  am_cv_proto_iconv_arg1=""
27500else
27501  am_cv_proto_iconv_arg1="const"
27502fi
27503rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27504      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);"
27505fi
27506
27507    am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
27508    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
27509         }$am_cv_proto_iconv" >&5
27510$as_echo "${ac_t:-
27511         }$am_cv_proto_iconv" >&6; }
27512
27513cat >>confdefs.h <<_ACEOF
27514#define ICONV_CONST $am_cv_proto_iconv_arg1
27515_ACEOF
27516
27517  fi
27518
27519
27520else
27521
27522  # This lets us hard-code the functionality we know we'll have in the cross
27523  # target environment.  "Let" is a sugar-coated word placed on an especially
27524  # dull and tedious hack, actually.
27525  #
27526  # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27527  # that involve linking, can't be used:
27528  #    "cannot open sim-crt0.o"
27529  #    "cannot open crt0.o"
27530  # etc.  All this is because there currently exists no unified, consistent
27531  # way for top level CC information to be passed down to target directories:
27532  # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27533  # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27534  # crosses can be removed.
27535
27536  # If Canadian cross, then don't pick up tools from the build directory.
27537  # Used only in GLIBCXX_EXPORT_INCLUDES.
27538  if test -n "$with_cross_host" &&
27539     test x"$build_alias" != x"$with_cross_host" &&
27540     test x"$build" != x"$target";
27541  then
27542    CANADIAN=yes
27543  else
27544    CANADIAN=no
27545  fi
27546
27547  # Construct crosses by hand, eliminating bits that need ld...
27548  # GLIBCXX_CHECK_MATH_SUPPORT
27549
27550  # First, test for "known" system libraries.  We may be using newlib even
27551  # on a hosted environment.
27552  if test "x${with_newlib}" = "xyes"; then
27553    os_include_dir="os/newlib"
27554    $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
27555
27556
27557    # GLIBCXX_CHECK_STDLIB_SUPPORT
27558    $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
27559
27560
27561    $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
27562
27563    $as_echo "#define HAVE_ASINF 1" >>confdefs.h
27564
27565    $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
27566
27567    $as_echo "#define HAVE_ATANF 1" >>confdefs.h
27568
27569    $as_echo "#define HAVE_CEILF 1" >>confdefs.h
27570
27571    $as_echo "#define HAVE_COSF 1" >>confdefs.h
27572
27573    $as_echo "#define HAVE_COSHF 1" >>confdefs.h
27574
27575    $as_echo "#define HAVE_EXPF 1" >>confdefs.h
27576
27577    $as_echo "#define HAVE_FABSF 1" >>confdefs.h
27578
27579    $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
27580
27581    $as_echo "#define HAVE_FMODF 1" >>confdefs.h
27582
27583    $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
27584
27585    $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
27586
27587    $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
27588
27589    $as_echo "#define HAVE_LOGF 1" >>confdefs.h
27590
27591    $as_echo "#define HAVE_MODFF 1" >>confdefs.h
27592
27593    $as_echo "#define HAVE_POWF 1" >>confdefs.h
27594
27595    $as_echo "#define HAVE_SINF 1" >>confdefs.h
27596
27597    $as_echo "#define HAVE_SINHF 1" >>confdefs.h
27598
27599    $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
27600
27601    $as_echo "#define HAVE_TANF 1" >>confdefs.h
27602
27603    $as_echo "#define HAVE_TANHF 1" >>confdefs.h
27604
27605
27606    $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27607
27608  else
27609
27610# Base decisions on target environment.
27611case "${host}" in
27612  arm*-*-symbianelf*)
27613    # This is a freestanding configuration; there is nothing to do here.
27614    ;;
27615
27616  mips*-sde-elf*)
27617    # These definitions are for the SDE C library rather than newlib.
27618    SECTION_FLAGS='-ffunction-sections -fdata-sections'
27619
27620
27621  # All these tests are for C++; save the language and the compiler flags.
27622  # The CXXFLAGS thing is suspicious, but based on similar bits previously
27623  # found in GLIBCXX_CONFIGURE.
27624
27625  ac_ext=cpp
27626ac_cpp='$CXXCPP $CPPFLAGS'
27627ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27628ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27629ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27630
27631  ac_test_CXXFLAGS="${CXXFLAGS+set}"
27632  ac_save_CXXFLAGS="$CXXFLAGS"
27633
27634  # Check for maintainer-mode bits.
27635  if test x"$USE_MAINTAINER_MODE" = xno; then
27636    WERROR=''
27637  else
27638    WERROR='-Werror'
27639  fi
27640
27641  # Check for -ffunction-sections -fdata-sections
27642  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27643$as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
27644  CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
27645  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27646/* end confdefs.h.  */
27647int foo; void bar() { };
27648int
27649main ()
27650{
27651
27652  ;
27653  return 0;
27654}
27655_ACEOF
27656if ac_fn_cxx_try_compile "$LINENO"; then :
27657  ac_fdsections=yes
27658else
27659  ac_fdsections=no
27660fi
27661rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27662  if test "$ac_test_CXXFLAGS" = set; then
27663    CXXFLAGS="$ac_save_CXXFLAGS"
27664  else
27665    # this is the suspicious part
27666    CXXFLAGS=''
27667  fi
27668  if test x"$ac_fdsections" = x"yes"; then
27669    SECTION_FLAGS='-ffunction-sections -fdata-sections'
27670  fi
27671  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
27672$as_echo "$ac_fdsections" >&6; }
27673
27674  ac_ext=c
27675ac_cpp='$CPP $CPPFLAGS'
27676ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27677ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27678ac_compiler_gnu=$ac_cv_c_compiler_gnu
27679
27680
27681
27682
27683
27684  # If we're not using GNU ld, then there's no point in even trying these
27685  # tests.  Check for that first.  We should have already tested for gld
27686  # by now (in libtool), but require it now just to be safe...
27687  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
27688  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
27689
27690
27691
27692  # The name set by libtool depends on the version of libtool.  Shame on us
27693  # for depending on an impl detail, but c'est la vie.  Older versions used
27694  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
27695  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
27696  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
27697  # set (hence we're using an older libtool), then set it.
27698  if test x${with_gnu_ld+set} != xset; then
27699    if test x${ac_cv_prog_gnu_ld+set} != xset; then
27700      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
27701      with_gnu_ld=no
27702    else
27703      with_gnu_ld=$ac_cv_prog_gnu_ld
27704    fi
27705  fi
27706
27707  # Start by getting the version number.  I think the libtool test already
27708  # does some of this, but throws away the result.
27709  glibcxx_ld_is_gold=no
27710  if test x"$with_gnu_ld" = x"yes"; then
27711    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
27712$as_echo_n "checking for ld version... " >&6; }
27713
27714    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
27715      glibcxx_ld_is_gold=yes
27716    fi
27717    ldver=`$LD --version 2>/dev/null |
27718	   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'`
27719
27720    glibcxx_gnu_ld_version=`echo $ldver | \
27721	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
27722    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
27723$as_echo "$glibcxx_gnu_ld_version" >&6; }
27724  fi
27725
27726  # Set --gc-sections.
27727  glibcxx_have_gc_sections=no
27728  if test "$glibcxx_ld_is_gold" = "yes"; then
27729    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
27730      glibcxx_have_gc_sections=yes
27731    fi
27732  else
27733    glibcxx_gcsections_min_ld=21602
27734    if test x"$with_gnu_ld" = x"yes" &&
27735	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
27736      glibcxx_have_gc_sections=yes
27737    fi
27738  fi
27739  if test "$glibcxx_have_gc_sections" = "yes"; then
27740    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
27741    # NB: This flag only works reliably after 2.16.1. Configure tests
27742    # for this are difficult, so hard wire a value that should work.
27743
27744    ac_test_CFLAGS="${CFLAGS+set}"
27745    ac_save_CFLAGS="$CFLAGS"
27746    CFLAGS='-Wl,--gc-sections'
27747
27748    # Check for -Wl,--gc-sections
27749    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
27750$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
27751    if test x$gcc_no_link = xyes; then
27752  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27753fi
27754cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27755/* end confdefs.h.  */
27756 int one(void) { return 1; }
27757     int two(void) { return 2; }
27758
27759int
27760main ()
27761{
27762 two();
27763  ;
27764  return 0;
27765}
27766_ACEOF
27767if ac_fn_c_try_link "$LINENO"; then :
27768  ac_gcsections=yes
27769else
27770  ac_gcsections=no
27771fi
27772rm -f core conftest.err conftest.$ac_objext \
27773    conftest$ac_exeext conftest.$ac_ext
27774    if test "$ac_gcsections" = "yes"; then
27775      rm -f conftest.c
27776      touch conftest.c
27777      if $CC -c conftest.c; then
27778	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
27779	   grep "Warning: gc-sections option ignored" > /dev/null; then
27780	  ac_gcsections=no
27781	fi
27782      fi
27783      rm -f conftest.c conftest.o conftest
27784    fi
27785    if test "$ac_gcsections" = "yes"; then
27786      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
27787    fi
27788    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
27789$as_echo "$ac_gcsections" >&6; }
27790
27791    if test "$ac_test_CFLAGS" = set; then
27792      CFLAGS="$ac_save_CFLAGS"
27793    else
27794      # this is the suspicious part
27795      CFLAGS=''
27796    fi
27797  fi
27798
27799  # Set -z,relro.
27800  # Note this is only for shared objects.
27801  ac_ld_relro=no
27802  if test x"$with_gnu_ld" = x"yes"; then
27803    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
27804$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
27805    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
27806    if test -n "$cxx_z_relo"; then
27807      OPT_LDFLAGS="-Wl,-z,relro"
27808      ac_ld_relro=yes
27809    fi
27810    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
27811$as_echo "$ac_ld_relro" >&6; }
27812  fi
27813
27814  # Set linker optimization flags.
27815  if test x"$with_gnu_ld" = x"yes"; then
27816    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
27817  fi
27818
27819
27820
27821
27822
27823  ac_test_CXXFLAGS="${CXXFLAGS+set}"
27824  ac_save_CXXFLAGS="$CXXFLAGS"
27825  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27826
27827    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
27828$as_echo_n "checking for sin in -lm... " >&6; }
27829if test "${ac_cv_lib_m_sin+set}" = set; then :
27830  $as_echo_n "(cached) " >&6
27831else
27832  ac_check_lib_save_LIBS=$LIBS
27833LIBS="-lm  $LIBS"
27834if test x$gcc_no_link = xyes; then
27835  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27836fi
27837cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27838/* end confdefs.h.  */
27839
27840/* Override any GCC internal prototype to avoid an error.
27841   Use char because int might match the return type of a GCC
27842   builtin and then its argument prototype would still apply.  */
27843#ifdef __cplusplus
27844extern "C"
27845#endif
27846char sin ();
27847int
27848main ()
27849{
27850return sin ();
27851  ;
27852  return 0;
27853}
27854_ACEOF
27855if ac_fn_c_try_link "$LINENO"; then :
27856  ac_cv_lib_m_sin=yes
27857else
27858  ac_cv_lib_m_sin=no
27859fi
27860rm -f core conftest.err conftest.$ac_objext \
27861    conftest$ac_exeext conftest.$ac_ext
27862LIBS=$ac_check_lib_save_LIBS
27863fi
27864{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
27865$as_echo "$ac_cv_lib_m_sin" >&6; }
27866if test "x$ac_cv_lib_m_sin" = x""yes; then :
27867  libm="-lm"
27868fi
27869
27870  ac_save_LIBS="$LIBS"
27871  LIBS="$LIBS $libm"
27872
27873
27874
27875  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
27876$as_echo_n "checking for isinf declaration... " >&6; }
27877  if test x${glibcxx_cv_func_isinf_use+set} != xset; then
27878    if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
27879  $as_echo_n "(cached) " >&6
27880else
27881
27882
27883      ac_ext=cpp
27884ac_cpp='$CXXCPP $CPPFLAGS'
27885ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27886ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27887ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27888
27889      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27890/* end confdefs.h.  */
27891#include <math.h>
27892		      #ifdef HAVE_IEEEFP_H
27893		      #include <ieeefp.h>
27894		      #endif
27895
27896int
27897main ()
27898{
27899 isinf(0);
27900  ;
27901  return 0;
27902}
27903_ACEOF
27904if ac_fn_cxx_try_compile "$LINENO"; then :
27905  glibcxx_cv_func_isinf_use=yes
27906else
27907  glibcxx_cv_func_isinf_use=no
27908fi
27909rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27910      ac_ext=c
27911ac_cpp='$CPP $CPPFLAGS'
27912ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27913ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27914ac_compiler_gnu=$ac_cv_c_compiler_gnu
27915
27916
27917fi
27918
27919  fi
27920  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
27921$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
27922
27923  if test x$glibcxx_cv_func_isinf_use = x"yes"; then
27924    for ac_func in isinf
27925do :
27926  ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
27927if test "x$ac_cv_func_isinf" = x""yes; then :
27928  cat >>confdefs.h <<_ACEOF
27929#define HAVE_ISINF 1
27930_ACEOF
27931
27932fi
27933done
27934
27935  else
27936
27937  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
27938$as_echo_n "checking for _isinf declaration... " >&6; }
27939  if test x${glibcxx_cv_func__isinf_use+set} != xset; then
27940    if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
27941  $as_echo_n "(cached) " >&6
27942else
27943
27944
27945      ac_ext=cpp
27946ac_cpp='$CXXCPP $CPPFLAGS'
27947ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27948ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27949ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27950
27951      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27952/* end confdefs.h.  */
27953#include <math.h>
27954		      #ifdef HAVE_IEEEFP_H
27955		      #include <ieeefp.h>
27956		      #endif
27957
27958int
27959main ()
27960{
27961 _isinf(0);
27962  ;
27963  return 0;
27964}
27965_ACEOF
27966if ac_fn_cxx_try_compile "$LINENO"; then :
27967  glibcxx_cv_func__isinf_use=yes
27968else
27969  glibcxx_cv_func__isinf_use=no
27970fi
27971rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27972      ac_ext=c
27973ac_cpp='$CPP $CPPFLAGS'
27974ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27975ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27976ac_compiler_gnu=$ac_cv_c_compiler_gnu
27977
27978
27979fi
27980
27981  fi
27982  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
27983$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
27984
27985    if test x$glibcxx_cv_func__isinf_use = x"yes"; then
27986      for ac_func in _isinf
27987do :
27988  ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
27989if test "x$ac_cv_func__isinf" = x""yes; then :
27990  cat >>confdefs.h <<_ACEOF
27991#define HAVE__ISINF 1
27992_ACEOF
27993
27994fi
27995done
27996
27997    fi
27998  fi
27999
28000
28001
28002
28003
28004  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
28005$as_echo_n "checking for isnan declaration... " >&6; }
28006  if test x${glibcxx_cv_func_isnan_use+set} != xset; then
28007    if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
28008  $as_echo_n "(cached) " >&6
28009else
28010
28011
28012      ac_ext=cpp
28013ac_cpp='$CXXCPP $CPPFLAGS'
28014ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28015ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28016ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28017
28018      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28019/* end confdefs.h.  */
28020#include <math.h>
28021		      #ifdef HAVE_IEEEFP_H
28022		      #include <ieeefp.h>
28023		      #endif
28024
28025int
28026main ()
28027{
28028 isnan(0);
28029  ;
28030  return 0;
28031}
28032_ACEOF
28033if ac_fn_cxx_try_compile "$LINENO"; then :
28034  glibcxx_cv_func_isnan_use=yes
28035else
28036  glibcxx_cv_func_isnan_use=no
28037fi
28038rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28039      ac_ext=c
28040ac_cpp='$CPP $CPPFLAGS'
28041ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28042ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28043ac_compiler_gnu=$ac_cv_c_compiler_gnu
28044
28045
28046fi
28047
28048  fi
28049  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
28050$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
28051
28052  if test x$glibcxx_cv_func_isnan_use = x"yes"; then
28053    for ac_func in isnan
28054do :
28055  ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
28056if test "x$ac_cv_func_isnan" = x""yes; then :
28057  cat >>confdefs.h <<_ACEOF
28058#define HAVE_ISNAN 1
28059_ACEOF
28060
28061fi
28062done
28063
28064  else
28065
28066  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
28067$as_echo_n "checking for _isnan declaration... " >&6; }
28068  if test x${glibcxx_cv_func__isnan_use+set} != xset; then
28069    if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
28070  $as_echo_n "(cached) " >&6
28071else
28072
28073
28074      ac_ext=cpp
28075ac_cpp='$CXXCPP $CPPFLAGS'
28076ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28077ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28078ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28079
28080      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28081/* end confdefs.h.  */
28082#include <math.h>
28083		      #ifdef HAVE_IEEEFP_H
28084		      #include <ieeefp.h>
28085		      #endif
28086
28087int
28088main ()
28089{
28090 _isnan(0);
28091  ;
28092  return 0;
28093}
28094_ACEOF
28095if ac_fn_cxx_try_compile "$LINENO"; then :
28096  glibcxx_cv_func__isnan_use=yes
28097else
28098  glibcxx_cv_func__isnan_use=no
28099fi
28100rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28101      ac_ext=c
28102ac_cpp='$CPP $CPPFLAGS'
28103ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28104ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28105ac_compiler_gnu=$ac_cv_c_compiler_gnu
28106
28107
28108fi
28109
28110  fi
28111  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
28112$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
28113
28114    if test x$glibcxx_cv_func__isnan_use = x"yes"; then
28115      for ac_func in _isnan
28116do :
28117  ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
28118if test "x$ac_cv_func__isnan" = x""yes; then :
28119  cat >>confdefs.h <<_ACEOF
28120#define HAVE__ISNAN 1
28121_ACEOF
28122
28123fi
28124done
28125
28126    fi
28127  fi
28128
28129
28130
28131
28132
28133  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
28134$as_echo_n "checking for finite declaration... " >&6; }
28135  if test x${glibcxx_cv_func_finite_use+set} != xset; then
28136    if test "${glibcxx_cv_func_finite_use+set}" = set; then :
28137  $as_echo_n "(cached) " >&6
28138else
28139
28140
28141      ac_ext=cpp
28142ac_cpp='$CXXCPP $CPPFLAGS'
28143ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28144ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28145ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28146
28147      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28148/* end confdefs.h.  */
28149#include <math.h>
28150		      #ifdef HAVE_IEEEFP_H
28151		      #include <ieeefp.h>
28152		      #endif
28153
28154int
28155main ()
28156{
28157 finite(0);
28158  ;
28159  return 0;
28160}
28161_ACEOF
28162if ac_fn_cxx_try_compile "$LINENO"; then :
28163  glibcxx_cv_func_finite_use=yes
28164else
28165  glibcxx_cv_func_finite_use=no
28166fi
28167rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28168      ac_ext=c
28169ac_cpp='$CPP $CPPFLAGS'
28170ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28171ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28172ac_compiler_gnu=$ac_cv_c_compiler_gnu
28173
28174
28175fi
28176
28177  fi
28178  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
28179$as_echo "$glibcxx_cv_func_finite_use" >&6; }
28180
28181  if test x$glibcxx_cv_func_finite_use = x"yes"; then
28182    for ac_func in finite
28183do :
28184  ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
28185if test "x$ac_cv_func_finite" = x""yes; then :
28186  cat >>confdefs.h <<_ACEOF
28187#define HAVE_FINITE 1
28188_ACEOF
28189
28190fi
28191done
28192
28193  else
28194
28195  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
28196$as_echo_n "checking for _finite declaration... " >&6; }
28197  if test x${glibcxx_cv_func__finite_use+set} != xset; then
28198    if test "${glibcxx_cv_func__finite_use+set}" = set; then :
28199  $as_echo_n "(cached) " >&6
28200else
28201
28202
28203      ac_ext=cpp
28204ac_cpp='$CXXCPP $CPPFLAGS'
28205ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28206ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28207ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28208
28209      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28210/* end confdefs.h.  */
28211#include <math.h>
28212		      #ifdef HAVE_IEEEFP_H
28213		      #include <ieeefp.h>
28214		      #endif
28215
28216int
28217main ()
28218{
28219 _finite(0);
28220  ;
28221  return 0;
28222}
28223_ACEOF
28224if ac_fn_cxx_try_compile "$LINENO"; then :
28225  glibcxx_cv_func__finite_use=yes
28226else
28227  glibcxx_cv_func__finite_use=no
28228fi
28229rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28230      ac_ext=c
28231ac_cpp='$CPP $CPPFLAGS'
28232ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28233ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28234ac_compiler_gnu=$ac_cv_c_compiler_gnu
28235
28236
28237fi
28238
28239  fi
28240  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
28241$as_echo "$glibcxx_cv_func__finite_use" >&6; }
28242
28243    if test x$glibcxx_cv_func__finite_use = x"yes"; then
28244      for ac_func in _finite
28245do :
28246  ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
28247if test "x$ac_cv_func__finite" = x""yes; then :
28248  cat >>confdefs.h <<_ACEOF
28249#define HAVE__FINITE 1
28250_ACEOF
28251
28252fi
28253done
28254
28255    fi
28256  fi
28257
28258
28259
28260
28261
28262  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
28263$as_echo_n "checking for sincos declaration... " >&6; }
28264  if test x${glibcxx_cv_func_sincos_use+set} != xset; then
28265    if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
28266  $as_echo_n "(cached) " >&6
28267else
28268
28269
28270      ac_ext=cpp
28271ac_cpp='$CXXCPP $CPPFLAGS'
28272ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28273ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28274ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28275
28276      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28277/* end confdefs.h.  */
28278#include <math.h>
28279int
28280main ()
28281{
28282 sincos(0, 0, 0);
28283  ;
28284  return 0;
28285}
28286_ACEOF
28287if ac_fn_cxx_try_compile "$LINENO"; then :
28288  glibcxx_cv_func_sincos_use=yes
28289else
28290  glibcxx_cv_func_sincos_use=no
28291fi
28292rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28293      ac_ext=c
28294ac_cpp='$CPP $CPPFLAGS'
28295ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28296ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28297ac_compiler_gnu=$ac_cv_c_compiler_gnu
28298
28299
28300fi
28301
28302  fi
28303  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
28304$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
28305
28306  if test x$glibcxx_cv_func_sincos_use = x"yes"; then
28307    for ac_func in sincos
28308do :
28309  ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
28310if test "x$ac_cv_func_sincos" = x""yes; then :
28311  cat >>confdefs.h <<_ACEOF
28312#define HAVE_SINCOS 1
28313_ACEOF
28314
28315fi
28316done
28317
28318  else
28319
28320  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
28321$as_echo_n "checking for _sincos declaration... " >&6; }
28322  if test x${glibcxx_cv_func__sincos_use+set} != xset; then
28323    if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
28324  $as_echo_n "(cached) " >&6
28325else
28326
28327
28328      ac_ext=cpp
28329ac_cpp='$CXXCPP $CPPFLAGS'
28330ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28331ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28332ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28333
28334      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28335/* end confdefs.h.  */
28336#include <math.h>
28337int
28338main ()
28339{
28340 _sincos(0, 0, 0);
28341  ;
28342  return 0;
28343}
28344_ACEOF
28345if ac_fn_cxx_try_compile "$LINENO"; then :
28346  glibcxx_cv_func__sincos_use=yes
28347else
28348  glibcxx_cv_func__sincos_use=no
28349fi
28350rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28351      ac_ext=c
28352ac_cpp='$CPP $CPPFLAGS'
28353ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28354ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28355ac_compiler_gnu=$ac_cv_c_compiler_gnu
28356
28357
28358fi
28359
28360  fi
28361  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
28362$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
28363
28364    if test x$glibcxx_cv_func__sincos_use = x"yes"; then
28365      for ac_func in _sincos
28366do :
28367  ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
28368if test "x$ac_cv_func__sincos" = x""yes; then :
28369  cat >>confdefs.h <<_ACEOF
28370#define HAVE__SINCOS 1
28371_ACEOF
28372
28373fi
28374done
28375
28376    fi
28377  fi
28378
28379
28380
28381
28382
28383  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
28384$as_echo_n "checking for fpclass declaration... " >&6; }
28385  if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
28386    if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
28387  $as_echo_n "(cached) " >&6
28388else
28389
28390
28391      ac_ext=cpp
28392ac_cpp='$CXXCPP $CPPFLAGS'
28393ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28394ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28395ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28396
28397      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28398/* end confdefs.h.  */
28399#include <math.h>
28400		      #ifdef HAVE_IEEEFP_H
28401		      #include <ieeefp.h>
28402		      #endif
28403
28404int
28405main ()
28406{
28407 fpclass(0);
28408  ;
28409  return 0;
28410}
28411_ACEOF
28412if ac_fn_cxx_try_compile "$LINENO"; then :
28413  glibcxx_cv_func_fpclass_use=yes
28414else
28415  glibcxx_cv_func_fpclass_use=no
28416fi
28417rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28418      ac_ext=c
28419ac_cpp='$CPP $CPPFLAGS'
28420ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28421ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28422ac_compiler_gnu=$ac_cv_c_compiler_gnu
28423
28424
28425fi
28426
28427  fi
28428  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
28429$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
28430
28431  if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
28432    for ac_func in fpclass
28433do :
28434  ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
28435if test "x$ac_cv_func_fpclass" = x""yes; then :
28436  cat >>confdefs.h <<_ACEOF
28437#define HAVE_FPCLASS 1
28438_ACEOF
28439
28440fi
28441done
28442
28443  else
28444
28445  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
28446$as_echo_n "checking for _fpclass declaration... " >&6; }
28447  if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
28448    if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
28449  $as_echo_n "(cached) " >&6
28450else
28451
28452
28453      ac_ext=cpp
28454ac_cpp='$CXXCPP $CPPFLAGS'
28455ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28456ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28457ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28458
28459      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28460/* end confdefs.h.  */
28461#include <math.h>
28462		      #ifdef HAVE_IEEEFP_H
28463		      #include <ieeefp.h>
28464		      #endif
28465
28466int
28467main ()
28468{
28469 _fpclass(0);
28470  ;
28471  return 0;
28472}
28473_ACEOF
28474if ac_fn_cxx_try_compile "$LINENO"; then :
28475  glibcxx_cv_func__fpclass_use=yes
28476else
28477  glibcxx_cv_func__fpclass_use=no
28478fi
28479rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28480      ac_ext=c
28481ac_cpp='$CPP $CPPFLAGS'
28482ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28483ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28484ac_compiler_gnu=$ac_cv_c_compiler_gnu
28485
28486
28487fi
28488
28489  fi
28490  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
28491$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
28492
28493    if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
28494      for ac_func in _fpclass
28495do :
28496  ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
28497if test "x$ac_cv_func__fpclass" = x""yes; then :
28498  cat >>confdefs.h <<_ACEOF
28499#define HAVE__FPCLASS 1
28500_ACEOF
28501
28502fi
28503done
28504
28505    fi
28506  fi
28507
28508
28509
28510
28511
28512  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
28513$as_echo_n "checking for qfpclass declaration... " >&6; }
28514  if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
28515    if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
28516  $as_echo_n "(cached) " >&6
28517else
28518
28519
28520      ac_ext=cpp
28521ac_cpp='$CXXCPP $CPPFLAGS'
28522ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28523ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28524ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28525
28526      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28527/* end confdefs.h.  */
28528#include <math.h>
28529		      #ifdef HAVE_IEEEFP_H
28530		      #include <ieeefp.h>
28531		      #endif
28532
28533int
28534main ()
28535{
28536 qfpclass(0);
28537  ;
28538  return 0;
28539}
28540_ACEOF
28541if ac_fn_cxx_try_compile "$LINENO"; then :
28542  glibcxx_cv_func_qfpclass_use=yes
28543else
28544  glibcxx_cv_func_qfpclass_use=no
28545fi
28546rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28547      ac_ext=c
28548ac_cpp='$CPP $CPPFLAGS'
28549ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28550ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28551ac_compiler_gnu=$ac_cv_c_compiler_gnu
28552
28553
28554fi
28555
28556  fi
28557  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
28558$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
28559
28560  if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
28561    for ac_func in qfpclass
28562do :
28563  ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
28564if test "x$ac_cv_func_qfpclass" = x""yes; then :
28565  cat >>confdefs.h <<_ACEOF
28566#define HAVE_QFPCLASS 1
28567_ACEOF
28568
28569fi
28570done
28571
28572  else
28573
28574  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
28575$as_echo_n "checking for _qfpclass declaration... " >&6; }
28576  if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
28577    if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
28578  $as_echo_n "(cached) " >&6
28579else
28580
28581
28582      ac_ext=cpp
28583ac_cpp='$CXXCPP $CPPFLAGS'
28584ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28585ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28586ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28587
28588      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28589/* end confdefs.h.  */
28590#include <math.h>
28591		      #ifdef HAVE_IEEEFP_H
28592		      #include <ieeefp.h>
28593		      #endif
28594
28595int
28596main ()
28597{
28598 _qfpclass(0);
28599  ;
28600  return 0;
28601}
28602_ACEOF
28603if ac_fn_cxx_try_compile "$LINENO"; then :
28604  glibcxx_cv_func__qfpclass_use=yes
28605else
28606  glibcxx_cv_func__qfpclass_use=no
28607fi
28608rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28609      ac_ext=c
28610ac_cpp='$CPP $CPPFLAGS'
28611ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28612ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28613ac_compiler_gnu=$ac_cv_c_compiler_gnu
28614
28615
28616fi
28617
28618  fi
28619  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
28620$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
28621
28622    if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
28623      for ac_func in _qfpclass
28624do :
28625  ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
28626if test "x$ac_cv_func__qfpclass" = x""yes; then :
28627  cat >>confdefs.h <<_ACEOF
28628#define HAVE__QFPCLASS 1
28629_ACEOF
28630
28631fi
28632done
28633
28634    fi
28635  fi
28636
28637
28638
28639
28640
28641  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
28642$as_echo_n "checking for hypot declaration... " >&6; }
28643  if test x${glibcxx_cv_func_hypot_use+set} != xset; then
28644    if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
28645  $as_echo_n "(cached) " >&6
28646else
28647
28648
28649      ac_ext=cpp
28650ac_cpp='$CXXCPP $CPPFLAGS'
28651ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28652ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28653ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28654
28655      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28656/* end confdefs.h.  */
28657#include <math.h>
28658int
28659main ()
28660{
28661 hypot(0, 0);
28662  ;
28663  return 0;
28664}
28665_ACEOF
28666if ac_fn_cxx_try_compile "$LINENO"; then :
28667  glibcxx_cv_func_hypot_use=yes
28668else
28669  glibcxx_cv_func_hypot_use=no
28670fi
28671rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28672      ac_ext=c
28673ac_cpp='$CPP $CPPFLAGS'
28674ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28675ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28676ac_compiler_gnu=$ac_cv_c_compiler_gnu
28677
28678
28679fi
28680
28681  fi
28682  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
28683$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
28684
28685  if test x$glibcxx_cv_func_hypot_use = x"yes"; then
28686    for ac_func in hypot
28687do :
28688  ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
28689if test "x$ac_cv_func_hypot" = x""yes; then :
28690  cat >>confdefs.h <<_ACEOF
28691#define HAVE_HYPOT 1
28692_ACEOF
28693
28694fi
28695done
28696
28697  else
28698
28699  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
28700$as_echo_n "checking for _hypot declaration... " >&6; }
28701  if test x${glibcxx_cv_func__hypot_use+set} != xset; then
28702    if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
28703  $as_echo_n "(cached) " >&6
28704else
28705
28706
28707      ac_ext=cpp
28708ac_cpp='$CXXCPP $CPPFLAGS'
28709ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28710ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28711ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28712
28713      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28714/* end confdefs.h.  */
28715#include <math.h>
28716int
28717main ()
28718{
28719 _hypot(0, 0);
28720  ;
28721  return 0;
28722}
28723_ACEOF
28724if ac_fn_cxx_try_compile "$LINENO"; then :
28725  glibcxx_cv_func__hypot_use=yes
28726else
28727  glibcxx_cv_func__hypot_use=no
28728fi
28729rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28730      ac_ext=c
28731ac_cpp='$CPP $CPPFLAGS'
28732ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28733ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28734ac_compiler_gnu=$ac_cv_c_compiler_gnu
28735
28736
28737fi
28738
28739  fi
28740  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
28741$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
28742
28743    if test x$glibcxx_cv_func__hypot_use = x"yes"; then
28744      for ac_func in _hypot
28745do :
28746  ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
28747if test "x$ac_cv_func__hypot" = x""yes; then :
28748  cat >>confdefs.h <<_ACEOF
28749#define HAVE__HYPOT 1
28750_ACEOF
28751
28752fi
28753done
28754
28755    fi
28756  fi
28757
28758
28759
28760
28761
28762    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
28763$as_echo_n "checking for float trig functions... " >&6; }
28764  if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
28765  $as_echo_n "(cached) " >&6
28766else
28767
28768
28769    ac_ext=cpp
28770ac_cpp='$CXXCPP $CPPFLAGS'
28771ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28772ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28773ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28774
28775    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28776/* end confdefs.h.  */
28777#include <math.h>
28778int
28779main ()
28780{
28781acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
28782  ;
28783  return 0;
28784}
28785_ACEOF
28786if ac_fn_cxx_try_compile "$LINENO"; then :
28787  glibcxx_cv_func_float_trig_use=yes
28788else
28789  glibcxx_cv_func_float_trig_use=no
28790fi
28791rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28792    ac_ext=c
28793ac_cpp='$CPP $CPPFLAGS'
28794ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28795ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28796ac_compiler_gnu=$ac_cv_c_compiler_gnu
28797
28798fi
28799
28800  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
28801$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
28802  if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
28803    for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
28804do :
28805  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28806ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28807eval as_val=\$$as_ac_var
28808   if test "x$as_val" = x""yes; then :
28809  cat >>confdefs.h <<_ACEOF
28810#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28811_ACEOF
28812
28813fi
28814done
28815
28816  else
28817    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
28818$as_echo_n "checking for _float trig functions... " >&6; }
28819    if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
28820  $as_echo_n "(cached) " >&6
28821else
28822
28823
28824      ac_ext=cpp
28825ac_cpp='$CXXCPP $CPPFLAGS'
28826ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28827ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28828ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28829
28830      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28831/* end confdefs.h.  */
28832#include <math.h>
28833int
28834main ()
28835{
28836_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
28837  ;
28838  return 0;
28839}
28840_ACEOF
28841if ac_fn_cxx_try_compile "$LINENO"; then :
28842  glibcxx_cv_func__float_trig_use=yes
28843else
28844  glibcxx_cv_func__float_trig_use=no
28845fi
28846rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28847      ac_ext=c
28848ac_cpp='$CPP $CPPFLAGS'
28849ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28850ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28851ac_compiler_gnu=$ac_cv_c_compiler_gnu
28852
28853fi
28854
28855    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
28856$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
28857    if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
28858      for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
28859do :
28860  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28861ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28862eval as_val=\$$as_ac_var
28863   if test "x$as_val" = x""yes; then :
28864  cat >>confdefs.h <<_ACEOF
28865#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28866_ACEOF
28867
28868fi
28869done
28870
28871    fi
28872  fi
28873
28874
28875
28876
28877
28878    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
28879$as_echo_n "checking for float round functions... " >&6; }
28880  if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
28881  $as_echo_n "(cached) " >&6
28882else
28883
28884
28885    ac_ext=cpp
28886ac_cpp='$CXXCPP $CPPFLAGS'
28887ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28888ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28889ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28890
28891    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28892/* end confdefs.h.  */
28893#include <math.h>
28894int
28895main ()
28896{
28897ceilf (0); floorf (0);
28898  ;
28899  return 0;
28900}
28901_ACEOF
28902if ac_fn_cxx_try_compile "$LINENO"; then :
28903  glibcxx_cv_func_float_round_use=yes
28904else
28905  glibcxx_cv_func_float_round_use=no
28906fi
28907rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28908    ac_ext=c
28909ac_cpp='$CPP $CPPFLAGS'
28910ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28911ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28912ac_compiler_gnu=$ac_cv_c_compiler_gnu
28913
28914fi
28915
28916  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
28917$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
28918  if test x$glibcxx_cv_func_float_round_use = x"yes"; then
28919    for ac_func in ceilf floorf
28920do :
28921  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28922ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28923eval as_val=\$$as_ac_var
28924   if test "x$as_val" = x""yes; then :
28925  cat >>confdefs.h <<_ACEOF
28926#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28927_ACEOF
28928
28929fi
28930done
28931
28932  else
28933    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
28934$as_echo_n "checking for _float round functions... " >&6; }
28935    if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
28936  $as_echo_n "(cached) " >&6
28937else
28938
28939
28940      ac_ext=cpp
28941ac_cpp='$CXXCPP $CPPFLAGS'
28942ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28943ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28944ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28945
28946      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28947/* end confdefs.h.  */
28948#include <math.h>
28949int
28950main ()
28951{
28952_ceilf (0); _floorf (0);
28953  ;
28954  return 0;
28955}
28956_ACEOF
28957if ac_fn_cxx_try_compile "$LINENO"; then :
28958  glibcxx_cv_func__float_round_use=yes
28959else
28960  glibcxx_cv_func__float_round_use=no
28961fi
28962rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28963      ac_ext=c
28964ac_cpp='$CPP $CPPFLAGS'
28965ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28966ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28967ac_compiler_gnu=$ac_cv_c_compiler_gnu
28968
28969fi
28970
28971    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
28972$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
28973    if test x$glibcxx_cv_func__float_round_use = x"yes"; then
28974      for ac_func in _ceilf _floorf
28975do :
28976  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28977ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28978eval as_val=\$$as_ac_var
28979   if test "x$as_val" = x""yes; then :
28980  cat >>confdefs.h <<_ACEOF
28981#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28982_ACEOF
28983
28984fi
28985done
28986
28987    fi
28988  fi
28989
28990
28991
28992
28993
28994
28995  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
28996$as_echo_n "checking for expf declaration... " >&6; }
28997  if test x${glibcxx_cv_func_expf_use+set} != xset; then
28998    if test "${glibcxx_cv_func_expf_use+set}" = set; then :
28999  $as_echo_n "(cached) " >&6
29000else
29001
29002
29003      ac_ext=cpp
29004ac_cpp='$CXXCPP $CPPFLAGS'
29005ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29006ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29007ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29008
29009      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29010/* end confdefs.h.  */
29011#include <math.h>
29012		      #ifdef HAVE_IEEEFP_H
29013		      #include <ieeefp.h>
29014		      #endif
29015
29016int
29017main ()
29018{
29019 expf(0);
29020  ;
29021  return 0;
29022}
29023_ACEOF
29024if ac_fn_cxx_try_compile "$LINENO"; then :
29025  glibcxx_cv_func_expf_use=yes
29026else
29027  glibcxx_cv_func_expf_use=no
29028fi
29029rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29030      ac_ext=c
29031ac_cpp='$CPP $CPPFLAGS'
29032ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29033ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29034ac_compiler_gnu=$ac_cv_c_compiler_gnu
29035
29036
29037fi
29038
29039  fi
29040  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
29041$as_echo "$glibcxx_cv_func_expf_use" >&6; }
29042
29043  if test x$glibcxx_cv_func_expf_use = x"yes"; then
29044    for ac_func in expf
29045do :
29046  ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
29047if test "x$ac_cv_func_expf" = x""yes; then :
29048  cat >>confdefs.h <<_ACEOF
29049#define HAVE_EXPF 1
29050_ACEOF
29051
29052fi
29053done
29054
29055  else
29056
29057  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
29058$as_echo_n "checking for _expf declaration... " >&6; }
29059  if test x${glibcxx_cv_func__expf_use+set} != xset; then
29060    if test "${glibcxx_cv_func__expf_use+set}" = set; then :
29061  $as_echo_n "(cached) " >&6
29062else
29063
29064
29065      ac_ext=cpp
29066ac_cpp='$CXXCPP $CPPFLAGS'
29067ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29068ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29069ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29070
29071      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29072/* end confdefs.h.  */
29073#include <math.h>
29074		      #ifdef HAVE_IEEEFP_H
29075		      #include <ieeefp.h>
29076		      #endif
29077
29078int
29079main ()
29080{
29081 _expf(0);
29082  ;
29083  return 0;
29084}
29085_ACEOF
29086if ac_fn_cxx_try_compile "$LINENO"; then :
29087  glibcxx_cv_func__expf_use=yes
29088else
29089  glibcxx_cv_func__expf_use=no
29090fi
29091rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29092      ac_ext=c
29093ac_cpp='$CPP $CPPFLAGS'
29094ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29095ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29096ac_compiler_gnu=$ac_cv_c_compiler_gnu
29097
29098
29099fi
29100
29101  fi
29102  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
29103$as_echo "$glibcxx_cv_func__expf_use" >&6; }
29104
29105    if test x$glibcxx_cv_func__expf_use = x"yes"; then
29106      for ac_func in _expf
29107do :
29108  ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
29109if test "x$ac_cv_func__expf" = x""yes; then :
29110  cat >>confdefs.h <<_ACEOF
29111#define HAVE__EXPF 1
29112_ACEOF
29113
29114fi
29115done
29116
29117    fi
29118  fi
29119
29120
29121
29122
29123
29124  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
29125$as_echo_n "checking for isnanf declaration... " >&6; }
29126  if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
29127    if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
29128  $as_echo_n "(cached) " >&6
29129else
29130
29131
29132      ac_ext=cpp
29133ac_cpp='$CXXCPP $CPPFLAGS'
29134ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29135ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29136ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29137
29138      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29139/* end confdefs.h.  */
29140#include <math.h>
29141		      #ifdef HAVE_IEEEFP_H
29142		      #include <ieeefp.h>
29143		      #endif
29144
29145int
29146main ()
29147{
29148 isnanf(0);
29149  ;
29150  return 0;
29151}
29152_ACEOF
29153if ac_fn_cxx_try_compile "$LINENO"; then :
29154  glibcxx_cv_func_isnanf_use=yes
29155else
29156  glibcxx_cv_func_isnanf_use=no
29157fi
29158rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29159      ac_ext=c
29160ac_cpp='$CPP $CPPFLAGS'
29161ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29162ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29163ac_compiler_gnu=$ac_cv_c_compiler_gnu
29164
29165
29166fi
29167
29168  fi
29169  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
29170$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
29171
29172  if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
29173    for ac_func in isnanf
29174do :
29175  ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
29176if test "x$ac_cv_func_isnanf" = x""yes; then :
29177  cat >>confdefs.h <<_ACEOF
29178#define HAVE_ISNANF 1
29179_ACEOF
29180
29181fi
29182done
29183
29184  else
29185
29186  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
29187$as_echo_n "checking for _isnanf declaration... " >&6; }
29188  if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
29189    if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
29190  $as_echo_n "(cached) " >&6
29191else
29192
29193
29194      ac_ext=cpp
29195ac_cpp='$CXXCPP $CPPFLAGS'
29196ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29197ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29198ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29199
29200      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29201/* end confdefs.h.  */
29202#include <math.h>
29203		      #ifdef HAVE_IEEEFP_H
29204		      #include <ieeefp.h>
29205		      #endif
29206
29207int
29208main ()
29209{
29210 _isnanf(0);
29211  ;
29212  return 0;
29213}
29214_ACEOF
29215if ac_fn_cxx_try_compile "$LINENO"; then :
29216  glibcxx_cv_func__isnanf_use=yes
29217else
29218  glibcxx_cv_func__isnanf_use=no
29219fi
29220rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29221      ac_ext=c
29222ac_cpp='$CPP $CPPFLAGS'
29223ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29224ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29225ac_compiler_gnu=$ac_cv_c_compiler_gnu
29226
29227
29228fi
29229
29230  fi
29231  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
29232$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
29233
29234    if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
29235      for ac_func in _isnanf
29236do :
29237  ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
29238if test "x$ac_cv_func__isnanf" = x""yes; then :
29239  cat >>confdefs.h <<_ACEOF
29240#define HAVE__ISNANF 1
29241_ACEOF
29242
29243fi
29244done
29245
29246    fi
29247  fi
29248
29249
29250
29251
29252
29253  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
29254$as_echo_n "checking for isinff declaration... " >&6; }
29255  if test x${glibcxx_cv_func_isinff_use+set} != xset; then
29256    if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
29257  $as_echo_n "(cached) " >&6
29258else
29259
29260
29261      ac_ext=cpp
29262ac_cpp='$CXXCPP $CPPFLAGS'
29263ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29264ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29265ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29266
29267      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29268/* end confdefs.h.  */
29269#include <math.h>
29270		      #ifdef HAVE_IEEEFP_H
29271		      #include <ieeefp.h>
29272		      #endif
29273
29274int
29275main ()
29276{
29277 isinff(0);
29278  ;
29279  return 0;
29280}
29281_ACEOF
29282if ac_fn_cxx_try_compile "$LINENO"; then :
29283  glibcxx_cv_func_isinff_use=yes
29284else
29285  glibcxx_cv_func_isinff_use=no
29286fi
29287rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29288      ac_ext=c
29289ac_cpp='$CPP $CPPFLAGS'
29290ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29291ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29292ac_compiler_gnu=$ac_cv_c_compiler_gnu
29293
29294
29295fi
29296
29297  fi
29298  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
29299$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
29300
29301  if test x$glibcxx_cv_func_isinff_use = x"yes"; then
29302    for ac_func in isinff
29303do :
29304  ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
29305if test "x$ac_cv_func_isinff" = x""yes; then :
29306  cat >>confdefs.h <<_ACEOF
29307#define HAVE_ISINFF 1
29308_ACEOF
29309
29310fi
29311done
29312
29313  else
29314
29315  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
29316$as_echo_n "checking for _isinff declaration... " >&6; }
29317  if test x${glibcxx_cv_func__isinff_use+set} != xset; then
29318    if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
29319  $as_echo_n "(cached) " >&6
29320else
29321
29322
29323      ac_ext=cpp
29324ac_cpp='$CXXCPP $CPPFLAGS'
29325ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29326ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29327ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29328
29329      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29330/* end confdefs.h.  */
29331#include <math.h>
29332		      #ifdef HAVE_IEEEFP_H
29333		      #include <ieeefp.h>
29334		      #endif
29335
29336int
29337main ()
29338{
29339 _isinff(0);
29340  ;
29341  return 0;
29342}
29343_ACEOF
29344if ac_fn_cxx_try_compile "$LINENO"; then :
29345  glibcxx_cv_func__isinff_use=yes
29346else
29347  glibcxx_cv_func__isinff_use=no
29348fi
29349rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29350      ac_ext=c
29351ac_cpp='$CPP $CPPFLAGS'
29352ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29353ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29354ac_compiler_gnu=$ac_cv_c_compiler_gnu
29355
29356
29357fi
29358
29359  fi
29360  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
29361$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
29362
29363    if test x$glibcxx_cv_func__isinff_use = x"yes"; then
29364      for ac_func in _isinff
29365do :
29366  ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
29367if test "x$ac_cv_func__isinff" = x""yes; then :
29368  cat >>confdefs.h <<_ACEOF
29369#define HAVE__ISINFF 1
29370_ACEOF
29371
29372fi
29373done
29374
29375    fi
29376  fi
29377
29378
29379
29380
29381
29382  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
29383$as_echo_n "checking for atan2f declaration... " >&6; }
29384  if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
29385    if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
29386  $as_echo_n "(cached) " >&6
29387else
29388
29389
29390      ac_ext=cpp
29391ac_cpp='$CXXCPP $CPPFLAGS'
29392ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29393ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29394ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29395
29396      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29397/* end confdefs.h.  */
29398#include <math.h>
29399int
29400main ()
29401{
29402 atan2f(0, 0);
29403  ;
29404  return 0;
29405}
29406_ACEOF
29407if ac_fn_cxx_try_compile "$LINENO"; then :
29408  glibcxx_cv_func_atan2f_use=yes
29409else
29410  glibcxx_cv_func_atan2f_use=no
29411fi
29412rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29413      ac_ext=c
29414ac_cpp='$CPP $CPPFLAGS'
29415ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29416ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29417ac_compiler_gnu=$ac_cv_c_compiler_gnu
29418
29419
29420fi
29421
29422  fi
29423  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
29424$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
29425
29426  if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
29427    for ac_func in atan2f
29428do :
29429  ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
29430if test "x$ac_cv_func_atan2f" = x""yes; then :
29431  cat >>confdefs.h <<_ACEOF
29432#define HAVE_ATAN2F 1
29433_ACEOF
29434
29435fi
29436done
29437
29438  else
29439
29440  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
29441$as_echo_n "checking for _atan2f declaration... " >&6; }
29442  if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
29443    if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
29444  $as_echo_n "(cached) " >&6
29445else
29446
29447
29448      ac_ext=cpp
29449ac_cpp='$CXXCPP $CPPFLAGS'
29450ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29451ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29452ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29453
29454      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29455/* end confdefs.h.  */
29456#include <math.h>
29457int
29458main ()
29459{
29460 _atan2f(0, 0);
29461  ;
29462  return 0;
29463}
29464_ACEOF
29465if ac_fn_cxx_try_compile "$LINENO"; then :
29466  glibcxx_cv_func__atan2f_use=yes
29467else
29468  glibcxx_cv_func__atan2f_use=no
29469fi
29470rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29471      ac_ext=c
29472ac_cpp='$CPP $CPPFLAGS'
29473ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29474ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29475ac_compiler_gnu=$ac_cv_c_compiler_gnu
29476
29477
29478fi
29479
29480  fi
29481  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
29482$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
29483
29484    if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
29485      for ac_func in _atan2f
29486do :
29487  ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
29488if test "x$ac_cv_func__atan2f" = x""yes; then :
29489  cat >>confdefs.h <<_ACEOF
29490#define HAVE__ATAN2F 1
29491_ACEOF
29492
29493fi
29494done
29495
29496    fi
29497  fi
29498
29499
29500
29501
29502
29503  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
29504$as_echo_n "checking for fabsf declaration... " >&6; }
29505  if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
29506    if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
29507  $as_echo_n "(cached) " >&6
29508else
29509
29510
29511      ac_ext=cpp
29512ac_cpp='$CXXCPP $CPPFLAGS'
29513ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29514ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29515ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29516
29517      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29518/* end confdefs.h.  */
29519#include <math.h>
29520		      #ifdef HAVE_IEEEFP_H
29521		      #include <ieeefp.h>
29522		      #endif
29523
29524int
29525main ()
29526{
29527 fabsf(0);
29528  ;
29529  return 0;
29530}
29531_ACEOF
29532if ac_fn_cxx_try_compile "$LINENO"; then :
29533  glibcxx_cv_func_fabsf_use=yes
29534else
29535  glibcxx_cv_func_fabsf_use=no
29536fi
29537rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29538      ac_ext=c
29539ac_cpp='$CPP $CPPFLAGS'
29540ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29541ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29542ac_compiler_gnu=$ac_cv_c_compiler_gnu
29543
29544
29545fi
29546
29547  fi
29548  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
29549$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
29550
29551  if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
29552    for ac_func in fabsf
29553do :
29554  ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
29555if test "x$ac_cv_func_fabsf" = x""yes; then :
29556  cat >>confdefs.h <<_ACEOF
29557#define HAVE_FABSF 1
29558_ACEOF
29559
29560fi
29561done
29562
29563  else
29564
29565  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
29566$as_echo_n "checking for _fabsf declaration... " >&6; }
29567  if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
29568    if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
29569  $as_echo_n "(cached) " >&6
29570else
29571
29572
29573      ac_ext=cpp
29574ac_cpp='$CXXCPP $CPPFLAGS'
29575ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29576ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29577ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29578
29579      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29580/* end confdefs.h.  */
29581#include <math.h>
29582		      #ifdef HAVE_IEEEFP_H
29583		      #include <ieeefp.h>
29584		      #endif
29585
29586int
29587main ()
29588{
29589 _fabsf(0);
29590  ;
29591  return 0;
29592}
29593_ACEOF
29594if ac_fn_cxx_try_compile "$LINENO"; then :
29595  glibcxx_cv_func__fabsf_use=yes
29596else
29597  glibcxx_cv_func__fabsf_use=no
29598fi
29599rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29600      ac_ext=c
29601ac_cpp='$CPP $CPPFLAGS'
29602ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29603ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29604ac_compiler_gnu=$ac_cv_c_compiler_gnu
29605
29606
29607fi
29608
29609  fi
29610  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
29611$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
29612
29613    if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
29614      for ac_func in _fabsf
29615do :
29616  ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
29617if test "x$ac_cv_func__fabsf" = x""yes; then :
29618  cat >>confdefs.h <<_ACEOF
29619#define HAVE__FABSF 1
29620_ACEOF
29621
29622fi
29623done
29624
29625    fi
29626  fi
29627
29628
29629
29630
29631
29632  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
29633$as_echo_n "checking for fmodf declaration... " >&6; }
29634  if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29635    if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
29636  $as_echo_n "(cached) " >&6
29637else
29638
29639
29640      ac_ext=cpp
29641ac_cpp='$CXXCPP $CPPFLAGS'
29642ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29643ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29644ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29645
29646      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29647/* end confdefs.h.  */
29648#include <math.h>
29649int
29650main ()
29651{
29652 fmodf(0, 0);
29653  ;
29654  return 0;
29655}
29656_ACEOF
29657if ac_fn_cxx_try_compile "$LINENO"; then :
29658  glibcxx_cv_func_fmodf_use=yes
29659else
29660  glibcxx_cv_func_fmodf_use=no
29661fi
29662rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29663      ac_ext=c
29664ac_cpp='$CPP $CPPFLAGS'
29665ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29666ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29667ac_compiler_gnu=$ac_cv_c_compiler_gnu
29668
29669
29670fi
29671
29672  fi
29673  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
29674$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
29675
29676  if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29677    for ac_func in fmodf
29678do :
29679  ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
29680if test "x$ac_cv_func_fmodf" = x""yes; then :
29681  cat >>confdefs.h <<_ACEOF
29682#define HAVE_FMODF 1
29683_ACEOF
29684
29685fi
29686done
29687
29688  else
29689
29690  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
29691$as_echo_n "checking for _fmodf declaration... " >&6; }
29692  if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
29693    if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
29694  $as_echo_n "(cached) " >&6
29695else
29696
29697
29698      ac_ext=cpp
29699ac_cpp='$CXXCPP $CPPFLAGS'
29700ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29701ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29702ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29703
29704      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29705/* end confdefs.h.  */
29706#include <math.h>
29707int
29708main ()
29709{
29710 _fmodf(0, 0);
29711  ;
29712  return 0;
29713}
29714_ACEOF
29715if ac_fn_cxx_try_compile "$LINENO"; then :
29716  glibcxx_cv_func__fmodf_use=yes
29717else
29718  glibcxx_cv_func__fmodf_use=no
29719fi
29720rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29721      ac_ext=c
29722ac_cpp='$CPP $CPPFLAGS'
29723ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29724ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29725ac_compiler_gnu=$ac_cv_c_compiler_gnu
29726
29727
29728fi
29729
29730  fi
29731  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
29732$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
29733
29734    if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
29735      for ac_func in _fmodf
29736do :
29737  ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
29738if test "x$ac_cv_func__fmodf" = x""yes; then :
29739  cat >>confdefs.h <<_ACEOF
29740#define HAVE__FMODF 1
29741_ACEOF
29742
29743fi
29744done
29745
29746    fi
29747  fi
29748
29749
29750
29751
29752
29753  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
29754$as_echo_n "checking for frexpf declaration... " >&6; }
29755  if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
29756    if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
29757  $as_echo_n "(cached) " >&6
29758else
29759
29760
29761      ac_ext=cpp
29762ac_cpp='$CXXCPP $CPPFLAGS'
29763ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29764ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29765ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29766
29767      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29768/* end confdefs.h.  */
29769#include <math.h>
29770int
29771main ()
29772{
29773 frexpf(0, 0);
29774  ;
29775  return 0;
29776}
29777_ACEOF
29778if ac_fn_cxx_try_compile "$LINENO"; then :
29779  glibcxx_cv_func_frexpf_use=yes
29780else
29781  glibcxx_cv_func_frexpf_use=no
29782fi
29783rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29784      ac_ext=c
29785ac_cpp='$CPP $CPPFLAGS'
29786ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29787ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29788ac_compiler_gnu=$ac_cv_c_compiler_gnu
29789
29790
29791fi
29792
29793  fi
29794  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
29795$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
29796
29797  if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
29798    for ac_func in frexpf
29799do :
29800  ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
29801if test "x$ac_cv_func_frexpf" = x""yes; then :
29802  cat >>confdefs.h <<_ACEOF
29803#define HAVE_FREXPF 1
29804_ACEOF
29805
29806fi
29807done
29808
29809  else
29810
29811  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
29812$as_echo_n "checking for _frexpf declaration... " >&6; }
29813  if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
29814    if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
29815  $as_echo_n "(cached) " >&6
29816else
29817
29818
29819      ac_ext=cpp
29820ac_cpp='$CXXCPP $CPPFLAGS'
29821ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29822ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29823ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29824
29825      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29826/* end confdefs.h.  */
29827#include <math.h>
29828int
29829main ()
29830{
29831 _frexpf(0, 0);
29832  ;
29833  return 0;
29834}
29835_ACEOF
29836if ac_fn_cxx_try_compile "$LINENO"; then :
29837  glibcxx_cv_func__frexpf_use=yes
29838else
29839  glibcxx_cv_func__frexpf_use=no
29840fi
29841rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29842      ac_ext=c
29843ac_cpp='$CPP $CPPFLAGS'
29844ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29845ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29846ac_compiler_gnu=$ac_cv_c_compiler_gnu
29847
29848
29849fi
29850
29851  fi
29852  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
29853$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
29854
29855    if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
29856      for ac_func in _frexpf
29857do :
29858  ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
29859if test "x$ac_cv_func__frexpf" = x""yes; then :
29860  cat >>confdefs.h <<_ACEOF
29861#define HAVE__FREXPF 1
29862_ACEOF
29863
29864fi
29865done
29866
29867    fi
29868  fi
29869
29870
29871
29872
29873
29874  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
29875$as_echo_n "checking for hypotf declaration... " >&6; }
29876  if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
29877    if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
29878  $as_echo_n "(cached) " >&6
29879else
29880
29881
29882      ac_ext=cpp
29883ac_cpp='$CXXCPP $CPPFLAGS'
29884ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29885ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29886ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29887
29888      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29889/* end confdefs.h.  */
29890#include <math.h>
29891int
29892main ()
29893{
29894 hypotf(0, 0);
29895  ;
29896  return 0;
29897}
29898_ACEOF
29899if ac_fn_cxx_try_compile "$LINENO"; then :
29900  glibcxx_cv_func_hypotf_use=yes
29901else
29902  glibcxx_cv_func_hypotf_use=no
29903fi
29904rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29905      ac_ext=c
29906ac_cpp='$CPP $CPPFLAGS'
29907ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29908ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29909ac_compiler_gnu=$ac_cv_c_compiler_gnu
29910
29911
29912fi
29913
29914  fi
29915  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
29916$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
29917
29918  if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
29919    for ac_func in hypotf
29920do :
29921  ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
29922if test "x$ac_cv_func_hypotf" = x""yes; then :
29923  cat >>confdefs.h <<_ACEOF
29924#define HAVE_HYPOTF 1
29925_ACEOF
29926
29927fi
29928done
29929
29930  else
29931
29932  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
29933$as_echo_n "checking for _hypotf declaration... " >&6; }
29934  if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
29935    if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
29936  $as_echo_n "(cached) " >&6
29937else
29938
29939
29940      ac_ext=cpp
29941ac_cpp='$CXXCPP $CPPFLAGS'
29942ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29943ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29944ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29945
29946      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29947/* end confdefs.h.  */
29948#include <math.h>
29949int
29950main ()
29951{
29952 _hypotf(0, 0);
29953  ;
29954  return 0;
29955}
29956_ACEOF
29957if ac_fn_cxx_try_compile "$LINENO"; then :
29958  glibcxx_cv_func__hypotf_use=yes
29959else
29960  glibcxx_cv_func__hypotf_use=no
29961fi
29962rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29963      ac_ext=c
29964ac_cpp='$CPP $CPPFLAGS'
29965ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29966ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29967ac_compiler_gnu=$ac_cv_c_compiler_gnu
29968
29969
29970fi
29971
29972  fi
29973  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
29974$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
29975
29976    if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
29977      for ac_func in _hypotf
29978do :
29979  ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
29980if test "x$ac_cv_func__hypotf" = x""yes; then :
29981  cat >>confdefs.h <<_ACEOF
29982#define HAVE__HYPOTF 1
29983_ACEOF
29984
29985fi
29986done
29987
29988    fi
29989  fi
29990
29991
29992
29993
29994
29995  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
29996$as_echo_n "checking for ldexpf declaration... " >&6; }
29997  if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
29998    if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
29999  $as_echo_n "(cached) " >&6
30000else
30001
30002
30003      ac_ext=cpp
30004ac_cpp='$CXXCPP $CPPFLAGS'
30005ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30006ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30007ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30008
30009      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30010/* end confdefs.h.  */
30011#include <math.h>
30012int
30013main ()
30014{
30015 ldexpf(0, 0);
30016  ;
30017  return 0;
30018}
30019_ACEOF
30020if ac_fn_cxx_try_compile "$LINENO"; then :
30021  glibcxx_cv_func_ldexpf_use=yes
30022else
30023  glibcxx_cv_func_ldexpf_use=no
30024fi
30025rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30026      ac_ext=c
30027ac_cpp='$CPP $CPPFLAGS'
30028ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30029ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30030ac_compiler_gnu=$ac_cv_c_compiler_gnu
30031
30032
30033fi
30034
30035  fi
30036  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
30037$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
30038
30039  if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
30040    for ac_func in ldexpf
30041do :
30042  ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
30043if test "x$ac_cv_func_ldexpf" = x""yes; then :
30044  cat >>confdefs.h <<_ACEOF
30045#define HAVE_LDEXPF 1
30046_ACEOF
30047
30048fi
30049done
30050
30051  else
30052
30053  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
30054$as_echo_n "checking for _ldexpf declaration... " >&6; }
30055  if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
30056    if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
30057  $as_echo_n "(cached) " >&6
30058else
30059
30060
30061      ac_ext=cpp
30062ac_cpp='$CXXCPP $CPPFLAGS'
30063ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30064ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30065ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30066
30067      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30068/* end confdefs.h.  */
30069#include <math.h>
30070int
30071main ()
30072{
30073 _ldexpf(0, 0);
30074  ;
30075  return 0;
30076}
30077_ACEOF
30078if ac_fn_cxx_try_compile "$LINENO"; then :
30079  glibcxx_cv_func__ldexpf_use=yes
30080else
30081  glibcxx_cv_func__ldexpf_use=no
30082fi
30083rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30084      ac_ext=c
30085ac_cpp='$CPP $CPPFLAGS'
30086ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30087ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30088ac_compiler_gnu=$ac_cv_c_compiler_gnu
30089
30090
30091fi
30092
30093  fi
30094  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
30095$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
30096
30097    if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
30098      for ac_func in _ldexpf
30099do :
30100  ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
30101if test "x$ac_cv_func__ldexpf" = x""yes; then :
30102  cat >>confdefs.h <<_ACEOF
30103#define HAVE__LDEXPF 1
30104_ACEOF
30105
30106fi
30107done
30108
30109    fi
30110  fi
30111
30112
30113
30114
30115
30116  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
30117$as_echo_n "checking for logf declaration... " >&6; }
30118  if test x${glibcxx_cv_func_logf_use+set} != xset; then
30119    if test "${glibcxx_cv_func_logf_use+set}" = set; then :
30120  $as_echo_n "(cached) " >&6
30121else
30122
30123
30124      ac_ext=cpp
30125ac_cpp='$CXXCPP $CPPFLAGS'
30126ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30127ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30128ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30129
30130      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30131/* end confdefs.h.  */
30132#include <math.h>
30133		      #ifdef HAVE_IEEEFP_H
30134		      #include <ieeefp.h>
30135		      #endif
30136
30137int
30138main ()
30139{
30140 logf(0);
30141  ;
30142  return 0;
30143}
30144_ACEOF
30145if ac_fn_cxx_try_compile "$LINENO"; then :
30146  glibcxx_cv_func_logf_use=yes
30147else
30148  glibcxx_cv_func_logf_use=no
30149fi
30150rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30151      ac_ext=c
30152ac_cpp='$CPP $CPPFLAGS'
30153ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30154ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30155ac_compiler_gnu=$ac_cv_c_compiler_gnu
30156
30157
30158fi
30159
30160  fi
30161  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
30162$as_echo "$glibcxx_cv_func_logf_use" >&6; }
30163
30164  if test x$glibcxx_cv_func_logf_use = x"yes"; then
30165    for ac_func in logf
30166do :
30167  ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
30168if test "x$ac_cv_func_logf" = x""yes; then :
30169  cat >>confdefs.h <<_ACEOF
30170#define HAVE_LOGF 1
30171_ACEOF
30172
30173fi
30174done
30175
30176  else
30177
30178  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
30179$as_echo_n "checking for _logf declaration... " >&6; }
30180  if test x${glibcxx_cv_func__logf_use+set} != xset; then
30181    if test "${glibcxx_cv_func__logf_use+set}" = set; then :
30182  $as_echo_n "(cached) " >&6
30183else
30184
30185
30186      ac_ext=cpp
30187ac_cpp='$CXXCPP $CPPFLAGS'
30188ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30189ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30190ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30191
30192      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30193/* end confdefs.h.  */
30194#include <math.h>
30195		      #ifdef HAVE_IEEEFP_H
30196		      #include <ieeefp.h>
30197		      #endif
30198
30199int
30200main ()
30201{
30202 _logf(0);
30203  ;
30204  return 0;
30205}
30206_ACEOF
30207if ac_fn_cxx_try_compile "$LINENO"; then :
30208  glibcxx_cv_func__logf_use=yes
30209else
30210  glibcxx_cv_func__logf_use=no
30211fi
30212rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30213      ac_ext=c
30214ac_cpp='$CPP $CPPFLAGS'
30215ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30216ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30217ac_compiler_gnu=$ac_cv_c_compiler_gnu
30218
30219
30220fi
30221
30222  fi
30223  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
30224$as_echo "$glibcxx_cv_func__logf_use" >&6; }
30225
30226    if test x$glibcxx_cv_func__logf_use = x"yes"; then
30227      for ac_func in _logf
30228do :
30229  ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
30230if test "x$ac_cv_func__logf" = x""yes; then :
30231  cat >>confdefs.h <<_ACEOF
30232#define HAVE__LOGF 1
30233_ACEOF
30234
30235fi
30236done
30237
30238    fi
30239  fi
30240
30241
30242
30243
30244
30245  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
30246$as_echo_n "checking for log10f declaration... " >&6; }
30247  if test x${glibcxx_cv_func_log10f_use+set} != xset; then
30248    if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
30249  $as_echo_n "(cached) " >&6
30250else
30251
30252
30253      ac_ext=cpp
30254ac_cpp='$CXXCPP $CPPFLAGS'
30255ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30256ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30257ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30258
30259      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30260/* end confdefs.h.  */
30261#include <math.h>
30262		      #ifdef HAVE_IEEEFP_H
30263		      #include <ieeefp.h>
30264		      #endif
30265
30266int
30267main ()
30268{
30269 log10f(0);
30270  ;
30271  return 0;
30272}
30273_ACEOF
30274if ac_fn_cxx_try_compile "$LINENO"; then :
30275  glibcxx_cv_func_log10f_use=yes
30276else
30277  glibcxx_cv_func_log10f_use=no
30278fi
30279rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30280      ac_ext=c
30281ac_cpp='$CPP $CPPFLAGS'
30282ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30283ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30284ac_compiler_gnu=$ac_cv_c_compiler_gnu
30285
30286
30287fi
30288
30289  fi
30290  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
30291$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
30292
30293  if test x$glibcxx_cv_func_log10f_use = x"yes"; then
30294    for ac_func in log10f
30295do :
30296  ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
30297if test "x$ac_cv_func_log10f" = x""yes; then :
30298  cat >>confdefs.h <<_ACEOF
30299#define HAVE_LOG10F 1
30300_ACEOF
30301
30302fi
30303done
30304
30305  else
30306
30307  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
30308$as_echo_n "checking for _log10f declaration... " >&6; }
30309  if test x${glibcxx_cv_func__log10f_use+set} != xset; then
30310    if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
30311  $as_echo_n "(cached) " >&6
30312else
30313
30314
30315      ac_ext=cpp
30316ac_cpp='$CXXCPP $CPPFLAGS'
30317ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30318ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30319ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30320
30321      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30322/* end confdefs.h.  */
30323#include <math.h>
30324		      #ifdef HAVE_IEEEFP_H
30325		      #include <ieeefp.h>
30326		      #endif
30327
30328int
30329main ()
30330{
30331 _log10f(0);
30332  ;
30333  return 0;
30334}
30335_ACEOF
30336if ac_fn_cxx_try_compile "$LINENO"; then :
30337  glibcxx_cv_func__log10f_use=yes
30338else
30339  glibcxx_cv_func__log10f_use=no
30340fi
30341rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30342      ac_ext=c
30343ac_cpp='$CPP $CPPFLAGS'
30344ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30345ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30346ac_compiler_gnu=$ac_cv_c_compiler_gnu
30347
30348
30349fi
30350
30351  fi
30352  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
30353$as_echo "$glibcxx_cv_func__log10f_use" >&6; }
30354
30355    if test x$glibcxx_cv_func__log10f_use = x"yes"; then
30356      for ac_func in _log10f
30357do :
30358  ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
30359if test "x$ac_cv_func__log10f" = x""yes; then :
30360  cat >>confdefs.h <<_ACEOF
30361#define HAVE__LOG10F 1
30362_ACEOF
30363
30364fi
30365done
30366
30367    fi
30368  fi
30369
30370
30371
30372
30373
30374  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
30375$as_echo_n "checking for modff declaration... " >&6; }
30376  if test x${glibcxx_cv_func_modff_use+set} != xset; then
30377    if test "${glibcxx_cv_func_modff_use+set}" = set; then :
30378  $as_echo_n "(cached) " >&6
30379else
30380
30381
30382      ac_ext=cpp
30383ac_cpp='$CXXCPP $CPPFLAGS'
30384ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30385ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30386ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30387
30388      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30389/* end confdefs.h.  */
30390#include <math.h>
30391int
30392main ()
30393{
30394 modff(0, 0);
30395  ;
30396  return 0;
30397}
30398_ACEOF
30399if ac_fn_cxx_try_compile "$LINENO"; then :
30400  glibcxx_cv_func_modff_use=yes
30401else
30402  glibcxx_cv_func_modff_use=no
30403fi
30404rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30405      ac_ext=c
30406ac_cpp='$CPP $CPPFLAGS'
30407ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30408ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30409ac_compiler_gnu=$ac_cv_c_compiler_gnu
30410
30411
30412fi
30413
30414  fi
30415  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
30416$as_echo "$glibcxx_cv_func_modff_use" >&6; }
30417
30418  if test x$glibcxx_cv_func_modff_use = x"yes"; then
30419    for ac_func in modff
30420do :
30421  ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
30422if test "x$ac_cv_func_modff" = x""yes; then :
30423  cat >>confdefs.h <<_ACEOF
30424#define HAVE_MODFF 1
30425_ACEOF
30426
30427fi
30428done
30429
30430  else
30431
30432  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
30433$as_echo_n "checking for _modff declaration... " >&6; }
30434  if test x${glibcxx_cv_func__modff_use+set} != xset; then
30435    if test "${glibcxx_cv_func__modff_use+set}" = set; then :
30436  $as_echo_n "(cached) " >&6
30437else
30438
30439
30440      ac_ext=cpp
30441ac_cpp='$CXXCPP $CPPFLAGS'
30442ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30443ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30444ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30445
30446      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30447/* end confdefs.h.  */
30448#include <math.h>
30449int
30450main ()
30451{
30452 _modff(0, 0);
30453  ;
30454  return 0;
30455}
30456_ACEOF
30457if ac_fn_cxx_try_compile "$LINENO"; then :
30458  glibcxx_cv_func__modff_use=yes
30459else
30460  glibcxx_cv_func__modff_use=no
30461fi
30462rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30463      ac_ext=c
30464ac_cpp='$CPP $CPPFLAGS'
30465ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30466ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30467ac_compiler_gnu=$ac_cv_c_compiler_gnu
30468
30469
30470fi
30471
30472  fi
30473  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
30474$as_echo "$glibcxx_cv_func__modff_use" >&6; }
30475
30476    if test x$glibcxx_cv_func__modff_use = x"yes"; then
30477      for ac_func in _modff
30478do :
30479  ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
30480if test "x$ac_cv_func__modff" = x""yes; then :
30481  cat >>confdefs.h <<_ACEOF
30482#define HAVE__MODFF 1
30483_ACEOF
30484
30485fi
30486done
30487
30488    fi
30489  fi
30490
30491
30492
30493
30494
30495  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
30496$as_echo_n "checking for modf declaration... " >&6; }
30497  if test x${glibcxx_cv_func_modf_use+set} != xset; then
30498    if test "${glibcxx_cv_func_modf_use+set}" = set; then :
30499  $as_echo_n "(cached) " >&6
30500else
30501
30502
30503      ac_ext=cpp
30504ac_cpp='$CXXCPP $CPPFLAGS'
30505ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30506ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30507ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30508
30509      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30510/* end confdefs.h.  */
30511#include <math.h>
30512int
30513main ()
30514{
30515 modf(0, 0);
30516  ;
30517  return 0;
30518}
30519_ACEOF
30520if ac_fn_cxx_try_compile "$LINENO"; then :
30521  glibcxx_cv_func_modf_use=yes
30522else
30523  glibcxx_cv_func_modf_use=no
30524fi
30525rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30526      ac_ext=c
30527ac_cpp='$CPP $CPPFLAGS'
30528ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30529ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30530ac_compiler_gnu=$ac_cv_c_compiler_gnu
30531
30532
30533fi
30534
30535  fi
30536  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
30537$as_echo "$glibcxx_cv_func_modf_use" >&6; }
30538
30539  if test x$glibcxx_cv_func_modf_use = x"yes"; then
30540    for ac_func in modf
30541do :
30542  ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
30543if test "x$ac_cv_func_modf" = x""yes; then :
30544  cat >>confdefs.h <<_ACEOF
30545#define HAVE_MODF 1
30546_ACEOF
30547
30548fi
30549done
30550
30551  else
30552
30553  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
30554$as_echo_n "checking for _modf declaration... " >&6; }
30555  if test x${glibcxx_cv_func__modf_use+set} != xset; then
30556    if test "${glibcxx_cv_func__modf_use+set}" = set; then :
30557  $as_echo_n "(cached) " >&6
30558else
30559
30560
30561      ac_ext=cpp
30562ac_cpp='$CXXCPP $CPPFLAGS'
30563ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30564ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30565ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30566
30567      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30568/* end confdefs.h.  */
30569#include <math.h>
30570int
30571main ()
30572{
30573 _modf(0, 0);
30574  ;
30575  return 0;
30576}
30577_ACEOF
30578if ac_fn_cxx_try_compile "$LINENO"; then :
30579  glibcxx_cv_func__modf_use=yes
30580else
30581  glibcxx_cv_func__modf_use=no
30582fi
30583rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30584      ac_ext=c
30585ac_cpp='$CPP $CPPFLAGS'
30586ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30587ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30588ac_compiler_gnu=$ac_cv_c_compiler_gnu
30589
30590
30591fi
30592
30593  fi
30594  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
30595$as_echo "$glibcxx_cv_func__modf_use" >&6; }
30596
30597    if test x$glibcxx_cv_func__modf_use = x"yes"; then
30598      for ac_func in _modf
30599do :
30600  ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
30601if test "x$ac_cv_func__modf" = x""yes; then :
30602  cat >>confdefs.h <<_ACEOF
30603#define HAVE__MODF 1
30604_ACEOF
30605
30606fi
30607done
30608
30609    fi
30610  fi
30611
30612
30613
30614
30615
30616  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
30617$as_echo_n "checking for powf declaration... " >&6; }
30618  if test x${glibcxx_cv_func_powf_use+set} != xset; then
30619    if test "${glibcxx_cv_func_powf_use+set}" = set; then :
30620  $as_echo_n "(cached) " >&6
30621else
30622
30623
30624      ac_ext=cpp
30625ac_cpp='$CXXCPP $CPPFLAGS'
30626ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30627ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30628ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30629
30630      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30631/* end confdefs.h.  */
30632#include <math.h>
30633int
30634main ()
30635{
30636 powf(0, 0);
30637  ;
30638  return 0;
30639}
30640_ACEOF
30641if ac_fn_cxx_try_compile "$LINENO"; then :
30642  glibcxx_cv_func_powf_use=yes
30643else
30644  glibcxx_cv_func_powf_use=no
30645fi
30646rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30647      ac_ext=c
30648ac_cpp='$CPP $CPPFLAGS'
30649ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30650ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30651ac_compiler_gnu=$ac_cv_c_compiler_gnu
30652
30653
30654fi
30655
30656  fi
30657  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
30658$as_echo "$glibcxx_cv_func_powf_use" >&6; }
30659
30660  if test x$glibcxx_cv_func_powf_use = x"yes"; then
30661    for ac_func in powf
30662do :
30663  ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
30664if test "x$ac_cv_func_powf" = x""yes; then :
30665  cat >>confdefs.h <<_ACEOF
30666#define HAVE_POWF 1
30667_ACEOF
30668
30669fi
30670done
30671
30672  else
30673
30674  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
30675$as_echo_n "checking for _powf declaration... " >&6; }
30676  if test x${glibcxx_cv_func__powf_use+set} != xset; then
30677    if test "${glibcxx_cv_func__powf_use+set}" = set; then :
30678  $as_echo_n "(cached) " >&6
30679else
30680
30681
30682      ac_ext=cpp
30683ac_cpp='$CXXCPP $CPPFLAGS'
30684ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30685ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30686ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30687
30688      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30689/* end confdefs.h.  */
30690#include <math.h>
30691int
30692main ()
30693{
30694 _powf(0, 0);
30695  ;
30696  return 0;
30697}
30698_ACEOF
30699if ac_fn_cxx_try_compile "$LINENO"; then :
30700  glibcxx_cv_func__powf_use=yes
30701else
30702  glibcxx_cv_func__powf_use=no
30703fi
30704rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30705      ac_ext=c
30706ac_cpp='$CPP $CPPFLAGS'
30707ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30708ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30709ac_compiler_gnu=$ac_cv_c_compiler_gnu
30710
30711
30712fi
30713
30714  fi
30715  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
30716$as_echo "$glibcxx_cv_func__powf_use" >&6; }
30717
30718    if test x$glibcxx_cv_func__powf_use = x"yes"; then
30719      for ac_func in _powf
30720do :
30721  ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
30722if test "x$ac_cv_func__powf" = x""yes; then :
30723  cat >>confdefs.h <<_ACEOF
30724#define HAVE__POWF 1
30725_ACEOF
30726
30727fi
30728done
30729
30730    fi
30731  fi
30732
30733
30734
30735
30736
30737  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
30738$as_echo_n "checking for sqrtf declaration... " >&6; }
30739  if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
30740    if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
30741  $as_echo_n "(cached) " >&6
30742else
30743
30744
30745      ac_ext=cpp
30746ac_cpp='$CXXCPP $CPPFLAGS'
30747ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30748ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30749ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30750
30751      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30752/* end confdefs.h.  */
30753#include <math.h>
30754		      #ifdef HAVE_IEEEFP_H
30755		      #include <ieeefp.h>
30756		      #endif
30757
30758int
30759main ()
30760{
30761 sqrtf(0);
30762  ;
30763  return 0;
30764}
30765_ACEOF
30766if ac_fn_cxx_try_compile "$LINENO"; then :
30767  glibcxx_cv_func_sqrtf_use=yes
30768else
30769  glibcxx_cv_func_sqrtf_use=no
30770fi
30771rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30772      ac_ext=c
30773ac_cpp='$CPP $CPPFLAGS'
30774ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30775ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30776ac_compiler_gnu=$ac_cv_c_compiler_gnu
30777
30778
30779fi
30780
30781  fi
30782  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
30783$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
30784
30785  if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
30786    for ac_func in sqrtf
30787do :
30788  ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
30789if test "x$ac_cv_func_sqrtf" = x""yes; then :
30790  cat >>confdefs.h <<_ACEOF
30791#define HAVE_SQRTF 1
30792_ACEOF
30793
30794fi
30795done
30796
30797  else
30798
30799  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
30800$as_echo_n "checking for _sqrtf declaration... " >&6; }
30801  if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
30802    if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
30803  $as_echo_n "(cached) " >&6
30804else
30805
30806
30807      ac_ext=cpp
30808ac_cpp='$CXXCPP $CPPFLAGS'
30809ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30810ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30811ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30812
30813      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30814/* end confdefs.h.  */
30815#include <math.h>
30816		      #ifdef HAVE_IEEEFP_H
30817		      #include <ieeefp.h>
30818		      #endif
30819
30820int
30821main ()
30822{
30823 _sqrtf(0);
30824  ;
30825  return 0;
30826}
30827_ACEOF
30828if ac_fn_cxx_try_compile "$LINENO"; then :
30829  glibcxx_cv_func__sqrtf_use=yes
30830else
30831  glibcxx_cv_func__sqrtf_use=no
30832fi
30833rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30834      ac_ext=c
30835ac_cpp='$CPP $CPPFLAGS'
30836ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30837ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30838ac_compiler_gnu=$ac_cv_c_compiler_gnu
30839
30840
30841fi
30842
30843  fi
30844  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
30845$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
30846
30847    if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
30848      for ac_func in _sqrtf
30849do :
30850  ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
30851if test "x$ac_cv_func__sqrtf" = x""yes; then :
30852  cat >>confdefs.h <<_ACEOF
30853#define HAVE__SQRTF 1
30854_ACEOF
30855
30856fi
30857done
30858
30859    fi
30860  fi
30861
30862
30863
30864
30865
30866  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
30867$as_echo_n "checking for sincosf declaration... " >&6; }
30868  if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
30869    if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
30870  $as_echo_n "(cached) " >&6
30871else
30872
30873
30874      ac_ext=cpp
30875ac_cpp='$CXXCPP $CPPFLAGS'
30876ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30877ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30878ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30879
30880      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30881/* end confdefs.h.  */
30882#include <math.h>
30883int
30884main ()
30885{
30886 sincosf(0, 0, 0);
30887  ;
30888  return 0;
30889}
30890_ACEOF
30891if ac_fn_cxx_try_compile "$LINENO"; then :
30892  glibcxx_cv_func_sincosf_use=yes
30893else
30894  glibcxx_cv_func_sincosf_use=no
30895fi
30896rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30897      ac_ext=c
30898ac_cpp='$CPP $CPPFLAGS'
30899ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30900ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30901ac_compiler_gnu=$ac_cv_c_compiler_gnu
30902
30903
30904fi
30905
30906  fi
30907  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
30908$as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
30909
30910  if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
30911    for ac_func in sincosf
30912do :
30913  ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
30914if test "x$ac_cv_func_sincosf" = x""yes; then :
30915  cat >>confdefs.h <<_ACEOF
30916#define HAVE_SINCOSF 1
30917_ACEOF
30918
30919fi
30920done
30921
30922  else
30923
30924  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
30925$as_echo_n "checking for _sincosf declaration... " >&6; }
30926  if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
30927    if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
30928  $as_echo_n "(cached) " >&6
30929else
30930
30931
30932      ac_ext=cpp
30933ac_cpp='$CXXCPP $CPPFLAGS'
30934ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30935ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30936ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30937
30938      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30939/* end confdefs.h.  */
30940#include <math.h>
30941int
30942main ()
30943{
30944 _sincosf(0, 0, 0);
30945  ;
30946  return 0;
30947}
30948_ACEOF
30949if ac_fn_cxx_try_compile "$LINENO"; then :
30950  glibcxx_cv_func__sincosf_use=yes
30951else
30952  glibcxx_cv_func__sincosf_use=no
30953fi
30954rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30955      ac_ext=c
30956ac_cpp='$CPP $CPPFLAGS'
30957ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30958ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30959ac_compiler_gnu=$ac_cv_c_compiler_gnu
30960
30961
30962fi
30963
30964  fi
30965  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
30966$as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
30967
30968    if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
30969      for ac_func in _sincosf
30970do :
30971  ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
30972if test "x$ac_cv_func__sincosf" = x""yes; then :
30973  cat >>confdefs.h <<_ACEOF
30974#define HAVE__SINCOSF 1
30975_ACEOF
30976
30977fi
30978done
30979
30980    fi
30981  fi
30982
30983
30984
30985
30986
30987  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
30988$as_echo_n "checking for finitef declaration... " >&6; }
30989  if test x${glibcxx_cv_func_finitef_use+set} != xset; then
30990    if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
30991  $as_echo_n "(cached) " >&6
30992else
30993
30994
30995      ac_ext=cpp
30996ac_cpp='$CXXCPP $CPPFLAGS'
30997ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30998ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30999ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31000
31001      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31002/* end confdefs.h.  */
31003#include <math.h>
31004		      #ifdef HAVE_IEEEFP_H
31005		      #include <ieeefp.h>
31006		      #endif
31007
31008int
31009main ()
31010{
31011 finitef(0);
31012  ;
31013  return 0;
31014}
31015_ACEOF
31016if ac_fn_cxx_try_compile "$LINENO"; then :
31017  glibcxx_cv_func_finitef_use=yes
31018else
31019  glibcxx_cv_func_finitef_use=no
31020fi
31021rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31022      ac_ext=c
31023ac_cpp='$CPP $CPPFLAGS'
31024ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31025ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31026ac_compiler_gnu=$ac_cv_c_compiler_gnu
31027
31028
31029fi
31030
31031  fi
31032  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
31033$as_echo "$glibcxx_cv_func_finitef_use" >&6; }
31034
31035  if test x$glibcxx_cv_func_finitef_use = x"yes"; then
31036    for ac_func in finitef
31037do :
31038  ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
31039if test "x$ac_cv_func_finitef" = x""yes; then :
31040  cat >>confdefs.h <<_ACEOF
31041#define HAVE_FINITEF 1
31042_ACEOF
31043
31044fi
31045done
31046
31047  else
31048
31049  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
31050$as_echo_n "checking for _finitef declaration... " >&6; }
31051  if test x${glibcxx_cv_func__finitef_use+set} != xset; then
31052    if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
31053  $as_echo_n "(cached) " >&6
31054else
31055
31056
31057      ac_ext=cpp
31058ac_cpp='$CXXCPP $CPPFLAGS'
31059ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31060ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31061ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31062
31063      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31064/* end confdefs.h.  */
31065#include <math.h>
31066		      #ifdef HAVE_IEEEFP_H
31067		      #include <ieeefp.h>
31068		      #endif
31069
31070int
31071main ()
31072{
31073 _finitef(0);
31074  ;
31075  return 0;
31076}
31077_ACEOF
31078if ac_fn_cxx_try_compile "$LINENO"; then :
31079  glibcxx_cv_func__finitef_use=yes
31080else
31081  glibcxx_cv_func__finitef_use=no
31082fi
31083rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31084      ac_ext=c
31085ac_cpp='$CPP $CPPFLAGS'
31086ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31087ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31088ac_compiler_gnu=$ac_cv_c_compiler_gnu
31089
31090
31091fi
31092
31093  fi
31094  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
31095$as_echo "$glibcxx_cv_func__finitef_use" >&6; }
31096
31097    if test x$glibcxx_cv_func__finitef_use = x"yes"; then
31098      for ac_func in _finitef
31099do :
31100  ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
31101if test "x$ac_cv_func__finitef" = x""yes; then :
31102  cat >>confdefs.h <<_ACEOF
31103#define HAVE__FINITEF 1
31104_ACEOF
31105
31106fi
31107done
31108
31109    fi
31110  fi
31111
31112
31113
31114
31115
31116    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
31117$as_echo_n "checking for long double trig functions... " >&6; }
31118  if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
31119  $as_echo_n "(cached) " >&6
31120else
31121
31122
31123    ac_ext=cpp
31124ac_cpp='$CXXCPP $CPPFLAGS'
31125ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31126ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31127ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31128
31129    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31130/* end confdefs.h.  */
31131#include <math.h>
31132int
31133main ()
31134{
31135acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
31136  ;
31137  return 0;
31138}
31139_ACEOF
31140if ac_fn_cxx_try_compile "$LINENO"; then :
31141  glibcxx_cv_func_long_double_trig_use=yes
31142else
31143  glibcxx_cv_func_long_double_trig_use=no
31144fi
31145rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31146    ac_ext=c
31147ac_cpp='$CPP $CPPFLAGS'
31148ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31149ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31150ac_compiler_gnu=$ac_cv_c_compiler_gnu
31151
31152fi
31153
31154  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
31155$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
31156  if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
31157    for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
31158do :
31159  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31160ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31161eval as_val=\$$as_ac_var
31162   if test "x$as_val" = x""yes; then :
31163  cat >>confdefs.h <<_ACEOF
31164#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31165_ACEOF
31166
31167fi
31168done
31169
31170  else
31171    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
31172$as_echo_n "checking for _long double trig functions... " >&6; }
31173    if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
31174  $as_echo_n "(cached) " >&6
31175else
31176
31177
31178      ac_ext=cpp
31179ac_cpp='$CXXCPP $CPPFLAGS'
31180ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31181ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31182ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31183
31184      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31185/* end confdefs.h.  */
31186#include <math.h>
31187int
31188main ()
31189{
31190_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
31191  ;
31192  return 0;
31193}
31194_ACEOF
31195if ac_fn_cxx_try_compile "$LINENO"; then :
31196  glibcxx_cv_func__long_double_trig_use=yes
31197else
31198  glibcxx_cv_func__long_double_trig_use=no
31199fi
31200rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31201      ac_ext=c
31202ac_cpp='$CPP $CPPFLAGS'
31203ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31204ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31205ac_compiler_gnu=$ac_cv_c_compiler_gnu
31206
31207fi
31208
31209    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
31210$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
31211    if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
31212      for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
31213do :
31214  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31215ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31216eval as_val=\$$as_ac_var
31217   if test "x$as_val" = x""yes; then :
31218  cat >>confdefs.h <<_ACEOF
31219#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31220_ACEOF
31221
31222fi
31223done
31224
31225    fi
31226  fi
31227
31228
31229
31230
31231
31232    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
31233$as_echo_n "checking for long double round functions... " >&6; }
31234  if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
31235  $as_echo_n "(cached) " >&6
31236else
31237
31238
31239    ac_ext=cpp
31240ac_cpp='$CXXCPP $CPPFLAGS'
31241ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31242ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31243ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31244
31245    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31246/* end confdefs.h.  */
31247#include <math.h>
31248int
31249main ()
31250{
31251ceill (0); floorl (0);
31252  ;
31253  return 0;
31254}
31255_ACEOF
31256if ac_fn_cxx_try_compile "$LINENO"; then :
31257  glibcxx_cv_func_long_double_round_use=yes
31258else
31259  glibcxx_cv_func_long_double_round_use=no
31260fi
31261rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31262    ac_ext=c
31263ac_cpp='$CPP $CPPFLAGS'
31264ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31265ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31266ac_compiler_gnu=$ac_cv_c_compiler_gnu
31267
31268fi
31269
31270  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
31271$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
31272  if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
31273    for ac_func in ceill floorl
31274do :
31275  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31276ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31277eval as_val=\$$as_ac_var
31278   if test "x$as_val" = x""yes; then :
31279  cat >>confdefs.h <<_ACEOF
31280#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31281_ACEOF
31282
31283fi
31284done
31285
31286  else
31287    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
31288$as_echo_n "checking for _long double round functions... " >&6; }
31289    if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
31290  $as_echo_n "(cached) " >&6
31291else
31292
31293
31294      ac_ext=cpp
31295ac_cpp='$CXXCPP $CPPFLAGS'
31296ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31297ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31298ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31299
31300      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31301/* end confdefs.h.  */
31302#include <math.h>
31303int
31304main ()
31305{
31306_ceill (0); _floorl (0);
31307  ;
31308  return 0;
31309}
31310_ACEOF
31311if ac_fn_cxx_try_compile "$LINENO"; then :
31312  glibcxx_cv_func__long_double_round_use=yes
31313else
31314  glibcxx_cv_func__long_double_round_use=no
31315fi
31316rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31317      ac_ext=c
31318ac_cpp='$CPP $CPPFLAGS'
31319ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31320ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31321ac_compiler_gnu=$ac_cv_c_compiler_gnu
31322
31323fi
31324
31325    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
31326$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
31327    if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
31328      for ac_func in _ceill _floorl
31329do :
31330  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31331ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31332eval as_val=\$$as_ac_var
31333   if test "x$as_val" = x""yes; then :
31334  cat >>confdefs.h <<_ACEOF
31335#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31336_ACEOF
31337
31338fi
31339done
31340
31341    fi
31342  fi
31343
31344
31345
31346
31347
31348
31349  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
31350$as_echo_n "checking for isnanl declaration... " >&6; }
31351  if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
31352    if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
31353  $as_echo_n "(cached) " >&6
31354else
31355
31356
31357      ac_ext=cpp
31358ac_cpp='$CXXCPP $CPPFLAGS'
31359ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31360ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31361ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31362
31363      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31364/* end confdefs.h.  */
31365#include <math.h>
31366		      #ifdef HAVE_IEEEFP_H
31367		      #include <ieeefp.h>
31368		      #endif
31369
31370int
31371main ()
31372{
31373 isnanl(0);
31374  ;
31375  return 0;
31376}
31377_ACEOF
31378if ac_fn_cxx_try_compile "$LINENO"; then :
31379  glibcxx_cv_func_isnanl_use=yes
31380else
31381  glibcxx_cv_func_isnanl_use=no
31382fi
31383rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31384      ac_ext=c
31385ac_cpp='$CPP $CPPFLAGS'
31386ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31387ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31388ac_compiler_gnu=$ac_cv_c_compiler_gnu
31389
31390
31391fi
31392
31393  fi
31394  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
31395$as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
31396
31397  if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
31398    for ac_func in isnanl
31399do :
31400  ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
31401if test "x$ac_cv_func_isnanl" = x""yes; then :
31402  cat >>confdefs.h <<_ACEOF
31403#define HAVE_ISNANL 1
31404_ACEOF
31405
31406fi
31407done
31408
31409  else
31410
31411  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
31412$as_echo_n "checking for _isnanl declaration... " >&6; }
31413  if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
31414    if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
31415  $as_echo_n "(cached) " >&6
31416else
31417
31418
31419      ac_ext=cpp
31420ac_cpp='$CXXCPP $CPPFLAGS'
31421ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31422ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31423ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31424
31425      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31426/* end confdefs.h.  */
31427#include <math.h>
31428		      #ifdef HAVE_IEEEFP_H
31429		      #include <ieeefp.h>
31430		      #endif
31431
31432int
31433main ()
31434{
31435 _isnanl(0);
31436  ;
31437  return 0;
31438}
31439_ACEOF
31440if ac_fn_cxx_try_compile "$LINENO"; then :
31441  glibcxx_cv_func__isnanl_use=yes
31442else
31443  glibcxx_cv_func__isnanl_use=no
31444fi
31445rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31446      ac_ext=c
31447ac_cpp='$CPP $CPPFLAGS'
31448ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31449ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31450ac_compiler_gnu=$ac_cv_c_compiler_gnu
31451
31452
31453fi
31454
31455  fi
31456  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
31457$as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
31458
31459    if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
31460      for ac_func in _isnanl
31461do :
31462  ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
31463if test "x$ac_cv_func__isnanl" = x""yes; then :
31464  cat >>confdefs.h <<_ACEOF
31465#define HAVE__ISNANL 1
31466_ACEOF
31467
31468fi
31469done
31470
31471    fi
31472  fi
31473
31474
31475
31476
31477
31478  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
31479$as_echo_n "checking for isinfl declaration... " >&6; }
31480  if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
31481    if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
31482  $as_echo_n "(cached) " >&6
31483else
31484
31485
31486      ac_ext=cpp
31487ac_cpp='$CXXCPP $CPPFLAGS'
31488ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31489ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31490ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31491
31492      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31493/* end confdefs.h.  */
31494#include <math.h>
31495		      #ifdef HAVE_IEEEFP_H
31496		      #include <ieeefp.h>
31497		      #endif
31498
31499int
31500main ()
31501{
31502 isinfl(0);
31503  ;
31504  return 0;
31505}
31506_ACEOF
31507if ac_fn_cxx_try_compile "$LINENO"; then :
31508  glibcxx_cv_func_isinfl_use=yes
31509else
31510  glibcxx_cv_func_isinfl_use=no
31511fi
31512rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31513      ac_ext=c
31514ac_cpp='$CPP $CPPFLAGS'
31515ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31516ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31517ac_compiler_gnu=$ac_cv_c_compiler_gnu
31518
31519
31520fi
31521
31522  fi
31523  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
31524$as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
31525
31526  if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
31527    for ac_func in isinfl
31528do :
31529  ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
31530if test "x$ac_cv_func_isinfl" = x""yes; then :
31531  cat >>confdefs.h <<_ACEOF
31532#define HAVE_ISINFL 1
31533_ACEOF
31534
31535fi
31536done
31537
31538  else
31539
31540  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
31541$as_echo_n "checking for _isinfl declaration... " >&6; }
31542  if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
31543    if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
31544  $as_echo_n "(cached) " >&6
31545else
31546
31547
31548      ac_ext=cpp
31549ac_cpp='$CXXCPP $CPPFLAGS'
31550ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31551ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31552ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31553
31554      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31555/* end confdefs.h.  */
31556#include <math.h>
31557		      #ifdef HAVE_IEEEFP_H
31558		      #include <ieeefp.h>
31559		      #endif
31560
31561int
31562main ()
31563{
31564 _isinfl(0);
31565  ;
31566  return 0;
31567}
31568_ACEOF
31569if ac_fn_cxx_try_compile "$LINENO"; then :
31570  glibcxx_cv_func__isinfl_use=yes
31571else
31572  glibcxx_cv_func__isinfl_use=no
31573fi
31574rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31575      ac_ext=c
31576ac_cpp='$CPP $CPPFLAGS'
31577ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31578ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31579ac_compiler_gnu=$ac_cv_c_compiler_gnu
31580
31581
31582fi
31583
31584  fi
31585  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
31586$as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
31587
31588    if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
31589      for ac_func in _isinfl
31590do :
31591  ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
31592if test "x$ac_cv_func__isinfl" = x""yes; then :
31593  cat >>confdefs.h <<_ACEOF
31594#define HAVE__ISINFL 1
31595_ACEOF
31596
31597fi
31598done
31599
31600    fi
31601  fi
31602
31603
31604
31605
31606
31607  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
31608$as_echo_n "checking for atan2l declaration... " >&6; }
31609  if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
31610    if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
31611  $as_echo_n "(cached) " >&6
31612else
31613
31614
31615      ac_ext=cpp
31616ac_cpp='$CXXCPP $CPPFLAGS'
31617ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31618ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31619ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31620
31621      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31622/* end confdefs.h.  */
31623#include <math.h>
31624int
31625main ()
31626{
31627 atan2l(0, 0);
31628  ;
31629  return 0;
31630}
31631_ACEOF
31632if ac_fn_cxx_try_compile "$LINENO"; then :
31633  glibcxx_cv_func_atan2l_use=yes
31634else
31635  glibcxx_cv_func_atan2l_use=no
31636fi
31637rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31638      ac_ext=c
31639ac_cpp='$CPP $CPPFLAGS'
31640ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31641ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31642ac_compiler_gnu=$ac_cv_c_compiler_gnu
31643
31644
31645fi
31646
31647  fi
31648  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
31649$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
31650
31651  if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
31652    for ac_func in atan2l
31653do :
31654  ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
31655if test "x$ac_cv_func_atan2l" = x""yes; then :
31656  cat >>confdefs.h <<_ACEOF
31657#define HAVE_ATAN2L 1
31658_ACEOF
31659
31660fi
31661done
31662
31663  else
31664
31665  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
31666$as_echo_n "checking for _atan2l declaration... " >&6; }
31667  if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31668    if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
31669  $as_echo_n "(cached) " >&6
31670else
31671
31672
31673      ac_ext=cpp
31674ac_cpp='$CXXCPP $CPPFLAGS'
31675ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31676ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31677ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31678
31679      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31680/* end confdefs.h.  */
31681#include <math.h>
31682int
31683main ()
31684{
31685 _atan2l(0, 0);
31686  ;
31687  return 0;
31688}
31689_ACEOF
31690if ac_fn_cxx_try_compile "$LINENO"; then :
31691  glibcxx_cv_func__atan2l_use=yes
31692else
31693  glibcxx_cv_func__atan2l_use=no
31694fi
31695rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31696      ac_ext=c
31697ac_cpp='$CPP $CPPFLAGS'
31698ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31699ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31700ac_compiler_gnu=$ac_cv_c_compiler_gnu
31701
31702
31703fi
31704
31705  fi
31706  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
31707$as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
31708
31709    if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31710      for ac_func in _atan2l
31711do :
31712  ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
31713if test "x$ac_cv_func__atan2l" = x""yes; then :
31714  cat >>confdefs.h <<_ACEOF
31715#define HAVE__ATAN2L 1
31716_ACEOF
31717
31718fi
31719done
31720
31721    fi
31722  fi
31723
31724
31725
31726
31727
31728  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
31729$as_echo_n "checking for expl declaration... " >&6; }
31730  if test x${glibcxx_cv_func_expl_use+set} != xset; then
31731    if test "${glibcxx_cv_func_expl_use+set}" = set; then :
31732  $as_echo_n "(cached) " >&6
31733else
31734
31735
31736      ac_ext=cpp
31737ac_cpp='$CXXCPP $CPPFLAGS'
31738ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31739ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31740ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31741
31742      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31743/* end confdefs.h.  */
31744#include <math.h>
31745		      #ifdef HAVE_IEEEFP_H
31746		      #include <ieeefp.h>
31747		      #endif
31748
31749int
31750main ()
31751{
31752 expl(0);
31753  ;
31754  return 0;
31755}
31756_ACEOF
31757if ac_fn_cxx_try_compile "$LINENO"; then :
31758  glibcxx_cv_func_expl_use=yes
31759else
31760  glibcxx_cv_func_expl_use=no
31761fi
31762rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31763      ac_ext=c
31764ac_cpp='$CPP $CPPFLAGS'
31765ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31766ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31767ac_compiler_gnu=$ac_cv_c_compiler_gnu
31768
31769
31770fi
31771
31772  fi
31773  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
31774$as_echo "$glibcxx_cv_func_expl_use" >&6; }
31775
31776  if test x$glibcxx_cv_func_expl_use = x"yes"; then
31777    for ac_func in expl
31778do :
31779  ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
31780if test "x$ac_cv_func_expl" = x""yes; then :
31781  cat >>confdefs.h <<_ACEOF
31782#define HAVE_EXPL 1
31783_ACEOF
31784
31785fi
31786done
31787
31788  else
31789
31790  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
31791$as_echo_n "checking for _expl declaration... " >&6; }
31792  if test x${glibcxx_cv_func__expl_use+set} != xset; then
31793    if test "${glibcxx_cv_func__expl_use+set}" = set; then :
31794  $as_echo_n "(cached) " >&6
31795else
31796
31797
31798      ac_ext=cpp
31799ac_cpp='$CXXCPP $CPPFLAGS'
31800ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31801ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31802ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31803
31804      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31805/* end confdefs.h.  */
31806#include <math.h>
31807		      #ifdef HAVE_IEEEFP_H
31808		      #include <ieeefp.h>
31809		      #endif
31810
31811int
31812main ()
31813{
31814 _expl(0);
31815  ;
31816  return 0;
31817}
31818_ACEOF
31819if ac_fn_cxx_try_compile "$LINENO"; then :
31820  glibcxx_cv_func__expl_use=yes
31821else
31822  glibcxx_cv_func__expl_use=no
31823fi
31824rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31825      ac_ext=c
31826ac_cpp='$CPP $CPPFLAGS'
31827ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31828ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31829ac_compiler_gnu=$ac_cv_c_compiler_gnu
31830
31831
31832fi
31833
31834  fi
31835  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
31836$as_echo "$glibcxx_cv_func__expl_use" >&6; }
31837
31838    if test x$glibcxx_cv_func__expl_use = x"yes"; then
31839      for ac_func in _expl
31840do :
31841  ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
31842if test "x$ac_cv_func__expl" = x""yes; then :
31843  cat >>confdefs.h <<_ACEOF
31844#define HAVE__EXPL 1
31845_ACEOF
31846
31847fi
31848done
31849
31850    fi
31851  fi
31852
31853
31854
31855
31856
31857  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
31858$as_echo_n "checking for fabsl declaration... " >&6; }
31859  if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
31860    if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
31861  $as_echo_n "(cached) " >&6
31862else
31863
31864
31865      ac_ext=cpp
31866ac_cpp='$CXXCPP $CPPFLAGS'
31867ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31868ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31869ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31870
31871      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31872/* end confdefs.h.  */
31873#include <math.h>
31874		      #ifdef HAVE_IEEEFP_H
31875		      #include <ieeefp.h>
31876		      #endif
31877
31878int
31879main ()
31880{
31881 fabsl(0);
31882  ;
31883  return 0;
31884}
31885_ACEOF
31886if ac_fn_cxx_try_compile "$LINENO"; then :
31887  glibcxx_cv_func_fabsl_use=yes
31888else
31889  glibcxx_cv_func_fabsl_use=no
31890fi
31891rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31892      ac_ext=c
31893ac_cpp='$CPP $CPPFLAGS'
31894ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31895ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31896ac_compiler_gnu=$ac_cv_c_compiler_gnu
31897
31898
31899fi
31900
31901  fi
31902  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
31903$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
31904
31905  if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
31906    for ac_func in fabsl
31907do :
31908  ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
31909if test "x$ac_cv_func_fabsl" = x""yes; then :
31910  cat >>confdefs.h <<_ACEOF
31911#define HAVE_FABSL 1
31912_ACEOF
31913
31914fi
31915done
31916
31917  else
31918
31919  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
31920$as_echo_n "checking for _fabsl declaration... " >&6; }
31921  if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
31922    if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
31923  $as_echo_n "(cached) " >&6
31924else
31925
31926
31927      ac_ext=cpp
31928ac_cpp='$CXXCPP $CPPFLAGS'
31929ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31930ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31931ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31932
31933      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31934/* end confdefs.h.  */
31935#include <math.h>
31936		      #ifdef HAVE_IEEEFP_H
31937		      #include <ieeefp.h>
31938		      #endif
31939
31940int
31941main ()
31942{
31943 _fabsl(0);
31944  ;
31945  return 0;
31946}
31947_ACEOF
31948if ac_fn_cxx_try_compile "$LINENO"; then :
31949  glibcxx_cv_func__fabsl_use=yes
31950else
31951  glibcxx_cv_func__fabsl_use=no
31952fi
31953rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31954      ac_ext=c
31955ac_cpp='$CPP $CPPFLAGS'
31956ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31957ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31958ac_compiler_gnu=$ac_cv_c_compiler_gnu
31959
31960
31961fi
31962
31963  fi
31964  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
31965$as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
31966
31967    if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
31968      for ac_func in _fabsl
31969do :
31970  ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
31971if test "x$ac_cv_func__fabsl" = x""yes; then :
31972  cat >>confdefs.h <<_ACEOF
31973#define HAVE__FABSL 1
31974_ACEOF
31975
31976fi
31977done
31978
31979    fi
31980  fi
31981
31982
31983
31984
31985
31986  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
31987$as_echo_n "checking for fmodl declaration... " >&6; }
31988  if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
31989    if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
31990  $as_echo_n "(cached) " >&6
31991else
31992
31993
31994      ac_ext=cpp
31995ac_cpp='$CXXCPP $CPPFLAGS'
31996ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31997ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31998ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31999
32000      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32001/* end confdefs.h.  */
32002#include <math.h>
32003int
32004main ()
32005{
32006 fmodl(0, 0);
32007  ;
32008  return 0;
32009}
32010_ACEOF
32011if ac_fn_cxx_try_compile "$LINENO"; then :
32012  glibcxx_cv_func_fmodl_use=yes
32013else
32014  glibcxx_cv_func_fmodl_use=no
32015fi
32016rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32017      ac_ext=c
32018ac_cpp='$CPP $CPPFLAGS'
32019ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32020ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32021ac_compiler_gnu=$ac_cv_c_compiler_gnu
32022
32023
32024fi
32025
32026  fi
32027  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
32028$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
32029
32030  if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
32031    for ac_func in fmodl
32032do :
32033  ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
32034if test "x$ac_cv_func_fmodl" = x""yes; then :
32035  cat >>confdefs.h <<_ACEOF
32036#define HAVE_FMODL 1
32037_ACEOF
32038
32039fi
32040done
32041
32042  else
32043
32044  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
32045$as_echo_n "checking for _fmodl declaration... " >&6; }
32046  if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
32047    if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
32048  $as_echo_n "(cached) " >&6
32049else
32050
32051
32052      ac_ext=cpp
32053ac_cpp='$CXXCPP $CPPFLAGS'
32054ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32055ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32056ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32057
32058      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32059/* end confdefs.h.  */
32060#include <math.h>
32061int
32062main ()
32063{
32064 _fmodl(0, 0);
32065  ;
32066  return 0;
32067}
32068_ACEOF
32069if ac_fn_cxx_try_compile "$LINENO"; then :
32070  glibcxx_cv_func__fmodl_use=yes
32071else
32072  glibcxx_cv_func__fmodl_use=no
32073fi
32074rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32075      ac_ext=c
32076ac_cpp='$CPP $CPPFLAGS'
32077ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32078ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32079ac_compiler_gnu=$ac_cv_c_compiler_gnu
32080
32081
32082fi
32083
32084  fi
32085  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
32086$as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
32087
32088    if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
32089      for ac_func in _fmodl
32090do :
32091  ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
32092if test "x$ac_cv_func__fmodl" = x""yes; then :
32093  cat >>confdefs.h <<_ACEOF
32094#define HAVE__FMODL 1
32095_ACEOF
32096
32097fi
32098done
32099
32100    fi
32101  fi
32102
32103
32104
32105
32106
32107  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
32108$as_echo_n "checking for frexpl declaration... " >&6; }
32109  if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
32110    if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
32111  $as_echo_n "(cached) " >&6
32112else
32113
32114
32115      ac_ext=cpp
32116ac_cpp='$CXXCPP $CPPFLAGS'
32117ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32118ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32119ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32120
32121      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32122/* end confdefs.h.  */
32123#include <math.h>
32124int
32125main ()
32126{
32127 frexpl(0, 0);
32128  ;
32129  return 0;
32130}
32131_ACEOF
32132if ac_fn_cxx_try_compile "$LINENO"; then :
32133  glibcxx_cv_func_frexpl_use=yes
32134else
32135  glibcxx_cv_func_frexpl_use=no
32136fi
32137rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32138      ac_ext=c
32139ac_cpp='$CPP $CPPFLAGS'
32140ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32141ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32142ac_compiler_gnu=$ac_cv_c_compiler_gnu
32143
32144
32145fi
32146
32147  fi
32148  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
32149$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
32150
32151  if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
32152    for ac_func in frexpl
32153do :
32154  ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
32155if test "x$ac_cv_func_frexpl" = x""yes; then :
32156  cat >>confdefs.h <<_ACEOF
32157#define HAVE_FREXPL 1
32158_ACEOF
32159
32160fi
32161done
32162
32163  else
32164
32165  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
32166$as_echo_n "checking for _frexpl declaration... " >&6; }
32167  if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
32168    if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
32169  $as_echo_n "(cached) " >&6
32170else
32171
32172
32173      ac_ext=cpp
32174ac_cpp='$CXXCPP $CPPFLAGS'
32175ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32176ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32177ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32178
32179      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32180/* end confdefs.h.  */
32181#include <math.h>
32182int
32183main ()
32184{
32185 _frexpl(0, 0);
32186  ;
32187  return 0;
32188}
32189_ACEOF
32190if ac_fn_cxx_try_compile "$LINENO"; then :
32191  glibcxx_cv_func__frexpl_use=yes
32192else
32193  glibcxx_cv_func__frexpl_use=no
32194fi
32195rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32196      ac_ext=c
32197ac_cpp='$CPP $CPPFLAGS'
32198ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32199ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32200ac_compiler_gnu=$ac_cv_c_compiler_gnu
32201
32202
32203fi
32204
32205  fi
32206  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
32207$as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
32208
32209    if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
32210      for ac_func in _frexpl
32211do :
32212  ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
32213if test "x$ac_cv_func__frexpl" = x""yes; then :
32214  cat >>confdefs.h <<_ACEOF
32215#define HAVE__FREXPL 1
32216_ACEOF
32217
32218fi
32219done
32220
32221    fi
32222  fi
32223
32224
32225
32226
32227
32228  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
32229$as_echo_n "checking for hypotl declaration... " >&6; }
32230  if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
32231    if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
32232  $as_echo_n "(cached) " >&6
32233else
32234
32235
32236      ac_ext=cpp
32237ac_cpp='$CXXCPP $CPPFLAGS'
32238ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32239ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32240ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32241
32242      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32243/* end confdefs.h.  */
32244#include <math.h>
32245int
32246main ()
32247{
32248 hypotl(0, 0);
32249  ;
32250  return 0;
32251}
32252_ACEOF
32253if ac_fn_cxx_try_compile "$LINENO"; then :
32254  glibcxx_cv_func_hypotl_use=yes
32255else
32256  glibcxx_cv_func_hypotl_use=no
32257fi
32258rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32259      ac_ext=c
32260ac_cpp='$CPP $CPPFLAGS'
32261ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32262ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32263ac_compiler_gnu=$ac_cv_c_compiler_gnu
32264
32265
32266fi
32267
32268  fi
32269  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
32270$as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
32271
32272  if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
32273    for ac_func in hypotl
32274do :
32275  ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
32276if test "x$ac_cv_func_hypotl" = x""yes; then :
32277  cat >>confdefs.h <<_ACEOF
32278#define HAVE_HYPOTL 1
32279_ACEOF
32280
32281fi
32282done
32283
32284  else
32285
32286  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
32287$as_echo_n "checking for _hypotl declaration... " >&6; }
32288  if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
32289    if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
32290  $as_echo_n "(cached) " >&6
32291else
32292
32293
32294      ac_ext=cpp
32295ac_cpp='$CXXCPP $CPPFLAGS'
32296ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32297ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32298ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32299
32300      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32301/* end confdefs.h.  */
32302#include <math.h>
32303int
32304main ()
32305{
32306 _hypotl(0, 0);
32307  ;
32308  return 0;
32309}
32310_ACEOF
32311if ac_fn_cxx_try_compile "$LINENO"; then :
32312  glibcxx_cv_func__hypotl_use=yes
32313else
32314  glibcxx_cv_func__hypotl_use=no
32315fi
32316rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32317      ac_ext=c
32318ac_cpp='$CPP $CPPFLAGS'
32319ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32320ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32321ac_compiler_gnu=$ac_cv_c_compiler_gnu
32322
32323
32324fi
32325
32326  fi
32327  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
32328$as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
32329
32330    if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32331      for ac_func in _hypotl
32332do :
32333  ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
32334if test "x$ac_cv_func__hypotl" = x""yes; then :
32335  cat >>confdefs.h <<_ACEOF
32336#define HAVE__HYPOTL 1
32337_ACEOF
32338
32339fi
32340done
32341
32342    fi
32343  fi
32344
32345
32346
32347
32348
32349  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
32350$as_echo_n "checking for ldexpl declaration... " >&6; }
32351  if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
32352    if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
32353  $as_echo_n "(cached) " >&6
32354else
32355
32356
32357      ac_ext=cpp
32358ac_cpp='$CXXCPP $CPPFLAGS'
32359ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32360ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32361ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32362
32363      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32364/* end confdefs.h.  */
32365#include <math.h>
32366int
32367main ()
32368{
32369 ldexpl(0, 0);
32370  ;
32371  return 0;
32372}
32373_ACEOF
32374if ac_fn_cxx_try_compile "$LINENO"; then :
32375  glibcxx_cv_func_ldexpl_use=yes
32376else
32377  glibcxx_cv_func_ldexpl_use=no
32378fi
32379rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32380      ac_ext=c
32381ac_cpp='$CPP $CPPFLAGS'
32382ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32383ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32384ac_compiler_gnu=$ac_cv_c_compiler_gnu
32385
32386
32387fi
32388
32389  fi
32390  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
32391$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
32392
32393  if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
32394    for ac_func in ldexpl
32395do :
32396  ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
32397if test "x$ac_cv_func_ldexpl" = x""yes; then :
32398  cat >>confdefs.h <<_ACEOF
32399#define HAVE_LDEXPL 1
32400_ACEOF
32401
32402fi
32403done
32404
32405  else
32406
32407  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
32408$as_echo_n "checking for _ldexpl declaration... " >&6; }
32409  if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32410    if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
32411  $as_echo_n "(cached) " >&6
32412else
32413
32414
32415      ac_ext=cpp
32416ac_cpp='$CXXCPP $CPPFLAGS'
32417ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32418ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32419ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32420
32421      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32422/* end confdefs.h.  */
32423#include <math.h>
32424int
32425main ()
32426{
32427 _ldexpl(0, 0);
32428  ;
32429  return 0;
32430}
32431_ACEOF
32432if ac_fn_cxx_try_compile "$LINENO"; then :
32433  glibcxx_cv_func__ldexpl_use=yes
32434else
32435  glibcxx_cv_func__ldexpl_use=no
32436fi
32437rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32438      ac_ext=c
32439ac_cpp='$CPP $CPPFLAGS'
32440ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32441ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32442ac_compiler_gnu=$ac_cv_c_compiler_gnu
32443
32444
32445fi
32446
32447  fi
32448  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
32449$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
32450
32451    if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
32452      for ac_func in _ldexpl
32453do :
32454  ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
32455if test "x$ac_cv_func__ldexpl" = x""yes; then :
32456  cat >>confdefs.h <<_ACEOF
32457#define HAVE__LDEXPL 1
32458_ACEOF
32459
32460fi
32461done
32462
32463    fi
32464  fi
32465
32466
32467
32468
32469
32470  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
32471$as_echo_n "checking for logl declaration... " >&6; }
32472  if test x${glibcxx_cv_func_logl_use+set} != xset; then
32473    if test "${glibcxx_cv_func_logl_use+set}" = set; then :
32474  $as_echo_n "(cached) " >&6
32475else
32476
32477
32478      ac_ext=cpp
32479ac_cpp='$CXXCPP $CPPFLAGS'
32480ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32481ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32482ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32483
32484      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32485/* end confdefs.h.  */
32486#include <math.h>
32487		      #ifdef HAVE_IEEEFP_H
32488		      #include <ieeefp.h>
32489		      #endif
32490
32491int
32492main ()
32493{
32494 logl(0);
32495  ;
32496  return 0;
32497}
32498_ACEOF
32499if ac_fn_cxx_try_compile "$LINENO"; then :
32500  glibcxx_cv_func_logl_use=yes
32501else
32502  glibcxx_cv_func_logl_use=no
32503fi
32504rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32505      ac_ext=c
32506ac_cpp='$CPP $CPPFLAGS'
32507ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32508ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32509ac_compiler_gnu=$ac_cv_c_compiler_gnu
32510
32511
32512fi
32513
32514  fi
32515  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
32516$as_echo "$glibcxx_cv_func_logl_use" >&6; }
32517
32518  if test x$glibcxx_cv_func_logl_use = x"yes"; then
32519    for ac_func in logl
32520do :
32521  ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
32522if test "x$ac_cv_func_logl" = x""yes; then :
32523  cat >>confdefs.h <<_ACEOF
32524#define HAVE_LOGL 1
32525_ACEOF
32526
32527fi
32528done
32529
32530  else
32531
32532  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
32533$as_echo_n "checking for _logl declaration... " >&6; }
32534  if test x${glibcxx_cv_func__logl_use+set} != xset; then
32535    if test "${glibcxx_cv_func__logl_use+set}" = set; then :
32536  $as_echo_n "(cached) " >&6
32537else
32538
32539
32540      ac_ext=cpp
32541ac_cpp='$CXXCPP $CPPFLAGS'
32542ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32543ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32544ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32545
32546      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32547/* end confdefs.h.  */
32548#include <math.h>
32549		      #ifdef HAVE_IEEEFP_H
32550		      #include <ieeefp.h>
32551		      #endif
32552
32553int
32554main ()
32555{
32556 _logl(0);
32557  ;
32558  return 0;
32559}
32560_ACEOF
32561if ac_fn_cxx_try_compile "$LINENO"; then :
32562  glibcxx_cv_func__logl_use=yes
32563else
32564  glibcxx_cv_func__logl_use=no
32565fi
32566rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32567      ac_ext=c
32568ac_cpp='$CPP $CPPFLAGS'
32569ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32570ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32571ac_compiler_gnu=$ac_cv_c_compiler_gnu
32572
32573
32574fi
32575
32576  fi
32577  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
32578$as_echo "$glibcxx_cv_func__logl_use" >&6; }
32579
32580    if test x$glibcxx_cv_func__logl_use = x"yes"; then
32581      for ac_func in _logl
32582do :
32583  ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
32584if test "x$ac_cv_func__logl" = x""yes; then :
32585  cat >>confdefs.h <<_ACEOF
32586#define HAVE__LOGL 1
32587_ACEOF
32588
32589fi
32590done
32591
32592    fi
32593  fi
32594
32595
32596
32597
32598
32599  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
32600$as_echo_n "checking for log10l declaration... " >&6; }
32601  if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32602    if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
32603  $as_echo_n "(cached) " >&6
32604else
32605
32606
32607      ac_ext=cpp
32608ac_cpp='$CXXCPP $CPPFLAGS'
32609ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32610ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32611ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32612
32613      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32614/* end confdefs.h.  */
32615#include <math.h>
32616		      #ifdef HAVE_IEEEFP_H
32617		      #include <ieeefp.h>
32618		      #endif
32619
32620int
32621main ()
32622{
32623 log10l(0);
32624  ;
32625  return 0;
32626}
32627_ACEOF
32628if ac_fn_cxx_try_compile "$LINENO"; then :
32629  glibcxx_cv_func_log10l_use=yes
32630else
32631  glibcxx_cv_func_log10l_use=no
32632fi
32633rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32634      ac_ext=c
32635ac_cpp='$CPP $CPPFLAGS'
32636ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32637ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32638ac_compiler_gnu=$ac_cv_c_compiler_gnu
32639
32640
32641fi
32642
32643  fi
32644  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
32645$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
32646
32647  if test x$glibcxx_cv_func_log10l_use = x"yes"; then
32648    for ac_func in log10l
32649do :
32650  ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
32651if test "x$ac_cv_func_log10l" = x""yes; then :
32652  cat >>confdefs.h <<_ACEOF
32653#define HAVE_LOG10L 1
32654_ACEOF
32655
32656fi
32657done
32658
32659  else
32660
32661  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
32662$as_echo_n "checking for _log10l declaration... " >&6; }
32663  if test x${glibcxx_cv_func__log10l_use+set} != xset; then
32664    if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
32665  $as_echo_n "(cached) " >&6
32666else
32667
32668
32669      ac_ext=cpp
32670ac_cpp='$CXXCPP $CPPFLAGS'
32671ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32672ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32673ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32674
32675      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32676/* end confdefs.h.  */
32677#include <math.h>
32678		      #ifdef HAVE_IEEEFP_H
32679		      #include <ieeefp.h>
32680		      #endif
32681
32682int
32683main ()
32684{
32685 _log10l(0);
32686  ;
32687  return 0;
32688}
32689_ACEOF
32690if ac_fn_cxx_try_compile "$LINENO"; then :
32691  glibcxx_cv_func__log10l_use=yes
32692else
32693  glibcxx_cv_func__log10l_use=no
32694fi
32695rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32696      ac_ext=c
32697ac_cpp='$CPP $CPPFLAGS'
32698ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32699ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32700ac_compiler_gnu=$ac_cv_c_compiler_gnu
32701
32702
32703fi
32704
32705  fi
32706  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
32707$as_echo "$glibcxx_cv_func__log10l_use" >&6; }
32708
32709    if test x$glibcxx_cv_func__log10l_use = x"yes"; then
32710      for ac_func in _log10l
32711do :
32712  ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
32713if test "x$ac_cv_func__log10l" = x""yes; then :
32714  cat >>confdefs.h <<_ACEOF
32715#define HAVE__LOG10L 1
32716_ACEOF
32717
32718fi
32719done
32720
32721    fi
32722  fi
32723
32724
32725
32726
32727
32728  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
32729$as_echo_n "checking for modfl declaration... " >&6; }
32730  if test x${glibcxx_cv_func_modfl_use+set} != xset; then
32731    if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
32732  $as_echo_n "(cached) " >&6
32733else
32734
32735
32736      ac_ext=cpp
32737ac_cpp='$CXXCPP $CPPFLAGS'
32738ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32739ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32740ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32741
32742      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32743/* end confdefs.h.  */
32744#include <math.h>
32745int
32746main ()
32747{
32748 modfl(0, 0);
32749  ;
32750  return 0;
32751}
32752_ACEOF
32753if ac_fn_cxx_try_compile "$LINENO"; then :
32754  glibcxx_cv_func_modfl_use=yes
32755else
32756  glibcxx_cv_func_modfl_use=no
32757fi
32758rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32759      ac_ext=c
32760ac_cpp='$CPP $CPPFLAGS'
32761ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32762ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32763ac_compiler_gnu=$ac_cv_c_compiler_gnu
32764
32765
32766fi
32767
32768  fi
32769  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
32770$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
32771
32772  if test x$glibcxx_cv_func_modfl_use = x"yes"; then
32773    for ac_func in modfl
32774do :
32775  ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
32776if test "x$ac_cv_func_modfl" = x""yes; then :
32777  cat >>confdefs.h <<_ACEOF
32778#define HAVE_MODFL 1
32779_ACEOF
32780
32781fi
32782done
32783
32784  else
32785
32786  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
32787$as_echo_n "checking for _modfl declaration... " >&6; }
32788  if test x${glibcxx_cv_func__modfl_use+set} != xset; then
32789    if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
32790  $as_echo_n "(cached) " >&6
32791else
32792
32793
32794      ac_ext=cpp
32795ac_cpp='$CXXCPP $CPPFLAGS'
32796ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32797ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32798ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32799
32800      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32801/* end confdefs.h.  */
32802#include <math.h>
32803int
32804main ()
32805{
32806 _modfl(0, 0);
32807  ;
32808  return 0;
32809}
32810_ACEOF
32811if ac_fn_cxx_try_compile "$LINENO"; then :
32812  glibcxx_cv_func__modfl_use=yes
32813else
32814  glibcxx_cv_func__modfl_use=no
32815fi
32816rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32817      ac_ext=c
32818ac_cpp='$CPP $CPPFLAGS'
32819ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32820ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32821ac_compiler_gnu=$ac_cv_c_compiler_gnu
32822
32823
32824fi
32825
32826  fi
32827  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
32828$as_echo "$glibcxx_cv_func__modfl_use" >&6; }
32829
32830    if test x$glibcxx_cv_func__modfl_use = x"yes"; then
32831      for ac_func in _modfl
32832do :
32833  ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
32834if test "x$ac_cv_func__modfl" = x""yes; then :
32835  cat >>confdefs.h <<_ACEOF
32836#define HAVE__MODFL 1
32837_ACEOF
32838
32839fi
32840done
32841
32842    fi
32843  fi
32844
32845
32846
32847
32848
32849  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
32850$as_echo_n "checking for powl declaration... " >&6; }
32851  if test x${glibcxx_cv_func_powl_use+set} != xset; then
32852    if test "${glibcxx_cv_func_powl_use+set}" = set; then :
32853  $as_echo_n "(cached) " >&6
32854else
32855
32856
32857      ac_ext=cpp
32858ac_cpp='$CXXCPP $CPPFLAGS'
32859ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32860ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32861ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32862
32863      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32864/* end confdefs.h.  */
32865#include <math.h>
32866int
32867main ()
32868{
32869 powl(0, 0);
32870  ;
32871  return 0;
32872}
32873_ACEOF
32874if ac_fn_cxx_try_compile "$LINENO"; then :
32875  glibcxx_cv_func_powl_use=yes
32876else
32877  glibcxx_cv_func_powl_use=no
32878fi
32879rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32880      ac_ext=c
32881ac_cpp='$CPP $CPPFLAGS'
32882ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32883ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32884ac_compiler_gnu=$ac_cv_c_compiler_gnu
32885
32886
32887fi
32888
32889  fi
32890  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
32891$as_echo "$glibcxx_cv_func_powl_use" >&6; }
32892
32893  if test x$glibcxx_cv_func_powl_use = x"yes"; then
32894    for ac_func in powl
32895do :
32896  ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
32897if test "x$ac_cv_func_powl" = x""yes; then :
32898  cat >>confdefs.h <<_ACEOF
32899#define HAVE_POWL 1
32900_ACEOF
32901
32902fi
32903done
32904
32905  else
32906
32907  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
32908$as_echo_n "checking for _powl declaration... " >&6; }
32909  if test x${glibcxx_cv_func__powl_use+set} != xset; then
32910    if test "${glibcxx_cv_func__powl_use+set}" = set; then :
32911  $as_echo_n "(cached) " >&6
32912else
32913
32914
32915      ac_ext=cpp
32916ac_cpp='$CXXCPP $CPPFLAGS'
32917ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32918ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32919ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32920
32921      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32922/* end confdefs.h.  */
32923#include <math.h>
32924int
32925main ()
32926{
32927 _powl(0, 0);
32928  ;
32929  return 0;
32930}
32931_ACEOF
32932if ac_fn_cxx_try_compile "$LINENO"; then :
32933  glibcxx_cv_func__powl_use=yes
32934else
32935  glibcxx_cv_func__powl_use=no
32936fi
32937rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32938      ac_ext=c
32939ac_cpp='$CPP $CPPFLAGS'
32940ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32941ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32942ac_compiler_gnu=$ac_cv_c_compiler_gnu
32943
32944
32945fi
32946
32947  fi
32948  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
32949$as_echo "$glibcxx_cv_func__powl_use" >&6; }
32950
32951    if test x$glibcxx_cv_func__powl_use = x"yes"; then
32952      for ac_func in _powl
32953do :
32954  ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
32955if test "x$ac_cv_func__powl" = x""yes; then :
32956  cat >>confdefs.h <<_ACEOF
32957#define HAVE__POWL 1
32958_ACEOF
32959
32960fi
32961done
32962
32963    fi
32964  fi
32965
32966
32967
32968
32969
32970  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
32971$as_echo_n "checking for sqrtl declaration... " >&6; }
32972  if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
32973    if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
32974  $as_echo_n "(cached) " >&6
32975else
32976
32977
32978      ac_ext=cpp
32979ac_cpp='$CXXCPP $CPPFLAGS'
32980ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32981ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32982ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32983
32984      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32985/* end confdefs.h.  */
32986#include <math.h>
32987		      #ifdef HAVE_IEEEFP_H
32988		      #include <ieeefp.h>
32989		      #endif
32990
32991int
32992main ()
32993{
32994 sqrtl(0);
32995  ;
32996  return 0;
32997}
32998_ACEOF
32999if ac_fn_cxx_try_compile "$LINENO"; then :
33000  glibcxx_cv_func_sqrtl_use=yes
33001else
33002  glibcxx_cv_func_sqrtl_use=no
33003fi
33004rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33005      ac_ext=c
33006ac_cpp='$CPP $CPPFLAGS'
33007ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33008ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33009ac_compiler_gnu=$ac_cv_c_compiler_gnu
33010
33011
33012fi
33013
33014  fi
33015  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
33016$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
33017
33018  if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
33019    for ac_func in sqrtl
33020do :
33021  ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
33022if test "x$ac_cv_func_sqrtl" = x""yes; then :
33023  cat >>confdefs.h <<_ACEOF
33024#define HAVE_SQRTL 1
33025_ACEOF
33026
33027fi
33028done
33029
33030  else
33031
33032  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
33033$as_echo_n "checking for _sqrtl declaration... " >&6; }
33034  if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
33035    if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
33036  $as_echo_n "(cached) " >&6
33037else
33038
33039
33040      ac_ext=cpp
33041ac_cpp='$CXXCPP $CPPFLAGS'
33042ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33043ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33044ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33045
33046      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33047/* end confdefs.h.  */
33048#include <math.h>
33049		      #ifdef HAVE_IEEEFP_H
33050		      #include <ieeefp.h>
33051		      #endif
33052
33053int
33054main ()
33055{
33056 _sqrtl(0);
33057  ;
33058  return 0;
33059}
33060_ACEOF
33061if ac_fn_cxx_try_compile "$LINENO"; then :
33062  glibcxx_cv_func__sqrtl_use=yes
33063else
33064  glibcxx_cv_func__sqrtl_use=no
33065fi
33066rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33067      ac_ext=c
33068ac_cpp='$CPP $CPPFLAGS'
33069ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33070ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33071ac_compiler_gnu=$ac_cv_c_compiler_gnu
33072
33073
33074fi
33075
33076  fi
33077  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
33078$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
33079
33080    if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
33081      for ac_func in _sqrtl
33082do :
33083  ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
33084if test "x$ac_cv_func__sqrtl" = x""yes; then :
33085  cat >>confdefs.h <<_ACEOF
33086#define HAVE__SQRTL 1
33087_ACEOF
33088
33089fi
33090done
33091
33092    fi
33093  fi
33094
33095
33096
33097
33098
33099  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
33100$as_echo_n "checking for sincosl declaration... " >&6; }
33101  if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
33102    if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
33103  $as_echo_n "(cached) " >&6
33104else
33105
33106
33107      ac_ext=cpp
33108ac_cpp='$CXXCPP $CPPFLAGS'
33109ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33110ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33111ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33112
33113      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33114/* end confdefs.h.  */
33115#include <math.h>
33116int
33117main ()
33118{
33119 sincosl(0, 0, 0);
33120  ;
33121  return 0;
33122}
33123_ACEOF
33124if ac_fn_cxx_try_compile "$LINENO"; then :
33125  glibcxx_cv_func_sincosl_use=yes
33126else
33127  glibcxx_cv_func_sincosl_use=no
33128fi
33129rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33130      ac_ext=c
33131ac_cpp='$CPP $CPPFLAGS'
33132ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33133ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33134ac_compiler_gnu=$ac_cv_c_compiler_gnu
33135
33136
33137fi
33138
33139  fi
33140  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
33141$as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
33142
33143  if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
33144    for ac_func in sincosl
33145do :
33146  ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
33147if test "x$ac_cv_func_sincosl" = x""yes; then :
33148  cat >>confdefs.h <<_ACEOF
33149#define HAVE_SINCOSL 1
33150_ACEOF
33151
33152fi
33153done
33154
33155  else
33156
33157  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
33158$as_echo_n "checking for _sincosl declaration... " >&6; }
33159  if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
33160    if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
33161  $as_echo_n "(cached) " >&6
33162else
33163
33164
33165      ac_ext=cpp
33166ac_cpp='$CXXCPP $CPPFLAGS'
33167ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33168ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33169ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33170
33171      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33172/* end confdefs.h.  */
33173#include <math.h>
33174int
33175main ()
33176{
33177 _sincosl(0, 0, 0);
33178  ;
33179  return 0;
33180}
33181_ACEOF
33182if ac_fn_cxx_try_compile "$LINENO"; then :
33183  glibcxx_cv_func__sincosl_use=yes
33184else
33185  glibcxx_cv_func__sincosl_use=no
33186fi
33187rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33188      ac_ext=c
33189ac_cpp='$CPP $CPPFLAGS'
33190ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33191ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33192ac_compiler_gnu=$ac_cv_c_compiler_gnu
33193
33194
33195fi
33196
33197  fi
33198  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
33199$as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
33200
33201    if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
33202      for ac_func in _sincosl
33203do :
33204  ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
33205if test "x$ac_cv_func__sincosl" = x""yes; then :
33206  cat >>confdefs.h <<_ACEOF
33207#define HAVE__SINCOSL 1
33208_ACEOF
33209
33210fi
33211done
33212
33213    fi
33214  fi
33215
33216
33217
33218
33219
33220  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
33221$as_echo_n "checking for finitel declaration... " >&6; }
33222  if test x${glibcxx_cv_func_finitel_use+set} != xset; then
33223    if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
33224  $as_echo_n "(cached) " >&6
33225else
33226
33227
33228      ac_ext=cpp
33229ac_cpp='$CXXCPP $CPPFLAGS'
33230ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33231ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33232ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33233
33234      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33235/* end confdefs.h.  */
33236#include <math.h>
33237		      #ifdef HAVE_IEEEFP_H
33238		      #include <ieeefp.h>
33239		      #endif
33240
33241int
33242main ()
33243{
33244 finitel(0);
33245  ;
33246  return 0;
33247}
33248_ACEOF
33249if ac_fn_cxx_try_compile "$LINENO"; then :
33250  glibcxx_cv_func_finitel_use=yes
33251else
33252  glibcxx_cv_func_finitel_use=no
33253fi
33254rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33255      ac_ext=c
33256ac_cpp='$CPP $CPPFLAGS'
33257ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33258ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33259ac_compiler_gnu=$ac_cv_c_compiler_gnu
33260
33261
33262fi
33263
33264  fi
33265  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
33266$as_echo "$glibcxx_cv_func_finitel_use" >&6; }
33267
33268  if test x$glibcxx_cv_func_finitel_use = x"yes"; then
33269    for ac_func in finitel
33270do :
33271  ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
33272if test "x$ac_cv_func_finitel" = x""yes; then :
33273  cat >>confdefs.h <<_ACEOF
33274#define HAVE_FINITEL 1
33275_ACEOF
33276
33277fi
33278done
33279
33280  else
33281
33282  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
33283$as_echo_n "checking for _finitel declaration... " >&6; }
33284  if test x${glibcxx_cv_func__finitel_use+set} != xset; then
33285    if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
33286  $as_echo_n "(cached) " >&6
33287else
33288
33289
33290      ac_ext=cpp
33291ac_cpp='$CXXCPP $CPPFLAGS'
33292ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33293ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33294ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33295
33296      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33297/* end confdefs.h.  */
33298#include <math.h>
33299		      #ifdef HAVE_IEEEFP_H
33300		      #include <ieeefp.h>
33301		      #endif
33302
33303int
33304main ()
33305{
33306 _finitel(0);
33307  ;
33308  return 0;
33309}
33310_ACEOF
33311if ac_fn_cxx_try_compile "$LINENO"; then :
33312  glibcxx_cv_func__finitel_use=yes
33313else
33314  glibcxx_cv_func__finitel_use=no
33315fi
33316rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33317      ac_ext=c
33318ac_cpp='$CPP $CPPFLAGS'
33319ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33320ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33321ac_compiler_gnu=$ac_cv_c_compiler_gnu
33322
33323
33324fi
33325
33326  fi
33327  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
33328$as_echo "$glibcxx_cv_func__finitel_use" >&6; }
33329
33330    if test x$glibcxx_cv_func__finitel_use = x"yes"; then
33331      for ac_func in _finitel
33332do :
33333  ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
33334if test "x$ac_cv_func__finitel" = x""yes; then :
33335  cat >>confdefs.h <<_ACEOF
33336#define HAVE__FINITEL 1
33337_ACEOF
33338
33339fi
33340done
33341
33342    fi
33343  fi
33344
33345
33346
33347
33348  LIBS="$ac_save_LIBS"
33349  CXXFLAGS="$ac_save_CXXFLAGS"
33350
33351
33352  ac_test_CXXFLAGS="${CXXFLAGS+set}"
33353  ac_save_CXXFLAGS="$CXXFLAGS"
33354  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33355
33356
33357  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
33358$as_echo_n "checking for at_quick_exit declaration... " >&6; }
33359  if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
33360    if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
33361  $as_echo_n "(cached) " >&6
33362else
33363
33364
33365      ac_ext=cpp
33366ac_cpp='$CXXCPP $CPPFLAGS'
33367ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33368ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33369ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33370
33371      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33372/* end confdefs.h.  */
33373#include <stdlib.h>
33374int
33375main ()
33376{
33377 at_quick_exit(0);
33378  ;
33379  return 0;
33380}
33381_ACEOF
33382if ac_fn_cxx_try_compile "$LINENO"; then :
33383  glibcxx_cv_func_at_quick_exit_use=yes
33384else
33385  glibcxx_cv_func_at_quick_exit_use=no
33386fi
33387rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33388      ac_ext=c
33389ac_cpp='$CPP $CPPFLAGS'
33390ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33391ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33392ac_compiler_gnu=$ac_cv_c_compiler_gnu
33393
33394
33395fi
33396
33397  fi
33398  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
33399$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
33400  if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
33401    for ac_func in at_quick_exit
33402do :
33403  ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
33404if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
33405  cat >>confdefs.h <<_ACEOF
33406#define HAVE_AT_QUICK_EXIT 1
33407_ACEOF
33408
33409fi
33410done
33411
33412  fi
33413
33414
33415  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
33416$as_echo_n "checking for quick_exit declaration... " >&6; }
33417  if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
33418    if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
33419  $as_echo_n "(cached) " >&6
33420else
33421
33422
33423      ac_ext=cpp
33424ac_cpp='$CXXCPP $CPPFLAGS'
33425ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33426ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33427ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33428
33429      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33430/* end confdefs.h.  */
33431#include <stdlib.h>
33432int
33433main ()
33434{
33435 quick_exit(0);
33436  ;
33437  return 0;
33438}
33439_ACEOF
33440if ac_fn_cxx_try_compile "$LINENO"; then :
33441  glibcxx_cv_func_quick_exit_use=yes
33442else
33443  glibcxx_cv_func_quick_exit_use=no
33444fi
33445rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33446      ac_ext=c
33447ac_cpp='$CPP $CPPFLAGS'
33448ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33449ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33450ac_compiler_gnu=$ac_cv_c_compiler_gnu
33451
33452
33453fi
33454
33455  fi
33456  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
33457$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
33458  if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
33459    for ac_func in quick_exit
33460do :
33461  ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
33462if test "x$ac_cv_func_quick_exit" = x""yes; then :
33463  cat >>confdefs.h <<_ACEOF
33464#define HAVE_QUICK_EXIT 1
33465_ACEOF
33466
33467fi
33468done
33469
33470  fi
33471
33472
33473  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
33474$as_echo_n "checking for strtold declaration... " >&6; }
33475  if test x${glibcxx_cv_func_strtold_use+set} != xset; then
33476    if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
33477  $as_echo_n "(cached) " >&6
33478else
33479
33480
33481      ac_ext=cpp
33482ac_cpp='$CXXCPP $CPPFLAGS'
33483ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33484ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33485ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33486
33487      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33488/* end confdefs.h.  */
33489#include <stdlib.h>
33490int
33491main ()
33492{
33493 strtold(0, 0);
33494  ;
33495  return 0;
33496}
33497_ACEOF
33498if ac_fn_cxx_try_compile "$LINENO"; then :
33499  glibcxx_cv_func_strtold_use=yes
33500else
33501  glibcxx_cv_func_strtold_use=no
33502fi
33503rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33504      ac_ext=c
33505ac_cpp='$CPP $CPPFLAGS'
33506ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33507ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33508ac_compiler_gnu=$ac_cv_c_compiler_gnu
33509
33510
33511fi
33512
33513  fi
33514  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
33515$as_echo "$glibcxx_cv_func_strtold_use" >&6; }
33516  if test x$glibcxx_cv_func_strtold_use = x"yes"; then
33517    for ac_func in strtold
33518do :
33519  ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
33520if test "x$ac_cv_func_strtold" = x""yes; then :
33521  cat >>confdefs.h <<_ACEOF
33522#define HAVE_STRTOLD 1
33523_ACEOF
33524
33525fi
33526done
33527
33528  fi
33529
33530
33531
33532
33533  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
33534$as_echo_n "checking for strtof declaration... " >&6; }
33535  if test x${glibcxx_cv_func_strtof_use+set} != xset; then
33536    if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
33537  $as_echo_n "(cached) " >&6
33538else
33539
33540
33541      ac_ext=cpp
33542ac_cpp='$CXXCPP $CPPFLAGS'
33543ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33544ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33545ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33546
33547      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33548/* end confdefs.h.  */
33549#include <stdlib.h>
33550int
33551main ()
33552{
33553 strtof(0, 0);
33554  ;
33555  return 0;
33556}
33557_ACEOF
33558if ac_fn_cxx_try_compile "$LINENO"; then :
33559  glibcxx_cv_func_strtof_use=yes
33560else
33561  glibcxx_cv_func_strtof_use=no
33562fi
33563rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33564      ac_ext=c
33565ac_cpp='$CPP $CPPFLAGS'
33566ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33567ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33568ac_compiler_gnu=$ac_cv_c_compiler_gnu
33569
33570
33571fi
33572
33573  fi
33574  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
33575$as_echo "$glibcxx_cv_func_strtof_use" >&6; }
33576  if test x$glibcxx_cv_func_strtof_use = x"yes"; then
33577    for ac_func in strtof
33578do :
33579  ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
33580if test "x$ac_cv_func_strtof" = x""yes; then :
33581  cat >>confdefs.h <<_ACEOF
33582#define HAVE_STRTOF 1
33583_ACEOF
33584
33585fi
33586done
33587
33588  fi
33589
33590
33591
33592
33593  CXXFLAGS="$ac_save_CXXFLAGS"
33594
33595
33596    $as_echo "#define HAVE_FINITE 1" >>confdefs.h
33597
33598    $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
33599
33600    $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
33601
33602    $as_echo "#define HAVE_ISINF 1" >>confdefs.h
33603
33604
33605    $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
33606
33607    $as_echo "#define HAVE_MODF 1" >>confdefs.h
33608
33609    $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
33610
33611    ;;
33612
33613  *-aix*)
33614
33615  # If we're not using GNU ld, then there's no point in even trying these
33616  # tests.  Check for that first.  We should have already tested for gld
33617  # by now (in libtool), but require it now just to be safe...
33618  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
33619  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
33620
33621
33622
33623  # The name set by libtool depends on the version of libtool.  Shame on us
33624  # for depending on an impl detail, but c'est la vie.  Older versions used
33625  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
33626  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
33627  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
33628  # set (hence we're using an older libtool), then set it.
33629  if test x${with_gnu_ld+set} != xset; then
33630    if test x${ac_cv_prog_gnu_ld+set} != xset; then
33631      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
33632      with_gnu_ld=no
33633    else
33634      with_gnu_ld=$ac_cv_prog_gnu_ld
33635    fi
33636  fi
33637
33638  # Start by getting the version number.  I think the libtool test already
33639  # does some of this, but throws away the result.
33640  glibcxx_ld_is_gold=no
33641  if test x"$with_gnu_ld" = x"yes"; then
33642    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
33643$as_echo_n "checking for ld version... " >&6; }
33644
33645    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
33646      glibcxx_ld_is_gold=yes
33647    fi
33648    ldver=`$LD --version 2>/dev/null |
33649	   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'`
33650
33651    glibcxx_gnu_ld_version=`echo $ldver | \
33652	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
33653    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
33654$as_echo "$glibcxx_gnu_ld_version" >&6; }
33655  fi
33656
33657  # Set --gc-sections.
33658  glibcxx_have_gc_sections=no
33659  if test "$glibcxx_ld_is_gold" = "yes"; then
33660    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
33661      glibcxx_have_gc_sections=yes
33662    fi
33663  else
33664    glibcxx_gcsections_min_ld=21602
33665    if test x"$with_gnu_ld" = x"yes" &&
33666	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
33667      glibcxx_have_gc_sections=yes
33668    fi
33669  fi
33670  if test "$glibcxx_have_gc_sections" = "yes"; then
33671    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
33672    # NB: This flag only works reliably after 2.16.1. Configure tests
33673    # for this are difficult, so hard wire a value that should work.
33674
33675    ac_test_CFLAGS="${CFLAGS+set}"
33676    ac_save_CFLAGS="$CFLAGS"
33677    CFLAGS='-Wl,--gc-sections'
33678
33679    # Check for -Wl,--gc-sections
33680    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
33681$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
33682    if test x$gcc_no_link = xyes; then
33683  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33684fi
33685cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33686/* end confdefs.h.  */
33687 int one(void) { return 1; }
33688     int two(void) { return 2; }
33689
33690int
33691main ()
33692{
33693 two();
33694  ;
33695  return 0;
33696}
33697_ACEOF
33698if ac_fn_c_try_link "$LINENO"; then :
33699  ac_gcsections=yes
33700else
33701  ac_gcsections=no
33702fi
33703rm -f core conftest.err conftest.$ac_objext \
33704    conftest$ac_exeext conftest.$ac_ext
33705    if test "$ac_gcsections" = "yes"; then
33706      rm -f conftest.c
33707      touch conftest.c
33708      if $CC -c conftest.c; then
33709	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
33710	   grep "Warning: gc-sections option ignored" > /dev/null; then
33711	  ac_gcsections=no
33712	fi
33713      fi
33714      rm -f conftest.c conftest.o conftest
33715    fi
33716    if test "$ac_gcsections" = "yes"; then
33717      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
33718    fi
33719    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
33720$as_echo "$ac_gcsections" >&6; }
33721
33722    if test "$ac_test_CFLAGS" = set; then
33723      CFLAGS="$ac_save_CFLAGS"
33724    else
33725      # this is the suspicious part
33726      CFLAGS=''
33727    fi
33728  fi
33729
33730  # Set -z,relro.
33731  # Note this is only for shared objects.
33732  ac_ld_relro=no
33733  if test x"$with_gnu_ld" = x"yes"; then
33734    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
33735$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
33736    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
33737    if test -n "$cxx_z_relo"; then
33738      OPT_LDFLAGS="-Wl,-z,relro"
33739      ac_ld_relro=yes
33740    fi
33741    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
33742$as_echo "$ac_ld_relro" >&6; }
33743  fi
33744
33745  # Set linker optimization flags.
33746  if test x"$with_gnu_ld" = x"yes"; then
33747    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
33748  fi
33749
33750
33751
33752
33753
33754  ac_test_CXXFLAGS="${CXXFLAGS+set}"
33755  ac_save_CXXFLAGS="$CXXFLAGS"
33756  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33757
33758    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
33759$as_echo_n "checking for sin in -lm... " >&6; }
33760if test "${ac_cv_lib_m_sin+set}" = set; then :
33761  $as_echo_n "(cached) " >&6
33762else
33763  ac_check_lib_save_LIBS=$LIBS
33764LIBS="-lm  $LIBS"
33765if test x$gcc_no_link = xyes; then
33766  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33767fi
33768cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33769/* end confdefs.h.  */
33770
33771/* Override any GCC internal prototype to avoid an error.
33772   Use char because int might match the return type of a GCC
33773   builtin and then its argument prototype would still apply.  */
33774#ifdef __cplusplus
33775extern "C"
33776#endif
33777char sin ();
33778int
33779main ()
33780{
33781return sin ();
33782  ;
33783  return 0;
33784}
33785_ACEOF
33786if ac_fn_c_try_link "$LINENO"; then :
33787  ac_cv_lib_m_sin=yes
33788else
33789  ac_cv_lib_m_sin=no
33790fi
33791rm -f core conftest.err conftest.$ac_objext \
33792    conftest$ac_exeext conftest.$ac_ext
33793LIBS=$ac_check_lib_save_LIBS
33794fi
33795{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
33796$as_echo "$ac_cv_lib_m_sin" >&6; }
33797if test "x$ac_cv_lib_m_sin" = x""yes; then :
33798  libm="-lm"
33799fi
33800
33801  ac_save_LIBS="$LIBS"
33802  LIBS="$LIBS $libm"
33803
33804
33805
33806  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
33807$as_echo_n "checking for isinf declaration... " >&6; }
33808  if test x${glibcxx_cv_func_isinf_use+set} != xset; then
33809    if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
33810  $as_echo_n "(cached) " >&6
33811else
33812
33813
33814      ac_ext=cpp
33815ac_cpp='$CXXCPP $CPPFLAGS'
33816ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33817ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33818ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33819
33820      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33821/* end confdefs.h.  */
33822#include <math.h>
33823		      #ifdef HAVE_IEEEFP_H
33824		      #include <ieeefp.h>
33825		      #endif
33826
33827int
33828main ()
33829{
33830 isinf(0);
33831  ;
33832  return 0;
33833}
33834_ACEOF
33835if ac_fn_cxx_try_compile "$LINENO"; then :
33836  glibcxx_cv_func_isinf_use=yes
33837else
33838  glibcxx_cv_func_isinf_use=no
33839fi
33840rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33841      ac_ext=c
33842ac_cpp='$CPP $CPPFLAGS'
33843ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33844ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33845ac_compiler_gnu=$ac_cv_c_compiler_gnu
33846
33847
33848fi
33849
33850  fi
33851  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
33852$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
33853
33854  if test x$glibcxx_cv_func_isinf_use = x"yes"; then
33855    for ac_func in isinf
33856do :
33857  ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
33858if test "x$ac_cv_func_isinf" = x""yes; then :
33859  cat >>confdefs.h <<_ACEOF
33860#define HAVE_ISINF 1
33861_ACEOF
33862
33863fi
33864done
33865
33866  else
33867
33868  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
33869$as_echo_n "checking for _isinf declaration... " >&6; }
33870  if test x${glibcxx_cv_func__isinf_use+set} != xset; then
33871    if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
33872  $as_echo_n "(cached) " >&6
33873else
33874
33875
33876      ac_ext=cpp
33877ac_cpp='$CXXCPP $CPPFLAGS'
33878ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33879ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33880ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33881
33882      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33883/* end confdefs.h.  */
33884#include <math.h>
33885		      #ifdef HAVE_IEEEFP_H
33886		      #include <ieeefp.h>
33887		      #endif
33888
33889int
33890main ()
33891{
33892 _isinf(0);
33893  ;
33894  return 0;
33895}
33896_ACEOF
33897if ac_fn_cxx_try_compile "$LINENO"; then :
33898  glibcxx_cv_func__isinf_use=yes
33899else
33900  glibcxx_cv_func__isinf_use=no
33901fi
33902rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33903      ac_ext=c
33904ac_cpp='$CPP $CPPFLAGS'
33905ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33906ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33907ac_compiler_gnu=$ac_cv_c_compiler_gnu
33908
33909
33910fi
33911
33912  fi
33913  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
33914$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
33915
33916    if test x$glibcxx_cv_func__isinf_use = x"yes"; then
33917      for ac_func in _isinf
33918do :
33919  ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
33920if test "x$ac_cv_func__isinf" = x""yes; then :
33921  cat >>confdefs.h <<_ACEOF
33922#define HAVE__ISINF 1
33923_ACEOF
33924
33925fi
33926done
33927
33928    fi
33929  fi
33930
33931
33932
33933
33934
33935  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
33936$as_echo_n "checking for isnan declaration... " >&6; }
33937  if test x${glibcxx_cv_func_isnan_use+set} != xset; then
33938    if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
33939  $as_echo_n "(cached) " >&6
33940else
33941
33942
33943      ac_ext=cpp
33944ac_cpp='$CXXCPP $CPPFLAGS'
33945ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33946ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33947ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33948
33949      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33950/* end confdefs.h.  */
33951#include <math.h>
33952		      #ifdef HAVE_IEEEFP_H
33953		      #include <ieeefp.h>
33954		      #endif
33955
33956int
33957main ()
33958{
33959 isnan(0);
33960  ;
33961  return 0;
33962}
33963_ACEOF
33964if ac_fn_cxx_try_compile "$LINENO"; then :
33965  glibcxx_cv_func_isnan_use=yes
33966else
33967  glibcxx_cv_func_isnan_use=no
33968fi
33969rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33970      ac_ext=c
33971ac_cpp='$CPP $CPPFLAGS'
33972ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33973ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33974ac_compiler_gnu=$ac_cv_c_compiler_gnu
33975
33976
33977fi
33978
33979  fi
33980  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
33981$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
33982
33983  if test x$glibcxx_cv_func_isnan_use = x"yes"; then
33984    for ac_func in isnan
33985do :
33986  ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
33987if test "x$ac_cv_func_isnan" = x""yes; then :
33988  cat >>confdefs.h <<_ACEOF
33989#define HAVE_ISNAN 1
33990_ACEOF
33991
33992fi
33993done
33994
33995  else
33996
33997  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
33998$as_echo_n "checking for _isnan declaration... " >&6; }
33999  if test x${glibcxx_cv_func__isnan_use+set} != xset; then
34000    if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
34001  $as_echo_n "(cached) " >&6
34002else
34003
34004
34005      ac_ext=cpp
34006ac_cpp='$CXXCPP $CPPFLAGS'
34007ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34008ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34009ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34010
34011      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34012/* end confdefs.h.  */
34013#include <math.h>
34014		      #ifdef HAVE_IEEEFP_H
34015		      #include <ieeefp.h>
34016		      #endif
34017
34018int
34019main ()
34020{
34021 _isnan(0);
34022  ;
34023  return 0;
34024}
34025_ACEOF
34026if ac_fn_cxx_try_compile "$LINENO"; then :
34027  glibcxx_cv_func__isnan_use=yes
34028else
34029  glibcxx_cv_func__isnan_use=no
34030fi
34031rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34032      ac_ext=c
34033ac_cpp='$CPP $CPPFLAGS'
34034ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34035ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34036ac_compiler_gnu=$ac_cv_c_compiler_gnu
34037
34038
34039fi
34040
34041  fi
34042  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
34043$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
34044
34045    if test x$glibcxx_cv_func__isnan_use = x"yes"; then
34046      for ac_func in _isnan
34047do :
34048  ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
34049if test "x$ac_cv_func__isnan" = x""yes; then :
34050  cat >>confdefs.h <<_ACEOF
34051#define HAVE__ISNAN 1
34052_ACEOF
34053
34054fi
34055done
34056
34057    fi
34058  fi
34059
34060
34061
34062
34063
34064  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
34065$as_echo_n "checking for finite declaration... " >&6; }
34066  if test x${glibcxx_cv_func_finite_use+set} != xset; then
34067    if test "${glibcxx_cv_func_finite_use+set}" = set; then :
34068  $as_echo_n "(cached) " >&6
34069else
34070
34071
34072      ac_ext=cpp
34073ac_cpp='$CXXCPP $CPPFLAGS'
34074ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34075ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34076ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34077
34078      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34079/* end confdefs.h.  */
34080#include <math.h>
34081		      #ifdef HAVE_IEEEFP_H
34082		      #include <ieeefp.h>
34083		      #endif
34084
34085int
34086main ()
34087{
34088 finite(0);
34089  ;
34090  return 0;
34091}
34092_ACEOF
34093if ac_fn_cxx_try_compile "$LINENO"; then :
34094  glibcxx_cv_func_finite_use=yes
34095else
34096  glibcxx_cv_func_finite_use=no
34097fi
34098rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34099      ac_ext=c
34100ac_cpp='$CPP $CPPFLAGS'
34101ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34102ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34103ac_compiler_gnu=$ac_cv_c_compiler_gnu
34104
34105
34106fi
34107
34108  fi
34109  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
34110$as_echo "$glibcxx_cv_func_finite_use" >&6; }
34111
34112  if test x$glibcxx_cv_func_finite_use = x"yes"; then
34113    for ac_func in finite
34114do :
34115  ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
34116if test "x$ac_cv_func_finite" = x""yes; then :
34117  cat >>confdefs.h <<_ACEOF
34118#define HAVE_FINITE 1
34119_ACEOF
34120
34121fi
34122done
34123
34124  else
34125
34126  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
34127$as_echo_n "checking for _finite declaration... " >&6; }
34128  if test x${glibcxx_cv_func__finite_use+set} != xset; then
34129    if test "${glibcxx_cv_func__finite_use+set}" = set; then :
34130  $as_echo_n "(cached) " >&6
34131else
34132
34133
34134      ac_ext=cpp
34135ac_cpp='$CXXCPP $CPPFLAGS'
34136ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34137ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34138ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34139
34140      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34141/* end confdefs.h.  */
34142#include <math.h>
34143		      #ifdef HAVE_IEEEFP_H
34144		      #include <ieeefp.h>
34145		      #endif
34146
34147int
34148main ()
34149{
34150 _finite(0);
34151  ;
34152  return 0;
34153}
34154_ACEOF
34155if ac_fn_cxx_try_compile "$LINENO"; then :
34156  glibcxx_cv_func__finite_use=yes
34157else
34158  glibcxx_cv_func__finite_use=no
34159fi
34160rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34161      ac_ext=c
34162ac_cpp='$CPP $CPPFLAGS'
34163ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34164ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34165ac_compiler_gnu=$ac_cv_c_compiler_gnu
34166
34167
34168fi
34169
34170  fi
34171  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
34172$as_echo "$glibcxx_cv_func__finite_use" >&6; }
34173
34174    if test x$glibcxx_cv_func__finite_use = x"yes"; then
34175      for ac_func in _finite
34176do :
34177  ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
34178if test "x$ac_cv_func__finite" = x""yes; then :
34179  cat >>confdefs.h <<_ACEOF
34180#define HAVE__FINITE 1
34181_ACEOF
34182
34183fi
34184done
34185
34186    fi
34187  fi
34188
34189
34190
34191
34192
34193  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
34194$as_echo_n "checking for sincos declaration... " >&6; }
34195  if test x${glibcxx_cv_func_sincos_use+set} != xset; then
34196    if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
34197  $as_echo_n "(cached) " >&6
34198else
34199
34200
34201      ac_ext=cpp
34202ac_cpp='$CXXCPP $CPPFLAGS'
34203ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34204ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34205ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34206
34207      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34208/* end confdefs.h.  */
34209#include <math.h>
34210int
34211main ()
34212{
34213 sincos(0, 0, 0);
34214  ;
34215  return 0;
34216}
34217_ACEOF
34218if ac_fn_cxx_try_compile "$LINENO"; then :
34219  glibcxx_cv_func_sincos_use=yes
34220else
34221  glibcxx_cv_func_sincos_use=no
34222fi
34223rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34224      ac_ext=c
34225ac_cpp='$CPP $CPPFLAGS'
34226ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34227ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34228ac_compiler_gnu=$ac_cv_c_compiler_gnu
34229
34230
34231fi
34232
34233  fi
34234  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
34235$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
34236
34237  if test x$glibcxx_cv_func_sincos_use = x"yes"; then
34238    for ac_func in sincos
34239do :
34240  ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
34241if test "x$ac_cv_func_sincos" = x""yes; then :
34242  cat >>confdefs.h <<_ACEOF
34243#define HAVE_SINCOS 1
34244_ACEOF
34245
34246fi
34247done
34248
34249  else
34250
34251  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
34252$as_echo_n "checking for _sincos declaration... " >&6; }
34253  if test x${glibcxx_cv_func__sincos_use+set} != xset; then
34254    if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
34255  $as_echo_n "(cached) " >&6
34256else
34257
34258
34259      ac_ext=cpp
34260ac_cpp='$CXXCPP $CPPFLAGS'
34261ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34262ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34263ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34264
34265      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34266/* end confdefs.h.  */
34267#include <math.h>
34268int
34269main ()
34270{
34271 _sincos(0, 0, 0);
34272  ;
34273  return 0;
34274}
34275_ACEOF
34276if ac_fn_cxx_try_compile "$LINENO"; then :
34277  glibcxx_cv_func__sincos_use=yes
34278else
34279  glibcxx_cv_func__sincos_use=no
34280fi
34281rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34282      ac_ext=c
34283ac_cpp='$CPP $CPPFLAGS'
34284ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34285ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34286ac_compiler_gnu=$ac_cv_c_compiler_gnu
34287
34288
34289fi
34290
34291  fi
34292  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
34293$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
34294
34295    if test x$glibcxx_cv_func__sincos_use = x"yes"; then
34296      for ac_func in _sincos
34297do :
34298  ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
34299if test "x$ac_cv_func__sincos" = x""yes; then :
34300  cat >>confdefs.h <<_ACEOF
34301#define HAVE__SINCOS 1
34302_ACEOF
34303
34304fi
34305done
34306
34307    fi
34308  fi
34309
34310
34311
34312
34313
34314  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
34315$as_echo_n "checking for fpclass declaration... " >&6; }
34316  if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
34317    if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
34318  $as_echo_n "(cached) " >&6
34319else
34320
34321
34322      ac_ext=cpp
34323ac_cpp='$CXXCPP $CPPFLAGS'
34324ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34325ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34326ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34327
34328      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34329/* end confdefs.h.  */
34330#include <math.h>
34331		      #ifdef HAVE_IEEEFP_H
34332		      #include <ieeefp.h>
34333		      #endif
34334
34335int
34336main ()
34337{
34338 fpclass(0);
34339  ;
34340  return 0;
34341}
34342_ACEOF
34343if ac_fn_cxx_try_compile "$LINENO"; then :
34344  glibcxx_cv_func_fpclass_use=yes
34345else
34346  glibcxx_cv_func_fpclass_use=no
34347fi
34348rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34349      ac_ext=c
34350ac_cpp='$CPP $CPPFLAGS'
34351ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34352ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34353ac_compiler_gnu=$ac_cv_c_compiler_gnu
34354
34355
34356fi
34357
34358  fi
34359  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
34360$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
34361
34362  if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
34363    for ac_func in fpclass
34364do :
34365  ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
34366if test "x$ac_cv_func_fpclass" = x""yes; then :
34367  cat >>confdefs.h <<_ACEOF
34368#define HAVE_FPCLASS 1
34369_ACEOF
34370
34371fi
34372done
34373
34374  else
34375
34376  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
34377$as_echo_n "checking for _fpclass declaration... " >&6; }
34378  if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
34379    if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
34380  $as_echo_n "(cached) " >&6
34381else
34382
34383
34384      ac_ext=cpp
34385ac_cpp='$CXXCPP $CPPFLAGS'
34386ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34387ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34388ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34389
34390      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34391/* end confdefs.h.  */
34392#include <math.h>
34393		      #ifdef HAVE_IEEEFP_H
34394		      #include <ieeefp.h>
34395		      #endif
34396
34397int
34398main ()
34399{
34400 _fpclass(0);
34401  ;
34402  return 0;
34403}
34404_ACEOF
34405if ac_fn_cxx_try_compile "$LINENO"; then :
34406  glibcxx_cv_func__fpclass_use=yes
34407else
34408  glibcxx_cv_func__fpclass_use=no
34409fi
34410rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34411      ac_ext=c
34412ac_cpp='$CPP $CPPFLAGS'
34413ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34414ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34415ac_compiler_gnu=$ac_cv_c_compiler_gnu
34416
34417
34418fi
34419
34420  fi
34421  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
34422$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
34423
34424    if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
34425      for ac_func in _fpclass
34426do :
34427  ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
34428if test "x$ac_cv_func__fpclass" = x""yes; then :
34429  cat >>confdefs.h <<_ACEOF
34430#define HAVE__FPCLASS 1
34431_ACEOF
34432
34433fi
34434done
34435
34436    fi
34437  fi
34438
34439
34440
34441
34442
34443  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
34444$as_echo_n "checking for qfpclass declaration... " >&6; }
34445  if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
34446    if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
34447  $as_echo_n "(cached) " >&6
34448else
34449
34450
34451      ac_ext=cpp
34452ac_cpp='$CXXCPP $CPPFLAGS'
34453ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34454ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34455ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34456
34457      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34458/* end confdefs.h.  */
34459#include <math.h>
34460		      #ifdef HAVE_IEEEFP_H
34461		      #include <ieeefp.h>
34462		      #endif
34463
34464int
34465main ()
34466{
34467 qfpclass(0);
34468  ;
34469  return 0;
34470}
34471_ACEOF
34472if ac_fn_cxx_try_compile "$LINENO"; then :
34473  glibcxx_cv_func_qfpclass_use=yes
34474else
34475  glibcxx_cv_func_qfpclass_use=no
34476fi
34477rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34478      ac_ext=c
34479ac_cpp='$CPP $CPPFLAGS'
34480ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34481ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34482ac_compiler_gnu=$ac_cv_c_compiler_gnu
34483
34484
34485fi
34486
34487  fi
34488  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
34489$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
34490
34491  if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
34492    for ac_func in qfpclass
34493do :
34494  ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
34495if test "x$ac_cv_func_qfpclass" = x""yes; then :
34496  cat >>confdefs.h <<_ACEOF
34497#define HAVE_QFPCLASS 1
34498_ACEOF
34499
34500fi
34501done
34502
34503  else
34504
34505  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
34506$as_echo_n "checking for _qfpclass declaration... " >&6; }
34507  if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
34508    if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
34509  $as_echo_n "(cached) " >&6
34510else
34511
34512
34513      ac_ext=cpp
34514ac_cpp='$CXXCPP $CPPFLAGS'
34515ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34516ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34517ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34518
34519      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34520/* end confdefs.h.  */
34521#include <math.h>
34522		      #ifdef HAVE_IEEEFP_H
34523		      #include <ieeefp.h>
34524		      #endif
34525
34526int
34527main ()
34528{
34529 _qfpclass(0);
34530  ;
34531  return 0;
34532}
34533_ACEOF
34534if ac_fn_cxx_try_compile "$LINENO"; then :
34535  glibcxx_cv_func__qfpclass_use=yes
34536else
34537  glibcxx_cv_func__qfpclass_use=no
34538fi
34539rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34540      ac_ext=c
34541ac_cpp='$CPP $CPPFLAGS'
34542ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34543ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34544ac_compiler_gnu=$ac_cv_c_compiler_gnu
34545
34546
34547fi
34548
34549  fi
34550  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
34551$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
34552
34553    if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
34554      for ac_func in _qfpclass
34555do :
34556  ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
34557if test "x$ac_cv_func__qfpclass" = x""yes; then :
34558  cat >>confdefs.h <<_ACEOF
34559#define HAVE__QFPCLASS 1
34560_ACEOF
34561
34562fi
34563done
34564
34565    fi
34566  fi
34567
34568
34569
34570
34571
34572  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
34573$as_echo_n "checking for hypot declaration... " >&6; }
34574  if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34575    if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
34576  $as_echo_n "(cached) " >&6
34577else
34578
34579
34580      ac_ext=cpp
34581ac_cpp='$CXXCPP $CPPFLAGS'
34582ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34583ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34584ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34585
34586      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34587/* end confdefs.h.  */
34588#include <math.h>
34589int
34590main ()
34591{
34592 hypot(0, 0);
34593  ;
34594  return 0;
34595}
34596_ACEOF
34597if ac_fn_cxx_try_compile "$LINENO"; then :
34598  glibcxx_cv_func_hypot_use=yes
34599else
34600  glibcxx_cv_func_hypot_use=no
34601fi
34602rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34603      ac_ext=c
34604ac_cpp='$CPP $CPPFLAGS'
34605ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34606ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34607ac_compiler_gnu=$ac_cv_c_compiler_gnu
34608
34609
34610fi
34611
34612  fi
34613  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
34614$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
34615
34616  if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34617    for ac_func in hypot
34618do :
34619  ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
34620if test "x$ac_cv_func_hypot" = x""yes; then :
34621  cat >>confdefs.h <<_ACEOF
34622#define HAVE_HYPOT 1
34623_ACEOF
34624
34625fi
34626done
34627
34628  else
34629
34630  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
34631$as_echo_n "checking for _hypot declaration... " >&6; }
34632  if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34633    if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
34634  $as_echo_n "(cached) " >&6
34635else
34636
34637
34638      ac_ext=cpp
34639ac_cpp='$CXXCPP $CPPFLAGS'
34640ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34641ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34642ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34643
34644      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34645/* end confdefs.h.  */
34646#include <math.h>
34647int
34648main ()
34649{
34650 _hypot(0, 0);
34651  ;
34652  return 0;
34653}
34654_ACEOF
34655if ac_fn_cxx_try_compile "$LINENO"; then :
34656  glibcxx_cv_func__hypot_use=yes
34657else
34658  glibcxx_cv_func__hypot_use=no
34659fi
34660rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34661      ac_ext=c
34662ac_cpp='$CPP $CPPFLAGS'
34663ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34664ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34665ac_compiler_gnu=$ac_cv_c_compiler_gnu
34666
34667
34668fi
34669
34670  fi
34671  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
34672$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
34673
34674    if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34675      for ac_func in _hypot
34676do :
34677  ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
34678if test "x$ac_cv_func__hypot" = x""yes; then :
34679  cat >>confdefs.h <<_ACEOF
34680#define HAVE__HYPOT 1
34681_ACEOF
34682
34683fi
34684done
34685
34686    fi
34687  fi
34688
34689
34690
34691
34692
34693    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
34694$as_echo_n "checking for float trig functions... " >&6; }
34695  if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
34696  $as_echo_n "(cached) " >&6
34697else
34698
34699
34700    ac_ext=cpp
34701ac_cpp='$CXXCPP $CPPFLAGS'
34702ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34703ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34704ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34705
34706    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34707/* end confdefs.h.  */
34708#include <math.h>
34709int
34710main ()
34711{
34712acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
34713  ;
34714  return 0;
34715}
34716_ACEOF
34717if ac_fn_cxx_try_compile "$LINENO"; then :
34718  glibcxx_cv_func_float_trig_use=yes
34719else
34720  glibcxx_cv_func_float_trig_use=no
34721fi
34722rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34723    ac_ext=c
34724ac_cpp='$CPP $CPPFLAGS'
34725ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34726ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34727ac_compiler_gnu=$ac_cv_c_compiler_gnu
34728
34729fi
34730
34731  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
34732$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
34733  if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34734    for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
34735do :
34736  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34737ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34738eval as_val=\$$as_ac_var
34739   if test "x$as_val" = x""yes; then :
34740  cat >>confdefs.h <<_ACEOF
34741#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34742_ACEOF
34743
34744fi
34745done
34746
34747  else
34748    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
34749$as_echo_n "checking for _float trig functions... " >&6; }
34750    if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
34751  $as_echo_n "(cached) " >&6
34752else
34753
34754
34755      ac_ext=cpp
34756ac_cpp='$CXXCPP $CPPFLAGS'
34757ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34758ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34759ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34760
34761      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34762/* end confdefs.h.  */
34763#include <math.h>
34764int
34765main ()
34766{
34767_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
34768  ;
34769  return 0;
34770}
34771_ACEOF
34772if ac_fn_cxx_try_compile "$LINENO"; then :
34773  glibcxx_cv_func__float_trig_use=yes
34774else
34775  glibcxx_cv_func__float_trig_use=no
34776fi
34777rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34778      ac_ext=c
34779ac_cpp='$CPP $CPPFLAGS'
34780ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34781ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34782ac_compiler_gnu=$ac_cv_c_compiler_gnu
34783
34784fi
34785
34786    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
34787$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
34788    if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
34789      for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
34790do :
34791  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34792ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34793eval as_val=\$$as_ac_var
34794   if test "x$as_val" = x""yes; then :
34795  cat >>confdefs.h <<_ACEOF
34796#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34797_ACEOF
34798
34799fi
34800done
34801
34802    fi
34803  fi
34804
34805
34806
34807
34808
34809    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
34810$as_echo_n "checking for float round functions... " >&6; }
34811  if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
34812  $as_echo_n "(cached) " >&6
34813else
34814
34815
34816    ac_ext=cpp
34817ac_cpp='$CXXCPP $CPPFLAGS'
34818ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34819ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34820ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34821
34822    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34823/* end confdefs.h.  */
34824#include <math.h>
34825int
34826main ()
34827{
34828ceilf (0); floorf (0);
34829  ;
34830  return 0;
34831}
34832_ACEOF
34833if ac_fn_cxx_try_compile "$LINENO"; then :
34834  glibcxx_cv_func_float_round_use=yes
34835else
34836  glibcxx_cv_func_float_round_use=no
34837fi
34838rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34839    ac_ext=c
34840ac_cpp='$CPP $CPPFLAGS'
34841ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34842ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34843ac_compiler_gnu=$ac_cv_c_compiler_gnu
34844
34845fi
34846
34847  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
34848$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
34849  if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34850    for ac_func in ceilf floorf
34851do :
34852  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34853ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34854eval as_val=\$$as_ac_var
34855   if test "x$as_val" = x""yes; then :
34856  cat >>confdefs.h <<_ACEOF
34857#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34858_ACEOF
34859
34860fi
34861done
34862
34863  else
34864    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
34865$as_echo_n "checking for _float round functions... " >&6; }
34866    if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
34867  $as_echo_n "(cached) " >&6
34868else
34869
34870
34871      ac_ext=cpp
34872ac_cpp='$CXXCPP $CPPFLAGS'
34873ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34874ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34875ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34876
34877      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34878/* end confdefs.h.  */
34879#include <math.h>
34880int
34881main ()
34882{
34883_ceilf (0); _floorf (0);
34884  ;
34885  return 0;
34886}
34887_ACEOF
34888if ac_fn_cxx_try_compile "$LINENO"; then :
34889  glibcxx_cv_func__float_round_use=yes
34890else
34891  glibcxx_cv_func__float_round_use=no
34892fi
34893rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34894      ac_ext=c
34895ac_cpp='$CPP $CPPFLAGS'
34896ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34897ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34898ac_compiler_gnu=$ac_cv_c_compiler_gnu
34899
34900fi
34901
34902    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
34903$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
34904    if test x$glibcxx_cv_func__float_round_use = x"yes"; then
34905      for ac_func in _ceilf _floorf
34906do :
34907  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34908ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34909eval as_val=\$$as_ac_var
34910   if test "x$as_val" = x""yes; then :
34911  cat >>confdefs.h <<_ACEOF
34912#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34913_ACEOF
34914
34915fi
34916done
34917
34918    fi
34919  fi
34920
34921
34922
34923
34924
34925
34926  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
34927$as_echo_n "checking for expf declaration... " >&6; }
34928  if test x${glibcxx_cv_func_expf_use+set} != xset; then
34929    if test "${glibcxx_cv_func_expf_use+set}" = set; then :
34930  $as_echo_n "(cached) " >&6
34931else
34932
34933
34934      ac_ext=cpp
34935ac_cpp='$CXXCPP $CPPFLAGS'
34936ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34937ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34938ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34939
34940      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34941/* end confdefs.h.  */
34942#include <math.h>
34943		      #ifdef HAVE_IEEEFP_H
34944		      #include <ieeefp.h>
34945		      #endif
34946
34947int
34948main ()
34949{
34950 expf(0);
34951  ;
34952  return 0;
34953}
34954_ACEOF
34955if ac_fn_cxx_try_compile "$LINENO"; then :
34956  glibcxx_cv_func_expf_use=yes
34957else
34958  glibcxx_cv_func_expf_use=no
34959fi
34960rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34961      ac_ext=c
34962ac_cpp='$CPP $CPPFLAGS'
34963ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34964ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34965ac_compiler_gnu=$ac_cv_c_compiler_gnu
34966
34967
34968fi
34969
34970  fi
34971  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
34972$as_echo "$glibcxx_cv_func_expf_use" >&6; }
34973
34974  if test x$glibcxx_cv_func_expf_use = x"yes"; then
34975    for ac_func in expf
34976do :
34977  ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
34978if test "x$ac_cv_func_expf" = x""yes; then :
34979  cat >>confdefs.h <<_ACEOF
34980#define HAVE_EXPF 1
34981_ACEOF
34982
34983fi
34984done
34985
34986  else
34987
34988  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
34989$as_echo_n "checking for _expf declaration... " >&6; }
34990  if test x${glibcxx_cv_func__expf_use+set} != xset; then
34991    if test "${glibcxx_cv_func__expf_use+set}" = set; then :
34992  $as_echo_n "(cached) " >&6
34993else
34994
34995
34996      ac_ext=cpp
34997ac_cpp='$CXXCPP $CPPFLAGS'
34998ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34999ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35000ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35001
35002      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35003/* end confdefs.h.  */
35004#include <math.h>
35005		      #ifdef HAVE_IEEEFP_H
35006		      #include <ieeefp.h>
35007		      #endif
35008
35009int
35010main ()
35011{
35012 _expf(0);
35013  ;
35014  return 0;
35015}
35016_ACEOF
35017if ac_fn_cxx_try_compile "$LINENO"; then :
35018  glibcxx_cv_func__expf_use=yes
35019else
35020  glibcxx_cv_func__expf_use=no
35021fi
35022rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35023      ac_ext=c
35024ac_cpp='$CPP $CPPFLAGS'
35025ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35026ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35027ac_compiler_gnu=$ac_cv_c_compiler_gnu
35028
35029
35030fi
35031
35032  fi
35033  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
35034$as_echo "$glibcxx_cv_func__expf_use" >&6; }
35035
35036    if test x$glibcxx_cv_func__expf_use = x"yes"; then
35037      for ac_func in _expf
35038do :
35039  ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
35040if test "x$ac_cv_func__expf" = x""yes; then :
35041  cat >>confdefs.h <<_ACEOF
35042#define HAVE__EXPF 1
35043_ACEOF
35044
35045fi
35046done
35047
35048    fi
35049  fi
35050
35051
35052
35053
35054
35055  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
35056$as_echo_n "checking for isnanf declaration... " >&6; }
35057  if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
35058    if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
35059  $as_echo_n "(cached) " >&6
35060else
35061
35062
35063      ac_ext=cpp
35064ac_cpp='$CXXCPP $CPPFLAGS'
35065ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35066ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35067ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35068
35069      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35070/* end confdefs.h.  */
35071#include <math.h>
35072		      #ifdef HAVE_IEEEFP_H
35073		      #include <ieeefp.h>
35074		      #endif
35075
35076int
35077main ()
35078{
35079 isnanf(0);
35080  ;
35081  return 0;
35082}
35083_ACEOF
35084if ac_fn_cxx_try_compile "$LINENO"; then :
35085  glibcxx_cv_func_isnanf_use=yes
35086else
35087  glibcxx_cv_func_isnanf_use=no
35088fi
35089rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35090      ac_ext=c
35091ac_cpp='$CPP $CPPFLAGS'
35092ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35093ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35094ac_compiler_gnu=$ac_cv_c_compiler_gnu
35095
35096
35097fi
35098
35099  fi
35100  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
35101$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
35102
35103  if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
35104    for ac_func in isnanf
35105do :
35106  ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
35107if test "x$ac_cv_func_isnanf" = x""yes; then :
35108  cat >>confdefs.h <<_ACEOF
35109#define HAVE_ISNANF 1
35110_ACEOF
35111
35112fi
35113done
35114
35115  else
35116
35117  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
35118$as_echo_n "checking for _isnanf declaration... " >&6; }
35119  if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
35120    if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
35121  $as_echo_n "(cached) " >&6
35122else
35123
35124
35125      ac_ext=cpp
35126ac_cpp='$CXXCPP $CPPFLAGS'
35127ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35128ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35129ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35130
35131      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35132/* end confdefs.h.  */
35133#include <math.h>
35134		      #ifdef HAVE_IEEEFP_H
35135		      #include <ieeefp.h>
35136		      #endif
35137
35138int
35139main ()
35140{
35141 _isnanf(0);
35142  ;
35143  return 0;
35144}
35145_ACEOF
35146if ac_fn_cxx_try_compile "$LINENO"; then :
35147  glibcxx_cv_func__isnanf_use=yes
35148else
35149  glibcxx_cv_func__isnanf_use=no
35150fi
35151rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35152      ac_ext=c
35153ac_cpp='$CPP $CPPFLAGS'
35154ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35155ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35156ac_compiler_gnu=$ac_cv_c_compiler_gnu
35157
35158
35159fi
35160
35161  fi
35162  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
35163$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
35164
35165    if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
35166      for ac_func in _isnanf
35167do :
35168  ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
35169if test "x$ac_cv_func__isnanf" = x""yes; then :
35170  cat >>confdefs.h <<_ACEOF
35171#define HAVE__ISNANF 1
35172_ACEOF
35173
35174fi
35175done
35176
35177    fi
35178  fi
35179
35180
35181
35182
35183
35184  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
35185$as_echo_n "checking for isinff declaration... " >&6; }
35186  if test x${glibcxx_cv_func_isinff_use+set} != xset; then
35187    if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
35188  $as_echo_n "(cached) " >&6
35189else
35190
35191
35192      ac_ext=cpp
35193ac_cpp='$CXXCPP $CPPFLAGS'
35194ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35195ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35196ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35197
35198      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35199/* end confdefs.h.  */
35200#include <math.h>
35201		      #ifdef HAVE_IEEEFP_H
35202		      #include <ieeefp.h>
35203		      #endif
35204
35205int
35206main ()
35207{
35208 isinff(0);
35209  ;
35210  return 0;
35211}
35212_ACEOF
35213if ac_fn_cxx_try_compile "$LINENO"; then :
35214  glibcxx_cv_func_isinff_use=yes
35215else
35216  glibcxx_cv_func_isinff_use=no
35217fi
35218rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35219      ac_ext=c
35220ac_cpp='$CPP $CPPFLAGS'
35221ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35222ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35223ac_compiler_gnu=$ac_cv_c_compiler_gnu
35224
35225
35226fi
35227
35228  fi
35229  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
35230$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
35231
35232  if test x$glibcxx_cv_func_isinff_use = x"yes"; then
35233    for ac_func in isinff
35234do :
35235  ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
35236if test "x$ac_cv_func_isinff" = x""yes; then :
35237  cat >>confdefs.h <<_ACEOF
35238#define HAVE_ISINFF 1
35239_ACEOF
35240
35241fi
35242done
35243
35244  else
35245
35246  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
35247$as_echo_n "checking for _isinff declaration... " >&6; }
35248  if test x${glibcxx_cv_func__isinff_use+set} != xset; then
35249    if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
35250  $as_echo_n "(cached) " >&6
35251else
35252
35253
35254      ac_ext=cpp
35255ac_cpp='$CXXCPP $CPPFLAGS'
35256ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35257ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35258ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35259
35260      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35261/* end confdefs.h.  */
35262#include <math.h>
35263		      #ifdef HAVE_IEEEFP_H
35264		      #include <ieeefp.h>
35265		      #endif
35266
35267int
35268main ()
35269{
35270 _isinff(0);
35271  ;
35272  return 0;
35273}
35274_ACEOF
35275if ac_fn_cxx_try_compile "$LINENO"; then :
35276  glibcxx_cv_func__isinff_use=yes
35277else
35278  glibcxx_cv_func__isinff_use=no
35279fi
35280rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35281      ac_ext=c
35282ac_cpp='$CPP $CPPFLAGS'
35283ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35284ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35285ac_compiler_gnu=$ac_cv_c_compiler_gnu
35286
35287
35288fi
35289
35290  fi
35291  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
35292$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
35293
35294    if test x$glibcxx_cv_func__isinff_use = x"yes"; then
35295      for ac_func in _isinff
35296do :
35297  ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
35298if test "x$ac_cv_func__isinff" = x""yes; then :
35299  cat >>confdefs.h <<_ACEOF
35300#define HAVE__ISINFF 1
35301_ACEOF
35302
35303fi
35304done
35305
35306    fi
35307  fi
35308
35309
35310
35311
35312
35313  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
35314$as_echo_n "checking for atan2f declaration... " >&6; }
35315  if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
35316    if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
35317  $as_echo_n "(cached) " >&6
35318else
35319
35320
35321      ac_ext=cpp
35322ac_cpp='$CXXCPP $CPPFLAGS'
35323ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35324ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35325ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35326
35327      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35328/* end confdefs.h.  */
35329#include <math.h>
35330int
35331main ()
35332{
35333 atan2f(0, 0);
35334  ;
35335  return 0;
35336}
35337_ACEOF
35338if ac_fn_cxx_try_compile "$LINENO"; then :
35339  glibcxx_cv_func_atan2f_use=yes
35340else
35341  glibcxx_cv_func_atan2f_use=no
35342fi
35343rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35344      ac_ext=c
35345ac_cpp='$CPP $CPPFLAGS'
35346ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35347ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35348ac_compiler_gnu=$ac_cv_c_compiler_gnu
35349
35350
35351fi
35352
35353  fi
35354  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
35355$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
35356
35357  if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
35358    for ac_func in atan2f
35359do :
35360  ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
35361if test "x$ac_cv_func_atan2f" = x""yes; then :
35362  cat >>confdefs.h <<_ACEOF
35363#define HAVE_ATAN2F 1
35364_ACEOF
35365
35366fi
35367done
35368
35369  else
35370
35371  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
35372$as_echo_n "checking for _atan2f declaration... " >&6; }
35373  if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
35374    if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
35375  $as_echo_n "(cached) " >&6
35376else
35377
35378
35379      ac_ext=cpp
35380ac_cpp='$CXXCPP $CPPFLAGS'
35381ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35382ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35383ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35384
35385      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35386/* end confdefs.h.  */
35387#include <math.h>
35388int
35389main ()
35390{
35391 _atan2f(0, 0);
35392  ;
35393  return 0;
35394}
35395_ACEOF
35396if ac_fn_cxx_try_compile "$LINENO"; then :
35397  glibcxx_cv_func__atan2f_use=yes
35398else
35399  glibcxx_cv_func__atan2f_use=no
35400fi
35401rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35402      ac_ext=c
35403ac_cpp='$CPP $CPPFLAGS'
35404ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35405ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35406ac_compiler_gnu=$ac_cv_c_compiler_gnu
35407
35408
35409fi
35410
35411  fi
35412  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
35413$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
35414
35415    if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
35416      for ac_func in _atan2f
35417do :
35418  ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
35419if test "x$ac_cv_func__atan2f" = x""yes; then :
35420  cat >>confdefs.h <<_ACEOF
35421#define HAVE__ATAN2F 1
35422_ACEOF
35423
35424fi
35425done
35426
35427    fi
35428  fi
35429
35430
35431
35432
35433
35434  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
35435$as_echo_n "checking for fabsf declaration... " >&6; }
35436  if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
35437    if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
35438  $as_echo_n "(cached) " >&6
35439else
35440
35441
35442      ac_ext=cpp
35443ac_cpp='$CXXCPP $CPPFLAGS'
35444ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35445ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35446ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35447
35448      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35449/* end confdefs.h.  */
35450#include <math.h>
35451		      #ifdef HAVE_IEEEFP_H
35452		      #include <ieeefp.h>
35453		      #endif
35454
35455int
35456main ()
35457{
35458 fabsf(0);
35459  ;
35460  return 0;
35461}
35462_ACEOF
35463if ac_fn_cxx_try_compile "$LINENO"; then :
35464  glibcxx_cv_func_fabsf_use=yes
35465else
35466  glibcxx_cv_func_fabsf_use=no
35467fi
35468rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35469      ac_ext=c
35470ac_cpp='$CPP $CPPFLAGS'
35471ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35472ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35473ac_compiler_gnu=$ac_cv_c_compiler_gnu
35474
35475
35476fi
35477
35478  fi
35479  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
35480$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
35481
35482  if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
35483    for ac_func in fabsf
35484do :
35485  ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
35486if test "x$ac_cv_func_fabsf" = x""yes; then :
35487  cat >>confdefs.h <<_ACEOF
35488#define HAVE_FABSF 1
35489_ACEOF
35490
35491fi
35492done
35493
35494  else
35495
35496  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
35497$as_echo_n "checking for _fabsf declaration... " >&6; }
35498  if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
35499    if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
35500  $as_echo_n "(cached) " >&6
35501else
35502
35503
35504      ac_ext=cpp
35505ac_cpp='$CXXCPP $CPPFLAGS'
35506ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35507ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35508ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35509
35510      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35511/* end confdefs.h.  */
35512#include <math.h>
35513		      #ifdef HAVE_IEEEFP_H
35514		      #include <ieeefp.h>
35515		      #endif
35516
35517int
35518main ()
35519{
35520 _fabsf(0);
35521  ;
35522  return 0;
35523}
35524_ACEOF
35525if ac_fn_cxx_try_compile "$LINENO"; then :
35526  glibcxx_cv_func__fabsf_use=yes
35527else
35528  glibcxx_cv_func__fabsf_use=no
35529fi
35530rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35531      ac_ext=c
35532ac_cpp='$CPP $CPPFLAGS'
35533ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35534ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35535ac_compiler_gnu=$ac_cv_c_compiler_gnu
35536
35537
35538fi
35539
35540  fi
35541  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
35542$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
35543
35544    if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
35545      for ac_func in _fabsf
35546do :
35547  ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
35548if test "x$ac_cv_func__fabsf" = x""yes; then :
35549  cat >>confdefs.h <<_ACEOF
35550#define HAVE__FABSF 1
35551_ACEOF
35552
35553fi
35554done
35555
35556    fi
35557  fi
35558
35559
35560
35561
35562
35563  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
35564$as_echo_n "checking for fmodf declaration... " >&6; }
35565  if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
35566    if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
35567  $as_echo_n "(cached) " >&6
35568else
35569
35570
35571      ac_ext=cpp
35572ac_cpp='$CXXCPP $CPPFLAGS'
35573ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35574ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35575ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35576
35577      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35578/* end confdefs.h.  */
35579#include <math.h>
35580int
35581main ()
35582{
35583 fmodf(0, 0);
35584  ;
35585  return 0;
35586}
35587_ACEOF
35588if ac_fn_cxx_try_compile "$LINENO"; then :
35589  glibcxx_cv_func_fmodf_use=yes
35590else
35591  glibcxx_cv_func_fmodf_use=no
35592fi
35593rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35594      ac_ext=c
35595ac_cpp='$CPP $CPPFLAGS'
35596ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35597ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35598ac_compiler_gnu=$ac_cv_c_compiler_gnu
35599
35600
35601fi
35602
35603  fi
35604  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
35605$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
35606
35607  if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
35608    for ac_func in fmodf
35609do :
35610  ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
35611if test "x$ac_cv_func_fmodf" = x""yes; then :
35612  cat >>confdefs.h <<_ACEOF
35613#define HAVE_FMODF 1
35614_ACEOF
35615
35616fi
35617done
35618
35619  else
35620
35621  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
35622$as_echo_n "checking for _fmodf declaration... " >&6; }
35623  if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
35624    if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
35625  $as_echo_n "(cached) " >&6
35626else
35627
35628
35629      ac_ext=cpp
35630ac_cpp='$CXXCPP $CPPFLAGS'
35631ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35632ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35633ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35634
35635      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35636/* end confdefs.h.  */
35637#include <math.h>
35638int
35639main ()
35640{
35641 _fmodf(0, 0);
35642  ;
35643  return 0;
35644}
35645_ACEOF
35646if ac_fn_cxx_try_compile "$LINENO"; then :
35647  glibcxx_cv_func__fmodf_use=yes
35648else
35649  glibcxx_cv_func__fmodf_use=no
35650fi
35651rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35652      ac_ext=c
35653ac_cpp='$CPP $CPPFLAGS'
35654ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35655ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35656ac_compiler_gnu=$ac_cv_c_compiler_gnu
35657
35658
35659fi
35660
35661  fi
35662  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
35663$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
35664
35665    if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
35666      for ac_func in _fmodf
35667do :
35668  ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
35669if test "x$ac_cv_func__fmodf" = x""yes; then :
35670  cat >>confdefs.h <<_ACEOF
35671#define HAVE__FMODF 1
35672_ACEOF
35673
35674fi
35675done
35676
35677    fi
35678  fi
35679
35680
35681
35682
35683
35684  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
35685$as_echo_n "checking for frexpf declaration... " >&6; }
35686  if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
35687    if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
35688  $as_echo_n "(cached) " >&6
35689else
35690
35691
35692      ac_ext=cpp
35693ac_cpp='$CXXCPP $CPPFLAGS'
35694ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35695ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35696ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35697
35698      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35699/* end confdefs.h.  */
35700#include <math.h>
35701int
35702main ()
35703{
35704 frexpf(0, 0);
35705  ;
35706  return 0;
35707}
35708_ACEOF
35709if ac_fn_cxx_try_compile "$LINENO"; then :
35710  glibcxx_cv_func_frexpf_use=yes
35711else
35712  glibcxx_cv_func_frexpf_use=no
35713fi
35714rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35715      ac_ext=c
35716ac_cpp='$CPP $CPPFLAGS'
35717ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35718ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35719ac_compiler_gnu=$ac_cv_c_compiler_gnu
35720
35721
35722fi
35723
35724  fi
35725  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
35726$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
35727
35728  if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
35729    for ac_func in frexpf
35730do :
35731  ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
35732if test "x$ac_cv_func_frexpf" = x""yes; then :
35733  cat >>confdefs.h <<_ACEOF
35734#define HAVE_FREXPF 1
35735_ACEOF
35736
35737fi
35738done
35739
35740  else
35741
35742  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
35743$as_echo_n "checking for _frexpf declaration... " >&6; }
35744  if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
35745    if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
35746  $as_echo_n "(cached) " >&6
35747else
35748
35749
35750      ac_ext=cpp
35751ac_cpp='$CXXCPP $CPPFLAGS'
35752ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35753ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35754ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35755
35756      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35757/* end confdefs.h.  */
35758#include <math.h>
35759int
35760main ()
35761{
35762 _frexpf(0, 0);
35763  ;
35764  return 0;
35765}
35766_ACEOF
35767if ac_fn_cxx_try_compile "$LINENO"; then :
35768  glibcxx_cv_func__frexpf_use=yes
35769else
35770  glibcxx_cv_func__frexpf_use=no
35771fi
35772rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35773      ac_ext=c
35774ac_cpp='$CPP $CPPFLAGS'
35775ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35776ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35777ac_compiler_gnu=$ac_cv_c_compiler_gnu
35778
35779
35780fi
35781
35782  fi
35783  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
35784$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
35785
35786    if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
35787      for ac_func in _frexpf
35788do :
35789  ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
35790if test "x$ac_cv_func__frexpf" = x""yes; then :
35791  cat >>confdefs.h <<_ACEOF
35792#define HAVE__FREXPF 1
35793_ACEOF
35794
35795fi
35796done
35797
35798    fi
35799  fi
35800
35801
35802
35803
35804
35805  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
35806$as_echo_n "checking for hypotf declaration... " >&6; }
35807  if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
35808    if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
35809  $as_echo_n "(cached) " >&6
35810else
35811
35812
35813      ac_ext=cpp
35814ac_cpp='$CXXCPP $CPPFLAGS'
35815ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35816ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35817ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35818
35819      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35820/* end confdefs.h.  */
35821#include <math.h>
35822int
35823main ()
35824{
35825 hypotf(0, 0);
35826  ;
35827  return 0;
35828}
35829_ACEOF
35830if ac_fn_cxx_try_compile "$LINENO"; then :
35831  glibcxx_cv_func_hypotf_use=yes
35832else
35833  glibcxx_cv_func_hypotf_use=no
35834fi
35835rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35836      ac_ext=c
35837ac_cpp='$CPP $CPPFLAGS'
35838ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35839ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35840ac_compiler_gnu=$ac_cv_c_compiler_gnu
35841
35842
35843fi
35844
35845  fi
35846  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
35847$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
35848
35849  if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
35850    for ac_func in hypotf
35851do :
35852  ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
35853if test "x$ac_cv_func_hypotf" = x""yes; then :
35854  cat >>confdefs.h <<_ACEOF
35855#define HAVE_HYPOTF 1
35856_ACEOF
35857
35858fi
35859done
35860
35861  else
35862
35863  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
35864$as_echo_n "checking for _hypotf declaration... " >&6; }
35865  if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
35866    if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
35867  $as_echo_n "(cached) " >&6
35868else
35869
35870
35871      ac_ext=cpp
35872ac_cpp='$CXXCPP $CPPFLAGS'
35873ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35874ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35875ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35876
35877      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35878/* end confdefs.h.  */
35879#include <math.h>
35880int
35881main ()
35882{
35883 _hypotf(0, 0);
35884  ;
35885  return 0;
35886}
35887_ACEOF
35888if ac_fn_cxx_try_compile "$LINENO"; then :
35889  glibcxx_cv_func__hypotf_use=yes
35890else
35891  glibcxx_cv_func__hypotf_use=no
35892fi
35893rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35894      ac_ext=c
35895ac_cpp='$CPP $CPPFLAGS'
35896ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35897ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35898ac_compiler_gnu=$ac_cv_c_compiler_gnu
35899
35900
35901fi
35902
35903  fi
35904  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
35905$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
35906
35907    if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
35908      for ac_func in _hypotf
35909do :
35910  ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
35911if test "x$ac_cv_func__hypotf" = x""yes; then :
35912  cat >>confdefs.h <<_ACEOF
35913#define HAVE__HYPOTF 1
35914_ACEOF
35915
35916fi
35917done
35918
35919    fi
35920  fi
35921
35922
35923
35924
35925
35926  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
35927$as_echo_n "checking for ldexpf declaration... " >&6; }
35928  if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
35929    if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
35930  $as_echo_n "(cached) " >&6
35931else
35932
35933
35934      ac_ext=cpp
35935ac_cpp='$CXXCPP $CPPFLAGS'
35936ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35937ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35938ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35939
35940      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35941/* end confdefs.h.  */
35942#include <math.h>
35943int
35944main ()
35945{
35946 ldexpf(0, 0);
35947  ;
35948  return 0;
35949}
35950_ACEOF
35951if ac_fn_cxx_try_compile "$LINENO"; then :
35952  glibcxx_cv_func_ldexpf_use=yes
35953else
35954  glibcxx_cv_func_ldexpf_use=no
35955fi
35956rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35957      ac_ext=c
35958ac_cpp='$CPP $CPPFLAGS'
35959ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35960ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35961ac_compiler_gnu=$ac_cv_c_compiler_gnu
35962
35963
35964fi
35965
35966  fi
35967  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
35968$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
35969
35970  if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
35971    for ac_func in ldexpf
35972do :
35973  ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
35974if test "x$ac_cv_func_ldexpf" = x""yes; then :
35975  cat >>confdefs.h <<_ACEOF
35976#define HAVE_LDEXPF 1
35977_ACEOF
35978
35979fi
35980done
35981
35982  else
35983
35984  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
35985$as_echo_n "checking for _ldexpf declaration... " >&6; }
35986  if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
35987    if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
35988  $as_echo_n "(cached) " >&6
35989else
35990
35991
35992      ac_ext=cpp
35993ac_cpp='$CXXCPP $CPPFLAGS'
35994ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35995ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35996ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35997
35998      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35999/* end confdefs.h.  */
36000#include <math.h>
36001int
36002main ()
36003{
36004 _ldexpf(0, 0);
36005  ;
36006  return 0;
36007}
36008_ACEOF
36009if ac_fn_cxx_try_compile "$LINENO"; then :
36010  glibcxx_cv_func__ldexpf_use=yes
36011else
36012  glibcxx_cv_func__ldexpf_use=no
36013fi
36014rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36015      ac_ext=c
36016ac_cpp='$CPP $CPPFLAGS'
36017ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36018ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36019ac_compiler_gnu=$ac_cv_c_compiler_gnu
36020
36021
36022fi
36023
36024  fi
36025  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
36026$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
36027
36028    if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
36029      for ac_func in _ldexpf
36030do :
36031  ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
36032if test "x$ac_cv_func__ldexpf" = x""yes; then :
36033  cat >>confdefs.h <<_ACEOF
36034#define HAVE__LDEXPF 1
36035_ACEOF
36036
36037fi
36038done
36039
36040    fi
36041  fi
36042
36043
36044
36045
36046
36047  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
36048$as_echo_n "checking for logf declaration... " >&6; }
36049  if test x${glibcxx_cv_func_logf_use+set} != xset; then
36050    if test "${glibcxx_cv_func_logf_use+set}" = set; then :
36051  $as_echo_n "(cached) " >&6
36052else
36053
36054
36055      ac_ext=cpp
36056ac_cpp='$CXXCPP $CPPFLAGS'
36057ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36058ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36059ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36060
36061      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36062/* end confdefs.h.  */
36063#include <math.h>
36064		      #ifdef HAVE_IEEEFP_H
36065		      #include <ieeefp.h>
36066		      #endif
36067
36068int
36069main ()
36070{
36071 logf(0);
36072  ;
36073  return 0;
36074}
36075_ACEOF
36076if ac_fn_cxx_try_compile "$LINENO"; then :
36077  glibcxx_cv_func_logf_use=yes
36078else
36079  glibcxx_cv_func_logf_use=no
36080fi
36081rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36082      ac_ext=c
36083ac_cpp='$CPP $CPPFLAGS'
36084ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36085ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36086ac_compiler_gnu=$ac_cv_c_compiler_gnu
36087
36088
36089fi
36090
36091  fi
36092  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
36093$as_echo "$glibcxx_cv_func_logf_use" >&6; }
36094
36095  if test x$glibcxx_cv_func_logf_use = x"yes"; then
36096    for ac_func in logf
36097do :
36098  ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
36099if test "x$ac_cv_func_logf" = x""yes; then :
36100  cat >>confdefs.h <<_ACEOF
36101#define HAVE_LOGF 1
36102_ACEOF
36103
36104fi
36105done
36106
36107  else
36108
36109  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
36110$as_echo_n "checking for _logf declaration... " >&6; }
36111  if test x${glibcxx_cv_func__logf_use+set} != xset; then
36112    if test "${glibcxx_cv_func__logf_use+set}" = set; then :
36113  $as_echo_n "(cached) " >&6
36114else
36115
36116
36117      ac_ext=cpp
36118ac_cpp='$CXXCPP $CPPFLAGS'
36119ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36120ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36121ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36122
36123      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36124/* end confdefs.h.  */
36125#include <math.h>
36126		      #ifdef HAVE_IEEEFP_H
36127		      #include <ieeefp.h>
36128		      #endif
36129
36130int
36131main ()
36132{
36133 _logf(0);
36134  ;
36135  return 0;
36136}
36137_ACEOF
36138if ac_fn_cxx_try_compile "$LINENO"; then :
36139  glibcxx_cv_func__logf_use=yes
36140else
36141  glibcxx_cv_func__logf_use=no
36142fi
36143rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36144      ac_ext=c
36145ac_cpp='$CPP $CPPFLAGS'
36146ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36147ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36148ac_compiler_gnu=$ac_cv_c_compiler_gnu
36149
36150
36151fi
36152
36153  fi
36154  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
36155$as_echo "$glibcxx_cv_func__logf_use" >&6; }
36156
36157    if test x$glibcxx_cv_func__logf_use = x"yes"; then
36158      for ac_func in _logf
36159do :
36160  ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
36161if test "x$ac_cv_func__logf" = x""yes; then :
36162  cat >>confdefs.h <<_ACEOF
36163#define HAVE__LOGF 1
36164_ACEOF
36165
36166fi
36167done
36168
36169    fi
36170  fi
36171
36172
36173
36174
36175
36176  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
36177$as_echo_n "checking for log10f declaration... " >&6; }
36178  if test x${glibcxx_cv_func_log10f_use+set} != xset; then
36179    if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
36180  $as_echo_n "(cached) " >&6
36181else
36182
36183
36184      ac_ext=cpp
36185ac_cpp='$CXXCPP $CPPFLAGS'
36186ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36187ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36188ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36189
36190      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36191/* end confdefs.h.  */
36192#include <math.h>
36193		      #ifdef HAVE_IEEEFP_H
36194		      #include <ieeefp.h>
36195		      #endif
36196
36197int
36198main ()
36199{
36200 log10f(0);
36201  ;
36202  return 0;
36203}
36204_ACEOF
36205if ac_fn_cxx_try_compile "$LINENO"; then :
36206  glibcxx_cv_func_log10f_use=yes
36207else
36208  glibcxx_cv_func_log10f_use=no
36209fi
36210rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36211      ac_ext=c
36212ac_cpp='$CPP $CPPFLAGS'
36213ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36214ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36215ac_compiler_gnu=$ac_cv_c_compiler_gnu
36216
36217
36218fi
36219
36220  fi
36221  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
36222$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
36223
36224  if test x$glibcxx_cv_func_log10f_use = x"yes"; then
36225    for ac_func in log10f
36226do :
36227  ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
36228if test "x$ac_cv_func_log10f" = x""yes; then :
36229  cat >>confdefs.h <<_ACEOF
36230#define HAVE_LOG10F 1
36231_ACEOF
36232
36233fi
36234done
36235
36236  else
36237
36238  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
36239$as_echo_n "checking for _log10f declaration... " >&6; }
36240  if test x${glibcxx_cv_func__log10f_use+set} != xset; then
36241    if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
36242  $as_echo_n "(cached) " >&6
36243else
36244
36245
36246      ac_ext=cpp
36247ac_cpp='$CXXCPP $CPPFLAGS'
36248ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36249ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36250ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36251
36252      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36253/* end confdefs.h.  */
36254#include <math.h>
36255		      #ifdef HAVE_IEEEFP_H
36256		      #include <ieeefp.h>
36257		      #endif
36258
36259int
36260main ()
36261{
36262 _log10f(0);
36263  ;
36264  return 0;
36265}
36266_ACEOF
36267if ac_fn_cxx_try_compile "$LINENO"; then :
36268  glibcxx_cv_func__log10f_use=yes
36269else
36270  glibcxx_cv_func__log10f_use=no
36271fi
36272rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36273      ac_ext=c
36274ac_cpp='$CPP $CPPFLAGS'
36275ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36276ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36277ac_compiler_gnu=$ac_cv_c_compiler_gnu
36278
36279
36280fi
36281
36282  fi
36283  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
36284$as_echo "$glibcxx_cv_func__log10f_use" >&6; }
36285
36286    if test x$glibcxx_cv_func__log10f_use = x"yes"; then
36287      for ac_func in _log10f
36288do :
36289  ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
36290if test "x$ac_cv_func__log10f" = x""yes; then :
36291  cat >>confdefs.h <<_ACEOF
36292#define HAVE__LOG10F 1
36293_ACEOF
36294
36295fi
36296done
36297
36298    fi
36299  fi
36300
36301
36302
36303
36304
36305  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
36306$as_echo_n "checking for modff declaration... " >&6; }
36307  if test x${glibcxx_cv_func_modff_use+set} != xset; then
36308    if test "${glibcxx_cv_func_modff_use+set}" = set; then :
36309  $as_echo_n "(cached) " >&6
36310else
36311
36312
36313      ac_ext=cpp
36314ac_cpp='$CXXCPP $CPPFLAGS'
36315ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36316ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36317ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36318
36319      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36320/* end confdefs.h.  */
36321#include <math.h>
36322int
36323main ()
36324{
36325 modff(0, 0);
36326  ;
36327  return 0;
36328}
36329_ACEOF
36330if ac_fn_cxx_try_compile "$LINENO"; then :
36331  glibcxx_cv_func_modff_use=yes
36332else
36333  glibcxx_cv_func_modff_use=no
36334fi
36335rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36336      ac_ext=c
36337ac_cpp='$CPP $CPPFLAGS'
36338ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36339ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36340ac_compiler_gnu=$ac_cv_c_compiler_gnu
36341
36342
36343fi
36344
36345  fi
36346  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
36347$as_echo "$glibcxx_cv_func_modff_use" >&6; }
36348
36349  if test x$glibcxx_cv_func_modff_use = x"yes"; then
36350    for ac_func in modff
36351do :
36352  ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
36353if test "x$ac_cv_func_modff" = x""yes; then :
36354  cat >>confdefs.h <<_ACEOF
36355#define HAVE_MODFF 1
36356_ACEOF
36357
36358fi
36359done
36360
36361  else
36362
36363  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
36364$as_echo_n "checking for _modff declaration... " >&6; }
36365  if test x${glibcxx_cv_func__modff_use+set} != xset; then
36366    if test "${glibcxx_cv_func__modff_use+set}" = set; then :
36367  $as_echo_n "(cached) " >&6
36368else
36369
36370
36371      ac_ext=cpp
36372ac_cpp='$CXXCPP $CPPFLAGS'
36373ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36374ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36375ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36376
36377      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36378/* end confdefs.h.  */
36379#include <math.h>
36380int
36381main ()
36382{
36383 _modff(0, 0);
36384  ;
36385  return 0;
36386}
36387_ACEOF
36388if ac_fn_cxx_try_compile "$LINENO"; then :
36389  glibcxx_cv_func__modff_use=yes
36390else
36391  glibcxx_cv_func__modff_use=no
36392fi
36393rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36394      ac_ext=c
36395ac_cpp='$CPP $CPPFLAGS'
36396ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36397ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36398ac_compiler_gnu=$ac_cv_c_compiler_gnu
36399
36400
36401fi
36402
36403  fi
36404  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
36405$as_echo "$glibcxx_cv_func__modff_use" >&6; }
36406
36407    if test x$glibcxx_cv_func__modff_use = x"yes"; then
36408      for ac_func in _modff
36409do :
36410  ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
36411if test "x$ac_cv_func__modff" = x""yes; then :
36412  cat >>confdefs.h <<_ACEOF
36413#define HAVE__MODFF 1
36414_ACEOF
36415
36416fi
36417done
36418
36419    fi
36420  fi
36421
36422
36423
36424
36425
36426  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
36427$as_echo_n "checking for modf declaration... " >&6; }
36428  if test x${glibcxx_cv_func_modf_use+set} != xset; then
36429    if test "${glibcxx_cv_func_modf_use+set}" = set; then :
36430  $as_echo_n "(cached) " >&6
36431else
36432
36433
36434      ac_ext=cpp
36435ac_cpp='$CXXCPP $CPPFLAGS'
36436ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36437ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36438ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36439
36440      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36441/* end confdefs.h.  */
36442#include <math.h>
36443int
36444main ()
36445{
36446 modf(0, 0);
36447  ;
36448  return 0;
36449}
36450_ACEOF
36451if ac_fn_cxx_try_compile "$LINENO"; then :
36452  glibcxx_cv_func_modf_use=yes
36453else
36454  glibcxx_cv_func_modf_use=no
36455fi
36456rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36457      ac_ext=c
36458ac_cpp='$CPP $CPPFLAGS'
36459ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36460ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36461ac_compiler_gnu=$ac_cv_c_compiler_gnu
36462
36463
36464fi
36465
36466  fi
36467  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
36468$as_echo "$glibcxx_cv_func_modf_use" >&6; }
36469
36470  if test x$glibcxx_cv_func_modf_use = x"yes"; then
36471    for ac_func in modf
36472do :
36473  ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
36474if test "x$ac_cv_func_modf" = x""yes; then :
36475  cat >>confdefs.h <<_ACEOF
36476#define HAVE_MODF 1
36477_ACEOF
36478
36479fi
36480done
36481
36482  else
36483
36484  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
36485$as_echo_n "checking for _modf declaration... " >&6; }
36486  if test x${glibcxx_cv_func__modf_use+set} != xset; then
36487    if test "${glibcxx_cv_func__modf_use+set}" = set; then :
36488  $as_echo_n "(cached) " >&6
36489else
36490
36491
36492      ac_ext=cpp
36493ac_cpp='$CXXCPP $CPPFLAGS'
36494ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36495ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36496ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36497
36498      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36499/* end confdefs.h.  */
36500#include <math.h>
36501int
36502main ()
36503{
36504 _modf(0, 0);
36505  ;
36506  return 0;
36507}
36508_ACEOF
36509if ac_fn_cxx_try_compile "$LINENO"; then :
36510  glibcxx_cv_func__modf_use=yes
36511else
36512  glibcxx_cv_func__modf_use=no
36513fi
36514rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36515      ac_ext=c
36516ac_cpp='$CPP $CPPFLAGS'
36517ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36518ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36519ac_compiler_gnu=$ac_cv_c_compiler_gnu
36520
36521
36522fi
36523
36524  fi
36525  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
36526$as_echo "$glibcxx_cv_func__modf_use" >&6; }
36527
36528    if test x$glibcxx_cv_func__modf_use = x"yes"; then
36529      for ac_func in _modf
36530do :
36531  ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
36532if test "x$ac_cv_func__modf" = x""yes; then :
36533  cat >>confdefs.h <<_ACEOF
36534#define HAVE__MODF 1
36535_ACEOF
36536
36537fi
36538done
36539
36540    fi
36541  fi
36542
36543
36544
36545
36546
36547  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
36548$as_echo_n "checking for powf declaration... " >&6; }
36549  if test x${glibcxx_cv_func_powf_use+set} != xset; then
36550    if test "${glibcxx_cv_func_powf_use+set}" = set; then :
36551  $as_echo_n "(cached) " >&6
36552else
36553
36554
36555      ac_ext=cpp
36556ac_cpp='$CXXCPP $CPPFLAGS'
36557ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36558ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36559ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36560
36561      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36562/* end confdefs.h.  */
36563#include <math.h>
36564int
36565main ()
36566{
36567 powf(0, 0);
36568  ;
36569  return 0;
36570}
36571_ACEOF
36572if ac_fn_cxx_try_compile "$LINENO"; then :
36573  glibcxx_cv_func_powf_use=yes
36574else
36575  glibcxx_cv_func_powf_use=no
36576fi
36577rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36578      ac_ext=c
36579ac_cpp='$CPP $CPPFLAGS'
36580ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36581ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36582ac_compiler_gnu=$ac_cv_c_compiler_gnu
36583
36584
36585fi
36586
36587  fi
36588  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
36589$as_echo "$glibcxx_cv_func_powf_use" >&6; }
36590
36591  if test x$glibcxx_cv_func_powf_use = x"yes"; then
36592    for ac_func in powf
36593do :
36594  ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
36595if test "x$ac_cv_func_powf" = x""yes; then :
36596  cat >>confdefs.h <<_ACEOF
36597#define HAVE_POWF 1
36598_ACEOF
36599
36600fi
36601done
36602
36603  else
36604
36605  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
36606$as_echo_n "checking for _powf declaration... " >&6; }
36607  if test x${glibcxx_cv_func__powf_use+set} != xset; then
36608    if test "${glibcxx_cv_func__powf_use+set}" = set; then :
36609  $as_echo_n "(cached) " >&6
36610else
36611
36612
36613      ac_ext=cpp
36614ac_cpp='$CXXCPP $CPPFLAGS'
36615ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36616ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36617ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36618
36619      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36620/* end confdefs.h.  */
36621#include <math.h>
36622int
36623main ()
36624{
36625 _powf(0, 0);
36626  ;
36627  return 0;
36628}
36629_ACEOF
36630if ac_fn_cxx_try_compile "$LINENO"; then :
36631  glibcxx_cv_func__powf_use=yes
36632else
36633  glibcxx_cv_func__powf_use=no
36634fi
36635rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36636      ac_ext=c
36637ac_cpp='$CPP $CPPFLAGS'
36638ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36639ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36640ac_compiler_gnu=$ac_cv_c_compiler_gnu
36641
36642
36643fi
36644
36645  fi
36646  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
36647$as_echo "$glibcxx_cv_func__powf_use" >&6; }
36648
36649    if test x$glibcxx_cv_func__powf_use = x"yes"; then
36650      for ac_func in _powf
36651do :
36652  ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
36653if test "x$ac_cv_func__powf" = x""yes; then :
36654  cat >>confdefs.h <<_ACEOF
36655#define HAVE__POWF 1
36656_ACEOF
36657
36658fi
36659done
36660
36661    fi
36662  fi
36663
36664
36665
36666
36667
36668  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
36669$as_echo_n "checking for sqrtf declaration... " >&6; }
36670  if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
36671    if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
36672  $as_echo_n "(cached) " >&6
36673else
36674
36675
36676      ac_ext=cpp
36677ac_cpp='$CXXCPP $CPPFLAGS'
36678ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36679ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36680ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36681
36682      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36683/* end confdefs.h.  */
36684#include <math.h>
36685		      #ifdef HAVE_IEEEFP_H
36686		      #include <ieeefp.h>
36687		      #endif
36688
36689int
36690main ()
36691{
36692 sqrtf(0);
36693  ;
36694  return 0;
36695}
36696_ACEOF
36697if ac_fn_cxx_try_compile "$LINENO"; then :
36698  glibcxx_cv_func_sqrtf_use=yes
36699else
36700  glibcxx_cv_func_sqrtf_use=no
36701fi
36702rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36703      ac_ext=c
36704ac_cpp='$CPP $CPPFLAGS'
36705ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36706ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36707ac_compiler_gnu=$ac_cv_c_compiler_gnu
36708
36709
36710fi
36711
36712  fi
36713  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
36714$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
36715
36716  if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
36717    for ac_func in sqrtf
36718do :
36719  ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
36720if test "x$ac_cv_func_sqrtf" = x""yes; then :
36721  cat >>confdefs.h <<_ACEOF
36722#define HAVE_SQRTF 1
36723_ACEOF
36724
36725fi
36726done
36727
36728  else
36729
36730  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
36731$as_echo_n "checking for _sqrtf declaration... " >&6; }
36732  if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
36733    if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
36734  $as_echo_n "(cached) " >&6
36735else
36736
36737
36738      ac_ext=cpp
36739ac_cpp='$CXXCPP $CPPFLAGS'
36740ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36741ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36742ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36743
36744      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36745/* end confdefs.h.  */
36746#include <math.h>
36747		      #ifdef HAVE_IEEEFP_H
36748		      #include <ieeefp.h>
36749		      #endif
36750
36751int
36752main ()
36753{
36754 _sqrtf(0);
36755  ;
36756  return 0;
36757}
36758_ACEOF
36759if ac_fn_cxx_try_compile "$LINENO"; then :
36760  glibcxx_cv_func__sqrtf_use=yes
36761else
36762  glibcxx_cv_func__sqrtf_use=no
36763fi
36764rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36765      ac_ext=c
36766ac_cpp='$CPP $CPPFLAGS'
36767ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36768ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36769ac_compiler_gnu=$ac_cv_c_compiler_gnu
36770
36771
36772fi
36773
36774  fi
36775  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
36776$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
36777
36778    if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
36779      for ac_func in _sqrtf
36780do :
36781  ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
36782if test "x$ac_cv_func__sqrtf" = x""yes; then :
36783  cat >>confdefs.h <<_ACEOF
36784#define HAVE__SQRTF 1
36785_ACEOF
36786
36787fi
36788done
36789
36790    fi
36791  fi
36792
36793
36794
36795
36796
36797  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
36798$as_echo_n "checking for sincosf declaration... " >&6; }
36799  if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
36800    if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
36801  $as_echo_n "(cached) " >&6
36802else
36803
36804
36805      ac_ext=cpp
36806ac_cpp='$CXXCPP $CPPFLAGS'
36807ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36808ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36809ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36810
36811      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36812/* end confdefs.h.  */
36813#include <math.h>
36814int
36815main ()
36816{
36817 sincosf(0, 0, 0);
36818  ;
36819  return 0;
36820}
36821_ACEOF
36822if ac_fn_cxx_try_compile "$LINENO"; then :
36823  glibcxx_cv_func_sincosf_use=yes
36824else
36825  glibcxx_cv_func_sincosf_use=no
36826fi
36827rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36828      ac_ext=c
36829ac_cpp='$CPP $CPPFLAGS'
36830ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36831ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36832ac_compiler_gnu=$ac_cv_c_compiler_gnu
36833
36834
36835fi
36836
36837  fi
36838  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
36839$as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
36840
36841  if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
36842    for ac_func in sincosf
36843do :
36844  ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
36845if test "x$ac_cv_func_sincosf" = x""yes; then :
36846  cat >>confdefs.h <<_ACEOF
36847#define HAVE_SINCOSF 1
36848_ACEOF
36849
36850fi
36851done
36852
36853  else
36854
36855  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
36856$as_echo_n "checking for _sincosf declaration... " >&6; }
36857  if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
36858    if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
36859  $as_echo_n "(cached) " >&6
36860else
36861
36862
36863      ac_ext=cpp
36864ac_cpp='$CXXCPP $CPPFLAGS'
36865ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36866ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36867ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36868
36869      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36870/* end confdefs.h.  */
36871#include <math.h>
36872int
36873main ()
36874{
36875 _sincosf(0, 0, 0);
36876  ;
36877  return 0;
36878}
36879_ACEOF
36880if ac_fn_cxx_try_compile "$LINENO"; then :
36881  glibcxx_cv_func__sincosf_use=yes
36882else
36883  glibcxx_cv_func__sincosf_use=no
36884fi
36885rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36886      ac_ext=c
36887ac_cpp='$CPP $CPPFLAGS'
36888ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36889ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36890ac_compiler_gnu=$ac_cv_c_compiler_gnu
36891
36892
36893fi
36894
36895  fi
36896  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
36897$as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
36898
36899    if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
36900      for ac_func in _sincosf
36901do :
36902  ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
36903if test "x$ac_cv_func__sincosf" = x""yes; then :
36904  cat >>confdefs.h <<_ACEOF
36905#define HAVE__SINCOSF 1
36906_ACEOF
36907
36908fi
36909done
36910
36911    fi
36912  fi
36913
36914
36915
36916
36917
36918  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
36919$as_echo_n "checking for finitef declaration... " >&6; }
36920  if test x${glibcxx_cv_func_finitef_use+set} != xset; then
36921    if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
36922  $as_echo_n "(cached) " >&6
36923else
36924
36925
36926      ac_ext=cpp
36927ac_cpp='$CXXCPP $CPPFLAGS'
36928ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36929ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36930ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36931
36932      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36933/* end confdefs.h.  */
36934#include <math.h>
36935		      #ifdef HAVE_IEEEFP_H
36936		      #include <ieeefp.h>
36937		      #endif
36938
36939int
36940main ()
36941{
36942 finitef(0);
36943  ;
36944  return 0;
36945}
36946_ACEOF
36947if ac_fn_cxx_try_compile "$LINENO"; then :
36948  glibcxx_cv_func_finitef_use=yes
36949else
36950  glibcxx_cv_func_finitef_use=no
36951fi
36952rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36953      ac_ext=c
36954ac_cpp='$CPP $CPPFLAGS'
36955ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36956ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36957ac_compiler_gnu=$ac_cv_c_compiler_gnu
36958
36959
36960fi
36961
36962  fi
36963  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
36964$as_echo "$glibcxx_cv_func_finitef_use" >&6; }
36965
36966  if test x$glibcxx_cv_func_finitef_use = x"yes"; then
36967    for ac_func in finitef
36968do :
36969  ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
36970if test "x$ac_cv_func_finitef" = x""yes; then :
36971  cat >>confdefs.h <<_ACEOF
36972#define HAVE_FINITEF 1
36973_ACEOF
36974
36975fi
36976done
36977
36978  else
36979
36980  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
36981$as_echo_n "checking for _finitef declaration... " >&6; }
36982  if test x${glibcxx_cv_func__finitef_use+set} != xset; then
36983    if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
36984  $as_echo_n "(cached) " >&6
36985else
36986
36987
36988      ac_ext=cpp
36989ac_cpp='$CXXCPP $CPPFLAGS'
36990ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36991ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36992ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36993
36994      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36995/* end confdefs.h.  */
36996#include <math.h>
36997		      #ifdef HAVE_IEEEFP_H
36998		      #include <ieeefp.h>
36999		      #endif
37000
37001int
37002main ()
37003{
37004 _finitef(0);
37005  ;
37006  return 0;
37007}
37008_ACEOF
37009if ac_fn_cxx_try_compile "$LINENO"; then :
37010  glibcxx_cv_func__finitef_use=yes
37011else
37012  glibcxx_cv_func__finitef_use=no
37013fi
37014rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37015      ac_ext=c
37016ac_cpp='$CPP $CPPFLAGS'
37017ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37018ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37019ac_compiler_gnu=$ac_cv_c_compiler_gnu
37020
37021
37022fi
37023
37024  fi
37025  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
37026$as_echo "$glibcxx_cv_func__finitef_use" >&6; }
37027
37028    if test x$glibcxx_cv_func__finitef_use = x"yes"; then
37029      for ac_func in _finitef
37030do :
37031  ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
37032if test "x$ac_cv_func__finitef" = x""yes; then :
37033  cat >>confdefs.h <<_ACEOF
37034#define HAVE__FINITEF 1
37035_ACEOF
37036
37037fi
37038done
37039
37040    fi
37041  fi
37042
37043
37044
37045
37046
37047    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
37048$as_echo_n "checking for long double trig functions... " >&6; }
37049  if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
37050  $as_echo_n "(cached) " >&6
37051else
37052
37053
37054    ac_ext=cpp
37055ac_cpp='$CXXCPP $CPPFLAGS'
37056ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37057ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37058ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37059
37060    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37061/* end confdefs.h.  */
37062#include <math.h>
37063int
37064main ()
37065{
37066acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
37067  ;
37068  return 0;
37069}
37070_ACEOF
37071if ac_fn_cxx_try_compile "$LINENO"; then :
37072  glibcxx_cv_func_long_double_trig_use=yes
37073else
37074  glibcxx_cv_func_long_double_trig_use=no
37075fi
37076rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37077    ac_ext=c
37078ac_cpp='$CPP $CPPFLAGS'
37079ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37080ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37081ac_compiler_gnu=$ac_cv_c_compiler_gnu
37082
37083fi
37084
37085  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
37086$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
37087  if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
37088    for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
37089do :
37090  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37091ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37092eval as_val=\$$as_ac_var
37093   if test "x$as_val" = x""yes; then :
37094  cat >>confdefs.h <<_ACEOF
37095#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37096_ACEOF
37097
37098fi
37099done
37100
37101  else
37102    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
37103$as_echo_n "checking for _long double trig functions... " >&6; }
37104    if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
37105  $as_echo_n "(cached) " >&6
37106else
37107
37108
37109      ac_ext=cpp
37110ac_cpp='$CXXCPP $CPPFLAGS'
37111ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37112ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37113ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37114
37115      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37116/* end confdefs.h.  */
37117#include <math.h>
37118int
37119main ()
37120{
37121_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
37122  ;
37123  return 0;
37124}
37125_ACEOF
37126if ac_fn_cxx_try_compile "$LINENO"; then :
37127  glibcxx_cv_func__long_double_trig_use=yes
37128else
37129  glibcxx_cv_func__long_double_trig_use=no
37130fi
37131rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37132      ac_ext=c
37133ac_cpp='$CPP $CPPFLAGS'
37134ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37135ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37136ac_compiler_gnu=$ac_cv_c_compiler_gnu
37137
37138fi
37139
37140    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
37141$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
37142    if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
37143      for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
37144do :
37145  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37146ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37147eval as_val=\$$as_ac_var
37148   if test "x$as_val" = x""yes; then :
37149  cat >>confdefs.h <<_ACEOF
37150#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37151_ACEOF
37152
37153fi
37154done
37155
37156    fi
37157  fi
37158
37159
37160
37161
37162
37163    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
37164$as_echo_n "checking for long double round functions... " >&6; }
37165  if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
37166  $as_echo_n "(cached) " >&6
37167else
37168
37169
37170    ac_ext=cpp
37171ac_cpp='$CXXCPP $CPPFLAGS'
37172ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37173ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37174ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37175
37176    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37177/* end confdefs.h.  */
37178#include <math.h>
37179int
37180main ()
37181{
37182ceill (0); floorl (0);
37183  ;
37184  return 0;
37185}
37186_ACEOF
37187if ac_fn_cxx_try_compile "$LINENO"; then :
37188  glibcxx_cv_func_long_double_round_use=yes
37189else
37190  glibcxx_cv_func_long_double_round_use=no
37191fi
37192rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37193    ac_ext=c
37194ac_cpp='$CPP $CPPFLAGS'
37195ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37196ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37197ac_compiler_gnu=$ac_cv_c_compiler_gnu
37198
37199fi
37200
37201  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
37202$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
37203  if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
37204    for ac_func in ceill floorl
37205do :
37206  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37207ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37208eval as_val=\$$as_ac_var
37209   if test "x$as_val" = x""yes; then :
37210  cat >>confdefs.h <<_ACEOF
37211#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37212_ACEOF
37213
37214fi
37215done
37216
37217  else
37218    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
37219$as_echo_n "checking for _long double round functions... " >&6; }
37220    if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
37221  $as_echo_n "(cached) " >&6
37222else
37223
37224
37225      ac_ext=cpp
37226ac_cpp='$CXXCPP $CPPFLAGS'
37227ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37228ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37229ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37230
37231      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37232/* end confdefs.h.  */
37233#include <math.h>
37234int
37235main ()
37236{
37237_ceill (0); _floorl (0);
37238  ;
37239  return 0;
37240}
37241_ACEOF
37242if ac_fn_cxx_try_compile "$LINENO"; then :
37243  glibcxx_cv_func__long_double_round_use=yes
37244else
37245  glibcxx_cv_func__long_double_round_use=no
37246fi
37247rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37248      ac_ext=c
37249ac_cpp='$CPP $CPPFLAGS'
37250ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37251ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37252ac_compiler_gnu=$ac_cv_c_compiler_gnu
37253
37254fi
37255
37256    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
37257$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
37258    if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
37259      for ac_func in _ceill _floorl
37260do :
37261  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37262ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37263eval as_val=\$$as_ac_var
37264   if test "x$as_val" = x""yes; then :
37265  cat >>confdefs.h <<_ACEOF
37266#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37267_ACEOF
37268
37269fi
37270done
37271
37272    fi
37273  fi
37274
37275
37276
37277
37278
37279
37280  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
37281$as_echo_n "checking for isnanl declaration... " >&6; }
37282  if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
37283    if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
37284  $as_echo_n "(cached) " >&6
37285else
37286
37287
37288      ac_ext=cpp
37289ac_cpp='$CXXCPP $CPPFLAGS'
37290ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37291ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37292ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37293
37294      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37295/* end confdefs.h.  */
37296#include <math.h>
37297		      #ifdef HAVE_IEEEFP_H
37298		      #include <ieeefp.h>
37299		      #endif
37300
37301int
37302main ()
37303{
37304 isnanl(0);
37305  ;
37306  return 0;
37307}
37308_ACEOF
37309if ac_fn_cxx_try_compile "$LINENO"; then :
37310  glibcxx_cv_func_isnanl_use=yes
37311else
37312  glibcxx_cv_func_isnanl_use=no
37313fi
37314rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37315      ac_ext=c
37316ac_cpp='$CPP $CPPFLAGS'
37317ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37318ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37319ac_compiler_gnu=$ac_cv_c_compiler_gnu
37320
37321
37322fi
37323
37324  fi
37325  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
37326$as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
37327
37328  if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
37329    for ac_func in isnanl
37330do :
37331  ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
37332if test "x$ac_cv_func_isnanl" = x""yes; then :
37333  cat >>confdefs.h <<_ACEOF
37334#define HAVE_ISNANL 1
37335_ACEOF
37336
37337fi
37338done
37339
37340  else
37341
37342  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
37343$as_echo_n "checking for _isnanl declaration... " >&6; }
37344  if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
37345    if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
37346  $as_echo_n "(cached) " >&6
37347else
37348
37349
37350      ac_ext=cpp
37351ac_cpp='$CXXCPP $CPPFLAGS'
37352ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37353ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37354ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37355
37356      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37357/* end confdefs.h.  */
37358#include <math.h>
37359		      #ifdef HAVE_IEEEFP_H
37360		      #include <ieeefp.h>
37361		      #endif
37362
37363int
37364main ()
37365{
37366 _isnanl(0);
37367  ;
37368  return 0;
37369}
37370_ACEOF
37371if ac_fn_cxx_try_compile "$LINENO"; then :
37372  glibcxx_cv_func__isnanl_use=yes
37373else
37374  glibcxx_cv_func__isnanl_use=no
37375fi
37376rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37377      ac_ext=c
37378ac_cpp='$CPP $CPPFLAGS'
37379ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37380ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37381ac_compiler_gnu=$ac_cv_c_compiler_gnu
37382
37383
37384fi
37385
37386  fi
37387  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
37388$as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
37389
37390    if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
37391      for ac_func in _isnanl
37392do :
37393  ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
37394if test "x$ac_cv_func__isnanl" = x""yes; then :
37395  cat >>confdefs.h <<_ACEOF
37396#define HAVE__ISNANL 1
37397_ACEOF
37398
37399fi
37400done
37401
37402    fi
37403  fi
37404
37405
37406
37407
37408
37409  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
37410$as_echo_n "checking for isinfl declaration... " >&6; }
37411  if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
37412    if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
37413  $as_echo_n "(cached) " >&6
37414else
37415
37416
37417      ac_ext=cpp
37418ac_cpp='$CXXCPP $CPPFLAGS'
37419ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37420ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37421ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37422
37423      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37424/* end confdefs.h.  */
37425#include <math.h>
37426		      #ifdef HAVE_IEEEFP_H
37427		      #include <ieeefp.h>
37428		      #endif
37429
37430int
37431main ()
37432{
37433 isinfl(0);
37434  ;
37435  return 0;
37436}
37437_ACEOF
37438if ac_fn_cxx_try_compile "$LINENO"; then :
37439  glibcxx_cv_func_isinfl_use=yes
37440else
37441  glibcxx_cv_func_isinfl_use=no
37442fi
37443rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37444      ac_ext=c
37445ac_cpp='$CPP $CPPFLAGS'
37446ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37447ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37448ac_compiler_gnu=$ac_cv_c_compiler_gnu
37449
37450
37451fi
37452
37453  fi
37454  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
37455$as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
37456
37457  if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
37458    for ac_func in isinfl
37459do :
37460  ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
37461if test "x$ac_cv_func_isinfl" = x""yes; then :
37462  cat >>confdefs.h <<_ACEOF
37463#define HAVE_ISINFL 1
37464_ACEOF
37465
37466fi
37467done
37468
37469  else
37470
37471  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
37472$as_echo_n "checking for _isinfl declaration... " >&6; }
37473  if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
37474    if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
37475  $as_echo_n "(cached) " >&6
37476else
37477
37478
37479      ac_ext=cpp
37480ac_cpp='$CXXCPP $CPPFLAGS'
37481ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37482ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37483ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37484
37485      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37486/* end confdefs.h.  */
37487#include <math.h>
37488		      #ifdef HAVE_IEEEFP_H
37489		      #include <ieeefp.h>
37490		      #endif
37491
37492int
37493main ()
37494{
37495 _isinfl(0);
37496  ;
37497  return 0;
37498}
37499_ACEOF
37500if ac_fn_cxx_try_compile "$LINENO"; then :
37501  glibcxx_cv_func__isinfl_use=yes
37502else
37503  glibcxx_cv_func__isinfl_use=no
37504fi
37505rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37506      ac_ext=c
37507ac_cpp='$CPP $CPPFLAGS'
37508ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37509ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37510ac_compiler_gnu=$ac_cv_c_compiler_gnu
37511
37512
37513fi
37514
37515  fi
37516  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
37517$as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
37518
37519    if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
37520      for ac_func in _isinfl
37521do :
37522  ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
37523if test "x$ac_cv_func__isinfl" = x""yes; then :
37524  cat >>confdefs.h <<_ACEOF
37525#define HAVE__ISINFL 1
37526_ACEOF
37527
37528fi
37529done
37530
37531    fi
37532  fi
37533
37534
37535
37536
37537
37538  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
37539$as_echo_n "checking for atan2l declaration... " >&6; }
37540  if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37541    if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
37542  $as_echo_n "(cached) " >&6
37543else
37544
37545
37546      ac_ext=cpp
37547ac_cpp='$CXXCPP $CPPFLAGS'
37548ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37549ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37550ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37551
37552      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37553/* end confdefs.h.  */
37554#include <math.h>
37555int
37556main ()
37557{
37558 atan2l(0, 0);
37559  ;
37560  return 0;
37561}
37562_ACEOF
37563if ac_fn_cxx_try_compile "$LINENO"; then :
37564  glibcxx_cv_func_atan2l_use=yes
37565else
37566  glibcxx_cv_func_atan2l_use=no
37567fi
37568rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37569      ac_ext=c
37570ac_cpp='$CPP $CPPFLAGS'
37571ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37572ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37573ac_compiler_gnu=$ac_cv_c_compiler_gnu
37574
37575
37576fi
37577
37578  fi
37579  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
37580$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
37581
37582  if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
37583    for ac_func in atan2l
37584do :
37585  ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
37586if test "x$ac_cv_func_atan2l" = x""yes; then :
37587  cat >>confdefs.h <<_ACEOF
37588#define HAVE_ATAN2L 1
37589_ACEOF
37590
37591fi
37592done
37593
37594  else
37595
37596  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
37597$as_echo_n "checking for _atan2l declaration... " >&6; }
37598  if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
37599    if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
37600  $as_echo_n "(cached) " >&6
37601else
37602
37603
37604      ac_ext=cpp
37605ac_cpp='$CXXCPP $CPPFLAGS'
37606ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37607ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37608ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37609
37610      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37611/* end confdefs.h.  */
37612#include <math.h>
37613int
37614main ()
37615{
37616 _atan2l(0, 0);
37617  ;
37618  return 0;
37619}
37620_ACEOF
37621if ac_fn_cxx_try_compile "$LINENO"; then :
37622  glibcxx_cv_func__atan2l_use=yes
37623else
37624  glibcxx_cv_func__atan2l_use=no
37625fi
37626rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37627      ac_ext=c
37628ac_cpp='$CPP $CPPFLAGS'
37629ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37630ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37631ac_compiler_gnu=$ac_cv_c_compiler_gnu
37632
37633
37634fi
37635
37636  fi
37637  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
37638$as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
37639
37640    if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37641      for ac_func in _atan2l
37642do :
37643  ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
37644if test "x$ac_cv_func__atan2l" = x""yes; then :
37645  cat >>confdefs.h <<_ACEOF
37646#define HAVE__ATAN2L 1
37647_ACEOF
37648
37649fi
37650done
37651
37652    fi
37653  fi
37654
37655
37656
37657
37658
37659  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
37660$as_echo_n "checking for expl declaration... " >&6; }
37661  if test x${glibcxx_cv_func_expl_use+set} != xset; then
37662    if test "${glibcxx_cv_func_expl_use+set}" = set; then :
37663  $as_echo_n "(cached) " >&6
37664else
37665
37666
37667      ac_ext=cpp
37668ac_cpp='$CXXCPP $CPPFLAGS'
37669ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37670ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37671ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37672
37673      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37674/* end confdefs.h.  */
37675#include <math.h>
37676		      #ifdef HAVE_IEEEFP_H
37677		      #include <ieeefp.h>
37678		      #endif
37679
37680int
37681main ()
37682{
37683 expl(0);
37684  ;
37685  return 0;
37686}
37687_ACEOF
37688if ac_fn_cxx_try_compile "$LINENO"; then :
37689  glibcxx_cv_func_expl_use=yes
37690else
37691  glibcxx_cv_func_expl_use=no
37692fi
37693rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37694      ac_ext=c
37695ac_cpp='$CPP $CPPFLAGS'
37696ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37697ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37698ac_compiler_gnu=$ac_cv_c_compiler_gnu
37699
37700
37701fi
37702
37703  fi
37704  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
37705$as_echo "$glibcxx_cv_func_expl_use" >&6; }
37706
37707  if test x$glibcxx_cv_func_expl_use = x"yes"; then
37708    for ac_func in expl
37709do :
37710  ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
37711if test "x$ac_cv_func_expl" = x""yes; then :
37712  cat >>confdefs.h <<_ACEOF
37713#define HAVE_EXPL 1
37714_ACEOF
37715
37716fi
37717done
37718
37719  else
37720
37721  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
37722$as_echo_n "checking for _expl declaration... " >&6; }
37723  if test x${glibcxx_cv_func__expl_use+set} != xset; then
37724    if test "${glibcxx_cv_func__expl_use+set}" = set; then :
37725  $as_echo_n "(cached) " >&6
37726else
37727
37728
37729      ac_ext=cpp
37730ac_cpp='$CXXCPP $CPPFLAGS'
37731ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37732ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37733ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37734
37735      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37736/* end confdefs.h.  */
37737#include <math.h>
37738		      #ifdef HAVE_IEEEFP_H
37739		      #include <ieeefp.h>
37740		      #endif
37741
37742int
37743main ()
37744{
37745 _expl(0);
37746  ;
37747  return 0;
37748}
37749_ACEOF
37750if ac_fn_cxx_try_compile "$LINENO"; then :
37751  glibcxx_cv_func__expl_use=yes
37752else
37753  glibcxx_cv_func__expl_use=no
37754fi
37755rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37756      ac_ext=c
37757ac_cpp='$CPP $CPPFLAGS'
37758ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37759ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37760ac_compiler_gnu=$ac_cv_c_compiler_gnu
37761
37762
37763fi
37764
37765  fi
37766  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
37767$as_echo "$glibcxx_cv_func__expl_use" >&6; }
37768
37769    if test x$glibcxx_cv_func__expl_use = x"yes"; then
37770      for ac_func in _expl
37771do :
37772  ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
37773if test "x$ac_cv_func__expl" = x""yes; then :
37774  cat >>confdefs.h <<_ACEOF
37775#define HAVE__EXPL 1
37776_ACEOF
37777
37778fi
37779done
37780
37781    fi
37782  fi
37783
37784
37785
37786
37787
37788  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
37789$as_echo_n "checking for fabsl declaration... " >&6; }
37790  if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
37791    if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
37792  $as_echo_n "(cached) " >&6
37793else
37794
37795
37796      ac_ext=cpp
37797ac_cpp='$CXXCPP $CPPFLAGS'
37798ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37799ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37800ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37801
37802      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37803/* end confdefs.h.  */
37804#include <math.h>
37805		      #ifdef HAVE_IEEEFP_H
37806		      #include <ieeefp.h>
37807		      #endif
37808
37809int
37810main ()
37811{
37812 fabsl(0);
37813  ;
37814  return 0;
37815}
37816_ACEOF
37817if ac_fn_cxx_try_compile "$LINENO"; then :
37818  glibcxx_cv_func_fabsl_use=yes
37819else
37820  glibcxx_cv_func_fabsl_use=no
37821fi
37822rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37823      ac_ext=c
37824ac_cpp='$CPP $CPPFLAGS'
37825ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37826ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37827ac_compiler_gnu=$ac_cv_c_compiler_gnu
37828
37829
37830fi
37831
37832  fi
37833  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
37834$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
37835
37836  if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
37837    for ac_func in fabsl
37838do :
37839  ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
37840if test "x$ac_cv_func_fabsl" = x""yes; then :
37841  cat >>confdefs.h <<_ACEOF
37842#define HAVE_FABSL 1
37843_ACEOF
37844
37845fi
37846done
37847
37848  else
37849
37850  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
37851$as_echo_n "checking for _fabsl declaration... " >&6; }
37852  if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
37853    if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
37854  $as_echo_n "(cached) " >&6
37855else
37856
37857
37858      ac_ext=cpp
37859ac_cpp='$CXXCPP $CPPFLAGS'
37860ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37861ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37862ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37863
37864      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37865/* end confdefs.h.  */
37866#include <math.h>
37867		      #ifdef HAVE_IEEEFP_H
37868		      #include <ieeefp.h>
37869		      #endif
37870
37871int
37872main ()
37873{
37874 _fabsl(0);
37875  ;
37876  return 0;
37877}
37878_ACEOF
37879if ac_fn_cxx_try_compile "$LINENO"; then :
37880  glibcxx_cv_func__fabsl_use=yes
37881else
37882  glibcxx_cv_func__fabsl_use=no
37883fi
37884rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37885      ac_ext=c
37886ac_cpp='$CPP $CPPFLAGS'
37887ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37888ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37889ac_compiler_gnu=$ac_cv_c_compiler_gnu
37890
37891
37892fi
37893
37894  fi
37895  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
37896$as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
37897
37898    if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
37899      for ac_func in _fabsl
37900do :
37901  ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
37902if test "x$ac_cv_func__fabsl" = x""yes; then :
37903  cat >>confdefs.h <<_ACEOF
37904#define HAVE__FABSL 1
37905_ACEOF
37906
37907fi
37908done
37909
37910    fi
37911  fi
37912
37913
37914
37915
37916
37917  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
37918$as_echo_n "checking for fmodl declaration... " >&6; }
37919  if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
37920    if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
37921  $as_echo_n "(cached) " >&6
37922else
37923
37924
37925      ac_ext=cpp
37926ac_cpp='$CXXCPP $CPPFLAGS'
37927ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37928ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37929ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37930
37931      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37932/* end confdefs.h.  */
37933#include <math.h>
37934int
37935main ()
37936{
37937 fmodl(0, 0);
37938  ;
37939  return 0;
37940}
37941_ACEOF
37942if ac_fn_cxx_try_compile "$LINENO"; then :
37943  glibcxx_cv_func_fmodl_use=yes
37944else
37945  glibcxx_cv_func_fmodl_use=no
37946fi
37947rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37948      ac_ext=c
37949ac_cpp='$CPP $CPPFLAGS'
37950ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37951ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37952ac_compiler_gnu=$ac_cv_c_compiler_gnu
37953
37954
37955fi
37956
37957  fi
37958  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
37959$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
37960
37961  if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
37962    for ac_func in fmodl
37963do :
37964  ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
37965if test "x$ac_cv_func_fmodl" = x""yes; then :
37966  cat >>confdefs.h <<_ACEOF
37967#define HAVE_FMODL 1
37968_ACEOF
37969
37970fi
37971done
37972
37973  else
37974
37975  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
37976$as_echo_n "checking for _fmodl declaration... " >&6; }
37977  if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
37978    if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
37979  $as_echo_n "(cached) " >&6
37980else
37981
37982
37983      ac_ext=cpp
37984ac_cpp='$CXXCPP $CPPFLAGS'
37985ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37986ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37987ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37988
37989      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37990/* end confdefs.h.  */
37991#include <math.h>
37992int
37993main ()
37994{
37995 _fmodl(0, 0);
37996  ;
37997  return 0;
37998}
37999_ACEOF
38000if ac_fn_cxx_try_compile "$LINENO"; then :
38001  glibcxx_cv_func__fmodl_use=yes
38002else
38003  glibcxx_cv_func__fmodl_use=no
38004fi
38005rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38006      ac_ext=c
38007ac_cpp='$CPP $CPPFLAGS'
38008ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38009ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38010ac_compiler_gnu=$ac_cv_c_compiler_gnu
38011
38012
38013fi
38014
38015  fi
38016  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
38017$as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
38018
38019    if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
38020      for ac_func in _fmodl
38021do :
38022  ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
38023if test "x$ac_cv_func__fmodl" = x""yes; then :
38024  cat >>confdefs.h <<_ACEOF
38025#define HAVE__FMODL 1
38026_ACEOF
38027
38028fi
38029done
38030
38031    fi
38032  fi
38033
38034
38035
38036
38037
38038  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
38039$as_echo_n "checking for frexpl declaration... " >&6; }
38040  if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
38041    if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
38042  $as_echo_n "(cached) " >&6
38043else
38044
38045
38046      ac_ext=cpp
38047ac_cpp='$CXXCPP $CPPFLAGS'
38048ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38049ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38050ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38051
38052      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38053/* end confdefs.h.  */
38054#include <math.h>
38055int
38056main ()
38057{
38058 frexpl(0, 0);
38059  ;
38060  return 0;
38061}
38062_ACEOF
38063if ac_fn_cxx_try_compile "$LINENO"; then :
38064  glibcxx_cv_func_frexpl_use=yes
38065else
38066  glibcxx_cv_func_frexpl_use=no
38067fi
38068rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38069      ac_ext=c
38070ac_cpp='$CPP $CPPFLAGS'
38071ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38072ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38073ac_compiler_gnu=$ac_cv_c_compiler_gnu
38074
38075
38076fi
38077
38078  fi
38079  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
38080$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
38081
38082  if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
38083    for ac_func in frexpl
38084do :
38085  ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
38086if test "x$ac_cv_func_frexpl" = x""yes; then :
38087  cat >>confdefs.h <<_ACEOF
38088#define HAVE_FREXPL 1
38089_ACEOF
38090
38091fi
38092done
38093
38094  else
38095
38096  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
38097$as_echo_n "checking for _frexpl declaration... " >&6; }
38098  if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
38099    if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
38100  $as_echo_n "(cached) " >&6
38101else
38102
38103
38104      ac_ext=cpp
38105ac_cpp='$CXXCPP $CPPFLAGS'
38106ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38107ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38108ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38109
38110      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38111/* end confdefs.h.  */
38112#include <math.h>
38113int
38114main ()
38115{
38116 _frexpl(0, 0);
38117  ;
38118  return 0;
38119}
38120_ACEOF
38121if ac_fn_cxx_try_compile "$LINENO"; then :
38122  glibcxx_cv_func__frexpl_use=yes
38123else
38124  glibcxx_cv_func__frexpl_use=no
38125fi
38126rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38127      ac_ext=c
38128ac_cpp='$CPP $CPPFLAGS'
38129ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38130ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38131ac_compiler_gnu=$ac_cv_c_compiler_gnu
38132
38133
38134fi
38135
38136  fi
38137  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
38138$as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
38139
38140    if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
38141      for ac_func in _frexpl
38142do :
38143  ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
38144if test "x$ac_cv_func__frexpl" = x""yes; then :
38145  cat >>confdefs.h <<_ACEOF
38146#define HAVE__FREXPL 1
38147_ACEOF
38148
38149fi
38150done
38151
38152    fi
38153  fi
38154
38155
38156
38157
38158
38159  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
38160$as_echo_n "checking for hypotl declaration... " >&6; }
38161  if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
38162    if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
38163  $as_echo_n "(cached) " >&6
38164else
38165
38166
38167      ac_ext=cpp
38168ac_cpp='$CXXCPP $CPPFLAGS'
38169ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38170ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38171ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38172
38173      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38174/* end confdefs.h.  */
38175#include <math.h>
38176int
38177main ()
38178{
38179 hypotl(0, 0);
38180  ;
38181  return 0;
38182}
38183_ACEOF
38184if ac_fn_cxx_try_compile "$LINENO"; then :
38185  glibcxx_cv_func_hypotl_use=yes
38186else
38187  glibcxx_cv_func_hypotl_use=no
38188fi
38189rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38190      ac_ext=c
38191ac_cpp='$CPP $CPPFLAGS'
38192ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38193ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38194ac_compiler_gnu=$ac_cv_c_compiler_gnu
38195
38196
38197fi
38198
38199  fi
38200  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
38201$as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
38202
38203  if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
38204    for ac_func in hypotl
38205do :
38206  ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
38207if test "x$ac_cv_func_hypotl" = x""yes; then :
38208  cat >>confdefs.h <<_ACEOF
38209#define HAVE_HYPOTL 1
38210_ACEOF
38211
38212fi
38213done
38214
38215  else
38216
38217  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
38218$as_echo_n "checking for _hypotl declaration... " >&6; }
38219  if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
38220    if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
38221  $as_echo_n "(cached) " >&6
38222else
38223
38224
38225      ac_ext=cpp
38226ac_cpp='$CXXCPP $CPPFLAGS'
38227ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38228ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38229ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38230
38231      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38232/* end confdefs.h.  */
38233#include <math.h>
38234int
38235main ()
38236{
38237 _hypotl(0, 0);
38238  ;
38239  return 0;
38240}
38241_ACEOF
38242if ac_fn_cxx_try_compile "$LINENO"; then :
38243  glibcxx_cv_func__hypotl_use=yes
38244else
38245  glibcxx_cv_func__hypotl_use=no
38246fi
38247rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38248      ac_ext=c
38249ac_cpp='$CPP $CPPFLAGS'
38250ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38251ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38252ac_compiler_gnu=$ac_cv_c_compiler_gnu
38253
38254
38255fi
38256
38257  fi
38258  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
38259$as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
38260
38261    if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
38262      for ac_func in _hypotl
38263do :
38264  ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
38265if test "x$ac_cv_func__hypotl" = x""yes; then :
38266  cat >>confdefs.h <<_ACEOF
38267#define HAVE__HYPOTL 1
38268_ACEOF
38269
38270fi
38271done
38272
38273    fi
38274  fi
38275
38276
38277
38278
38279
38280  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
38281$as_echo_n "checking for ldexpl declaration... " >&6; }
38282  if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
38283    if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
38284  $as_echo_n "(cached) " >&6
38285else
38286
38287
38288      ac_ext=cpp
38289ac_cpp='$CXXCPP $CPPFLAGS'
38290ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38291ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38292ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38293
38294      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38295/* end confdefs.h.  */
38296#include <math.h>
38297int
38298main ()
38299{
38300 ldexpl(0, 0);
38301  ;
38302  return 0;
38303}
38304_ACEOF
38305if ac_fn_cxx_try_compile "$LINENO"; then :
38306  glibcxx_cv_func_ldexpl_use=yes
38307else
38308  glibcxx_cv_func_ldexpl_use=no
38309fi
38310rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38311      ac_ext=c
38312ac_cpp='$CPP $CPPFLAGS'
38313ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38314ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38315ac_compiler_gnu=$ac_cv_c_compiler_gnu
38316
38317
38318fi
38319
38320  fi
38321  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
38322$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
38323
38324  if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
38325    for ac_func in ldexpl
38326do :
38327  ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
38328if test "x$ac_cv_func_ldexpl" = x""yes; then :
38329  cat >>confdefs.h <<_ACEOF
38330#define HAVE_LDEXPL 1
38331_ACEOF
38332
38333fi
38334done
38335
38336  else
38337
38338  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
38339$as_echo_n "checking for _ldexpl declaration... " >&6; }
38340  if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
38341    if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
38342  $as_echo_n "(cached) " >&6
38343else
38344
38345
38346      ac_ext=cpp
38347ac_cpp='$CXXCPP $CPPFLAGS'
38348ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38349ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38350ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38351
38352      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38353/* end confdefs.h.  */
38354#include <math.h>
38355int
38356main ()
38357{
38358 _ldexpl(0, 0);
38359  ;
38360  return 0;
38361}
38362_ACEOF
38363if ac_fn_cxx_try_compile "$LINENO"; then :
38364  glibcxx_cv_func__ldexpl_use=yes
38365else
38366  glibcxx_cv_func__ldexpl_use=no
38367fi
38368rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38369      ac_ext=c
38370ac_cpp='$CPP $CPPFLAGS'
38371ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38372ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38373ac_compiler_gnu=$ac_cv_c_compiler_gnu
38374
38375
38376fi
38377
38378  fi
38379  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
38380$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
38381
38382    if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
38383      for ac_func in _ldexpl
38384do :
38385  ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
38386if test "x$ac_cv_func__ldexpl" = x""yes; then :
38387  cat >>confdefs.h <<_ACEOF
38388#define HAVE__LDEXPL 1
38389_ACEOF
38390
38391fi
38392done
38393
38394    fi
38395  fi
38396
38397
38398
38399
38400
38401  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
38402$as_echo_n "checking for logl declaration... " >&6; }
38403  if test x${glibcxx_cv_func_logl_use+set} != xset; then
38404    if test "${glibcxx_cv_func_logl_use+set}" = set; then :
38405  $as_echo_n "(cached) " >&6
38406else
38407
38408
38409      ac_ext=cpp
38410ac_cpp='$CXXCPP $CPPFLAGS'
38411ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38412ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38413ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38414
38415      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38416/* end confdefs.h.  */
38417#include <math.h>
38418		      #ifdef HAVE_IEEEFP_H
38419		      #include <ieeefp.h>
38420		      #endif
38421
38422int
38423main ()
38424{
38425 logl(0);
38426  ;
38427  return 0;
38428}
38429_ACEOF
38430if ac_fn_cxx_try_compile "$LINENO"; then :
38431  glibcxx_cv_func_logl_use=yes
38432else
38433  glibcxx_cv_func_logl_use=no
38434fi
38435rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38436      ac_ext=c
38437ac_cpp='$CPP $CPPFLAGS'
38438ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38439ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38440ac_compiler_gnu=$ac_cv_c_compiler_gnu
38441
38442
38443fi
38444
38445  fi
38446  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
38447$as_echo "$glibcxx_cv_func_logl_use" >&6; }
38448
38449  if test x$glibcxx_cv_func_logl_use = x"yes"; then
38450    for ac_func in logl
38451do :
38452  ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
38453if test "x$ac_cv_func_logl" = x""yes; then :
38454  cat >>confdefs.h <<_ACEOF
38455#define HAVE_LOGL 1
38456_ACEOF
38457
38458fi
38459done
38460
38461  else
38462
38463  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
38464$as_echo_n "checking for _logl declaration... " >&6; }
38465  if test x${glibcxx_cv_func__logl_use+set} != xset; then
38466    if test "${glibcxx_cv_func__logl_use+set}" = set; then :
38467  $as_echo_n "(cached) " >&6
38468else
38469
38470
38471      ac_ext=cpp
38472ac_cpp='$CXXCPP $CPPFLAGS'
38473ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38474ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38475ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38476
38477      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38478/* end confdefs.h.  */
38479#include <math.h>
38480		      #ifdef HAVE_IEEEFP_H
38481		      #include <ieeefp.h>
38482		      #endif
38483
38484int
38485main ()
38486{
38487 _logl(0);
38488  ;
38489  return 0;
38490}
38491_ACEOF
38492if ac_fn_cxx_try_compile "$LINENO"; then :
38493  glibcxx_cv_func__logl_use=yes
38494else
38495  glibcxx_cv_func__logl_use=no
38496fi
38497rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38498      ac_ext=c
38499ac_cpp='$CPP $CPPFLAGS'
38500ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38501ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38502ac_compiler_gnu=$ac_cv_c_compiler_gnu
38503
38504
38505fi
38506
38507  fi
38508  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
38509$as_echo "$glibcxx_cv_func__logl_use" >&6; }
38510
38511    if test x$glibcxx_cv_func__logl_use = x"yes"; then
38512      for ac_func in _logl
38513do :
38514  ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
38515if test "x$ac_cv_func__logl" = x""yes; then :
38516  cat >>confdefs.h <<_ACEOF
38517#define HAVE__LOGL 1
38518_ACEOF
38519
38520fi
38521done
38522
38523    fi
38524  fi
38525
38526
38527
38528
38529
38530  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
38531$as_echo_n "checking for log10l declaration... " >&6; }
38532  if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38533    if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
38534  $as_echo_n "(cached) " >&6
38535else
38536
38537
38538      ac_ext=cpp
38539ac_cpp='$CXXCPP $CPPFLAGS'
38540ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38541ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38542ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38543
38544      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38545/* end confdefs.h.  */
38546#include <math.h>
38547		      #ifdef HAVE_IEEEFP_H
38548		      #include <ieeefp.h>
38549		      #endif
38550
38551int
38552main ()
38553{
38554 log10l(0);
38555  ;
38556  return 0;
38557}
38558_ACEOF
38559if ac_fn_cxx_try_compile "$LINENO"; then :
38560  glibcxx_cv_func_log10l_use=yes
38561else
38562  glibcxx_cv_func_log10l_use=no
38563fi
38564rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38565      ac_ext=c
38566ac_cpp='$CPP $CPPFLAGS'
38567ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38568ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38569ac_compiler_gnu=$ac_cv_c_compiler_gnu
38570
38571
38572fi
38573
38574  fi
38575  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
38576$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
38577
38578  if test x$glibcxx_cv_func_log10l_use = x"yes"; then
38579    for ac_func in log10l
38580do :
38581  ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
38582if test "x$ac_cv_func_log10l" = x""yes; then :
38583  cat >>confdefs.h <<_ACEOF
38584#define HAVE_LOG10L 1
38585_ACEOF
38586
38587fi
38588done
38589
38590  else
38591
38592  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
38593$as_echo_n "checking for _log10l declaration... " >&6; }
38594  if test x${glibcxx_cv_func__log10l_use+set} != xset; then
38595    if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
38596  $as_echo_n "(cached) " >&6
38597else
38598
38599
38600      ac_ext=cpp
38601ac_cpp='$CXXCPP $CPPFLAGS'
38602ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38603ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38604ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38605
38606      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38607/* end confdefs.h.  */
38608#include <math.h>
38609		      #ifdef HAVE_IEEEFP_H
38610		      #include <ieeefp.h>
38611		      #endif
38612
38613int
38614main ()
38615{
38616 _log10l(0);
38617  ;
38618  return 0;
38619}
38620_ACEOF
38621if ac_fn_cxx_try_compile "$LINENO"; then :
38622  glibcxx_cv_func__log10l_use=yes
38623else
38624  glibcxx_cv_func__log10l_use=no
38625fi
38626rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38627      ac_ext=c
38628ac_cpp='$CPP $CPPFLAGS'
38629ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38630ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38631ac_compiler_gnu=$ac_cv_c_compiler_gnu
38632
38633
38634fi
38635
38636  fi
38637  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
38638$as_echo "$glibcxx_cv_func__log10l_use" >&6; }
38639
38640    if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38641      for ac_func in _log10l
38642do :
38643  ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
38644if test "x$ac_cv_func__log10l" = x""yes; then :
38645  cat >>confdefs.h <<_ACEOF
38646#define HAVE__LOG10L 1
38647_ACEOF
38648
38649fi
38650done
38651
38652    fi
38653  fi
38654
38655
38656
38657
38658
38659  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
38660$as_echo_n "checking for modfl declaration... " >&6; }
38661  if test x${glibcxx_cv_func_modfl_use+set} != xset; then
38662    if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
38663  $as_echo_n "(cached) " >&6
38664else
38665
38666
38667      ac_ext=cpp
38668ac_cpp='$CXXCPP $CPPFLAGS'
38669ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38670ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38671ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38672
38673      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38674/* end confdefs.h.  */
38675#include <math.h>
38676int
38677main ()
38678{
38679 modfl(0, 0);
38680  ;
38681  return 0;
38682}
38683_ACEOF
38684if ac_fn_cxx_try_compile "$LINENO"; then :
38685  glibcxx_cv_func_modfl_use=yes
38686else
38687  glibcxx_cv_func_modfl_use=no
38688fi
38689rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38690      ac_ext=c
38691ac_cpp='$CPP $CPPFLAGS'
38692ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38693ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38694ac_compiler_gnu=$ac_cv_c_compiler_gnu
38695
38696
38697fi
38698
38699  fi
38700  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
38701$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
38702
38703  if test x$glibcxx_cv_func_modfl_use = x"yes"; then
38704    for ac_func in modfl
38705do :
38706  ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
38707if test "x$ac_cv_func_modfl" = x""yes; then :
38708  cat >>confdefs.h <<_ACEOF
38709#define HAVE_MODFL 1
38710_ACEOF
38711
38712fi
38713done
38714
38715  else
38716
38717  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
38718$as_echo_n "checking for _modfl declaration... " >&6; }
38719  if test x${glibcxx_cv_func__modfl_use+set} != xset; then
38720    if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
38721  $as_echo_n "(cached) " >&6
38722else
38723
38724
38725      ac_ext=cpp
38726ac_cpp='$CXXCPP $CPPFLAGS'
38727ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38728ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38729ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38730
38731      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38732/* end confdefs.h.  */
38733#include <math.h>
38734int
38735main ()
38736{
38737 _modfl(0, 0);
38738  ;
38739  return 0;
38740}
38741_ACEOF
38742if ac_fn_cxx_try_compile "$LINENO"; then :
38743  glibcxx_cv_func__modfl_use=yes
38744else
38745  glibcxx_cv_func__modfl_use=no
38746fi
38747rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38748      ac_ext=c
38749ac_cpp='$CPP $CPPFLAGS'
38750ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38751ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38752ac_compiler_gnu=$ac_cv_c_compiler_gnu
38753
38754
38755fi
38756
38757  fi
38758  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
38759$as_echo "$glibcxx_cv_func__modfl_use" >&6; }
38760
38761    if test x$glibcxx_cv_func__modfl_use = x"yes"; then
38762      for ac_func in _modfl
38763do :
38764  ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
38765if test "x$ac_cv_func__modfl" = x""yes; then :
38766  cat >>confdefs.h <<_ACEOF
38767#define HAVE__MODFL 1
38768_ACEOF
38769
38770fi
38771done
38772
38773    fi
38774  fi
38775
38776
38777
38778
38779
38780  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
38781$as_echo_n "checking for powl declaration... " >&6; }
38782  if test x${glibcxx_cv_func_powl_use+set} != xset; then
38783    if test "${glibcxx_cv_func_powl_use+set}" = set; then :
38784  $as_echo_n "(cached) " >&6
38785else
38786
38787
38788      ac_ext=cpp
38789ac_cpp='$CXXCPP $CPPFLAGS'
38790ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38791ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38792ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38793
38794      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38795/* end confdefs.h.  */
38796#include <math.h>
38797int
38798main ()
38799{
38800 powl(0, 0);
38801  ;
38802  return 0;
38803}
38804_ACEOF
38805if ac_fn_cxx_try_compile "$LINENO"; then :
38806  glibcxx_cv_func_powl_use=yes
38807else
38808  glibcxx_cv_func_powl_use=no
38809fi
38810rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38811      ac_ext=c
38812ac_cpp='$CPP $CPPFLAGS'
38813ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38814ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38815ac_compiler_gnu=$ac_cv_c_compiler_gnu
38816
38817
38818fi
38819
38820  fi
38821  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
38822$as_echo "$glibcxx_cv_func_powl_use" >&6; }
38823
38824  if test x$glibcxx_cv_func_powl_use = x"yes"; then
38825    for ac_func in powl
38826do :
38827  ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
38828if test "x$ac_cv_func_powl" = x""yes; then :
38829  cat >>confdefs.h <<_ACEOF
38830#define HAVE_POWL 1
38831_ACEOF
38832
38833fi
38834done
38835
38836  else
38837
38838  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
38839$as_echo_n "checking for _powl declaration... " >&6; }
38840  if test x${glibcxx_cv_func__powl_use+set} != xset; then
38841    if test "${glibcxx_cv_func__powl_use+set}" = set; then :
38842  $as_echo_n "(cached) " >&6
38843else
38844
38845
38846      ac_ext=cpp
38847ac_cpp='$CXXCPP $CPPFLAGS'
38848ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38849ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38850ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38851
38852      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38853/* end confdefs.h.  */
38854#include <math.h>
38855int
38856main ()
38857{
38858 _powl(0, 0);
38859  ;
38860  return 0;
38861}
38862_ACEOF
38863if ac_fn_cxx_try_compile "$LINENO"; then :
38864  glibcxx_cv_func__powl_use=yes
38865else
38866  glibcxx_cv_func__powl_use=no
38867fi
38868rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38869      ac_ext=c
38870ac_cpp='$CPP $CPPFLAGS'
38871ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38872ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38873ac_compiler_gnu=$ac_cv_c_compiler_gnu
38874
38875
38876fi
38877
38878  fi
38879  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
38880$as_echo "$glibcxx_cv_func__powl_use" >&6; }
38881
38882    if test x$glibcxx_cv_func__powl_use = x"yes"; then
38883      for ac_func in _powl
38884do :
38885  ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
38886if test "x$ac_cv_func__powl" = x""yes; then :
38887  cat >>confdefs.h <<_ACEOF
38888#define HAVE__POWL 1
38889_ACEOF
38890
38891fi
38892done
38893
38894    fi
38895  fi
38896
38897
38898
38899
38900
38901  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
38902$as_echo_n "checking for sqrtl declaration... " >&6; }
38903  if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
38904    if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
38905  $as_echo_n "(cached) " >&6
38906else
38907
38908
38909      ac_ext=cpp
38910ac_cpp='$CXXCPP $CPPFLAGS'
38911ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38912ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38913ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38914
38915      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38916/* end confdefs.h.  */
38917#include <math.h>
38918		      #ifdef HAVE_IEEEFP_H
38919		      #include <ieeefp.h>
38920		      #endif
38921
38922int
38923main ()
38924{
38925 sqrtl(0);
38926  ;
38927  return 0;
38928}
38929_ACEOF
38930if ac_fn_cxx_try_compile "$LINENO"; then :
38931  glibcxx_cv_func_sqrtl_use=yes
38932else
38933  glibcxx_cv_func_sqrtl_use=no
38934fi
38935rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38936      ac_ext=c
38937ac_cpp='$CPP $CPPFLAGS'
38938ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38939ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38940ac_compiler_gnu=$ac_cv_c_compiler_gnu
38941
38942
38943fi
38944
38945  fi
38946  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
38947$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
38948
38949  if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
38950    for ac_func in sqrtl
38951do :
38952  ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
38953if test "x$ac_cv_func_sqrtl" = x""yes; then :
38954  cat >>confdefs.h <<_ACEOF
38955#define HAVE_SQRTL 1
38956_ACEOF
38957
38958fi
38959done
38960
38961  else
38962
38963  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
38964$as_echo_n "checking for _sqrtl declaration... " >&6; }
38965  if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
38966    if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
38967  $as_echo_n "(cached) " >&6
38968else
38969
38970
38971      ac_ext=cpp
38972ac_cpp='$CXXCPP $CPPFLAGS'
38973ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38974ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38975ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38976
38977      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38978/* end confdefs.h.  */
38979#include <math.h>
38980		      #ifdef HAVE_IEEEFP_H
38981		      #include <ieeefp.h>
38982		      #endif
38983
38984int
38985main ()
38986{
38987 _sqrtl(0);
38988  ;
38989  return 0;
38990}
38991_ACEOF
38992if ac_fn_cxx_try_compile "$LINENO"; then :
38993  glibcxx_cv_func__sqrtl_use=yes
38994else
38995  glibcxx_cv_func__sqrtl_use=no
38996fi
38997rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38998      ac_ext=c
38999ac_cpp='$CPP $CPPFLAGS'
39000ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39001ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39002ac_compiler_gnu=$ac_cv_c_compiler_gnu
39003
39004
39005fi
39006
39007  fi
39008  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
39009$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
39010
39011    if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
39012      for ac_func in _sqrtl
39013do :
39014  ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
39015if test "x$ac_cv_func__sqrtl" = x""yes; then :
39016  cat >>confdefs.h <<_ACEOF
39017#define HAVE__SQRTL 1
39018_ACEOF
39019
39020fi
39021done
39022
39023    fi
39024  fi
39025
39026
39027
39028
39029
39030  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
39031$as_echo_n "checking for sincosl declaration... " >&6; }
39032  if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
39033    if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
39034  $as_echo_n "(cached) " >&6
39035else
39036
39037
39038      ac_ext=cpp
39039ac_cpp='$CXXCPP $CPPFLAGS'
39040ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39041ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39042ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39043
39044      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39045/* end confdefs.h.  */
39046#include <math.h>
39047int
39048main ()
39049{
39050 sincosl(0, 0, 0);
39051  ;
39052  return 0;
39053}
39054_ACEOF
39055if ac_fn_cxx_try_compile "$LINENO"; then :
39056  glibcxx_cv_func_sincosl_use=yes
39057else
39058  glibcxx_cv_func_sincosl_use=no
39059fi
39060rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39061      ac_ext=c
39062ac_cpp='$CPP $CPPFLAGS'
39063ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39064ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39065ac_compiler_gnu=$ac_cv_c_compiler_gnu
39066
39067
39068fi
39069
39070  fi
39071  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
39072$as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
39073
39074  if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
39075    for ac_func in sincosl
39076do :
39077  ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
39078if test "x$ac_cv_func_sincosl" = x""yes; then :
39079  cat >>confdefs.h <<_ACEOF
39080#define HAVE_SINCOSL 1
39081_ACEOF
39082
39083fi
39084done
39085
39086  else
39087
39088  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
39089$as_echo_n "checking for _sincosl declaration... " >&6; }
39090  if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
39091    if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
39092  $as_echo_n "(cached) " >&6
39093else
39094
39095
39096      ac_ext=cpp
39097ac_cpp='$CXXCPP $CPPFLAGS'
39098ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39099ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39100ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39101
39102      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39103/* end confdefs.h.  */
39104#include <math.h>
39105int
39106main ()
39107{
39108 _sincosl(0, 0, 0);
39109  ;
39110  return 0;
39111}
39112_ACEOF
39113if ac_fn_cxx_try_compile "$LINENO"; then :
39114  glibcxx_cv_func__sincosl_use=yes
39115else
39116  glibcxx_cv_func__sincosl_use=no
39117fi
39118rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39119      ac_ext=c
39120ac_cpp='$CPP $CPPFLAGS'
39121ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39122ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39123ac_compiler_gnu=$ac_cv_c_compiler_gnu
39124
39125
39126fi
39127
39128  fi
39129  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
39130$as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
39131
39132    if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
39133      for ac_func in _sincosl
39134do :
39135  ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
39136if test "x$ac_cv_func__sincosl" = x""yes; then :
39137  cat >>confdefs.h <<_ACEOF
39138#define HAVE__SINCOSL 1
39139_ACEOF
39140
39141fi
39142done
39143
39144    fi
39145  fi
39146
39147
39148
39149
39150
39151  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
39152$as_echo_n "checking for finitel declaration... " >&6; }
39153  if test x${glibcxx_cv_func_finitel_use+set} != xset; then
39154    if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
39155  $as_echo_n "(cached) " >&6
39156else
39157
39158
39159      ac_ext=cpp
39160ac_cpp='$CXXCPP $CPPFLAGS'
39161ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39162ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39163ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39164
39165      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39166/* end confdefs.h.  */
39167#include <math.h>
39168		      #ifdef HAVE_IEEEFP_H
39169		      #include <ieeefp.h>
39170		      #endif
39171
39172int
39173main ()
39174{
39175 finitel(0);
39176  ;
39177  return 0;
39178}
39179_ACEOF
39180if ac_fn_cxx_try_compile "$LINENO"; then :
39181  glibcxx_cv_func_finitel_use=yes
39182else
39183  glibcxx_cv_func_finitel_use=no
39184fi
39185rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39186      ac_ext=c
39187ac_cpp='$CPP $CPPFLAGS'
39188ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39189ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39190ac_compiler_gnu=$ac_cv_c_compiler_gnu
39191
39192
39193fi
39194
39195  fi
39196  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
39197$as_echo "$glibcxx_cv_func_finitel_use" >&6; }
39198
39199  if test x$glibcxx_cv_func_finitel_use = x"yes"; then
39200    for ac_func in finitel
39201do :
39202  ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
39203if test "x$ac_cv_func_finitel" = x""yes; then :
39204  cat >>confdefs.h <<_ACEOF
39205#define HAVE_FINITEL 1
39206_ACEOF
39207
39208fi
39209done
39210
39211  else
39212
39213  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
39214$as_echo_n "checking for _finitel declaration... " >&6; }
39215  if test x${glibcxx_cv_func__finitel_use+set} != xset; then
39216    if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
39217  $as_echo_n "(cached) " >&6
39218else
39219
39220
39221      ac_ext=cpp
39222ac_cpp='$CXXCPP $CPPFLAGS'
39223ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39224ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39225ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39226
39227      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39228/* end confdefs.h.  */
39229#include <math.h>
39230		      #ifdef HAVE_IEEEFP_H
39231		      #include <ieeefp.h>
39232		      #endif
39233
39234int
39235main ()
39236{
39237 _finitel(0);
39238  ;
39239  return 0;
39240}
39241_ACEOF
39242if ac_fn_cxx_try_compile "$LINENO"; then :
39243  glibcxx_cv_func__finitel_use=yes
39244else
39245  glibcxx_cv_func__finitel_use=no
39246fi
39247rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39248      ac_ext=c
39249ac_cpp='$CPP $CPPFLAGS'
39250ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39251ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39252ac_compiler_gnu=$ac_cv_c_compiler_gnu
39253
39254
39255fi
39256
39257  fi
39258  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
39259$as_echo "$glibcxx_cv_func__finitel_use" >&6; }
39260
39261    if test x$glibcxx_cv_func__finitel_use = x"yes"; then
39262      for ac_func in _finitel
39263do :
39264  ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
39265if test "x$ac_cv_func__finitel" = x""yes; then :
39266  cat >>confdefs.h <<_ACEOF
39267#define HAVE__FINITEL 1
39268_ACEOF
39269
39270fi
39271done
39272
39273    fi
39274  fi
39275
39276
39277
39278
39279  LIBS="$ac_save_LIBS"
39280  CXXFLAGS="$ac_save_CXXFLAGS"
39281
39282
39283  ac_test_CXXFLAGS="${CXXFLAGS+set}"
39284  ac_save_CXXFLAGS="$CXXFLAGS"
39285  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39286
39287
39288  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
39289$as_echo_n "checking for at_quick_exit declaration... " >&6; }
39290  if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
39291    if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
39292  $as_echo_n "(cached) " >&6
39293else
39294
39295
39296      ac_ext=cpp
39297ac_cpp='$CXXCPP $CPPFLAGS'
39298ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39299ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39300ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39301
39302      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39303/* end confdefs.h.  */
39304#include <stdlib.h>
39305int
39306main ()
39307{
39308 at_quick_exit(0);
39309  ;
39310  return 0;
39311}
39312_ACEOF
39313if ac_fn_cxx_try_compile "$LINENO"; then :
39314  glibcxx_cv_func_at_quick_exit_use=yes
39315else
39316  glibcxx_cv_func_at_quick_exit_use=no
39317fi
39318rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39319      ac_ext=c
39320ac_cpp='$CPP $CPPFLAGS'
39321ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39322ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39323ac_compiler_gnu=$ac_cv_c_compiler_gnu
39324
39325
39326fi
39327
39328  fi
39329  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
39330$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
39331  if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
39332    for ac_func in at_quick_exit
39333do :
39334  ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
39335if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
39336  cat >>confdefs.h <<_ACEOF
39337#define HAVE_AT_QUICK_EXIT 1
39338_ACEOF
39339
39340fi
39341done
39342
39343  fi
39344
39345
39346  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
39347$as_echo_n "checking for quick_exit declaration... " >&6; }
39348  if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
39349    if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
39350  $as_echo_n "(cached) " >&6
39351else
39352
39353
39354      ac_ext=cpp
39355ac_cpp='$CXXCPP $CPPFLAGS'
39356ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39357ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39358ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39359
39360      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39361/* end confdefs.h.  */
39362#include <stdlib.h>
39363int
39364main ()
39365{
39366 quick_exit(0);
39367  ;
39368  return 0;
39369}
39370_ACEOF
39371if ac_fn_cxx_try_compile "$LINENO"; then :
39372  glibcxx_cv_func_quick_exit_use=yes
39373else
39374  glibcxx_cv_func_quick_exit_use=no
39375fi
39376rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39377      ac_ext=c
39378ac_cpp='$CPP $CPPFLAGS'
39379ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39380ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39381ac_compiler_gnu=$ac_cv_c_compiler_gnu
39382
39383
39384fi
39385
39386  fi
39387  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
39388$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
39389  if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
39390    for ac_func in quick_exit
39391do :
39392  ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
39393if test "x$ac_cv_func_quick_exit" = x""yes; then :
39394  cat >>confdefs.h <<_ACEOF
39395#define HAVE_QUICK_EXIT 1
39396_ACEOF
39397
39398fi
39399done
39400
39401  fi
39402
39403
39404  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
39405$as_echo_n "checking for strtold declaration... " >&6; }
39406  if test x${glibcxx_cv_func_strtold_use+set} != xset; then
39407    if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
39408  $as_echo_n "(cached) " >&6
39409else
39410
39411
39412      ac_ext=cpp
39413ac_cpp='$CXXCPP $CPPFLAGS'
39414ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39415ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39416ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39417
39418      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39419/* end confdefs.h.  */
39420#include <stdlib.h>
39421int
39422main ()
39423{
39424 strtold(0, 0);
39425  ;
39426  return 0;
39427}
39428_ACEOF
39429if ac_fn_cxx_try_compile "$LINENO"; then :
39430  glibcxx_cv_func_strtold_use=yes
39431else
39432  glibcxx_cv_func_strtold_use=no
39433fi
39434rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39435      ac_ext=c
39436ac_cpp='$CPP $CPPFLAGS'
39437ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39438ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39439ac_compiler_gnu=$ac_cv_c_compiler_gnu
39440
39441
39442fi
39443
39444  fi
39445  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
39446$as_echo "$glibcxx_cv_func_strtold_use" >&6; }
39447  if test x$glibcxx_cv_func_strtold_use = x"yes"; then
39448    for ac_func in strtold
39449do :
39450  ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
39451if test "x$ac_cv_func_strtold" = x""yes; then :
39452  cat >>confdefs.h <<_ACEOF
39453#define HAVE_STRTOLD 1
39454_ACEOF
39455
39456fi
39457done
39458
39459  fi
39460
39461
39462
39463
39464  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
39465$as_echo_n "checking for strtof declaration... " >&6; }
39466  if test x${glibcxx_cv_func_strtof_use+set} != xset; then
39467    if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
39468  $as_echo_n "(cached) " >&6
39469else
39470
39471
39472      ac_ext=cpp
39473ac_cpp='$CXXCPP $CPPFLAGS'
39474ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39475ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39476ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39477
39478      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39479/* end confdefs.h.  */
39480#include <stdlib.h>
39481int
39482main ()
39483{
39484 strtof(0, 0);
39485  ;
39486  return 0;
39487}
39488_ACEOF
39489if ac_fn_cxx_try_compile "$LINENO"; then :
39490  glibcxx_cv_func_strtof_use=yes
39491else
39492  glibcxx_cv_func_strtof_use=no
39493fi
39494rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39495      ac_ext=c
39496ac_cpp='$CPP $CPPFLAGS'
39497ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39498ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39499ac_compiler_gnu=$ac_cv_c_compiler_gnu
39500
39501
39502fi
39503
39504  fi
39505  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
39506$as_echo "$glibcxx_cv_func_strtof_use" >&6; }
39507  if test x$glibcxx_cv_func_strtof_use = x"yes"; then
39508    for ac_func in strtof
39509do :
39510  ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
39511if test "x$ac_cv_func_strtof" = x""yes; then :
39512  cat >>confdefs.h <<_ACEOF
39513#define HAVE_STRTOF 1
39514_ACEOF
39515
39516fi
39517done
39518
39519  fi
39520
39521
39522
39523
39524  CXXFLAGS="$ac_save_CXXFLAGS"
39525
39526    $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
39527
39528    # We don't yet support AIX's TLS ABI.
39529    #GCC_CHECK_TLS
39530
39531
39532
39533
39534
39535          am_save_CPPFLAGS="$CPPFLAGS"
39536
39537  for element in $INCICONV; do
39538    haveit=
39539    for x in $CPPFLAGS; do
39540
39541  acl_save_prefix="$prefix"
39542  prefix="$acl_final_prefix"
39543  acl_save_exec_prefix="$exec_prefix"
39544  exec_prefix="$acl_final_exec_prefix"
39545  eval x=\"$x\"
39546  exec_prefix="$acl_save_exec_prefix"
39547  prefix="$acl_save_prefix"
39548
39549      if test "X$x" = "X$element"; then
39550        haveit=yes
39551        break
39552      fi
39553    done
39554    if test -z "$haveit"; then
39555      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
39556    fi
39557  done
39558
39559
39560  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
39561$as_echo_n "checking for iconv... " >&6; }
39562if test "${am_cv_func_iconv+set}" = set; then :
39563  $as_echo_n "(cached) " >&6
39564else
39565
39566    am_cv_func_iconv="no, consider installing GNU libiconv"
39567    am_cv_lib_iconv=no
39568    if test x$gcc_no_link = xyes; then
39569  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39570fi
39571cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39572/* end confdefs.h.  */
39573#include <stdlib.h>
39574#include <iconv.h>
39575int
39576main ()
39577{
39578iconv_t cd = iconv_open("","");
39579       iconv(cd,NULL,NULL,NULL,NULL);
39580       iconv_close(cd);
39581  ;
39582  return 0;
39583}
39584_ACEOF
39585if ac_fn_c_try_link "$LINENO"; then :
39586  am_cv_func_iconv=yes
39587fi
39588rm -f core conftest.err conftest.$ac_objext \
39589    conftest$ac_exeext conftest.$ac_ext
39590    if test "$am_cv_func_iconv" != yes; then
39591      am_save_LIBS="$LIBS"
39592      LIBS="$LIBS $LIBICONV"
39593      if test x$gcc_no_link = xyes; then
39594  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39595fi
39596cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39597/* end confdefs.h.  */
39598#include <stdlib.h>
39599#include <iconv.h>
39600int
39601main ()
39602{
39603iconv_t cd = iconv_open("","");
39604         iconv(cd,NULL,NULL,NULL,NULL);
39605         iconv_close(cd);
39606  ;
39607  return 0;
39608}
39609_ACEOF
39610if ac_fn_c_try_link "$LINENO"; then :
39611  am_cv_lib_iconv=yes
39612        am_cv_func_iconv=yes
39613fi
39614rm -f core conftest.err conftest.$ac_objext \
39615    conftest$ac_exeext conftest.$ac_ext
39616      LIBS="$am_save_LIBS"
39617    fi
39618
39619fi
39620{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
39621$as_echo "$am_cv_func_iconv" >&6; }
39622  if test "$am_cv_func_iconv" = yes; then
39623
39624$as_echo "#define HAVE_ICONV 1" >>confdefs.h
39625
39626  fi
39627  if test "$am_cv_lib_iconv" = yes; then
39628    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
39629$as_echo_n "checking how to link with libiconv... " >&6; }
39630    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
39631$as_echo "$LIBICONV" >&6; }
39632  else
39633            CPPFLAGS="$am_save_CPPFLAGS"
39634    LIBICONV=
39635    LTLIBICONV=
39636  fi
39637
39638
39639
39640  if test "$am_cv_func_iconv" = yes; then
39641    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
39642$as_echo_n "checking for iconv declaration... " >&6; }
39643    if test "${am_cv_proto_iconv+set}" = set; then :
39644  $as_echo_n "(cached) " >&6
39645else
39646
39647      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39648/* end confdefs.h.  */
39649
39650#include <stdlib.h>
39651#include <iconv.h>
39652extern
39653#ifdef __cplusplus
39654"C"
39655#endif
39656#if defined(__STDC__) || defined(__cplusplus)
39657size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39658#else
39659size_t iconv();
39660#endif
39661
39662int
39663main ()
39664{
39665
39666  ;
39667  return 0;
39668}
39669_ACEOF
39670if ac_fn_c_try_compile "$LINENO"; then :
39671  am_cv_proto_iconv_arg1=""
39672else
39673  am_cv_proto_iconv_arg1="const"
39674fi
39675rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39676      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);"
39677fi
39678
39679    am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
39680    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
39681         }$am_cv_proto_iconv" >&5
39682$as_echo "${ac_t:-
39683         }$am_cv_proto_iconv" >&6; }
39684
39685cat >>confdefs.h <<_ACEOF
39686#define ICONV_CONST $am_cv_proto_iconv_arg1
39687_ACEOF
39688
39689  fi
39690
39691    ;;
39692
39693  *-darwin*)
39694    # Darwin versions vary, but the linker should work in a cross environment,
39695    # so we just check for all the features here.
39696    # Check for available headers.
39697
39698    # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
39699
39700  ac_test_CXXFLAGS="${CXXFLAGS+set}"
39701  ac_save_CXXFLAGS="$CXXFLAGS"
39702  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39703
39704    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
39705$as_echo_n "checking for sin in -lm... " >&6; }
39706if test "${ac_cv_lib_m_sin+set}" = set; then :
39707  $as_echo_n "(cached) " >&6
39708else
39709  ac_check_lib_save_LIBS=$LIBS
39710LIBS="-lm  $LIBS"
39711if test x$gcc_no_link = xyes; then
39712  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39713fi
39714cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39715/* end confdefs.h.  */
39716
39717/* Override any GCC internal prototype to avoid an error.
39718   Use char because int might match the return type of a GCC
39719   builtin and then its argument prototype would still apply.  */
39720#ifdef __cplusplus
39721extern "C"
39722#endif
39723char sin ();
39724int
39725main ()
39726{
39727return sin ();
39728  ;
39729  return 0;
39730}
39731_ACEOF
39732if ac_fn_c_try_link "$LINENO"; then :
39733  ac_cv_lib_m_sin=yes
39734else
39735  ac_cv_lib_m_sin=no
39736fi
39737rm -f core conftest.err conftest.$ac_objext \
39738    conftest$ac_exeext conftest.$ac_ext
39739LIBS=$ac_check_lib_save_LIBS
39740fi
39741{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
39742$as_echo "$ac_cv_lib_m_sin" >&6; }
39743if test "x$ac_cv_lib_m_sin" = x""yes; then :
39744  libm="-lm"
39745fi
39746
39747  ac_save_LIBS="$LIBS"
39748  LIBS="$LIBS $libm"
39749
39750
39751
39752  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
39753$as_echo_n "checking for isinf declaration... " >&6; }
39754  if test x${glibcxx_cv_func_isinf_use+set} != xset; then
39755    if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
39756  $as_echo_n "(cached) " >&6
39757else
39758
39759
39760      ac_ext=cpp
39761ac_cpp='$CXXCPP $CPPFLAGS'
39762ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39763ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39764ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39765
39766      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39767/* end confdefs.h.  */
39768#include <math.h>
39769		      #ifdef HAVE_IEEEFP_H
39770		      #include <ieeefp.h>
39771		      #endif
39772
39773int
39774main ()
39775{
39776 isinf(0);
39777  ;
39778  return 0;
39779}
39780_ACEOF
39781if ac_fn_cxx_try_compile "$LINENO"; then :
39782  glibcxx_cv_func_isinf_use=yes
39783else
39784  glibcxx_cv_func_isinf_use=no
39785fi
39786rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39787      ac_ext=c
39788ac_cpp='$CPP $CPPFLAGS'
39789ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39790ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39791ac_compiler_gnu=$ac_cv_c_compiler_gnu
39792
39793
39794fi
39795
39796  fi
39797  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
39798$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
39799
39800  if test x$glibcxx_cv_func_isinf_use = x"yes"; then
39801    for ac_func in isinf
39802do :
39803  ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
39804if test "x$ac_cv_func_isinf" = x""yes; then :
39805  cat >>confdefs.h <<_ACEOF
39806#define HAVE_ISINF 1
39807_ACEOF
39808
39809fi
39810done
39811
39812  else
39813
39814  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
39815$as_echo_n "checking for _isinf declaration... " >&6; }
39816  if test x${glibcxx_cv_func__isinf_use+set} != xset; then
39817    if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
39818  $as_echo_n "(cached) " >&6
39819else
39820
39821
39822      ac_ext=cpp
39823ac_cpp='$CXXCPP $CPPFLAGS'
39824ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39825ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39826ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39827
39828      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39829/* end confdefs.h.  */
39830#include <math.h>
39831		      #ifdef HAVE_IEEEFP_H
39832		      #include <ieeefp.h>
39833		      #endif
39834
39835int
39836main ()
39837{
39838 _isinf(0);
39839  ;
39840  return 0;
39841}
39842_ACEOF
39843if ac_fn_cxx_try_compile "$LINENO"; then :
39844  glibcxx_cv_func__isinf_use=yes
39845else
39846  glibcxx_cv_func__isinf_use=no
39847fi
39848rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39849      ac_ext=c
39850ac_cpp='$CPP $CPPFLAGS'
39851ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39852ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39853ac_compiler_gnu=$ac_cv_c_compiler_gnu
39854
39855
39856fi
39857
39858  fi
39859  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
39860$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
39861
39862    if test x$glibcxx_cv_func__isinf_use = x"yes"; then
39863      for ac_func in _isinf
39864do :
39865  ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
39866if test "x$ac_cv_func__isinf" = x""yes; then :
39867  cat >>confdefs.h <<_ACEOF
39868#define HAVE__ISINF 1
39869_ACEOF
39870
39871fi
39872done
39873
39874    fi
39875  fi
39876
39877
39878
39879
39880
39881  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
39882$as_echo_n "checking for isnan declaration... " >&6; }
39883  if test x${glibcxx_cv_func_isnan_use+set} != xset; then
39884    if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
39885  $as_echo_n "(cached) " >&6
39886else
39887
39888
39889      ac_ext=cpp
39890ac_cpp='$CXXCPP $CPPFLAGS'
39891ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39892ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39893ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39894
39895      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39896/* end confdefs.h.  */
39897#include <math.h>
39898		      #ifdef HAVE_IEEEFP_H
39899		      #include <ieeefp.h>
39900		      #endif
39901
39902int
39903main ()
39904{
39905 isnan(0);
39906  ;
39907  return 0;
39908}
39909_ACEOF
39910if ac_fn_cxx_try_compile "$LINENO"; then :
39911  glibcxx_cv_func_isnan_use=yes
39912else
39913  glibcxx_cv_func_isnan_use=no
39914fi
39915rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39916      ac_ext=c
39917ac_cpp='$CPP $CPPFLAGS'
39918ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39919ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39920ac_compiler_gnu=$ac_cv_c_compiler_gnu
39921
39922
39923fi
39924
39925  fi
39926  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
39927$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
39928
39929  if test x$glibcxx_cv_func_isnan_use = x"yes"; then
39930    for ac_func in isnan
39931do :
39932  ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
39933if test "x$ac_cv_func_isnan" = x""yes; then :
39934  cat >>confdefs.h <<_ACEOF
39935#define HAVE_ISNAN 1
39936_ACEOF
39937
39938fi
39939done
39940
39941  else
39942
39943  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
39944$as_echo_n "checking for _isnan declaration... " >&6; }
39945  if test x${glibcxx_cv_func__isnan_use+set} != xset; then
39946    if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
39947  $as_echo_n "(cached) " >&6
39948else
39949
39950
39951      ac_ext=cpp
39952ac_cpp='$CXXCPP $CPPFLAGS'
39953ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39954ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39955ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39956
39957      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39958/* end confdefs.h.  */
39959#include <math.h>
39960		      #ifdef HAVE_IEEEFP_H
39961		      #include <ieeefp.h>
39962		      #endif
39963
39964int
39965main ()
39966{
39967 _isnan(0);
39968  ;
39969  return 0;
39970}
39971_ACEOF
39972if ac_fn_cxx_try_compile "$LINENO"; then :
39973  glibcxx_cv_func__isnan_use=yes
39974else
39975  glibcxx_cv_func__isnan_use=no
39976fi
39977rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39978      ac_ext=c
39979ac_cpp='$CPP $CPPFLAGS'
39980ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39981ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39982ac_compiler_gnu=$ac_cv_c_compiler_gnu
39983
39984
39985fi
39986
39987  fi
39988  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
39989$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
39990
39991    if test x$glibcxx_cv_func__isnan_use = x"yes"; then
39992      for ac_func in _isnan
39993do :
39994  ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
39995if test "x$ac_cv_func__isnan" = x""yes; then :
39996  cat >>confdefs.h <<_ACEOF
39997#define HAVE__ISNAN 1
39998_ACEOF
39999
40000fi
40001done
40002
40003    fi
40004  fi
40005
40006
40007
40008
40009
40010  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
40011$as_echo_n "checking for finite declaration... " >&6; }
40012  if test x${glibcxx_cv_func_finite_use+set} != xset; then
40013    if test "${glibcxx_cv_func_finite_use+set}" = set; then :
40014  $as_echo_n "(cached) " >&6
40015else
40016
40017
40018      ac_ext=cpp
40019ac_cpp='$CXXCPP $CPPFLAGS'
40020ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40021ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40022ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40023
40024      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40025/* end confdefs.h.  */
40026#include <math.h>
40027		      #ifdef HAVE_IEEEFP_H
40028		      #include <ieeefp.h>
40029		      #endif
40030
40031int
40032main ()
40033{
40034 finite(0);
40035  ;
40036  return 0;
40037}
40038_ACEOF
40039if ac_fn_cxx_try_compile "$LINENO"; then :
40040  glibcxx_cv_func_finite_use=yes
40041else
40042  glibcxx_cv_func_finite_use=no
40043fi
40044rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40045      ac_ext=c
40046ac_cpp='$CPP $CPPFLAGS'
40047ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40048ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40049ac_compiler_gnu=$ac_cv_c_compiler_gnu
40050
40051
40052fi
40053
40054  fi
40055  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
40056$as_echo "$glibcxx_cv_func_finite_use" >&6; }
40057
40058  if test x$glibcxx_cv_func_finite_use = x"yes"; then
40059    for ac_func in finite
40060do :
40061  ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
40062if test "x$ac_cv_func_finite" = x""yes; then :
40063  cat >>confdefs.h <<_ACEOF
40064#define HAVE_FINITE 1
40065_ACEOF
40066
40067fi
40068done
40069
40070  else
40071
40072  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
40073$as_echo_n "checking for _finite declaration... " >&6; }
40074  if test x${glibcxx_cv_func__finite_use+set} != xset; then
40075    if test "${glibcxx_cv_func__finite_use+set}" = set; then :
40076  $as_echo_n "(cached) " >&6
40077else
40078
40079
40080      ac_ext=cpp
40081ac_cpp='$CXXCPP $CPPFLAGS'
40082ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40083ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40084ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40085
40086      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40087/* end confdefs.h.  */
40088#include <math.h>
40089		      #ifdef HAVE_IEEEFP_H
40090		      #include <ieeefp.h>
40091		      #endif
40092
40093int
40094main ()
40095{
40096 _finite(0);
40097  ;
40098  return 0;
40099}
40100_ACEOF
40101if ac_fn_cxx_try_compile "$LINENO"; then :
40102  glibcxx_cv_func__finite_use=yes
40103else
40104  glibcxx_cv_func__finite_use=no
40105fi
40106rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40107      ac_ext=c
40108ac_cpp='$CPP $CPPFLAGS'
40109ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40110ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40111ac_compiler_gnu=$ac_cv_c_compiler_gnu
40112
40113
40114fi
40115
40116  fi
40117  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
40118$as_echo "$glibcxx_cv_func__finite_use" >&6; }
40119
40120    if test x$glibcxx_cv_func__finite_use = x"yes"; then
40121      for ac_func in _finite
40122do :
40123  ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
40124if test "x$ac_cv_func__finite" = x""yes; then :
40125  cat >>confdefs.h <<_ACEOF
40126#define HAVE__FINITE 1
40127_ACEOF
40128
40129fi
40130done
40131
40132    fi
40133  fi
40134
40135
40136
40137
40138
40139  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
40140$as_echo_n "checking for sincos declaration... " >&6; }
40141  if test x${glibcxx_cv_func_sincos_use+set} != xset; then
40142    if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
40143  $as_echo_n "(cached) " >&6
40144else
40145
40146
40147      ac_ext=cpp
40148ac_cpp='$CXXCPP $CPPFLAGS'
40149ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40150ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40151ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40152
40153      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40154/* end confdefs.h.  */
40155#include <math.h>
40156int
40157main ()
40158{
40159 sincos(0, 0, 0);
40160  ;
40161  return 0;
40162}
40163_ACEOF
40164if ac_fn_cxx_try_compile "$LINENO"; then :
40165  glibcxx_cv_func_sincos_use=yes
40166else
40167  glibcxx_cv_func_sincos_use=no
40168fi
40169rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40170      ac_ext=c
40171ac_cpp='$CPP $CPPFLAGS'
40172ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40173ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40174ac_compiler_gnu=$ac_cv_c_compiler_gnu
40175
40176
40177fi
40178
40179  fi
40180  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
40181$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
40182
40183  if test x$glibcxx_cv_func_sincos_use = x"yes"; then
40184    for ac_func in sincos
40185do :
40186  ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
40187if test "x$ac_cv_func_sincos" = x""yes; then :
40188  cat >>confdefs.h <<_ACEOF
40189#define HAVE_SINCOS 1
40190_ACEOF
40191
40192fi
40193done
40194
40195  else
40196
40197  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
40198$as_echo_n "checking for _sincos declaration... " >&6; }
40199  if test x${glibcxx_cv_func__sincos_use+set} != xset; then
40200    if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
40201  $as_echo_n "(cached) " >&6
40202else
40203
40204
40205      ac_ext=cpp
40206ac_cpp='$CXXCPP $CPPFLAGS'
40207ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40208ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40209ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40210
40211      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40212/* end confdefs.h.  */
40213#include <math.h>
40214int
40215main ()
40216{
40217 _sincos(0, 0, 0);
40218  ;
40219  return 0;
40220}
40221_ACEOF
40222if ac_fn_cxx_try_compile "$LINENO"; then :
40223  glibcxx_cv_func__sincos_use=yes
40224else
40225  glibcxx_cv_func__sincos_use=no
40226fi
40227rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40228      ac_ext=c
40229ac_cpp='$CPP $CPPFLAGS'
40230ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40231ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40232ac_compiler_gnu=$ac_cv_c_compiler_gnu
40233
40234
40235fi
40236
40237  fi
40238  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
40239$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
40240
40241    if test x$glibcxx_cv_func__sincos_use = x"yes"; then
40242      for ac_func in _sincos
40243do :
40244  ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
40245if test "x$ac_cv_func__sincos" = x""yes; then :
40246  cat >>confdefs.h <<_ACEOF
40247#define HAVE__SINCOS 1
40248_ACEOF
40249
40250fi
40251done
40252
40253    fi
40254  fi
40255
40256
40257
40258
40259
40260  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
40261$as_echo_n "checking for fpclass declaration... " >&6; }
40262  if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
40263    if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
40264  $as_echo_n "(cached) " >&6
40265else
40266
40267
40268      ac_ext=cpp
40269ac_cpp='$CXXCPP $CPPFLAGS'
40270ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40271ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40272ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40273
40274      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40275/* end confdefs.h.  */
40276#include <math.h>
40277		      #ifdef HAVE_IEEEFP_H
40278		      #include <ieeefp.h>
40279		      #endif
40280
40281int
40282main ()
40283{
40284 fpclass(0);
40285  ;
40286  return 0;
40287}
40288_ACEOF
40289if ac_fn_cxx_try_compile "$LINENO"; then :
40290  glibcxx_cv_func_fpclass_use=yes
40291else
40292  glibcxx_cv_func_fpclass_use=no
40293fi
40294rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40295      ac_ext=c
40296ac_cpp='$CPP $CPPFLAGS'
40297ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40298ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40299ac_compiler_gnu=$ac_cv_c_compiler_gnu
40300
40301
40302fi
40303
40304  fi
40305  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
40306$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
40307
40308  if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
40309    for ac_func in fpclass
40310do :
40311  ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
40312if test "x$ac_cv_func_fpclass" = x""yes; then :
40313  cat >>confdefs.h <<_ACEOF
40314#define HAVE_FPCLASS 1
40315_ACEOF
40316
40317fi
40318done
40319
40320  else
40321
40322  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
40323$as_echo_n "checking for _fpclass declaration... " >&6; }
40324  if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
40325    if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
40326  $as_echo_n "(cached) " >&6
40327else
40328
40329
40330      ac_ext=cpp
40331ac_cpp='$CXXCPP $CPPFLAGS'
40332ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40333ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40334ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40335
40336      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40337/* end confdefs.h.  */
40338#include <math.h>
40339		      #ifdef HAVE_IEEEFP_H
40340		      #include <ieeefp.h>
40341		      #endif
40342
40343int
40344main ()
40345{
40346 _fpclass(0);
40347  ;
40348  return 0;
40349}
40350_ACEOF
40351if ac_fn_cxx_try_compile "$LINENO"; then :
40352  glibcxx_cv_func__fpclass_use=yes
40353else
40354  glibcxx_cv_func__fpclass_use=no
40355fi
40356rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40357      ac_ext=c
40358ac_cpp='$CPP $CPPFLAGS'
40359ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40360ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40361ac_compiler_gnu=$ac_cv_c_compiler_gnu
40362
40363
40364fi
40365
40366  fi
40367  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
40368$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
40369
40370    if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
40371      for ac_func in _fpclass
40372do :
40373  ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
40374if test "x$ac_cv_func__fpclass" = x""yes; then :
40375  cat >>confdefs.h <<_ACEOF
40376#define HAVE__FPCLASS 1
40377_ACEOF
40378
40379fi
40380done
40381
40382    fi
40383  fi
40384
40385
40386
40387
40388
40389  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
40390$as_echo_n "checking for qfpclass declaration... " >&6; }
40391  if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
40392    if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
40393  $as_echo_n "(cached) " >&6
40394else
40395
40396
40397      ac_ext=cpp
40398ac_cpp='$CXXCPP $CPPFLAGS'
40399ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40400ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40401ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40402
40403      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40404/* end confdefs.h.  */
40405#include <math.h>
40406		      #ifdef HAVE_IEEEFP_H
40407		      #include <ieeefp.h>
40408		      #endif
40409
40410int
40411main ()
40412{
40413 qfpclass(0);
40414  ;
40415  return 0;
40416}
40417_ACEOF
40418if ac_fn_cxx_try_compile "$LINENO"; then :
40419  glibcxx_cv_func_qfpclass_use=yes
40420else
40421  glibcxx_cv_func_qfpclass_use=no
40422fi
40423rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40424      ac_ext=c
40425ac_cpp='$CPP $CPPFLAGS'
40426ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40427ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40428ac_compiler_gnu=$ac_cv_c_compiler_gnu
40429
40430
40431fi
40432
40433  fi
40434  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
40435$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
40436
40437  if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
40438    for ac_func in qfpclass
40439do :
40440  ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
40441if test "x$ac_cv_func_qfpclass" = x""yes; then :
40442  cat >>confdefs.h <<_ACEOF
40443#define HAVE_QFPCLASS 1
40444_ACEOF
40445
40446fi
40447done
40448
40449  else
40450
40451  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
40452$as_echo_n "checking for _qfpclass declaration... " >&6; }
40453  if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
40454    if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
40455  $as_echo_n "(cached) " >&6
40456else
40457
40458
40459      ac_ext=cpp
40460ac_cpp='$CXXCPP $CPPFLAGS'
40461ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40462ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40463ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40464
40465      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40466/* end confdefs.h.  */
40467#include <math.h>
40468		      #ifdef HAVE_IEEEFP_H
40469		      #include <ieeefp.h>
40470		      #endif
40471
40472int
40473main ()
40474{
40475 _qfpclass(0);
40476  ;
40477  return 0;
40478}
40479_ACEOF
40480if ac_fn_cxx_try_compile "$LINENO"; then :
40481  glibcxx_cv_func__qfpclass_use=yes
40482else
40483  glibcxx_cv_func__qfpclass_use=no
40484fi
40485rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40486      ac_ext=c
40487ac_cpp='$CPP $CPPFLAGS'
40488ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40489ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40490ac_compiler_gnu=$ac_cv_c_compiler_gnu
40491
40492
40493fi
40494
40495  fi
40496  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
40497$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
40498
40499    if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
40500      for ac_func in _qfpclass
40501do :
40502  ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
40503if test "x$ac_cv_func__qfpclass" = x""yes; then :
40504  cat >>confdefs.h <<_ACEOF
40505#define HAVE__QFPCLASS 1
40506_ACEOF
40507
40508fi
40509done
40510
40511    fi
40512  fi
40513
40514
40515
40516
40517
40518  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
40519$as_echo_n "checking for hypot declaration... " >&6; }
40520  if test x${glibcxx_cv_func_hypot_use+set} != xset; then
40521    if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
40522  $as_echo_n "(cached) " >&6
40523else
40524
40525
40526      ac_ext=cpp
40527ac_cpp='$CXXCPP $CPPFLAGS'
40528ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40529ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40530ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40531
40532      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40533/* end confdefs.h.  */
40534#include <math.h>
40535int
40536main ()
40537{
40538 hypot(0, 0);
40539  ;
40540  return 0;
40541}
40542_ACEOF
40543if ac_fn_cxx_try_compile "$LINENO"; then :
40544  glibcxx_cv_func_hypot_use=yes
40545else
40546  glibcxx_cv_func_hypot_use=no
40547fi
40548rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40549      ac_ext=c
40550ac_cpp='$CPP $CPPFLAGS'
40551ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40552ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40553ac_compiler_gnu=$ac_cv_c_compiler_gnu
40554
40555
40556fi
40557
40558  fi
40559  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
40560$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
40561
40562  if test x$glibcxx_cv_func_hypot_use = x"yes"; then
40563    for ac_func in hypot
40564do :
40565  ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
40566if test "x$ac_cv_func_hypot" = x""yes; then :
40567  cat >>confdefs.h <<_ACEOF
40568#define HAVE_HYPOT 1
40569_ACEOF
40570
40571fi
40572done
40573
40574  else
40575
40576  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
40577$as_echo_n "checking for _hypot declaration... " >&6; }
40578  if test x${glibcxx_cv_func__hypot_use+set} != xset; then
40579    if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
40580  $as_echo_n "(cached) " >&6
40581else
40582
40583
40584      ac_ext=cpp
40585ac_cpp='$CXXCPP $CPPFLAGS'
40586ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40587ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40588ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40589
40590      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40591/* end confdefs.h.  */
40592#include <math.h>
40593int
40594main ()
40595{
40596 _hypot(0, 0);
40597  ;
40598  return 0;
40599}
40600_ACEOF
40601if ac_fn_cxx_try_compile "$LINENO"; then :
40602  glibcxx_cv_func__hypot_use=yes
40603else
40604  glibcxx_cv_func__hypot_use=no
40605fi
40606rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40607      ac_ext=c
40608ac_cpp='$CPP $CPPFLAGS'
40609ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40610ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40611ac_compiler_gnu=$ac_cv_c_compiler_gnu
40612
40613
40614fi
40615
40616  fi
40617  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
40618$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
40619
40620    if test x$glibcxx_cv_func__hypot_use = x"yes"; then
40621      for ac_func in _hypot
40622do :
40623  ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
40624if test "x$ac_cv_func__hypot" = x""yes; then :
40625  cat >>confdefs.h <<_ACEOF
40626#define HAVE__HYPOT 1
40627_ACEOF
40628
40629fi
40630done
40631
40632    fi
40633  fi
40634
40635
40636
40637
40638
40639    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
40640$as_echo_n "checking for float trig functions... " >&6; }
40641  if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
40642  $as_echo_n "(cached) " >&6
40643else
40644
40645
40646    ac_ext=cpp
40647ac_cpp='$CXXCPP $CPPFLAGS'
40648ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40649ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40650ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40651
40652    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40653/* end confdefs.h.  */
40654#include <math.h>
40655int
40656main ()
40657{
40658acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
40659  ;
40660  return 0;
40661}
40662_ACEOF
40663if ac_fn_cxx_try_compile "$LINENO"; then :
40664  glibcxx_cv_func_float_trig_use=yes
40665else
40666  glibcxx_cv_func_float_trig_use=no
40667fi
40668rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40669    ac_ext=c
40670ac_cpp='$CPP $CPPFLAGS'
40671ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40672ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40673ac_compiler_gnu=$ac_cv_c_compiler_gnu
40674
40675fi
40676
40677  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
40678$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
40679  if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
40680    for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
40681do :
40682  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40683ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40684eval as_val=\$$as_ac_var
40685   if test "x$as_val" = x""yes; then :
40686  cat >>confdefs.h <<_ACEOF
40687#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40688_ACEOF
40689
40690fi
40691done
40692
40693  else
40694    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
40695$as_echo_n "checking for _float trig functions... " >&6; }
40696    if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
40697  $as_echo_n "(cached) " >&6
40698else
40699
40700
40701      ac_ext=cpp
40702ac_cpp='$CXXCPP $CPPFLAGS'
40703ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40704ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40705ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40706
40707      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40708/* end confdefs.h.  */
40709#include <math.h>
40710int
40711main ()
40712{
40713_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
40714  ;
40715  return 0;
40716}
40717_ACEOF
40718if ac_fn_cxx_try_compile "$LINENO"; then :
40719  glibcxx_cv_func__float_trig_use=yes
40720else
40721  glibcxx_cv_func__float_trig_use=no
40722fi
40723rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40724      ac_ext=c
40725ac_cpp='$CPP $CPPFLAGS'
40726ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40727ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40728ac_compiler_gnu=$ac_cv_c_compiler_gnu
40729
40730fi
40731
40732    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
40733$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
40734    if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
40735      for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
40736do :
40737  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40738ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40739eval as_val=\$$as_ac_var
40740   if test "x$as_val" = x""yes; then :
40741  cat >>confdefs.h <<_ACEOF
40742#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40743_ACEOF
40744
40745fi
40746done
40747
40748    fi
40749  fi
40750
40751
40752
40753
40754
40755    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
40756$as_echo_n "checking for float round functions... " >&6; }
40757  if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
40758  $as_echo_n "(cached) " >&6
40759else
40760
40761
40762    ac_ext=cpp
40763ac_cpp='$CXXCPP $CPPFLAGS'
40764ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40765ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40766ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40767
40768    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40769/* end confdefs.h.  */
40770#include <math.h>
40771int
40772main ()
40773{
40774ceilf (0); floorf (0);
40775  ;
40776  return 0;
40777}
40778_ACEOF
40779if ac_fn_cxx_try_compile "$LINENO"; then :
40780  glibcxx_cv_func_float_round_use=yes
40781else
40782  glibcxx_cv_func_float_round_use=no
40783fi
40784rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40785    ac_ext=c
40786ac_cpp='$CPP $CPPFLAGS'
40787ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40788ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40789ac_compiler_gnu=$ac_cv_c_compiler_gnu
40790
40791fi
40792
40793  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
40794$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
40795  if test x$glibcxx_cv_func_float_round_use = x"yes"; then
40796    for ac_func in ceilf floorf
40797do :
40798  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40799ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40800eval as_val=\$$as_ac_var
40801   if test "x$as_val" = x""yes; then :
40802  cat >>confdefs.h <<_ACEOF
40803#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40804_ACEOF
40805
40806fi
40807done
40808
40809  else
40810    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
40811$as_echo_n "checking for _float round functions... " >&6; }
40812    if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
40813  $as_echo_n "(cached) " >&6
40814else
40815
40816
40817      ac_ext=cpp
40818ac_cpp='$CXXCPP $CPPFLAGS'
40819ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40820ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40821ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40822
40823      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40824/* end confdefs.h.  */
40825#include <math.h>
40826int
40827main ()
40828{
40829_ceilf (0); _floorf (0);
40830  ;
40831  return 0;
40832}
40833_ACEOF
40834if ac_fn_cxx_try_compile "$LINENO"; then :
40835  glibcxx_cv_func__float_round_use=yes
40836else
40837  glibcxx_cv_func__float_round_use=no
40838fi
40839rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40840      ac_ext=c
40841ac_cpp='$CPP $CPPFLAGS'
40842ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40843ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40844ac_compiler_gnu=$ac_cv_c_compiler_gnu
40845
40846fi
40847
40848    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
40849$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
40850    if test x$glibcxx_cv_func__float_round_use = x"yes"; then
40851      for ac_func in _ceilf _floorf
40852do :
40853  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40854ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40855eval as_val=\$$as_ac_var
40856   if test "x$as_val" = x""yes; then :
40857  cat >>confdefs.h <<_ACEOF
40858#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40859_ACEOF
40860
40861fi
40862done
40863
40864    fi
40865  fi
40866
40867
40868
40869
40870
40871
40872  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
40873$as_echo_n "checking for expf declaration... " >&6; }
40874  if test x${glibcxx_cv_func_expf_use+set} != xset; then
40875    if test "${glibcxx_cv_func_expf_use+set}" = set; then :
40876  $as_echo_n "(cached) " >&6
40877else
40878
40879
40880      ac_ext=cpp
40881ac_cpp='$CXXCPP $CPPFLAGS'
40882ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40883ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40884ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40885
40886      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40887/* end confdefs.h.  */
40888#include <math.h>
40889		      #ifdef HAVE_IEEEFP_H
40890		      #include <ieeefp.h>
40891		      #endif
40892
40893int
40894main ()
40895{
40896 expf(0);
40897  ;
40898  return 0;
40899}
40900_ACEOF
40901if ac_fn_cxx_try_compile "$LINENO"; then :
40902  glibcxx_cv_func_expf_use=yes
40903else
40904  glibcxx_cv_func_expf_use=no
40905fi
40906rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40907      ac_ext=c
40908ac_cpp='$CPP $CPPFLAGS'
40909ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40910ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40911ac_compiler_gnu=$ac_cv_c_compiler_gnu
40912
40913
40914fi
40915
40916  fi
40917  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
40918$as_echo "$glibcxx_cv_func_expf_use" >&6; }
40919
40920  if test x$glibcxx_cv_func_expf_use = x"yes"; then
40921    for ac_func in expf
40922do :
40923  ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
40924if test "x$ac_cv_func_expf" = x""yes; then :
40925  cat >>confdefs.h <<_ACEOF
40926#define HAVE_EXPF 1
40927_ACEOF
40928
40929fi
40930done
40931
40932  else
40933
40934  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
40935$as_echo_n "checking for _expf declaration... " >&6; }
40936  if test x${glibcxx_cv_func__expf_use+set} != xset; then
40937    if test "${glibcxx_cv_func__expf_use+set}" = set; then :
40938  $as_echo_n "(cached) " >&6
40939else
40940
40941
40942      ac_ext=cpp
40943ac_cpp='$CXXCPP $CPPFLAGS'
40944ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40945ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40946ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40947
40948      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40949/* end confdefs.h.  */
40950#include <math.h>
40951		      #ifdef HAVE_IEEEFP_H
40952		      #include <ieeefp.h>
40953		      #endif
40954
40955int
40956main ()
40957{
40958 _expf(0);
40959  ;
40960  return 0;
40961}
40962_ACEOF
40963if ac_fn_cxx_try_compile "$LINENO"; then :
40964  glibcxx_cv_func__expf_use=yes
40965else
40966  glibcxx_cv_func__expf_use=no
40967fi
40968rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40969      ac_ext=c
40970ac_cpp='$CPP $CPPFLAGS'
40971ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40972ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40973ac_compiler_gnu=$ac_cv_c_compiler_gnu
40974
40975
40976fi
40977
40978  fi
40979  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
40980$as_echo "$glibcxx_cv_func__expf_use" >&6; }
40981
40982    if test x$glibcxx_cv_func__expf_use = x"yes"; then
40983      for ac_func in _expf
40984do :
40985  ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
40986if test "x$ac_cv_func__expf" = x""yes; then :
40987  cat >>confdefs.h <<_ACEOF
40988#define HAVE__EXPF 1
40989_ACEOF
40990
40991fi
40992done
40993
40994    fi
40995  fi
40996
40997
40998
40999
41000
41001  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
41002$as_echo_n "checking for isnanf declaration... " >&6; }
41003  if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
41004    if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
41005  $as_echo_n "(cached) " >&6
41006else
41007
41008
41009      ac_ext=cpp
41010ac_cpp='$CXXCPP $CPPFLAGS'
41011ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41012ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41013ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41014
41015      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41016/* end confdefs.h.  */
41017#include <math.h>
41018		      #ifdef HAVE_IEEEFP_H
41019		      #include <ieeefp.h>
41020		      #endif
41021
41022int
41023main ()
41024{
41025 isnanf(0);
41026  ;
41027  return 0;
41028}
41029_ACEOF
41030if ac_fn_cxx_try_compile "$LINENO"; then :
41031  glibcxx_cv_func_isnanf_use=yes
41032else
41033  glibcxx_cv_func_isnanf_use=no
41034fi
41035rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41036      ac_ext=c
41037ac_cpp='$CPP $CPPFLAGS'
41038ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41039ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41040ac_compiler_gnu=$ac_cv_c_compiler_gnu
41041
41042
41043fi
41044
41045  fi
41046  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
41047$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
41048
41049  if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
41050    for ac_func in isnanf
41051do :
41052  ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
41053if test "x$ac_cv_func_isnanf" = x""yes; then :
41054  cat >>confdefs.h <<_ACEOF
41055#define HAVE_ISNANF 1
41056_ACEOF
41057
41058fi
41059done
41060
41061  else
41062
41063  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
41064$as_echo_n "checking for _isnanf declaration... " >&6; }
41065  if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
41066    if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
41067  $as_echo_n "(cached) " >&6
41068else
41069
41070
41071      ac_ext=cpp
41072ac_cpp='$CXXCPP $CPPFLAGS'
41073ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41074ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41075ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41076
41077      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41078/* end confdefs.h.  */
41079#include <math.h>
41080		      #ifdef HAVE_IEEEFP_H
41081		      #include <ieeefp.h>
41082		      #endif
41083
41084int
41085main ()
41086{
41087 _isnanf(0);
41088  ;
41089  return 0;
41090}
41091_ACEOF
41092if ac_fn_cxx_try_compile "$LINENO"; then :
41093  glibcxx_cv_func__isnanf_use=yes
41094else
41095  glibcxx_cv_func__isnanf_use=no
41096fi
41097rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41098      ac_ext=c
41099ac_cpp='$CPP $CPPFLAGS'
41100ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41101ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41102ac_compiler_gnu=$ac_cv_c_compiler_gnu
41103
41104
41105fi
41106
41107  fi
41108  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
41109$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
41110
41111    if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
41112      for ac_func in _isnanf
41113do :
41114  ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
41115if test "x$ac_cv_func__isnanf" = x""yes; then :
41116  cat >>confdefs.h <<_ACEOF
41117#define HAVE__ISNANF 1
41118_ACEOF
41119
41120fi
41121done
41122
41123    fi
41124  fi
41125
41126
41127
41128
41129
41130  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
41131$as_echo_n "checking for isinff declaration... " >&6; }
41132  if test x${glibcxx_cv_func_isinff_use+set} != xset; then
41133    if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
41134  $as_echo_n "(cached) " >&6
41135else
41136
41137
41138      ac_ext=cpp
41139ac_cpp='$CXXCPP $CPPFLAGS'
41140ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41141ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41142ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41143
41144      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41145/* end confdefs.h.  */
41146#include <math.h>
41147		      #ifdef HAVE_IEEEFP_H
41148		      #include <ieeefp.h>
41149		      #endif
41150
41151int
41152main ()
41153{
41154 isinff(0);
41155  ;
41156  return 0;
41157}
41158_ACEOF
41159if ac_fn_cxx_try_compile "$LINENO"; then :
41160  glibcxx_cv_func_isinff_use=yes
41161else
41162  glibcxx_cv_func_isinff_use=no
41163fi
41164rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41165      ac_ext=c
41166ac_cpp='$CPP $CPPFLAGS'
41167ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41168ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41169ac_compiler_gnu=$ac_cv_c_compiler_gnu
41170
41171
41172fi
41173
41174  fi
41175  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
41176$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
41177
41178  if test x$glibcxx_cv_func_isinff_use = x"yes"; then
41179    for ac_func in isinff
41180do :
41181  ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
41182if test "x$ac_cv_func_isinff" = x""yes; then :
41183  cat >>confdefs.h <<_ACEOF
41184#define HAVE_ISINFF 1
41185_ACEOF
41186
41187fi
41188done
41189
41190  else
41191
41192  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
41193$as_echo_n "checking for _isinff declaration... " >&6; }
41194  if test x${glibcxx_cv_func__isinff_use+set} != xset; then
41195    if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
41196  $as_echo_n "(cached) " >&6
41197else
41198
41199
41200      ac_ext=cpp
41201ac_cpp='$CXXCPP $CPPFLAGS'
41202ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41203ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41204ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41205
41206      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41207/* end confdefs.h.  */
41208#include <math.h>
41209		      #ifdef HAVE_IEEEFP_H
41210		      #include <ieeefp.h>
41211		      #endif
41212
41213int
41214main ()
41215{
41216 _isinff(0);
41217  ;
41218  return 0;
41219}
41220_ACEOF
41221if ac_fn_cxx_try_compile "$LINENO"; then :
41222  glibcxx_cv_func__isinff_use=yes
41223else
41224  glibcxx_cv_func__isinff_use=no
41225fi
41226rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41227      ac_ext=c
41228ac_cpp='$CPP $CPPFLAGS'
41229ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41230ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41231ac_compiler_gnu=$ac_cv_c_compiler_gnu
41232
41233
41234fi
41235
41236  fi
41237  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
41238$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
41239
41240    if test x$glibcxx_cv_func__isinff_use = x"yes"; then
41241      for ac_func in _isinff
41242do :
41243  ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
41244if test "x$ac_cv_func__isinff" = x""yes; then :
41245  cat >>confdefs.h <<_ACEOF
41246#define HAVE__ISINFF 1
41247_ACEOF
41248
41249fi
41250done
41251
41252    fi
41253  fi
41254
41255
41256
41257
41258
41259  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
41260$as_echo_n "checking for atan2f declaration... " >&6; }
41261  if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
41262    if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
41263  $as_echo_n "(cached) " >&6
41264else
41265
41266
41267      ac_ext=cpp
41268ac_cpp='$CXXCPP $CPPFLAGS'
41269ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41270ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41271ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41272
41273      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41274/* end confdefs.h.  */
41275#include <math.h>
41276int
41277main ()
41278{
41279 atan2f(0, 0);
41280  ;
41281  return 0;
41282}
41283_ACEOF
41284if ac_fn_cxx_try_compile "$LINENO"; then :
41285  glibcxx_cv_func_atan2f_use=yes
41286else
41287  glibcxx_cv_func_atan2f_use=no
41288fi
41289rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41290      ac_ext=c
41291ac_cpp='$CPP $CPPFLAGS'
41292ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41293ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41294ac_compiler_gnu=$ac_cv_c_compiler_gnu
41295
41296
41297fi
41298
41299  fi
41300  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
41301$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
41302
41303  if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
41304    for ac_func in atan2f
41305do :
41306  ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
41307if test "x$ac_cv_func_atan2f" = x""yes; then :
41308  cat >>confdefs.h <<_ACEOF
41309#define HAVE_ATAN2F 1
41310_ACEOF
41311
41312fi
41313done
41314
41315  else
41316
41317  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
41318$as_echo_n "checking for _atan2f declaration... " >&6; }
41319  if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
41320    if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
41321  $as_echo_n "(cached) " >&6
41322else
41323
41324
41325      ac_ext=cpp
41326ac_cpp='$CXXCPP $CPPFLAGS'
41327ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41328ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41329ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41330
41331      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41332/* end confdefs.h.  */
41333#include <math.h>
41334int
41335main ()
41336{
41337 _atan2f(0, 0);
41338  ;
41339  return 0;
41340}
41341_ACEOF
41342if ac_fn_cxx_try_compile "$LINENO"; then :
41343  glibcxx_cv_func__atan2f_use=yes
41344else
41345  glibcxx_cv_func__atan2f_use=no
41346fi
41347rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41348      ac_ext=c
41349ac_cpp='$CPP $CPPFLAGS'
41350ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41351ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41352ac_compiler_gnu=$ac_cv_c_compiler_gnu
41353
41354
41355fi
41356
41357  fi
41358  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
41359$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
41360
41361    if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
41362      for ac_func in _atan2f
41363do :
41364  ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
41365if test "x$ac_cv_func__atan2f" = x""yes; then :
41366  cat >>confdefs.h <<_ACEOF
41367#define HAVE__ATAN2F 1
41368_ACEOF
41369
41370fi
41371done
41372
41373    fi
41374  fi
41375
41376
41377
41378
41379
41380  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
41381$as_echo_n "checking for fabsf declaration... " >&6; }
41382  if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
41383    if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
41384  $as_echo_n "(cached) " >&6
41385else
41386
41387
41388      ac_ext=cpp
41389ac_cpp='$CXXCPP $CPPFLAGS'
41390ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41391ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41392ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41393
41394      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41395/* end confdefs.h.  */
41396#include <math.h>
41397		      #ifdef HAVE_IEEEFP_H
41398		      #include <ieeefp.h>
41399		      #endif
41400
41401int
41402main ()
41403{
41404 fabsf(0);
41405  ;
41406  return 0;
41407}
41408_ACEOF
41409if ac_fn_cxx_try_compile "$LINENO"; then :
41410  glibcxx_cv_func_fabsf_use=yes
41411else
41412  glibcxx_cv_func_fabsf_use=no
41413fi
41414rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41415      ac_ext=c
41416ac_cpp='$CPP $CPPFLAGS'
41417ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41418ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41419ac_compiler_gnu=$ac_cv_c_compiler_gnu
41420
41421
41422fi
41423
41424  fi
41425  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
41426$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
41427
41428  if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
41429    for ac_func in fabsf
41430do :
41431  ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
41432if test "x$ac_cv_func_fabsf" = x""yes; then :
41433  cat >>confdefs.h <<_ACEOF
41434#define HAVE_FABSF 1
41435_ACEOF
41436
41437fi
41438done
41439
41440  else
41441
41442  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
41443$as_echo_n "checking for _fabsf declaration... " >&6; }
41444  if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
41445    if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
41446  $as_echo_n "(cached) " >&6
41447else
41448
41449
41450      ac_ext=cpp
41451ac_cpp='$CXXCPP $CPPFLAGS'
41452ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41453ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41454ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41455
41456      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41457/* end confdefs.h.  */
41458#include <math.h>
41459		      #ifdef HAVE_IEEEFP_H
41460		      #include <ieeefp.h>
41461		      #endif
41462
41463int
41464main ()
41465{
41466 _fabsf(0);
41467  ;
41468  return 0;
41469}
41470_ACEOF
41471if ac_fn_cxx_try_compile "$LINENO"; then :
41472  glibcxx_cv_func__fabsf_use=yes
41473else
41474  glibcxx_cv_func__fabsf_use=no
41475fi
41476rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41477      ac_ext=c
41478ac_cpp='$CPP $CPPFLAGS'
41479ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41480ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41481ac_compiler_gnu=$ac_cv_c_compiler_gnu
41482
41483
41484fi
41485
41486  fi
41487  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
41488$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
41489
41490    if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
41491      for ac_func in _fabsf
41492do :
41493  ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
41494if test "x$ac_cv_func__fabsf" = x""yes; then :
41495  cat >>confdefs.h <<_ACEOF
41496#define HAVE__FABSF 1
41497_ACEOF
41498
41499fi
41500done
41501
41502    fi
41503  fi
41504
41505
41506
41507
41508
41509  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
41510$as_echo_n "checking for fmodf declaration... " >&6; }
41511  if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
41512    if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
41513  $as_echo_n "(cached) " >&6
41514else
41515
41516
41517      ac_ext=cpp
41518ac_cpp='$CXXCPP $CPPFLAGS'
41519ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41520ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41521ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41522
41523      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41524/* end confdefs.h.  */
41525#include <math.h>
41526int
41527main ()
41528{
41529 fmodf(0, 0);
41530  ;
41531  return 0;
41532}
41533_ACEOF
41534if ac_fn_cxx_try_compile "$LINENO"; then :
41535  glibcxx_cv_func_fmodf_use=yes
41536else
41537  glibcxx_cv_func_fmodf_use=no
41538fi
41539rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41540      ac_ext=c
41541ac_cpp='$CPP $CPPFLAGS'
41542ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41543ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41544ac_compiler_gnu=$ac_cv_c_compiler_gnu
41545
41546
41547fi
41548
41549  fi
41550  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
41551$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
41552
41553  if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
41554    for ac_func in fmodf
41555do :
41556  ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
41557if test "x$ac_cv_func_fmodf" = x""yes; then :
41558  cat >>confdefs.h <<_ACEOF
41559#define HAVE_FMODF 1
41560_ACEOF
41561
41562fi
41563done
41564
41565  else
41566
41567  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
41568$as_echo_n "checking for _fmodf declaration... " >&6; }
41569  if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
41570    if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
41571  $as_echo_n "(cached) " >&6
41572else
41573
41574
41575      ac_ext=cpp
41576ac_cpp='$CXXCPP $CPPFLAGS'
41577ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41578ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41579ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41580
41581      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41582/* end confdefs.h.  */
41583#include <math.h>
41584int
41585main ()
41586{
41587 _fmodf(0, 0);
41588  ;
41589  return 0;
41590}
41591_ACEOF
41592if ac_fn_cxx_try_compile "$LINENO"; then :
41593  glibcxx_cv_func__fmodf_use=yes
41594else
41595  glibcxx_cv_func__fmodf_use=no
41596fi
41597rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41598      ac_ext=c
41599ac_cpp='$CPP $CPPFLAGS'
41600ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41601ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41602ac_compiler_gnu=$ac_cv_c_compiler_gnu
41603
41604
41605fi
41606
41607  fi
41608  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
41609$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
41610
41611    if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
41612      for ac_func in _fmodf
41613do :
41614  ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
41615if test "x$ac_cv_func__fmodf" = x""yes; then :
41616  cat >>confdefs.h <<_ACEOF
41617#define HAVE__FMODF 1
41618_ACEOF
41619
41620fi
41621done
41622
41623    fi
41624  fi
41625
41626
41627
41628
41629
41630  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
41631$as_echo_n "checking for frexpf declaration... " >&6; }
41632  if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
41633    if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
41634  $as_echo_n "(cached) " >&6
41635else
41636
41637
41638      ac_ext=cpp
41639ac_cpp='$CXXCPP $CPPFLAGS'
41640ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41641ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41642ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41643
41644      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41645/* end confdefs.h.  */
41646#include <math.h>
41647int
41648main ()
41649{
41650 frexpf(0, 0);
41651  ;
41652  return 0;
41653}
41654_ACEOF
41655if ac_fn_cxx_try_compile "$LINENO"; then :
41656  glibcxx_cv_func_frexpf_use=yes
41657else
41658  glibcxx_cv_func_frexpf_use=no
41659fi
41660rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41661      ac_ext=c
41662ac_cpp='$CPP $CPPFLAGS'
41663ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41664ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41665ac_compiler_gnu=$ac_cv_c_compiler_gnu
41666
41667
41668fi
41669
41670  fi
41671  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
41672$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
41673
41674  if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
41675    for ac_func in frexpf
41676do :
41677  ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
41678if test "x$ac_cv_func_frexpf" = x""yes; then :
41679  cat >>confdefs.h <<_ACEOF
41680#define HAVE_FREXPF 1
41681_ACEOF
41682
41683fi
41684done
41685
41686  else
41687
41688  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
41689$as_echo_n "checking for _frexpf declaration... " >&6; }
41690  if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
41691    if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
41692  $as_echo_n "(cached) " >&6
41693else
41694
41695
41696      ac_ext=cpp
41697ac_cpp='$CXXCPP $CPPFLAGS'
41698ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41699ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41700ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41701
41702      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41703/* end confdefs.h.  */
41704#include <math.h>
41705int
41706main ()
41707{
41708 _frexpf(0, 0);
41709  ;
41710  return 0;
41711}
41712_ACEOF
41713if ac_fn_cxx_try_compile "$LINENO"; then :
41714  glibcxx_cv_func__frexpf_use=yes
41715else
41716  glibcxx_cv_func__frexpf_use=no
41717fi
41718rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41719      ac_ext=c
41720ac_cpp='$CPP $CPPFLAGS'
41721ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41722ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41723ac_compiler_gnu=$ac_cv_c_compiler_gnu
41724
41725
41726fi
41727
41728  fi
41729  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
41730$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
41731
41732    if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
41733      for ac_func in _frexpf
41734do :
41735  ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
41736if test "x$ac_cv_func__frexpf" = x""yes; then :
41737  cat >>confdefs.h <<_ACEOF
41738#define HAVE__FREXPF 1
41739_ACEOF
41740
41741fi
41742done
41743
41744    fi
41745  fi
41746
41747
41748
41749
41750
41751  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
41752$as_echo_n "checking for hypotf declaration... " >&6; }
41753  if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
41754    if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
41755  $as_echo_n "(cached) " >&6
41756else
41757
41758
41759      ac_ext=cpp
41760ac_cpp='$CXXCPP $CPPFLAGS'
41761ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41762ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41763ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41764
41765      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41766/* end confdefs.h.  */
41767#include <math.h>
41768int
41769main ()
41770{
41771 hypotf(0, 0);
41772  ;
41773  return 0;
41774}
41775_ACEOF
41776if ac_fn_cxx_try_compile "$LINENO"; then :
41777  glibcxx_cv_func_hypotf_use=yes
41778else
41779  glibcxx_cv_func_hypotf_use=no
41780fi
41781rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41782      ac_ext=c
41783ac_cpp='$CPP $CPPFLAGS'
41784ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41785ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41786ac_compiler_gnu=$ac_cv_c_compiler_gnu
41787
41788
41789fi
41790
41791  fi
41792  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
41793$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
41794
41795  if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
41796    for ac_func in hypotf
41797do :
41798  ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
41799if test "x$ac_cv_func_hypotf" = x""yes; then :
41800  cat >>confdefs.h <<_ACEOF
41801#define HAVE_HYPOTF 1
41802_ACEOF
41803
41804fi
41805done
41806
41807  else
41808
41809  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
41810$as_echo_n "checking for _hypotf declaration... " >&6; }
41811  if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
41812    if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
41813  $as_echo_n "(cached) " >&6
41814else
41815
41816
41817      ac_ext=cpp
41818ac_cpp='$CXXCPP $CPPFLAGS'
41819ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41820ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41821ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41822
41823      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41824/* end confdefs.h.  */
41825#include <math.h>
41826int
41827main ()
41828{
41829 _hypotf(0, 0);
41830  ;
41831  return 0;
41832}
41833_ACEOF
41834if ac_fn_cxx_try_compile "$LINENO"; then :
41835  glibcxx_cv_func__hypotf_use=yes
41836else
41837  glibcxx_cv_func__hypotf_use=no
41838fi
41839rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41840      ac_ext=c
41841ac_cpp='$CPP $CPPFLAGS'
41842ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41843ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41844ac_compiler_gnu=$ac_cv_c_compiler_gnu
41845
41846
41847fi
41848
41849  fi
41850  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
41851$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
41852
41853    if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
41854      for ac_func in _hypotf
41855do :
41856  ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
41857if test "x$ac_cv_func__hypotf" = x""yes; then :
41858  cat >>confdefs.h <<_ACEOF
41859#define HAVE__HYPOTF 1
41860_ACEOF
41861
41862fi
41863done
41864
41865    fi
41866  fi
41867
41868
41869
41870
41871
41872  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
41873$as_echo_n "checking for ldexpf declaration... " >&6; }
41874  if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
41875    if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
41876  $as_echo_n "(cached) " >&6
41877else
41878
41879
41880      ac_ext=cpp
41881ac_cpp='$CXXCPP $CPPFLAGS'
41882ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41883ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41884ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41885
41886      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41887/* end confdefs.h.  */
41888#include <math.h>
41889int
41890main ()
41891{
41892 ldexpf(0, 0);
41893  ;
41894  return 0;
41895}
41896_ACEOF
41897if ac_fn_cxx_try_compile "$LINENO"; then :
41898  glibcxx_cv_func_ldexpf_use=yes
41899else
41900  glibcxx_cv_func_ldexpf_use=no
41901fi
41902rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41903      ac_ext=c
41904ac_cpp='$CPP $CPPFLAGS'
41905ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41906ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41907ac_compiler_gnu=$ac_cv_c_compiler_gnu
41908
41909
41910fi
41911
41912  fi
41913  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
41914$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
41915
41916  if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
41917    for ac_func in ldexpf
41918do :
41919  ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
41920if test "x$ac_cv_func_ldexpf" = x""yes; then :
41921  cat >>confdefs.h <<_ACEOF
41922#define HAVE_LDEXPF 1
41923_ACEOF
41924
41925fi
41926done
41927
41928  else
41929
41930  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
41931$as_echo_n "checking for _ldexpf declaration... " >&6; }
41932  if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
41933    if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
41934  $as_echo_n "(cached) " >&6
41935else
41936
41937
41938      ac_ext=cpp
41939ac_cpp='$CXXCPP $CPPFLAGS'
41940ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41941ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41942ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41943
41944      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41945/* end confdefs.h.  */
41946#include <math.h>
41947int
41948main ()
41949{
41950 _ldexpf(0, 0);
41951  ;
41952  return 0;
41953}
41954_ACEOF
41955if ac_fn_cxx_try_compile "$LINENO"; then :
41956  glibcxx_cv_func__ldexpf_use=yes
41957else
41958  glibcxx_cv_func__ldexpf_use=no
41959fi
41960rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41961      ac_ext=c
41962ac_cpp='$CPP $CPPFLAGS'
41963ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41964ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41965ac_compiler_gnu=$ac_cv_c_compiler_gnu
41966
41967
41968fi
41969
41970  fi
41971  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
41972$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
41973
41974    if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
41975      for ac_func in _ldexpf
41976do :
41977  ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
41978if test "x$ac_cv_func__ldexpf" = x""yes; then :
41979  cat >>confdefs.h <<_ACEOF
41980#define HAVE__LDEXPF 1
41981_ACEOF
41982
41983fi
41984done
41985
41986    fi
41987  fi
41988
41989
41990
41991
41992
41993  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
41994$as_echo_n "checking for logf declaration... " >&6; }
41995  if test x${glibcxx_cv_func_logf_use+set} != xset; then
41996    if test "${glibcxx_cv_func_logf_use+set}" = set; then :
41997  $as_echo_n "(cached) " >&6
41998else
41999
42000
42001      ac_ext=cpp
42002ac_cpp='$CXXCPP $CPPFLAGS'
42003ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42004ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42005ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42006
42007      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42008/* end confdefs.h.  */
42009#include <math.h>
42010		      #ifdef HAVE_IEEEFP_H
42011		      #include <ieeefp.h>
42012		      #endif
42013
42014int
42015main ()
42016{
42017 logf(0);
42018  ;
42019  return 0;
42020}
42021_ACEOF
42022if ac_fn_cxx_try_compile "$LINENO"; then :
42023  glibcxx_cv_func_logf_use=yes
42024else
42025  glibcxx_cv_func_logf_use=no
42026fi
42027rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42028      ac_ext=c
42029ac_cpp='$CPP $CPPFLAGS'
42030ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42031ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42032ac_compiler_gnu=$ac_cv_c_compiler_gnu
42033
42034
42035fi
42036
42037  fi
42038  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
42039$as_echo "$glibcxx_cv_func_logf_use" >&6; }
42040
42041  if test x$glibcxx_cv_func_logf_use = x"yes"; then
42042    for ac_func in logf
42043do :
42044  ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
42045if test "x$ac_cv_func_logf" = x""yes; then :
42046  cat >>confdefs.h <<_ACEOF
42047#define HAVE_LOGF 1
42048_ACEOF
42049
42050fi
42051done
42052
42053  else
42054
42055  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
42056$as_echo_n "checking for _logf declaration... " >&6; }
42057  if test x${glibcxx_cv_func__logf_use+set} != xset; then
42058    if test "${glibcxx_cv_func__logf_use+set}" = set; then :
42059  $as_echo_n "(cached) " >&6
42060else
42061
42062
42063      ac_ext=cpp
42064ac_cpp='$CXXCPP $CPPFLAGS'
42065ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42066ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42067ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42068
42069      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42070/* end confdefs.h.  */
42071#include <math.h>
42072		      #ifdef HAVE_IEEEFP_H
42073		      #include <ieeefp.h>
42074		      #endif
42075
42076int
42077main ()
42078{
42079 _logf(0);
42080  ;
42081  return 0;
42082}
42083_ACEOF
42084if ac_fn_cxx_try_compile "$LINENO"; then :
42085  glibcxx_cv_func__logf_use=yes
42086else
42087  glibcxx_cv_func__logf_use=no
42088fi
42089rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42090      ac_ext=c
42091ac_cpp='$CPP $CPPFLAGS'
42092ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42093ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42094ac_compiler_gnu=$ac_cv_c_compiler_gnu
42095
42096
42097fi
42098
42099  fi
42100  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
42101$as_echo "$glibcxx_cv_func__logf_use" >&6; }
42102
42103    if test x$glibcxx_cv_func__logf_use = x"yes"; then
42104      for ac_func in _logf
42105do :
42106  ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
42107if test "x$ac_cv_func__logf" = x""yes; then :
42108  cat >>confdefs.h <<_ACEOF
42109#define HAVE__LOGF 1
42110_ACEOF
42111
42112fi
42113done
42114
42115    fi
42116  fi
42117
42118
42119
42120
42121
42122  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
42123$as_echo_n "checking for log10f declaration... " >&6; }
42124  if test x${glibcxx_cv_func_log10f_use+set} != xset; then
42125    if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
42126  $as_echo_n "(cached) " >&6
42127else
42128
42129
42130      ac_ext=cpp
42131ac_cpp='$CXXCPP $CPPFLAGS'
42132ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42133ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42134ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42135
42136      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42137/* end confdefs.h.  */
42138#include <math.h>
42139		      #ifdef HAVE_IEEEFP_H
42140		      #include <ieeefp.h>
42141		      #endif
42142
42143int
42144main ()
42145{
42146 log10f(0);
42147  ;
42148  return 0;
42149}
42150_ACEOF
42151if ac_fn_cxx_try_compile "$LINENO"; then :
42152  glibcxx_cv_func_log10f_use=yes
42153else
42154  glibcxx_cv_func_log10f_use=no
42155fi
42156rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42157      ac_ext=c
42158ac_cpp='$CPP $CPPFLAGS'
42159ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42160ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42161ac_compiler_gnu=$ac_cv_c_compiler_gnu
42162
42163
42164fi
42165
42166  fi
42167  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
42168$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
42169
42170  if test x$glibcxx_cv_func_log10f_use = x"yes"; then
42171    for ac_func in log10f
42172do :
42173  ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
42174if test "x$ac_cv_func_log10f" = x""yes; then :
42175  cat >>confdefs.h <<_ACEOF
42176#define HAVE_LOG10F 1
42177_ACEOF
42178
42179fi
42180done
42181
42182  else
42183
42184  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
42185$as_echo_n "checking for _log10f declaration... " >&6; }
42186  if test x${glibcxx_cv_func__log10f_use+set} != xset; then
42187    if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
42188  $as_echo_n "(cached) " >&6
42189else
42190
42191
42192      ac_ext=cpp
42193ac_cpp='$CXXCPP $CPPFLAGS'
42194ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42195ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42196ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42197
42198      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42199/* end confdefs.h.  */
42200#include <math.h>
42201		      #ifdef HAVE_IEEEFP_H
42202		      #include <ieeefp.h>
42203		      #endif
42204
42205int
42206main ()
42207{
42208 _log10f(0);
42209  ;
42210  return 0;
42211}
42212_ACEOF
42213if ac_fn_cxx_try_compile "$LINENO"; then :
42214  glibcxx_cv_func__log10f_use=yes
42215else
42216  glibcxx_cv_func__log10f_use=no
42217fi
42218rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42219      ac_ext=c
42220ac_cpp='$CPP $CPPFLAGS'
42221ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42222ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42223ac_compiler_gnu=$ac_cv_c_compiler_gnu
42224
42225
42226fi
42227
42228  fi
42229  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
42230$as_echo "$glibcxx_cv_func__log10f_use" >&6; }
42231
42232    if test x$glibcxx_cv_func__log10f_use = x"yes"; then
42233      for ac_func in _log10f
42234do :
42235  ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
42236if test "x$ac_cv_func__log10f" = x""yes; then :
42237  cat >>confdefs.h <<_ACEOF
42238#define HAVE__LOG10F 1
42239_ACEOF
42240
42241fi
42242done
42243
42244    fi
42245  fi
42246
42247
42248
42249
42250
42251  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
42252$as_echo_n "checking for modff declaration... " >&6; }
42253  if test x${glibcxx_cv_func_modff_use+set} != xset; then
42254    if test "${glibcxx_cv_func_modff_use+set}" = set; then :
42255  $as_echo_n "(cached) " >&6
42256else
42257
42258
42259      ac_ext=cpp
42260ac_cpp='$CXXCPP $CPPFLAGS'
42261ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42262ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42263ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42264
42265      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42266/* end confdefs.h.  */
42267#include <math.h>
42268int
42269main ()
42270{
42271 modff(0, 0);
42272  ;
42273  return 0;
42274}
42275_ACEOF
42276if ac_fn_cxx_try_compile "$LINENO"; then :
42277  glibcxx_cv_func_modff_use=yes
42278else
42279  glibcxx_cv_func_modff_use=no
42280fi
42281rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42282      ac_ext=c
42283ac_cpp='$CPP $CPPFLAGS'
42284ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42285ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42286ac_compiler_gnu=$ac_cv_c_compiler_gnu
42287
42288
42289fi
42290
42291  fi
42292  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
42293$as_echo "$glibcxx_cv_func_modff_use" >&6; }
42294
42295  if test x$glibcxx_cv_func_modff_use = x"yes"; then
42296    for ac_func in modff
42297do :
42298  ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
42299if test "x$ac_cv_func_modff" = x""yes; then :
42300  cat >>confdefs.h <<_ACEOF
42301#define HAVE_MODFF 1
42302_ACEOF
42303
42304fi
42305done
42306
42307  else
42308
42309  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
42310$as_echo_n "checking for _modff declaration... " >&6; }
42311  if test x${glibcxx_cv_func__modff_use+set} != xset; then
42312    if test "${glibcxx_cv_func__modff_use+set}" = set; then :
42313  $as_echo_n "(cached) " >&6
42314else
42315
42316
42317      ac_ext=cpp
42318ac_cpp='$CXXCPP $CPPFLAGS'
42319ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42320ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42321ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42322
42323      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42324/* end confdefs.h.  */
42325#include <math.h>
42326int
42327main ()
42328{
42329 _modff(0, 0);
42330  ;
42331  return 0;
42332}
42333_ACEOF
42334if ac_fn_cxx_try_compile "$LINENO"; then :
42335  glibcxx_cv_func__modff_use=yes
42336else
42337  glibcxx_cv_func__modff_use=no
42338fi
42339rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42340      ac_ext=c
42341ac_cpp='$CPP $CPPFLAGS'
42342ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42343ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42344ac_compiler_gnu=$ac_cv_c_compiler_gnu
42345
42346
42347fi
42348
42349  fi
42350  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
42351$as_echo "$glibcxx_cv_func__modff_use" >&6; }
42352
42353    if test x$glibcxx_cv_func__modff_use = x"yes"; then
42354      for ac_func in _modff
42355do :
42356  ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
42357if test "x$ac_cv_func__modff" = x""yes; then :
42358  cat >>confdefs.h <<_ACEOF
42359#define HAVE__MODFF 1
42360_ACEOF
42361
42362fi
42363done
42364
42365    fi
42366  fi
42367
42368
42369
42370
42371
42372  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
42373$as_echo_n "checking for modf declaration... " >&6; }
42374  if test x${glibcxx_cv_func_modf_use+set} != xset; then
42375    if test "${glibcxx_cv_func_modf_use+set}" = set; then :
42376  $as_echo_n "(cached) " >&6
42377else
42378
42379
42380      ac_ext=cpp
42381ac_cpp='$CXXCPP $CPPFLAGS'
42382ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42383ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42384ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42385
42386      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42387/* end confdefs.h.  */
42388#include <math.h>
42389int
42390main ()
42391{
42392 modf(0, 0);
42393  ;
42394  return 0;
42395}
42396_ACEOF
42397if ac_fn_cxx_try_compile "$LINENO"; then :
42398  glibcxx_cv_func_modf_use=yes
42399else
42400  glibcxx_cv_func_modf_use=no
42401fi
42402rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42403      ac_ext=c
42404ac_cpp='$CPP $CPPFLAGS'
42405ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42406ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42407ac_compiler_gnu=$ac_cv_c_compiler_gnu
42408
42409
42410fi
42411
42412  fi
42413  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
42414$as_echo "$glibcxx_cv_func_modf_use" >&6; }
42415
42416  if test x$glibcxx_cv_func_modf_use = x"yes"; then
42417    for ac_func in modf
42418do :
42419  ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
42420if test "x$ac_cv_func_modf" = x""yes; then :
42421  cat >>confdefs.h <<_ACEOF
42422#define HAVE_MODF 1
42423_ACEOF
42424
42425fi
42426done
42427
42428  else
42429
42430  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
42431$as_echo_n "checking for _modf declaration... " >&6; }
42432  if test x${glibcxx_cv_func__modf_use+set} != xset; then
42433    if test "${glibcxx_cv_func__modf_use+set}" = set; then :
42434  $as_echo_n "(cached) " >&6
42435else
42436
42437
42438      ac_ext=cpp
42439ac_cpp='$CXXCPP $CPPFLAGS'
42440ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42441ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42442ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42443
42444      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42445/* end confdefs.h.  */
42446#include <math.h>
42447int
42448main ()
42449{
42450 _modf(0, 0);
42451  ;
42452  return 0;
42453}
42454_ACEOF
42455if ac_fn_cxx_try_compile "$LINENO"; then :
42456  glibcxx_cv_func__modf_use=yes
42457else
42458  glibcxx_cv_func__modf_use=no
42459fi
42460rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42461      ac_ext=c
42462ac_cpp='$CPP $CPPFLAGS'
42463ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42464ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42465ac_compiler_gnu=$ac_cv_c_compiler_gnu
42466
42467
42468fi
42469
42470  fi
42471  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
42472$as_echo "$glibcxx_cv_func__modf_use" >&6; }
42473
42474    if test x$glibcxx_cv_func__modf_use = x"yes"; then
42475      for ac_func in _modf
42476do :
42477  ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
42478if test "x$ac_cv_func__modf" = x""yes; then :
42479  cat >>confdefs.h <<_ACEOF
42480#define HAVE__MODF 1
42481_ACEOF
42482
42483fi
42484done
42485
42486    fi
42487  fi
42488
42489
42490
42491
42492
42493  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
42494$as_echo_n "checking for powf declaration... " >&6; }
42495  if test x${glibcxx_cv_func_powf_use+set} != xset; then
42496    if test "${glibcxx_cv_func_powf_use+set}" = set; then :
42497  $as_echo_n "(cached) " >&6
42498else
42499
42500
42501      ac_ext=cpp
42502ac_cpp='$CXXCPP $CPPFLAGS'
42503ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42504ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42505ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42506
42507      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42508/* end confdefs.h.  */
42509#include <math.h>
42510int
42511main ()
42512{
42513 powf(0, 0);
42514  ;
42515  return 0;
42516}
42517_ACEOF
42518if ac_fn_cxx_try_compile "$LINENO"; then :
42519  glibcxx_cv_func_powf_use=yes
42520else
42521  glibcxx_cv_func_powf_use=no
42522fi
42523rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42524      ac_ext=c
42525ac_cpp='$CPP $CPPFLAGS'
42526ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42527ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42528ac_compiler_gnu=$ac_cv_c_compiler_gnu
42529
42530
42531fi
42532
42533  fi
42534  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
42535$as_echo "$glibcxx_cv_func_powf_use" >&6; }
42536
42537  if test x$glibcxx_cv_func_powf_use = x"yes"; then
42538    for ac_func in powf
42539do :
42540  ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
42541if test "x$ac_cv_func_powf" = x""yes; then :
42542  cat >>confdefs.h <<_ACEOF
42543#define HAVE_POWF 1
42544_ACEOF
42545
42546fi
42547done
42548
42549  else
42550
42551  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
42552$as_echo_n "checking for _powf declaration... " >&6; }
42553  if test x${glibcxx_cv_func__powf_use+set} != xset; then
42554    if test "${glibcxx_cv_func__powf_use+set}" = set; then :
42555  $as_echo_n "(cached) " >&6
42556else
42557
42558
42559      ac_ext=cpp
42560ac_cpp='$CXXCPP $CPPFLAGS'
42561ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42562ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42563ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42564
42565      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42566/* end confdefs.h.  */
42567#include <math.h>
42568int
42569main ()
42570{
42571 _powf(0, 0);
42572  ;
42573  return 0;
42574}
42575_ACEOF
42576if ac_fn_cxx_try_compile "$LINENO"; then :
42577  glibcxx_cv_func__powf_use=yes
42578else
42579  glibcxx_cv_func__powf_use=no
42580fi
42581rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42582      ac_ext=c
42583ac_cpp='$CPP $CPPFLAGS'
42584ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42585ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42586ac_compiler_gnu=$ac_cv_c_compiler_gnu
42587
42588
42589fi
42590
42591  fi
42592  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
42593$as_echo "$glibcxx_cv_func__powf_use" >&6; }
42594
42595    if test x$glibcxx_cv_func__powf_use = x"yes"; then
42596      for ac_func in _powf
42597do :
42598  ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
42599if test "x$ac_cv_func__powf" = x""yes; then :
42600  cat >>confdefs.h <<_ACEOF
42601#define HAVE__POWF 1
42602_ACEOF
42603
42604fi
42605done
42606
42607    fi
42608  fi
42609
42610
42611
42612
42613
42614  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
42615$as_echo_n "checking for sqrtf declaration... " >&6; }
42616  if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
42617    if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
42618  $as_echo_n "(cached) " >&6
42619else
42620
42621
42622      ac_ext=cpp
42623ac_cpp='$CXXCPP $CPPFLAGS'
42624ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42625ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42626ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42627
42628      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42629/* end confdefs.h.  */
42630#include <math.h>
42631		      #ifdef HAVE_IEEEFP_H
42632		      #include <ieeefp.h>
42633		      #endif
42634
42635int
42636main ()
42637{
42638 sqrtf(0);
42639  ;
42640  return 0;
42641}
42642_ACEOF
42643if ac_fn_cxx_try_compile "$LINENO"; then :
42644  glibcxx_cv_func_sqrtf_use=yes
42645else
42646  glibcxx_cv_func_sqrtf_use=no
42647fi
42648rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42649      ac_ext=c
42650ac_cpp='$CPP $CPPFLAGS'
42651ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42652ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42653ac_compiler_gnu=$ac_cv_c_compiler_gnu
42654
42655
42656fi
42657
42658  fi
42659  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
42660$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
42661
42662  if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
42663    for ac_func in sqrtf
42664do :
42665  ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
42666if test "x$ac_cv_func_sqrtf" = x""yes; then :
42667  cat >>confdefs.h <<_ACEOF
42668#define HAVE_SQRTF 1
42669_ACEOF
42670
42671fi
42672done
42673
42674  else
42675
42676  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
42677$as_echo_n "checking for _sqrtf declaration... " >&6; }
42678  if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
42679    if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
42680  $as_echo_n "(cached) " >&6
42681else
42682
42683
42684      ac_ext=cpp
42685ac_cpp='$CXXCPP $CPPFLAGS'
42686ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42687ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42688ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42689
42690      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42691/* end confdefs.h.  */
42692#include <math.h>
42693		      #ifdef HAVE_IEEEFP_H
42694		      #include <ieeefp.h>
42695		      #endif
42696
42697int
42698main ()
42699{
42700 _sqrtf(0);
42701  ;
42702  return 0;
42703}
42704_ACEOF
42705if ac_fn_cxx_try_compile "$LINENO"; then :
42706  glibcxx_cv_func__sqrtf_use=yes
42707else
42708  glibcxx_cv_func__sqrtf_use=no
42709fi
42710rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42711      ac_ext=c
42712ac_cpp='$CPP $CPPFLAGS'
42713ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42714ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42715ac_compiler_gnu=$ac_cv_c_compiler_gnu
42716
42717
42718fi
42719
42720  fi
42721  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
42722$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
42723
42724    if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
42725      for ac_func in _sqrtf
42726do :
42727  ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
42728if test "x$ac_cv_func__sqrtf" = x""yes; then :
42729  cat >>confdefs.h <<_ACEOF
42730#define HAVE__SQRTF 1
42731_ACEOF
42732
42733fi
42734done
42735
42736    fi
42737  fi
42738
42739
42740
42741
42742
42743  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
42744$as_echo_n "checking for sincosf declaration... " >&6; }
42745  if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
42746    if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
42747  $as_echo_n "(cached) " >&6
42748else
42749
42750
42751      ac_ext=cpp
42752ac_cpp='$CXXCPP $CPPFLAGS'
42753ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42754ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42755ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42756
42757      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42758/* end confdefs.h.  */
42759#include <math.h>
42760int
42761main ()
42762{
42763 sincosf(0, 0, 0);
42764  ;
42765  return 0;
42766}
42767_ACEOF
42768if ac_fn_cxx_try_compile "$LINENO"; then :
42769  glibcxx_cv_func_sincosf_use=yes
42770else
42771  glibcxx_cv_func_sincosf_use=no
42772fi
42773rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42774      ac_ext=c
42775ac_cpp='$CPP $CPPFLAGS'
42776ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42777ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42778ac_compiler_gnu=$ac_cv_c_compiler_gnu
42779
42780
42781fi
42782
42783  fi
42784  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
42785$as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
42786
42787  if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
42788    for ac_func in sincosf
42789do :
42790  ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
42791if test "x$ac_cv_func_sincosf" = x""yes; then :
42792  cat >>confdefs.h <<_ACEOF
42793#define HAVE_SINCOSF 1
42794_ACEOF
42795
42796fi
42797done
42798
42799  else
42800
42801  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
42802$as_echo_n "checking for _sincosf declaration... " >&6; }
42803  if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
42804    if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
42805  $as_echo_n "(cached) " >&6
42806else
42807
42808
42809      ac_ext=cpp
42810ac_cpp='$CXXCPP $CPPFLAGS'
42811ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42812ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42813ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42814
42815      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42816/* end confdefs.h.  */
42817#include <math.h>
42818int
42819main ()
42820{
42821 _sincosf(0, 0, 0);
42822  ;
42823  return 0;
42824}
42825_ACEOF
42826if ac_fn_cxx_try_compile "$LINENO"; then :
42827  glibcxx_cv_func__sincosf_use=yes
42828else
42829  glibcxx_cv_func__sincosf_use=no
42830fi
42831rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42832      ac_ext=c
42833ac_cpp='$CPP $CPPFLAGS'
42834ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42835ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42836ac_compiler_gnu=$ac_cv_c_compiler_gnu
42837
42838
42839fi
42840
42841  fi
42842  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
42843$as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
42844
42845    if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
42846      for ac_func in _sincosf
42847do :
42848  ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
42849if test "x$ac_cv_func__sincosf" = x""yes; then :
42850  cat >>confdefs.h <<_ACEOF
42851#define HAVE__SINCOSF 1
42852_ACEOF
42853
42854fi
42855done
42856
42857    fi
42858  fi
42859
42860
42861
42862
42863
42864  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
42865$as_echo_n "checking for finitef declaration... " >&6; }
42866  if test x${glibcxx_cv_func_finitef_use+set} != xset; then
42867    if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
42868  $as_echo_n "(cached) " >&6
42869else
42870
42871
42872      ac_ext=cpp
42873ac_cpp='$CXXCPP $CPPFLAGS'
42874ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42875ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42876ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42877
42878      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42879/* end confdefs.h.  */
42880#include <math.h>
42881		      #ifdef HAVE_IEEEFP_H
42882		      #include <ieeefp.h>
42883		      #endif
42884
42885int
42886main ()
42887{
42888 finitef(0);
42889  ;
42890  return 0;
42891}
42892_ACEOF
42893if ac_fn_cxx_try_compile "$LINENO"; then :
42894  glibcxx_cv_func_finitef_use=yes
42895else
42896  glibcxx_cv_func_finitef_use=no
42897fi
42898rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42899      ac_ext=c
42900ac_cpp='$CPP $CPPFLAGS'
42901ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42902ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42903ac_compiler_gnu=$ac_cv_c_compiler_gnu
42904
42905
42906fi
42907
42908  fi
42909  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
42910$as_echo "$glibcxx_cv_func_finitef_use" >&6; }
42911
42912  if test x$glibcxx_cv_func_finitef_use = x"yes"; then
42913    for ac_func in finitef
42914do :
42915  ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
42916if test "x$ac_cv_func_finitef" = x""yes; then :
42917  cat >>confdefs.h <<_ACEOF
42918#define HAVE_FINITEF 1
42919_ACEOF
42920
42921fi
42922done
42923
42924  else
42925
42926  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
42927$as_echo_n "checking for _finitef declaration... " >&6; }
42928  if test x${glibcxx_cv_func__finitef_use+set} != xset; then
42929    if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
42930  $as_echo_n "(cached) " >&6
42931else
42932
42933
42934      ac_ext=cpp
42935ac_cpp='$CXXCPP $CPPFLAGS'
42936ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42937ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42938ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42939
42940      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42941/* end confdefs.h.  */
42942#include <math.h>
42943		      #ifdef HAVE_IEEEFP_H
42944		      #include <ieeefp.h>
42945		      #endif
42946
42947int
42948main ()
42949{
42950 _finitef(0);
42951  ;
42952  return 0;
42953}
42954_ACEOF
42955if ac_fn_cxx_try_compile "$LINENO"; then :
42956  glibcxx_cv_func__finitef_use=yes
42957else
42958  glibcxx_cv_func__finitef_use=no
42959fi
42960rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42961      ac_ext=c
42962ac_cpp='$CPP $CPPFLAGS'
42963ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42964ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42965ac_compiler_gnu=$ac_cv_c_compiler_gnu
42966
42967
42968fi
42969
42970  fi
42971  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
42972$as_echo "$glibcxx_cv_func__finitef_use" >&6; }
42973
42974    if test x$glibcxx_cv_func__finitef_use = x"yes"; then
42975      for ac_func in _finitef
42976do :
42977  ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
42978if test "x$ac_cv_func__finitef" = x""yes; then :
42979  cat >>confdefs.h <<_ACEOF
42980#define HAVE__FINITEF 1
42981_ACEOF
42982
42983fi
42984done
42985
42986    fi
42987  fi
42988
42989
42990
42991
42992
42993    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
42994$as_echo_n "checking for long double trig functions... " >&6; }
42995  if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
42996  $as_echo_n "(cached) " >&6
42997else
42998
42999
43000    ac_ext=cpp
43001ac_cpp='$CXXCPP $CPPFLAGS'
43002ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43003ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43004ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43005
43006    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43007/* end confdefs.h.  */
43008#include <math.h>
43009int
43010main ()
43011{
43012acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
43013  ;
43014  return 0;
43015}
43016_ACEOF
43017if ac_fn_cxx_try_compile "$LINENO"; then :
43018  glibcxx_cv_func_long_double_trig_use=yes
43019else
43020  glibcxx_cv_func_long_double_trig_use=no
43021fi
43022rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43023    ac_ext=c
43024ac_cpp='$CPP $CPPFLAGS'
43025ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43026ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43027ac_compiler_gnu=$ac_cv_c_compiler_gnu
43028
43029fi
43030
43031  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
43032$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
43033  if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
43034    for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
43035do :
43036  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43037ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43038eval as_val=\$$as_ac_var
43039   if test "x$as_val" = x""yes; then :
43040  cat >>confdefs.h <<_ACEOF
43041#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43042_ACEOF
43043
43044fi
43045done
43046
43047  else
43048    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
43049$as_echo_n "checking for _long double trig functions... " >&6; }
43050    if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
43051  $as_echo_n "(cached) " >&6
43052else
43053
43054
43055      ac_ext=cpp
43056ac_cpp='$CXXCPP $CPPFLAGS'
43057ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43058ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43059ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43060
43061      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43062/* end confdefs.h.  */
43063#include <math.h>
43064int
43065main ()
43066{
43067_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
43068  ;
43069  return 0;
43070}
43071_ACEOF
43072if ac_fn_cxx_try_compile "$LINENO"; then :
43073  glibcxx_cv_func__long_double_trig_use=yes
43074else
43075  glibcxx_cv_func__long_double_trig_use=no
43076fi
43077rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43078      ac_ext=c
43079ac_cpp='$CPP $CPPFLAGS'
43080ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43081ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43082ac_compiler_gnu=$ac_cv_c_compiler_gnu
43083
43084fi
43085
43086    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
43087$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
43088    if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
43089      for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
43090do :
43091  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43092ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43093eval as_val=\$$as_ac_var
43094   if test "x$as_val" = x""yes; then :
43095  cat >>confdefs.h <<_ACEOF
43096#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43097_ACEOF
43098
43099fi
43100done
43101
43102    fi
43103  fi
43104
43105
43106
43107
43108
43109    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
43110$as_echo_n "checking for long double round functions... " >&6; }
43111  if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
43112  $as_echo_n "(cached) " >&6
43113else
43114
43115
43116    ac_ext=cpp
43117ac_cpp='$CXXCPP $CPPFLAGS'
43118ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43119ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43120ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43121
43122    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43123/* end confdefs.h.  */
43124#include <math.h>
43125int
43126main ()
43127{
43128ceill (0); floorl (0);
43129  ;
43130  return 0;
43131}
43132_ACEOF
43133if ac_fn_cxx_try_compile "$LINENO"; then :
43134  glibcxx_cv_func_long_double_round_use=yes
43135else
43136  glibcxx_cv_func_long_double_round_use=no
43137fi
43138rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43139    ac_ext=c
43140ac_cpp='$CPP $CPPFLAGS'
43141ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43142ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43143ac_compiler_gnu=$ac_cv_c_compiler_gnu
43144
43145fi
43146
43147  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
43148$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
43149  if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
43150    for ac_func in ceill floorl
43151do :
43152  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43153ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43154eval as_val=\$$as_ac_var
43155   if test "x$as_val" = x""yes; then :
43156  cat >>confdefs.h <<_ACEOF
43157#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43158_ACEOF
43159
43160fi
43161done
43162
43163  else
43164    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
43165$as_echo_n "checking for _long double round functions... " >&6; }
43166    if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
43167  $as_echo_n "(cached) " >&6
43168else
43169
43170
43171      ac_ext=cpp
43172ac_cpp='$CXXCPP $CPPFLAGS'
43173ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43174ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43175ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43176
43177      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43178/* end confdefs.h.  */
43179#include <math.h>
43180int
43181main ()
43182{
43183_ceill (0); _floorl (0);
43184  ;
43185  return 0;
43186}
43187_ACEOF
43188if ac_fn_cxx_try_compile "$LINENO"; then :
43189  glibcxx_cv_func__long_double_round_use=yes
43190else
43191  glibcxx_cv_func__long_double_round_use=no
43192fi
43193rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43194      ac_ext=c
43195ac_cpp='$CPP $CPPFLAGS'
43196ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43197ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43198ac_compiler_gnu=$ac_cv_c_compiler_gnu
43199
43200fi
43201
43202    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
43203$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
43204    if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
43205      for ac_func in _ceill _floorl
43206do :
43207  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43208ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43209eval as_val=\$$as_ac_var
43210   if test "x$as_val" = x""yes; then :
43211  cat >>confdefs.h <<_ACEOF
43212#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43213_ACEOF
43214
43215fi
43216done
43217
43218    fi
43219  fi
43220
43221
43222
43223
43224
43225
43226  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
43227$as_echo_n "checking for isnanl declaration... " >&6; }
43228  if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
43229    if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
43230  $as_echo_n "(cached) " >&6
43231else
43232
43233
43234      ac_ext=cpp
43235ac_cpp='$CXXCPP $CPPFLAGS'
43236ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43237ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43238ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43239
43240      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43241/* end confdefs.h.  */
43242#include <math.h>
43243		      #ifdef HAVE_IEEEFP_H
43244		      #include <ieeefp.h>
43245		      #endif
43246
43247int
43248main ()
43249{
43250 isnanl(0);
43251  ;
43252  return 0;
43253}
43254_ACEOF
43255if ac_fn_cxx_try_compile "$LINENO"; then :
43256  glibcxx_cv_func_isnanl_use=yes
43257else
43258  glibcxx_cv_func_isnanl_use=no
43259fi
43260rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43261      ac_ext=c
43262ac_cpp='$CPP $CPPFLAGS'
43263ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43264ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43265ac_compiler_gnu=$ac_cv_c_compiler_gnu
43266
43267
43268fi
43269
43270  fi
43271  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
43272$as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
43273
43274  if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
43275    for ac_func in isnanl
43276do :
43277  ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
43278if test "x$ac_cv_func_isnanl" = x""yes; then :
43279  cat >>confdefs.h <<_ACEOF
43280#define HAVE_ISNANL 1
43281_ACEOF
43282
43283fi
43284done
43285
43286  else
43287
43288  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
43289$as_echo_n "checking for _isnanl declaration... " >&6; }
43290  if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
43291    if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
43292  $as_echo_n "(cached) " >&6
43293else
43294
43295
43296      ac_ext=cpp
43297ac_cpp='$CXXCPP $CPPFLAGS'
43298ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43299ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43300ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43301
43302      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43303/* end confdefs.h.  */
43304#include <math.h>
43305		      #ifdef HAVE_IEEEFP_H
43306		      #include <ieeefp.h>
43307		      #endif
43308
43309int
43310main ()
43311{
43312 _isnanl(0);
43313  ;
43314  return 0;
43315}
43316_ACEOF
43317if ac_fn_cxx_try_compile "$LINENO"; then :
43318  glibcxx_cv_func__isnanl_use=yes
43319else
43320  glibcxx_cv_func__isnanl_use=no
43321fi
43322rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43323      ac_ext=c
43324ac_cpp='$CPP $CPPFLAGS'
43325ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43326ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43327ac_compiler_gnu=$ac_cv_c_compiler_gnu
43328
43329
43330fi
43331
43332  fi
43333  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
43334$as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
43335
43336    if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
43337      for ac_func in _isnanl
43338do :
43339  ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
43340if test "x$ac_cv_func__isnanl" = x""yes; then :
43341  cat >>confdefs.h <<_ACEOF
43342#define HAVE__ISNANL 1
43343_ACEOF
43344
43345fi
43346done
43347
43348    fi
43349  fi
43350
43351
43352
43353
43354
43355  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
43356$as_echo_n "checking for isinfl declaration... " >&6; }
43357  if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
43358    if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
43359  $as_echo_n "(cached) " >&6
43360else
43361
43362
43363      ac_ext=cpp
43364ac_cpp='$CXXCPP $CPPFLAGS'
43365ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43366ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43367ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43368
43369      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43370/* end confdefs.h.  */
43371#include <math.h>
43372		      #ifdef HAVE_IEEEFP_H
43373		      #include <ieeefp.h>
43374		      #endif
43375
43376int
43377main ()
43378{
43379 isinfl(0);
43380  ;
43381  return 0;
43382}
43383_ACEOF
43384if ac_fn_cxx_try_compile "$LINENO"; then :
43385  glibcxx_cv_func_isinfl_use=yes
43386else
43387  glibcxx_cv_func_isinfl_use=no
43388fi
43389rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43390      ac_ext=c
43391ac_cpp='$CPP $CPPFLAGS'
43392ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43393ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43394ac_compiler_gnu=$ac_cv_c_compiler_gnu
43395
43396
43397fi
43398
43399  fi
43400  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
43401$as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
43402
43403  if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
43404    for ac_func in isinfl
43405do :
43406  ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
43407if test "x$ac_cv_func_isinfl" = x""yes; then :
43408  cat >>confdefs.h <<_ACEOF
43409#define HAVE_ISINFL 1
43410_ACEOF
43411
43412fi
43413done
43414
43415  else
43416
43417  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
43418$as_echo_n "checking for _isinfl declaration... " >&6; }
43419  if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
43420    if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
43421  $as_echo_n "(cached) " >&6
43422else
43423
43424
43425      ac_ext=cpp
43426ac_cpp='$CXXCPP $CPPFLAGS'
43427ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43428ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43429ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43430
43431      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43432/* end confdefs.h.  */
43433#include <math.h>
43434		      #ifdef HAVE_IEEEFP_H
43435		      #include <ieeefp.h>
43436		      #endif
43437
43438int
43439main ()
43440{
43441 _isinfl(0);
43442  ;
43443  return 0;
43444}
43445_ACEOF
43446if ac_fn_cxx_try_compile "$LINENO"; then :
43447  glibcxx_cv_func__isinfl_use=yes
43448else
43449  glibcxx_cv_func__isinfl_use=no
43450fi
43451rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43452      ac_ext=c
43453ac_cpp='$CPP $CPPFLAGS'
43454ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43455ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43456ac_compiler_gnu=$ac_cv_c_compiler_gnu
43457
43458
43459fi
43460
43461  fi
43462  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
43463$as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
43464
43465    if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
43466      for ac_func in _isinfl
43467do :
43468  ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
43469if test "x$ac_cv_func__isinfl" = x""yes; then :
43470  cat >>confdefs.h <<_ACEOF
43471#define HAVE__ISINFL 1
43472_ACEOF
43473
43474fi
43475done
43476
43477    fi
43478  fi
43479
43480
43481
43482
43483
43484  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
43485$as_echo_n "checking for atan2l declaration... " >&6; }
43486  if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
43487    if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
43488  $as_echo_n "(cached) " >&6
43489else
43490
43491
43492      ac_ext=cpp
43493ac_cpp='$CXXCPP $CPPFLAGS'
43494ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43495ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43496ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43497
43498      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43499/* end confdefs.h.  */
43500#include <math.h>
43501int
43502main ()
43503{
43504 atan2l(0, 0);
43505  ;
43506  return 0;
43507}
43508_ACEOF
43509if ac_fn_cxx_try_compile "$LINENO"; then :
43510  glibcxx_cv_func_atan2l_use=yes
43511else
43512  glibcxx_cv_func_atan2l_use=no
43513fi
43514rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43515      ac_ext=c
43516ac_cpp='$CPP $CPPFLAGS'
43517ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43518ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43519ac_compiler_gnu=$ac_cv_c_compiler_gnu
43520
43521
43522fi
43523
43524  fi
43525  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
43526$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
43527
43528  if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
43529    for ac_func in atan2l
43530do :
43531  ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
43532if test "x$ac_cv_func_atan2l" = x""yes; then :
43533  cat >>confdefs.h <<_ACEOF
43534#define HAVE_ATAN2L 1
43535_ACEOF
43536
43537fi
43538done
43539
43540  else
43541
43542  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
43543$as_echo_n "checking for _atan2l declaration... " >&6; }
43544  if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
43545    if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
43546  $as_echo_n "(cached) " >&6
43547else
43548
43549
43550      ac_ext=cpp
43551ac_cpp='$CXXCPP $CPPFLAGS'
43552ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43553ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43554ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43555
43556      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43557/* end confdefs.h.  */
43558#include <math.h>
43559int
43560main ()
43561{
43562 _atan2l(0, 0);
43563  ;
43564  return 0;
43565}
43566_ACEOF
43567if ac_fn_cxx_try_compile "$LINENO"; then :
43568  glibcxx_cv_func__atan2l_use=yes
43569else
43570  glibcxx_cv_func__atan2l_use=no
43571fi
43572rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43573      ac_ext=c
43574ac_cpp='$CPP $CPPFLAGS'
43575ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43576ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43577ac_compiler_gnu=$ac_cv_c_compiler_gnu
43578
43579
43580fi
43581
43582  fi
43583  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
43584$as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
43585
43586    if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
43587      for ac_func in _atan2l
43588do :
43589  ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
43590if test "x$ac_cv_func__atan2l" = x""yes; then :
43591  cat >>confdefs.h <<_ACEOF
43592#define HAVE__ATAN2L 1
43593_ACEOF
43594
43595fi
43596done
43597
43598    fi
43599  fi
43600
43601
43602
43603
43604
43605  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
43606$as_echo_n "checking for expl declaration... " >&6; }
43607  if test x${glibcxx_cv_func_expl_use+set} != xset; then
43608    if test "${glibcxx_cv_func_expl_use+set}" = set; then :
43609  $as_echo_n "(cached) " >&6
43610else
43611
43612
43613      ac_ext=cpp
43614ac_cpp='$CXXCPP $CPPFLAGS'
43615ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43616ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43617ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43618
43619      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43620/* end confdefs.h.  */
43621#include <math.h>
43622		      #ifdef HAVE_IEEEFP_H
43623		      #include <ieeefp.h>
43624		      #endif
43625
43626int
43627main ()
43628{
43629 expl(0);
43630  ;
43631  return 0;
43632}
43633_ACEOF
43634if ac_fn_cxx_try_compile "$LINENO"; then :
43635  glibcxx_cv_func_expl_use=yes
43636else
43637  glibcxx_cv_func_expl_use=no
43638fi
43639rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43640      ac_ext=c
43641ac_cpp='$CPP $CPPFLAGS'
43642ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43643ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43644ac_compiler_gnu=$ac_cv_c_compiler_gnu
43645
43646
43647fi
43648
43649  fi
43650  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
43651$as_echo "$glibcxx_cv_func_expl_use" >&6; }
43652
43653  if test x$glibcxx_cv_func_expl_use = x"yes"; then
43654    for ac_func in expl
43655do :
43656  ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
43657if test "x$ac_cv_func_expl" = x""yes; then :
43658  cat >>confdefs.h <<_ACEOF
43659#define HAVE_EXPL 1
43660_ACEOF
43661
43662fi
43663done
43664
43665  else
43666
43667  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
43668$as_echo_n "checking for _expl declaration... " >&6; }
43669  if test x${glibcxx_cv_func__expl_use+set} != xset; then
43670    if test "${glibcxx_cv_func__expl_use+set}" = set; then :
43671  $as_echo_n "(cached) " >&6
43672else
43673
43674
43675      ac_ext=cpp
43676ac_cpp='$CXXCPP $CPPFLAGS'
43677ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43678ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43679ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43680
43681      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43682/* end confdefs.h.  */
43683#include <math.h>
43684		      #ifdef HAVE_IEEEFP_H
43685		      #include <ieeefp.h>
43686		      #endif
43687
43688int
43689main ()
43690{
43691 _expl(0);
43692  ;
43693  return 0;
43694}
43695_ACEOF
43696if ac_fn_cxx_try_compile "$LINENO"; then :
43697  glibcxx_cv_func__expl_use=yes
43698else
43699  glibcxx_cv_func__expl_use=no
43700fi
43701rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43702      ac_ext=c
43703ac_cpp='$CPP $CPPFLAGS'
43704ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43705ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43706ac_compiler_gnu=$ac_cv_c_compiler_gnu
43707
43708
43709fi
43710
43711  fi
43712  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
43713$as_echo "$glibcxx_cv_func__expl_use" >&6; }
43714
43715    if test x$glibcxx_cv_func__expl_use = x"yes"; then
43716      for ac_func in _expl
43717do :
43718  ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
43719if test "x$ac_cv_func__expl" = x""yes; then :
43720  cat >>confdefs.h <<_ACEOF
43721#define HAVE__EXPL 1
43722_ACEOF
43723
43724fi
43725done
43726
43727    fi
43728  fi
43729
43730
43731
43732
43733
43734  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
43735$as_echo_n "checking for fabsl declaration... " >&6; }
43736  if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
43737    if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
43738  $as_echo_n "(cached) " >&6
43739else
43740
43741
43742      ac_ext=cpp
43743ac_cpp='$CXXCPP $CPPFLAGS'
43744ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43745ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43746ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43747
43748      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43749/* end confdefs.h.  */
43750#include <math.h>
43751		      #ifdef HAVE_IEEEFP_H
43752		      #include <ieeefp.h>
43753		      #endif
43754
43755int
43756main ()
43757{
43758 fabsl(0);
43759  ;
43760  return 0;
43761}
43762_ACEOF
43763if ac_fn_cxx_try_compile "$LINENO"; then :
43764  glibcxx_cv_func_fabsl_use=yes
43765else
43766  glibcxx_cv_func_fabsl_use=no
43767fi
43768rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43769      ac_ext=c
43770ac_cpp='$CPP $CPPFLAGS'
43771ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43772ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43773ac_compiler_gnu=$ac_cv_c_compiler_gnu
43774
43775
43776fi
43777
43778  fi
43779  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
43780$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
43781
43782  if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
43783    for ac_func in fabsl
43784do :
43785  ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
43786if test "x$ac_cv_func_fabsl" = x""yes; then :
43787  cat >>confdefs.h <<_ACEOF
43788#define HAVE_FABSL 1
43789_ACEOF
43790
43791fi
43792done
43793
43794  else
43795
43796  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
43797$as_echo_n "checking for _fabsl declaration... " >&6; }
43798  if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
43799    if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
43800  $as_echo_n "(cached) " >&6
43801else
43802
43803
43804      ac_ext=cpp
43805ac_cpp='$CXXCPP $CPPFLAGS'
43806ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43807ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43808ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43809
43810      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43811/* end confdefs.h.  */
43812#include <math.h>
43813		      #ifdef HAVE_IEEEFP_H
43814		      #include <ieeefp.h>
43815		      #endif
43816
43817int
43818main ()
43819{
43820 _fabsl(0);
43821  ;
43822  return 0;
43823}
43824_ACEOF
43825if ac_fn_cxx_try_compile "$LINENO"; then :
43826  glibcxx_cv_func__fabsl_use=yes
43827else
43828  glibcxx_cv_func__fabsl_use=no
43829fi
43830rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43831      ac_ext=c
43832ac_cpp='$CPP $CPPFLAGS'
43833ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43834ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43835ac_compiler_gnu=$ac_cv_c_compiler_gnu
43836
43837
43838fi
43839
43840  fi
43841  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
43842$as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
43843
43844    if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
43845      for ac_func in _fabsl
43846do :
43847  ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
43848if test "x$ac_cv_func__fabsl" = x""yes; then :
43849  cat >>confdefs.h <<_ACEOF
43850#define HAVE__FABSL 1
43851_ACEOF
43852
43853fi
43854done
43855
43856    fi
43857  fi
43858
43859
43860
43861
43862
43863  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
43864$as_echo_n "checking for fmodl declaration... " >&6; }
43865  if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
43866    if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
43867  $as_echo_n "(cached) " >&6
43868else
43869
43870
43871      ac_ext=cpp
43872ac_cpp='$CXXCPP $CPPFLAGS'
43873ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43874ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43875ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43876
43877      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43878/* end confdefs.h.  */
43879#include <math.h>
43880int
43881main ()
43882{
43883 fmodl(0, 0);
43884  ;
43885  return 0;
43886}
43887_ACEOF
43888if ac_fn_cxx_try_compile "$LINENO"; then :
43889  glibcxx_cv_func_fmodl_use=yes
43890else
43891  glibcxx_cv_func_fmodl_use=no
43892fi
43893rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43894      ac_ext=c
43895ac_cpp='$CPP $CPPFLAGS'
43896ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43897ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43898ac_compiler_gnu=$ac_cv_c_compiler_gnu
43899
43900
43901fi
43902
43903  fi
43904  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
43905$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
43906
43907  if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
43908    for ac_func in fmodl
43909do :
43910  ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
43911if test "x$ac_cv_func_fmodl" = x""yes; then :
43912  cat >>confdefs.h <<_ACEOF
43913#define HAVE_FMODL 1
43914_ACEOF
43915
43916fi
43917done
43918
43919  else
43920
43921  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
43922$as_echo_n "checking for _fmodl declaration... " >&6; }
43923  if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
43924    if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
43925  $as_echo_n "(cached) " >&6
43926else
43927
43928
43929      ac_ext=cpp
43930ac_cpp='$CXXCPP $CPPFLAGS'
43931ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43932ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43933ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43934
43935      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43936/* end confdefs.h.  */
43937#include <math.h>
43938int
43939main ()
43940{
43941 _fmodl(0, 0);
43942  ;
43943  return 0;
43944}
43945_ACEOF
43946if ac_fn_cxx_try_compile "$LINENO"; then :
43947  glibcxx_cv_func__fmodl_use=yes
43948else
43949  glibcxx_cv_func__fmodl_use=no
43950fi
43951rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43952      ac_ext=c
43953ac_cpp='$CPP $CPPFLAGS'
43954ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43955ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43956ac_compiler_gnu=$ac_cv_c_compiler_gnu
43957
43958
43959fi
43960
43961  fi
43962  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
43963$as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
43964
43965    if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
43966      for ac_func in _fmodl
43967do :
43968  ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
43969if test "x$ac_cv_func__fmodl" = x""yes; then :
43970  cat >>confdefs.h <<_ACEOF
43971#define HAVE__FMODL 1
43972_ACEOF
43973
43974fi
43975done
43976
43977    fi
43978  fi
43979
43980
43981
43982
43983
43984  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
43985$as_echo_n "checking for frexpl declaration... " >&6; }
43986  if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
43987    if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
43988  $as_echo_n "(cached) " >&6
43989else
43990
43991
43992      ac_ext=cpp
43993ac_cpp='$CXXCPP $CPPFLAGS'
43994ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43995ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43996ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43997
43998      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43999/* end confdefs.h.  */
44000#include <math.h>
44001int
44002main ()
44003{
44004 frexpl(0, 0);
44005  ;
44006  return 0;
44007}
44008_ACEOF
44009if ac_fn_cxx_try_compile "$LINENO"; then :
44010  glibcxx_cv_func_frexpl_use=yes
44011else
44012  glibcxx_cv_func_frexpl_use=no
44013fi
44014rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44015      ac_ext=c
44016ac_cpp='$CPP $CPPFLAGS'
44017ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44018ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44019ac_compiler_gnu=$ac_cv_c_compiler_gnu
44020
44021
44022fi
44023
44024  fi
44025  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
44026$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
44027
44028  if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
44029    for ac_func in frexpl
44030do :
44031  ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
44032if test "x$ac_cv_func_frexpl" = x""yes; then :
44033  cat >>confdefs.h <<_ACEOF
44034#define HAVE_FREXPL 1
44035_ACEOF
44036
44037fi
44038done
44039
44040  else
44041
44042  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
44043$as_echo_n "checking for _frexpl declaration... " >&6; }
44044  if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
44045    if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
44046  $as_echo_n "(cached) " >&6
44047else
44048
44049
44050      ac_ext=cpp
44051ac_cpp='$CXXCPP $CPPFLAGS'
44052ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44053ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44054ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44055
44056      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44057/* end confdefs.h.  */
44058#include <math.h>
44059int
44060main ()
44061{
44062 _frexpl(0, 0);
44063  ;
44064  return 0;
44065}
44066_ACEOF
44067if ac_fn_cxx_try_compile "$LINENO"; then :
44068  glibcxx_cv_func__frexpl_use=yes
44069else
44070  glibcxx_cv_func__frexpl_use=no
44071fi
44072rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44073      ac_ext=c
44074ac_cpp='$CPP $CPPFLAGS'
44075ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44076ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44077ac_compiler_gnu=$ac_cv_c_compiler_gnu
44078
44079
44080fi
44081
44082  fi
44083  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
44084$as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
44085
44086    if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
44087      for ac_func in _frexpl
44088do :
44089  ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
44090if test "x$ac_cv_func__frexpl" = x""yes; then :
44091  cat >>confdefs.h <<_ACEOF
44092#define HAVE__FREXPL 1
44093_ACEOF
44094
44095fi
44096done
44097
44098    fi
44099  fi
44100
44101
44102
44103
44104
44105  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
44106$as_echo_n "checking for hypotl declaration... " >&6; }
44107  if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
44108    if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
44109  $as_echo_n "(cached) " >&6
44110else
44111
44112
44113      ac_ext=cpp
44114ac_cpp='$CXXCPP $CPPFLAGS'
44115ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44116ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44117ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44118
44119      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44120/* end confdefs.h.  */
44121#include <math.h>
44122int
44123main ()
44124{
44125 hypotl(0, 0);
44126  ;
44127  return 0;
44128}
44129_ACEOF
44130if ac_fn_cxx_try_compile "$LINENO"; then :
44131  glibcxx_cv_func_hypotl_use=yes
44132else
44133  glibcxx_cv_func_hypotl_use=no
44134fi
44135rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44136      ac_ext=c
44137ac_cpp='$CPP $CPPFLAGS'
44138ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44139ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44140ac_compiler_gnu=$ac_cv_c_compiler_gnu
44141
44142
44143fi
44144
44145  fi
44146  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
44147$as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
44148
44149  if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
44150    for ac_func in hypotl
44151do :
44152  ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
44153if test "x$ac_cv_func_hypotl" = x""yes; then :
44154  cat >>confdefs.h <<_ACEOF
44155#define HAVE_HYPOTL 1
44156_ACEOF
44157
44158fi
44159done
44160
44161  else
44162
44163  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
44164$as_echo_n "checking for _hypotl declaration... " >&6; }
44165  if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
44166    if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
44167  $as_echo_n "(cached) " >&6
44168else
44169
44170
44171      ac_ext=cpp
44172ac_cpp='$CXXCPP $CPPFLAGS'
44173ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44174ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44175ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44176
44177      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44178/* end confdefs.h.  */
44179#include <math.h>
44180int
44181main ()
44182{
44183 _hypotl(0, 0);
44184  ;
44185  return 0;
44186}
44187_ACEOF
44188if ac_fn_cxx_try_compile "$LINENO"; then :
44189  glibcxx_cv_func__hypotl_use=yes
44190else
44191  glibcxx_cv_func__hypotl_use=no
44192fi
44193rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44194      ac_ext=c
44195ac_cpp='$CPP $CPPFLAGS'
44196ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44197ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44198ac_compiler_gnu=$ac_cv_c_compiler_gnu
44199
44200
44201fi
44202
44203  fi
44204  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
44205$as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
44206
44207    if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
44208      for ac_func in _hypotl
44209do :
44210  ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
44211if test "x$ac_cv_func__hypotl" = x""yes; then :
44212  cat >>confdefs.h <<_ACEOF
44213#define HAVE__HYPOTL 1
44214_ACEOF
44215
44216fi
44217done
44218
44219    fi
44220  fi
44221
44222
44223
44224
44225
44226  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
44227$as_echo_n "checking for ldexpl declaration... " >&6; }
44228  if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
44229    if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
44230  $as_echo_n "(cached) " >&6
44231else
44232
44233
44234      ac_ext=cpp
44235ac_cpp='$CXXCPP $CPPFLAGS'
44236ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44237ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44238ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44239
44240      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44241/* end confdefs.h.  */
44242#include <math.h>
44243int
44244main ()
44245{
44246 ldexpl(0, 0);
44247  ;
44248  return 0;
44249}
44250_ACEOF
44251if ac_fn_cxx_try_compile "$LINENO"; then :
44252  glibcxx_cv_func_ldexpl_use=yes
44253else
44254  glibcxx_cv_func_ldexpl_use=no
44255fi
44256rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44257      ac_ext=c
44258ac_cpp='$CPP $CPPFLAGS'
44259ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44260ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44261ac_compiler_gnu=$ac_cv_c_compiler_gnu
44262
44263
44264fi
44265
44266  fi
44267  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
44268$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
44269
44270  if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
44271    for ac_func in ldexpl
44272do :
44273  ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
44274if test "x$ac_cv_func_ldexpl" = x""yes; then :
44275  cat >>confdefs.h <<_ACEOF
44276#define HAVE_LDEXPL 1
44277_ACEOF
44278
44279fi
44280done
44281
44282  else
44283
44284  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
44285$as_echo_n "checking for _ldexpl declaration... " >&6; }
44286  if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
44287    if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
44288  $as_echo_n "(cached) " >&6
44289else
44290
44291
44292      ac_ext=cpp
44293ac_cpp='$CXXCPP $CPPFLAGS'
44294ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44295ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44296ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44297
44298      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44299/* end confdefs.h.  */
44300#include <math.h>
44301int
44302main ()
44303{
44304 _ldexpl(0, 0);
44305  ;
44306  return 0;
44307}
44308_ACEOF
44309if ac_fn_cxx_try_compile "$LINENO"; then :
44310  glibcxx_cv_func__ldexpl_use=yes
44311else
44312  glibcxx_cv_func__ldexpl_use=no
44313fi
44314rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44315      ac_ext=c
44316ac_cpp='$CPP $CPPFLAGS'
44317ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44318ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44319ac_compiler_gnu=$ac_cv_c_compiler_gnu
44320
44321
44322fi
44323
44324  fi
44325  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
44326$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
44327
44328    if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
44329      for ac_func in _ldexpl
44330do :
44331  ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
44332if test "x$ac_cv_func__ldexpl" = x""yes; then :
44333  cat >>confdefs.h <<_ACEOF
44334#define HAVE__LDEXPL 1
44335_ACEOF
44336
44337fi
44338done
44339
44340    fi
44341  fi
44342
44343
44344
44345
44346
44347  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
44348$as_echo_n "checking for logl declaration... " >&6; }
44349  if test x${glibcxx_cv_func_logl_use+set} != xset; then
44350    if test "${glibcxx_cv_func_logl_use+set}" = set; then :
44351  $as_echo_n "(cached) " >&6
44352else
44353
44354
44355      ac_ext=cpp
44356ac_cpp='$CXXCPP $CPPFLAGS'
44357ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44358ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44359ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44360
44361      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44362/* end confdefs.h.  */
44363#include <math.h>
44364		      #ifdef HAVE_IEEEFP_H
44365		      #include <ieeefp.h>
44366		      #endif
44367
44368int
44369main ()
44370{
44371 logl(0);
44372  ;
44373  return 0;
44374}
44375_ACEOF
44376if ac_fn_cxx_try_compile "$LINENO"; then :
44377  glibcxx_cv_func_logl_use=yes
44378else
44379  glibcxx_cv_func_logl_use=no
44380fi
44381rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44382      ac_ext=c
44383ac_cpp='$CPP $CPPFLAGS'
44384ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44385ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44386ac_compiler_gnu=$ac_cv_c_compiler_gnu
44387
44388
44389fi
44390
44391  fi
44392  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
44393$as_echo "$glibcxx_cv_func_logl_use" >&6; }
44394
44395  if test x$glibcxx_cv_func_logl_use = x"yes"; then
44396    for ac_func in logl
44397do :
44398  ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
44399if test "x$ac_cv_func_logl" = x""yes; then :
44400  cat >>confdefs.h <<_ACEOF
44401#define HAVE_LOGL 1
44402_ACEOF
44403
44404fi
44405done
44406
44407  else
44408
44409  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
44410$as_echo_n "checking for _logl declaration... " >&6; }
44411  if test x${glibcxx_cv_func__logl_use+set} != xset; then
44412    if test "${glibcxx_cv_func__logl_use+set}" = set; then :
44413  $as_echo_n "(cached) " >&6
44414else
44415
44416
44417      ac_ext=cpp
44418ac_cpp='$CXXCPP $CPPFLAGS'
44419ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44420ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44421ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44422
44423      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44424/* end confdefs.h.  */
44425#include <math.h>
44426		      #ifdef HAVE_IEEEFP_H
44427		      #include <ieeefp.h>
44428		      #endif
44429
44430int
44431main ()
44432{
44433 _logl(0);
44434  ;
44435  return 0;
44436}
44437_ACEOF
44438if ac_fn_cxx_try_compile "$LINENO"; then :
44439  glibcxx_cv_func__logl_use=yes
44440else
44441  glibcxx_cv_func__logl_use=no
44442fi
44443rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44444      ac_ext=c
44445ac_cpp='$CPP $CPPFLAGS'
44446ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44447ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44448ac_compiler_gnu=$ac_cv_c_compiler_gnu
44449
44450
44451fi
44452
44453  fi
44454  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
44455$as_echo "$glibcxx_cv_func__logl_use" >&6; }
44456
44457    if test x$glibcxx_cv_func__logl_use = x"yes"; then
44458      for ac_func in _logl
44459do :
44460  ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
44461if test "x$ac_cv_func__logl" = x""yes; then :
44462  cat >>confdefs.h <<_ACEOF
44463#define HAVE__LOGL 1
44464_ACEOF
44465
44466fi
44467done
44468
44469    fi
44470  fi
44471
44472
44473
44474
44475
44476  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
44477$as_echo_n "checking for log10l declaration... " >&6; }
44478  if test x${glibcxx_cv_func_log10l_use+set} != xset; then
44479    if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
44480  $as_echo_n "(cached) " >&6
44481else
44482
44483
44484      ac_ext=cpp
44485ac_cpp='$CXXCPP $CPPFLAGS'
44486ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44487ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44488ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44489
44490      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44491/* end confdefs.h.  */
44492#include <math.h>
44493		      #ifdef HAVE_IEEEFP_H
44494		      #include <ieeefp.h>
44495		      #endif
44496
44497int
44498main ()
44499{
44500 log10l(0);
44501  ;
44502  return 0;
44503}
44504_ACEOF
44505if ac_fn_cxx_try_compile "$LINENO"; then :
44506  glibcxx_cv_func_log10l_use=yes
44507else
44508  glibcxx_cv_func_log10l_use=no
44509fi
44510rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44511      ac_ext=c
44512ac_cpp='$CPP $CPPFLAGS'
44513ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44514ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44515ac_compiler_gnu=$ac_cv_c_compiler_gnu
44516
44517
44518fi
44519
44520  fi
44521  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
44522$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
44523
44524  if test x$glibcxx_cv_func_log10l_use = x"yes"; then
44525    for ac_func in log10l
44526do :
44527  ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
44528if test "x$ac_cv_func_log10l" = x""yes; then :
44529  cat >>confdefs.h <<_ACEOF
44530#define HAVE_LOG10L 1
44531_ACEOF
44532
44533fi
44534done
44535
44536  else
44537
44538  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
44539$as_echo_n "checking for _log10l declaration... " >&6; }
44540  if test x${glibcxx_cv_func__log10l_use+set} != xset; then
44541    if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
44542  $as_echo_n "(cached) " >&6
44543else
44544
44545
44546      ac_ext=cpp
44547ac_cpp='$CXXCPP $CPPFLAGS'
44548ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44549ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44550ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44551
44552      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44553/* end confdefs.h.  */
44554#include <math.h>
44555		      #ifdef HAVE_IEEEFP_H
44556		      #include <ieeefp.h>
44557		      #endif
44558
44559int
44560main ()
44561{
44562 _log10l(0);
44563  ;
44564  return 0;
44565}
44566_ACEOF
44567if ac_fn_cxx_try_compile "$LINENO"; then :
44568  glibcxx_cv_func__log10l_use=yes
44569else
44570  glibcxx_cv_func__log10l_use=no
44571fi
44572rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44573      ac_ext=c
44574ac_cpp='$CPP $CPPFLAGS'
44575ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44576ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44577ac_compiler_gnu=$ac_cv_c_compiler_gnu
44578
44579
44580fi
44581
44582  fi
44583  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
44584$as_echo "$glibcxx_cv_func__log10l_use" >&6; }
44585
44586    if test x$glibcxx_cv_func__log10l_use = x"yes"; then
44587      for ac_func in _log10l
44588do :
44589  ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
44590if test "x$ac_cv_func__log10l" = x""yes; then :
44591  cat >>confdefs.h <<_ACEOF
44592#define HAVE__LOG10L 1
44593_ACEOF
44594
44595fi
44596done
44597
44598    fi
44599  fi
44600
44601
44602
44603
44604
44605  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
44606$as_echo_n "checking for modfl declaration... " >&6; }
44607  if test x${glibcxx_cv_func_modfl_use+set} != xset; then
44608    if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
44609  $as_echo_n "(cached) " >&6
44610else
44611
44612
44613      ac_ext=cpp
44614ac_cpp='$CXXCPP $CPPFLAGS'
44615ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44616ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44617ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44618
44619      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44620/* end confdefs.h.  */
44621#include <math.h>
44622int
44623main ()
44624{
44625 modfl(0, 0);
44626  ;
44627  return 0;
44628}
44629_ACEOF
44630if ac_fn_cxx_try_compile "$LINENO"; then :
44631  glibcxx_cv_func_modfl_use=yes
44632else
44633  glibcxx_cv_func_modfl_use=no
44634fi
44635rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44636      ac_ext=c
44637ac_cpp='$CPP $CPPFLAGS'
44638ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44639ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44640ac_compiler_gnu=$ac_cv_c_compiler_gnu
44641
44642
44643fi
44644
44645  fi
44646  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
44647$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
44648
44649  if test x$glibcxx_cv_func_modfl_use = x"yes"; then
44650    for ac_func in modfl
44651do :
44652  ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
44653if test "x$ac_cv_func_modfl" = x""yes; then :
44654  cat >>confdefs.h <<_ACEOF
44655#define HAVE_MODFL 1
44656_ACEOF
44657
44658fi
44659done
44660
44661  else
44662
44663  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
44664$as_echo_n "checking for _modfl declaration... " >&6; }
44665  if test x${glibcxx_cv_func__modfl_use+set} != xset; then
44666    if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
44667  $as_echo_n "(cached) " >&6
44668else
44669
44670
44671      ac_ext=cpp
44672ac_cpp='$CXXCPP $CPPFLAGS'
44673ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44674ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44675ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44676
44677      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44678/* end confdefs.h.  */
44679#include <math.h>
44680int
44681main ()
44682{
44683 _modfl(0, 0);
44684  ;
44685  return 0;
44686}
44687_ACEOF
44688if ac_fn_cxx_try_compile "$LINENO"; then :
44689  glibcxx_cv_func__modfl_use=yes
44690else
44691  glibcxx_cv_func__modfl_use=no
44692fi
44693rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44694      ac_ext=c
44695ac_cpp='$CPP $CPPFLAGS'
44696ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44697ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44698ac_compiler_gnu=$ac_cv_c_compiler_gnu
44699
44700
44701fi
44702
44703  fi
44704  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
44705$as_echo "$glibcxx_cv_func__modfl_use" >&6; }
44706
44707    if test x$glibcxx_cv_func__modfl_use = x"yes"; then
44708      for ac_func in _modfl
44709do :
44710  ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
44711if test "x$ac_cv_func__modfl" = x""yes; then :
44712  cat >>confdefs.h <<_ACEOF
44713#define HAVE__MODFL 1
44714_ACEOF
44715
44716fi
44717done
44718
44719    fi
44720  fi
44721
44722
44723
44724
44725
44726  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
44727$as_echo_n "checking for powl declaration... " >&6; }
44728  if test x${glibcxx_cv_func_powl_use+set} != xset; then
44729    if test "${glibcxx_cv_func_powl_use+set}" = set; then :
44730  $as_echo_n "(cached) " >&6
44731else
44732
44733
44734      ac_ext=cpp
44735ac_cpp='$CXXCPP $CPPFLAGS'
44736ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44737ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44738ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44739
44740      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44741/* end confdefs.h.  */
44742#include <math.h>
44743int
44744main ()
44745{
44746 powl(0, 0);
44747  ;
44748  return 0;
44749}
44750_ACEOF
44751if ac_fn_cxx_try_compile "$LINENO"; then :
44752  glibcxx_cv_func_powl_use=yes
44753else
44754  glibcxx_cv_func_powl_use=no
44755fi
44756rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44757      ac_ext=c
44758ac_cpp='$CPP $CPPFLAGS'
44759ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44760ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44761ac_compiler_gnu=$ac_cv_c_compiler_gnu
44762
44763
44764fi
44765
44766  fi
44767  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
44768$as_echo "$glibcxx_cv_func_powl_use" >&6; }
44769
44770  if test x$glibcxx_cv_func_powl_use = x"yes"; then
44771    for ac_func in powl
44772do :
44773  ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
44774if test "x$ac_cv_func_powl" = x""yes; then :
44775  cat >>confdefs.h <<_ACEOF
44776#define HAVE_POWL 1
44777_ACEOF
44778
44779fi
44780done
44781
44782  else
44783
44784  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
44785$as_echo_n "checking for _powl declaration... " >&6; }
44786  if test x${glibcxx_cv_func__powl_use+set} != xset; then
44787    if test "${glibcxx_cv_func__powl_use+set}" = set; then :
44788  $as_echo_n "(cached) " >&6
44789else
44790
44791
44792      ac_ext=cpp
44793ac_cpp='$CXXCPP $CPPFLAGS'
44794ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44795ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44796ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44797
44798      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44799/* end confdefs.h.  */
44800#include <math.h>
44801int
44802main ()
44803{
44804 _powl(0, 0);
44805  ;
44806  return 0;
44807}
44808_ACEOF
44809if ac_fn_cxx_try_compile "$LINENO"; then :
44810  glibcxx_cv_func__powl_use=yes
44811else
44812  glibcxx_cv_func__powl_use=no
44813fi
44814rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44815      ac_ext=c
44816ac_cpp='$CPP $CPPFLAGS'
44817ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44818ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44819ac_compiler_gnu=$ac_cv_c_compiler_gnu
44820
44821
44822fi
44823
44824  fi
44825  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
44826$as_echo "$glibcxx_cv_func__powl_use" >&6; }
44827
44828    if test x$glibcxx_cv_func__powl_use = x"yes"; then
44829      for ac_func in _powl
44830do :
44831  ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
44832if test "x$ac_cv_func__powl" = x""yes; then :
44833  cat >>confdefs.h <<_ACEOF
44834#define HAVE__POWL 1
44835_ACEOF
44836
44837fi
44838done
44839
44840    fi
44841  fi
44842
44843
44844
44845
44846
44847  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
44848$as_echo_n "checking for sqrtl declaration... " >&6; }
44849  if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
44850    if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
44851  $as_echo_n "(cached) " >&6
44852else
44853
44854
44855      ac_ext=cpp
44856ac_cpp='$CXXCPP $CPPFLAGS'
44857ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44858ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44859ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44860
44861      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44862/* end confdefs.h.  */
44863#include <math.h>
44864		      #ifdef HAVE_IEEEFP_H
44865		      #include <ieeefp.h>
44866		      #endif
44867
44868int
44869main ()
44870{
44871 sqrtl(0);
44872  ;
44873  return 0;
44874}
44875_ACEOF
44876if ac_fn_cxx_try_compile "$LINENO"; then :
44877  glibcxx_cv_func_sqrtl_use=yes
44878else
44879  glibcxx_cv_func_sqrtl_use=no
44880fi
44881rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44882      ac_ext=c
44883ac_cpp='$CPP $CPPFLAGS'
44884ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44885ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44886ac_compiler_gnu=$ac_cv_c_compiler_gnu
44887
44888
44889fi
44890
44891  fi
44892  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
44893$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
44894
44895  if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
44896    for ac_func in sqrtl
44897do :
44898  ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
44899if test "x$ac_cv_func_sqrtl" = x""yes; then :
44900  cat >>confdefs.h <<_ACEOF
44901#define HAVE_SQRTL 1
44902_ACEOF
44903
44904fi
44905done
44906
44907  else
44908
44909  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
44910$as_echo_n "checking for _sqrtl declaration... " >&6; }
44911  if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
44912    if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
44913  $as_echo_n "(cached) " >&6
44914else
44915
44916
44917      ac_ext=cpp
44918ac_cpp='$CXXCPP $CPPFLAGS'
44919ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44920ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44921ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44922
44923      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44924/* end confdefs.h.  */
44925#include <math.h>
44926		      #ifdef HAVE_IEEEFP_H
44927		      #include <ieeefp.h>
44928		      #endif
44929
44930int
44931main ()
44932{
44933 _sqrtl(0);
44934  ;
44935  return 0;
44936}
44937_ACEOF
44938if ac_fn_cxx_try_compile "$LINENO"; then :
44939  glibcxx_cv_func__sqrtl_use=yes
44940else
44941  glibcxx_cv_func__sqrtl_use=no
44942fi
44943rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44944      ac_ext=c
44945ac_cpp='$CPP $CPPFLAGS'
44946ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44947ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44948ac_compiler_gnu=$ac_cv_c_compiler_gnu
44949
44950
44951fi
44952
44953  fi
44954  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
44955$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
44956
44957    if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
44958      for ac_func in _sqrtl
44959do :
44960  ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
44961if test "x$ac_cv_func__sqrtl" = x""yes; then :
44962  cat >>confdefs.h <<_ACEOF
44963#define HAVE__SQRTL 1
44964_ACEOF
44965
44966fi
44967done
44968
44969    fi
44970  fi
44971
44972
44973
44974
44975
44976  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
44977$as_echo_n "checking for sincosl declaration... " >&6; }
44978  if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
44979    if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
44980  $as_echo_n "(cached) " >&6
44981else
44982
44983
44984      ac_ext=cpp
44985ac_cpp='$CXXCPP $CPPFLAGS'
44986ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44987ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44988ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44989
44990      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44991/* end confdefs.h.  */
44992#include <math.h>
44993int
44994main ()
44995{
44996 sincosl(0, 0, 0);
44997  ;
44998  return 0;
44999}
45000_ACEOF
45001if ac_fn_cxx_try_compile "$LINENO"; then :
45002  glibcxx_cv_func_sincosl_use=yes
45003else
45004  glibcxx_cv_func_sincosl_use=no
45005fi
45006rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45007      ac_ext=c
45008ac_cpp='$CPP $CPPFLAGS'
45009ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45010ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45011ac_compiler_gnu=$ac_cv_c_compiler_gnu
45012
45013
45014fi
45015
45016  fi
45017  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
45018$as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
45019
45020  if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
45021    for ac_func in sincosl
45022do :
45023  ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
45024if test "x$ac_cv_func_sincosl" = x""yes; then :
45025  cat >>confdefs.h <<_ACEOF
45026#define HAVE_SINCOSL 1
45027_ACEOF
45028
45029fi
45030done
45031
45032  else
45033
45034  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
45035$as_echo_n "checking for _sincosl declaration... " >&6; }
45036  if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
45037    if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
45038  $as_echo_n "(cached) " >&6
45039else
45040
45041
45042      ac_ext=cpp
45043ac_cpp='$CXXCPP $CPPFLAGS'
45044ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45045ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45046ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45047
45048      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45049/* end confdefs.h.  */
45050#include <math.h>
45051int
45052main ()
45053{
45054 _sincosl(0, 0, 0);
45055  ;
45056  return 0;
45057}
45058_ACEOF
45059if ac_fn_cxx_try_compile "$LINENO"; then :
45060  glibcxx_cv_func__sincosl_use=yes
45061else
45062  glibcxx_cv_func__sincosl_use=no
45063fi
45064rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45065      ac_ext=c
45066ac_cpp='$CPP $CPPFLAGS'
45067ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45068ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45069ac_compiler_gnu=$ac_cv_c_compiler_gnu
45070
45071
45072fi
45073
45074  fi
45075  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
45076$as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
45077
45078    if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
45079      for ac_func in _sincosl
45080do :
45081  ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
45082if test "x$ac_cv_func__sincosl" = x""yes; then :
45083  cat >>confdefs.h <<_ACEOF
45084#define HAVE__SINCOSL 1
45085_ACEOF
45086
45087fi
45088done
45089
45090    fi
45091  fi
45092
45093
45094
45095
45096
45097  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
45098$as_echo_n "checking for finitel declaration... " >&6; }
45099  if test x${glibcxx_cv_func_finitel_use+set} != xset; then
45100    if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
45101  $as_echo_n "(cached) " >&6
45102else
45103
45104
45105      ac_ext=cpp
45106ac_cpp='$CXXCPP $CPPFLAGS'
45107ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45108ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45109ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45110
45111      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45112/* end confdefs.h.  */
45113#include <math.h>
45114		      #ifdef HAVE_IEEEFP_H
45115		      #include <ieeefp.h>
45116		      #endif
45117
45118int
45119main ()
45120{
45121 finitel(0);
45122  ;
45123  return 0;
45124}
45125_ACEOF
45126if ac_fn_cxx_try_compile "$LINENO"; then :
45127  glibcxx_cv_func_finitel_use=yes
45128else
45129  glibcxx_cv_func_finitel_use=no
45130fi
45131rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45132      ac_ext=c
45133ac_cpp='$CPP $CPPFLAGS'
45134ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45135ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45136ac_compiler_gnu=$ac_cv_c_compiler_gnu
45137
45138
45139fi
45140
45141  fi
45142  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
45143$as_echo "$glibcxx_cv_func_finitel_use" >&6; }
45144
45145  if test x$glibcxx_cv_func_finitel_use = x"yes"; then
45146    for ac_func in finitel
45147do :
45148  ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
45149if test "x$ac_cv_func_finitel" = x""yes; then :
45150  cat >>confdefs.h <<_ACEOF
45151#define HAVE_FINITEL 1
45152_ACEOF
45153
45154fi
45155done
45156
45157  else
45158
45159  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
45160$as_echo_n "checking for _finitel declaration... " >&6; }
45161  if test x${glibcxx_cv_func__finitel_use+set} != xset; then
45162    if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
45163  $as_echo_n "(cached) " >&6
45164else
45165
45166
45167      ac_ext=cpp
45168ac_cpp='$CXXCPP $CPPFLAGS'
45169ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45170ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45171ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45172
45173      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45174/* end confdefs.h.  */
45175#include <math.h>
45176		      #ifdef HAVE_IEEEFP_H
45177		      #include <ieeefp.h>
45178		      #endif
45179
45180int
45181main ()
45182{
45183 _finitel(0);
45184  ;
45185  return 0;
45186}
45187_ACEOF
45188if ac_fn_cxx_try_compile "$LINENO"; then :
45189  glibcxx_cv_func__finitel_use=yes
45190else
45191  glibcxx_cv_func__finitel_use=no
45192fi
45193rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45194      ac_ext=c
45195ac_cpp='$CPP $CPPFLAGS'
45196ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45197ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45198ac_compiler_gnu=$ac_cv_c_compiler_gnu
45199
45200
45201fi
45202
45203  fi
45204  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
45205$as_echo "$glibcxx_cv_func__finitel_use" >&6; }
45206
45207    if test x$glibcxx_cv_func__finitel_use = x"yes"; then
45208      for ac_func in _finitel
45209do :
45210  ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
45211if test "x$ac_cv_func__finitel" = x""yes; then :
45212  cat >>confdefs.h <<_ACEOF
45213#define HAVE__FINITEL 1
45214_ACEOF
45215
45216fi
45217done
45218
45219    fi
45220  fi
45221
45222
45223
45224
45225  LIBS="$ac_save_LIBS"
45226  CXXFLAGS="$ac_save_CXXFLAGS"
45227
45228
45229  ac_test_CXXFLAGS="${CXXFLAGS+set}"
45230  ac_save_CXXFLAGS="$CXXFLAGS"
45231  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45232
45233
45234  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
45235$as_echo_n "checking for at_quick_exit declaration... " >&6; }
45236  if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
45237    if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
45238  $as_echo_n "(cached) " >&6
45239else
45240
45241
45242      ac_ext=cpp
45243ac_cpp='$CXXCPP $CPPFLAGS'
45244ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45245ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45246ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45247
45248      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45249/* end confdefs.h.  */
45250#include <stdlib.h>
45251int
45252main ()
45253{
45254 at_quick_exit(0);
45255  ;
45256  return 0;
45257}
45258_ACEOF
45259if ac_fn_cxx_try_compile "$LINENO"; then :
45260  glibcxx_cv_func_at_quick_exit_use=yes
45261else
45262  glibcxx_cv_func_at_quick_exit_use=no
45263fi
45264rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45265      ac_ext=c
45266ac_cpp='$CPP $CPPFLAGS'
45267ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45268ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45269ac_compiler_gnu=$ac_cv_c_compiler_gnu
45270
45271
45272fi
45273
45274  fi
45275  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
45276$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
45277  if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
45278    for ac_func in at_quick_exit
45279do :
45280  ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
45281if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
45282  cat >>confdefs.h <<_ACEOF
45283#define HAVE_AT_QUICK_EXIT 1
45284_ACEOF
45285
45286fi
45287done
45288
45289  fi
45290
45291
45292  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
45293$as_echo_n "checking for quick_exit declaration... " >&6; }
45294  if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
45295    if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
45296  $as_echo_n "(cached) " >&6
45297else
45298
45299
45300      ac_ext=cpp
45301ac_cpp='$CXXCPP $CPPFLAGS'
45302ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45303ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45304ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45305
45306      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45307/* end confdefs.h.  */
45308#include <stdlib.h>
45309int
45310main ()
45311{
45312 quick_exit(0);
45313  ;
45314  return 0;
45315}
45316_ACEOF
45317if ac_fn_cxx_try_compile "$LINENO"; then :
45318  glibcxx_cv_func_quick_exit_use=yes
45319else
45320  glibcxx_cv_func_quick_exit_use=no
45321fi
45322rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45323      ac_ext=c
45324ac_cpp='$CPP $CPPFLAGS'
45325ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45326ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45327ac_compiler_gnu=$ac_cv_c_compiler_gnu
45328
45329
45330fi
45331
45332  fi
45333  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
45334$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
45335  if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
45336    for ac_func in quick_exit
45337do :
45338  ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
45339if test "x$ac_cv_func_quick_exit" = x""yes; then :
45340  cat >>confdefs.h <<_ACEOF
45341#define HAVE_QUICK_EXIT 1
45342_ACEOF
45343
45344fi
45345done
45346
45347  fi
45348
45349
45350  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
45351$as_echo_n "checking for strtold declaration... " >&6; }
45352  if test x${glibcxx_cv_func_strtold_use+set} != xset; then
45353    if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
45354  $as_echo_n "(cached) " >&6
45355else
45356
45357
45358      ac_ext=cpp
45359ac_cpp='$CXXCPP $CPPFLAGS'
45360ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45361ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45362ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45363
45364      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45365/* end confdefs.h.  */
45366#include <stdlib.h>
45367int
45368main ()
45369{
45370 strtold(0, 0);
45371  ;
45372  return 0;
45373}
45374_ACEOF
45375if ac_fn_cxx_try_compile "$LINENO"; then :
45376  glibcxx_cv_func_strtold_use=yes
45377else
45378  glibcxx_cv_func_strtold_use=no
45379fi
45380rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45381      ac_ext=c
45382ac_cpp='$CPP $CPPFLAGS'
45383ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45384ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45385ac_compiler_gnu=$ac_cv_c_compiler_gnu
45386
45387
45388fi
45389
45390  fi
45391  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
45392$as_echo "$glibcxx_cv_func_strtold_use" >&6; }
45393  if test x$glibcxx_cv_func_strtold_use = x"yes"; then
45394    for ac_func in strtold
45395do :
45396  ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
45397if test "x$ac_cv_func_strtold" = x""yes; then :
45398  cat >>confdefs.h <<_ACEOF
45399#define HAVE_STRTOLD 1
45400_ACEOF
45401
45402fi
45403done
45404
45405  fi
45406
45407
45408
45409
45410  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
45411$as_echo_n "checking for strtof declaration... " >&6; }
45412  if test x${glibcxx_cv_func_strtof_use+set} != xset; then
45413    if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
45414  $as_echo_n "(cached) " >&6
45415else
45416
45417
45418      ac_ext=cpp
45419ac_cpp='$CXXCPP $CPPFLAGS'
45420ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45421ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45422ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45423
45424      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45425/* end confdefs.h.  */
45426#include <stdlib.h>
45427int
45428main ()
45429{
45430 strtof(0, 0);
45431  ;
45432  return 0;
45433}
45434_ACEOF
45435if ac_fn_cxx_try_compile "$LINENO"; then :
45436  glibcxx_cv_func_strtof_use=yes
45437else
45438  glibcxx_cv_func_strtof_use=no
45439fi
45440rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45441      ac_ext=c
45442ac_cpp='$CPP $CPPFLAGS'
45443ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45444ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45445ac_compiler_gnu=$ac_cv_c_compiler_gnu
45446
45447
45448fi
45449
45450  fi
45451  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
45452$as_echo "$glibcxx_cv_func_strtof_use" >&6; }
45453  if test x$glibcxx_cv_func_strtof_use = x"yes"; then
45454    for ac_func in strtof
45455do :
45456  ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
45457if test "x$ac_cv_func_strtof" = x""yes; then :
45458  cat >>confdefs.h <<_ACEOF
45459#define HAVE_STRTOF 1
45460_ACEOF
45461
45462fi
45463done
45464
45465  fi
45466
45467
45468
45469
45470  CXXFLAGS="$ac_save_CXXFLAGS"
45471
45472    ;;
45473
45474  *djgpp)
45475    # GLIBCXX_CHECK_MATH_SUPPORT
45476    $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45477
45478    $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45479
45480    $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45481
45482    $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
45483
45484    $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45485
45486    ;;
45487
45488  *-freebsd*)
45489    SECTION_FLAGS='-ffunction-sections -fdata-sections'
45490
45491
45492  # If we're not using GNU ld, then there's no point in even trying these
45493  # tests.  Check for that first.  We should have already tested for gld
45494  # by now (in libtool), but require it now just to be safe...
45495  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45496  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45497
45498
45499
45500  # The name set by libtool depends on the version of libtool.  Shame on us
45501  # for depending on an impl detail, but c'est la vie.  Older versions used
45502  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45503  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45504  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
45505  # set (hence we're using an older libtool), then set it.
45506  if test x${with_gnu_ld+set} != xset; then
45507    if test x${ac_cv_prog_gnu_ld+set} != xset; then
45508      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
45509      with_gnu_ld=no
45510    else
45511      with_gnu_ld=$ac_cv_prog_gnu_ld
45512    fi
45513  fi
45514
45515  # Start by getting the version number.  I think the libtool test already
45516  # does some of this, but throws away the result.
45517  glibcxx_ld_is_gold=no
45518  if test x"$with_gnu_ld" = x"yes"; then
45519    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45520$as_echo_n "checking for ld version... " >&6; }
45521
45522    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45523      glibcxx_ld_is_gold=yes
45524    fi
45525    ldver=`$LD --version 2>/dev/null |
45526	   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'`
45527
45528    glibcxx_gnu_ld_version=`echo $ldver | \
45529	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45530    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45531$as_echo "$glibcxx_gnu_ld_version" >&6; }
45532  fi
45533
45534  # Set --gc-sections.
45535  glibcxx_have_gc_sections=no
45536  if test "$glibcxx_ld_is_gold" = "yes"; then
45537    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45538      glibcxx_have_gc_sections=yes
45539    fi
45540  else
45541    glibcxx_gcsections_min_ld=21602
45542    if test x"$with_gnu_ld" = x"yes" &&
45543	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45544      glibcxx_have_gc_sections=yes
45545    fi
45546  fi
45547  if test "$glibcxx_have_gc_sections" = "yes"; then
45548    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
45549    # NB: This flag only works reliably after 2.16.1. Configure tests
45550    # for this are difficult, so hard wire a value that should work.
45551
45552    ac_test_CFLAGS="${CFLAGS+set}"
45553    ac_save_CFLAGS="$CFLAGS"
45554    CFLAGS='-Wl,--gc-sections'
45555
45556    # Check for -Wl,--gc-sections
45557    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45558$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45559    if test x$gcc_no_link = xyes; then
45560  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45561fi
45562cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45563/* end confdefs.h.  */
45564 int one(void) { return 1; }
45565     int two(void) { return 2; }
45566
45567int
45568main ()
45569{
45570 two();
45571  ;
45572  return 0;
45573}
45574_ACEOF
45575if ac_fn_c_try_link "$LINENO"; then :
45576  ac_gcsections=yes
45577else
45578  ac_gcsections=no
45579fi
45580rm -f core conftest.err conftest.$ac_objext \
45581    conftest$ac_exeext conftest.$ac_ext
45582    if test "$ac_gcsections" = "yes"; then
45583      rm -f conftest.c
45584      touch conftest.c
45585      if $CC -c conftest.c; then
45586	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45587	   grep "Warning: gc-sections option ignored" > /dev/null; then
45588	  ac_gcsections=no
45589	fi
45590      fi
45591      rm -f conftest.c conftest.o conftest
45592    fi
45593    if test "$ac_gcsections" = "yes"; then
45594      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45595    fi
45596    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45597$as_echo "$ac_gcsections" >&6; }
45598
45599    if test "$ac_test_CFLAGS" = set; then
45600      CFLAGS="$ac_save_CFLAGS"
45601    else
45602      # this is the suspicious part
45603      CFLAGS=''
45604    fi
45605  fi
45606
45607  # Set -z,relro.
45608  # Note this is only for shared objects.
45609  ac_ld_relro=no
45610  if test x"$with_gnu_ld" = x"yes"; then
45611    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45612$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45613    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45614    if test -n "$cxx_z_relo"; then
45615      OPT_LDFLAGS="-Wl,-z,relro"
45616      ac_ld_relro=yes
45617    fi
45618    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45619$as_echo "$ac_ld_relro" >&6; }
45620  fi
45621
45622  # Set linker optimization flags.
45623  if test x"$with_gnu_ld" = x"yes"; then
45624    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45625  fi
45626
45627
45628
45629
45630    $as_echo "#define HAVE_SETENV 1" >>confdefs.h
45631
45632    $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
45633
45634    $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45635
45636    $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45637
45638    $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45639
45640    $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
45641
45642    $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45643
45644    $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45645
45646    $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
45647
45648
45649    $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
45650
45651    $as_echo "#define HAVE_ASINF 1" >>confdefs.h
45652
45653    $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
45654
45655    $as_echo "#define HAVE_ATANF 1" >>confdefs.h
45656
45657    $as_echo "#define HAVE_CEILF 1" >>confdefs.h
45658
45659    $as_echo "#define HAVE_COSF 1" >>confdefs.h
45660
45661    $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45662
45663    $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45664
45665    $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45666
45667    $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
45668
45669    $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45670
45671    $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45672
45673    $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
45674
45675    $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45676
45677    $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45678
45679    $as_echo "#define HAVE_MODFF 1" >>confdefs.h
45680
45681    $as_echo "#define HAVE_POWF 1" >>confdefs.h
45682
45683    $as_echo "#define HAVE_SINF 1" >>confdefs.h
45684
45685    $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45686
45687    $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45688
45689    $as_echo "#define HAVE_TANF 1" >>confdefs.h
45690
45691    $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45692
45693    if test x"long_double_math_on_this_cpu" = x"yes"; then
45694      $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
45695
45696      $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
45697
45698      $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
45699
45700    fi
45701    ;;
45702  *-hpux*)
45703    SECTION_FLAGS='-ffunction-sections -fdata-sections'
45704
45705
45706  # If we're not using GNU ld, then there's no point in even trying these
45707  # tests.  Check for that first.  We should have already tested for gld
45708  # by now (in libtool), but require it now just to be safe...
45709  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45710  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45711
45712
45713
45714  # The name set by libtool depends on the version of libtool.  Shame on us
45715  # for depending on an impl detail, but c'est la vie.  Older versions used
45716  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45717  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45718  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
45719  # set (hence we're using an older libtool), then set it.
45720  if test x${with_gnu_ld+set} != xset; then
45721    if test x${ac_cv_prog_gnu_ld+set} != xset; then
45722      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
45723      with_gnu_ld=no
45724    else
45725      with_gnu_ld=$ac_cv_prog_gnu_ld
45726    fi
45727  fi
45728
45729  # Start by getting the version number.  I think the libtool test already
45730  # does some of this, but throws away the result.
45731  glibcxx_ld_is_gold=no
45732  if test x"$with_gnu_ld" = x"yes"; then
45733    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45734$as_echo_n "checking for ld version... " >&6; }
45735
45736    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45737      glibcxx_ld_is_gold=yes
45738    fi
45739    ldver=`$LD --version 2>/dev/null |
45740	   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'`
45741
45742    glibcxx_gnu_ld_version=`echo $ldver | \
45743	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45744    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45745$as_echo "$glibcxx_gnu_ld_version" >&6; }
45746  fi
45747
45748  # Set --gc-sections.
45749  glibcxx_have_gc_sections=no
45750  if test "$glibcxx_ld_is_gold" = "yes"; then
45751    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45752      glibcxx_have_gc_sections=yes
45753    fi
45754  else
45755    glibcxx_gcsections_min_ld=21602
45756    if test x"$with_gnu_ld" = x"yes" &&
45757	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45758      glibcxx_have_gc_sections=yes
45759    fi
45760  fi
45761  if test "$glibcxx_have_gc_sections" = "yes"; then
45762    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
45763    # NB: This flag only works reliably after 2.16.1. Configure tests
45764    # for this are difficult, so hard wire a value that should work.
45765
45766    ac_test_CFLAGS="${CFLAGS+set}"
45767    ac_save_CFLAGS="$CFLAGS"
45768    CFLAGS='-Wl,--gc-sections'
45769
45770    # Check for -Wl,--gc-sections
45771    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45772$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45773    if test x$gcc_no_link = xyes; then
45774  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45775fi
45776cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45777/* end confdefs.h.  */
45778 int one(void) { return 1; }
45779     int two(void) { return 2; }
45780
45781int
45782main ()
45783{
45784 two();
45785  ;
45786  return 0;
45787}
45788_ACEOF
45789if ac_fn_c_try_link "$LINENO"; then :
45790  ac_gcsections=yes
45791else
45792  ac_gcsections=no
45793fi
45794rm -f core conftest.err conftest.$ac_objext \
45795    conftest$ac_exeext conftest.$ac_ext
45796    if test "$ac_gcsections" = "yes"; then
45797      rm -f conftest.c
45798      touch conftest.c
45799      if $CC -c conftest.c; then
45800	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45801	   grep "Warning: gc-sections option ignored" > /dev/null; then
45802	  ac_gcsections=no
45803	fi
45804      fi
45805      rm -f conftest.c conftest.o conftest
45806    fi
45807    if test "$ac_gcsections" = "yes"; then
45808      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45809    fi
45810    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45811$as_echo "$ac_gcsections" >&6; }
45812
45813    if test "$ac_test_CFLAGS" = set; then
45814      CFLAGS="$ac_save_CFLAGS"
45815    else
45816      # this is the suspicious part
45817      CFLAGS=''
45818    fi
45819  fi
45820
45821  # Set -z,relro.
45822  # Note this is only for shared objects.
45823  ac_ld_relro=no
45824  if test x"$with_gnu_ld" = x"yes"; then
45825    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45826$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45827    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45828    if test -n "$cxx_z_relo"; then
45829      OPT_LDFLAGS="-Wl,-z,relro"
45830      ac_ld_relro=yes
45831    fi
45832    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45833$as_echo "$ac_ld_relro" >&6; }
45834  fi
45835
45836  # Set linker optimization flags.
45837  if test x"$with_gnu_ld" = x"yes"; then
45838    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45839  fi
45840
45841
45842
45843
45844
45845    # GLIBCXX_CHECK_MATH_SUPPORT
45846    $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45847
45848    $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45849
45850    $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
45851
45852    $as_echo "#define HAVE_ASINF 1" >>confdefs.h
45853
45854    $as_echo "#define HAVE_ATANF 1" >>confdefs.h
45855
45856    $as_echo "#define HAVE_COSF 1" >>confdefs.h
45857
45858    $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45859
45860    $as_echo "#define HAVE_SINF 1" >>confdefs.h
45861
45862    $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45863
45864    $as_echo "#define HAVE_TANF 1" >>confdefs.h
45865
45866    $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45867
45868    $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45869
45870    $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
45871
45872    $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45873
45874    $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45875
45876    $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45877
45878    $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45879
45880    $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45881
45882    $as_echo "#define HAVE_MODF 1" >>confdefs.h
45883
45884    $as_echo "#define HAVE_POWF 1" >>confdefs.h
45885
45886    $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45887
45888
45889    # GLIBCXX_CHECK_STDLIB_SUPPORT
45890    $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
45891
45892
45893
45894
45895   # Check whether --enable-tls was given.
45896if test "${enable_tls+set}" = set; then :
45897  enableval=$enable_tls;
45898      case "$enableval" in
45899       yes|no) ;;
45900       *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
45901      esac
45902
45903else
45904  enable_tls=yes
45905fi
45906
45907
45908  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
45909$as_echo_n "checking whether the target supports thread-local storage... " >&6; }
45910if test "${gcc_cv_have_tls+set}" = set; then :
45911  $as_echo_n "(cached) " >&6
45912else
45913
45914    if test "$cross_compiling" = yes; then :
45915                if test x$gcc_no_link = xyes; then
45916  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45917fi
45918cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45919/* end confdefs.h.  */
45920__thread int a; int b; int main() { return a = b; }
45921_ACEOF
45922if ac_fn_c_try_link "$LINENO"; then :
45923  chktls_save_LDFLAGS="$LDFLAGS"
45924	  	  	  case $host in
45925	    *-*-linux*)
45926	      LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
45927	      ;;
45928	  esac
45929	  chktls_save_CFLAGS="$CFLAGS"
45930	  CFLAGS="-fPIC $CFLAGS"
45931	  	  if test x$gcc_no_link = xyes; then
45932  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45933fi
45934cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45935/* end confdefs.h.  */
45936int f() { return 0; }
45937_ACEOF
45938if ac_fn_c_try_link "$LINENO"; then :
45939  if test x$gcc_no_link = xyes; then
45940  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45941fi
45942cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45943/* end confdefs.h.  */
45944__thread int a; int b; int f() { return a = b; }
45945_ACEOF
45946if ac_fn_c_try_link "$LINENO"; then :
45947  gcc_cv_have_tls=yes
45948else
45949  gcc_cv_have_tls=no
45950fi
45951rm -f core conftest.err conftest.$ac_objext \
45952    conftest$ac_exeext conftest.$ac_ext
45953else
45954  gcc_cv_have_tls=yes
45955fi
45956rm -f core conftest.err conftest.$ac_objext \
45957    conftest$ac_exeext conftest.$ac_ext
45958	  CFLAGS="$chktls_save_CFLAGS"
45959	  LDFLAGS="$chktls_save_LDFLAGS"
45960else
45961  gcc_cv_have_tls=no
45962fi
45963rm -f core conftest.err conftest.$ac_objext \
45964    conftest$ac_exeext conftest.$ac_ext
45965
45966
45967else
45968  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45969/* end confdefs.h.  */
45970__thread int a; int b; int main() { return a = b; }
45971_ACEOF
45972if ac_fn_c_try_run "$LINENO"; then :
45973                      chktls_save_LDFLAGS="$LDFLAGS"
45974      LDFLAGS="-static $LDFLAGS"
45975      if test x$gcc_no_link = xyes; then
45976  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45977fi
45978cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45979/* end confdefs.h.  */
45980int main() { return 0; }
45981_ACEOF
45982if ac_fn_c_try_link "$LINENO"; then :
45983  if test "$cross_compiling" = yes; then :
45984  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45985$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45986as_fn_error "cannot run test program while cross compiling
45987See \`config.log' for more details." "$LINENO" 5; }
45988else
45989  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45990/* end confdefs.h.  */
45991__thread int a; int b; int main() { return a = b; }
45992_ACEOF
45993if ac_fn_c_try_run "$LINENO"; then :
45994  gcc_cv_have_tls=yes
45995else
45996  gcc_cv_have_tls=no
45997fi
45998rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45999  conftest.$ac_objext conftest.beam conftest.$ac_ext
46000fi
46001
46002else
46003  gcc_cv_have_tls=yes
46004fi
46005rm -f core conftest.err conftest.$ac_objext \
46006    conftest$ac_exeext conftest.$ac_ext
46007      LDFLAGS="$chktls_save_LDFLAGS"
46008      if test $gcc_cv_have_tls = yes; then
46009						chktls_save_CFLAGS="$CFLAGS"
46010	thread_CFLAGS=failed
46011	for flag in '' '-pthread' '-lpthread'; do
46012	  CFLAGS="$flag $chktls_save_CFLAGS"
46013	  if test x$gcc_no_link = xyes; then
46014  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46015fi
46016cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46017/* end confdefs.h.  */
46018#include <pthread.h>
46019		void *g(void *d) { return NULL; }
46020int
46021main ()
46022{
46023pthread_t t; pthread_create(&t,NULL,g,NULL);
46024  ;
46025  return 0;
46026}
46027_ACEOF
46028if ac_fn_c_try_link "$LINENO"; then :
46029  thread_CFLAGS="$flag"
46030fi
46031rm -f core conftest.err conftest.$ac_objext \
46032    conftest$ac_exeext conftest.$ac_ext
46033	  if test "X$thread_CFLAGS" != Xfailed; then
46034	    break
46035	  fi
46036	done
46037	CFLAGS="$chktls_save_CFLAGS"
46038	if test "X$thread_CFLAGS" != Xfailed; then
46039	  CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
46040 	  	  	  	  	  	  if test "$cross_compiling" = yes; then :
46041  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
46042$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
46043as_fn_error "cannot run test program while cross compiling
46044See \`config.log' for more details." "$LINENO" 5; }
46045else
46046  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46047/* end confdefs.h.  */
46048#include <pthread.h>
46049		__thread int a;
46050		static int *volatile a_in_other_thread;
46051		static void *
46052		thread_func (void *arg)
46053		{
46054		  a_in_other_thread = &a;
46055		  return (void *)0;
46056		}
46057int
46058main ()
46059{
46060pthread_t thread;
46061		void *thread_retval;
46062		int *volatile a_in_main_thread;
46063		a_in_main_thread = &a;
46064		if (pthread_create (&thread, (pthread_attr_t *)0,
46065				    thread_func, (void *)0))
46066		  return 0;
46067		if (pthread_join (thread, &thread_retval))
46068		  return 0;
46069		return (a_in_other_thread == a_in_main_thread);
46070  ;
46071  return 0;
46072}
46073_ACEOF
46074if ac_fn_c_try_run "$LINENO"; then :
46075  gcc_cv_have_tls=yes
46076else
46077  gcc_cv_have_tls=no
46078fi
46079rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
46080  conftest.$ac_objext conftest.beam conftest.$ac_ext
46081fi
46082
46083	  CFLAGS="$chktls_save_CFLAGS"
46084	fi
46085      fi
46086else
46087  gcc_cv_have_tls=no
46088fi
46089rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
46090  conftest.$ac_objext conftest.beam conftest.$ac_ext
46091fi
46092
46093fi
46094{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
46095$as_echo "$gcc_cv_have_tls" >&6; }
46096  if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
46097
46098$as_echo "#define HAVE_TLS 1" >>confdefs.h
46099
46100  fi
46101    case "$target" in
46102      *-hpux10*)
46103	$as_echo "#define HAVE_ISINF 1" >>confdefs.h
46104
46105	$as_echo "#define HAVE_ISINFF 1" >>confdefs.h
46106
46107	$as_echo "#define HAVE_ISNANF 1" >>confdefs.h
46108
46109	$as_echo "#define HAVE_FINITE 1" >>confdefs.h
46110
46111	$as_echo "#define HAVE_FINITEF 1" >>confdefs.h
46112
46113	;;
46114    esac
46115    ;;
46116  *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
46117
46118  # All these tests are for C++; save the language and the compiler flags.
46119  # The CXXFLAGS thing is suspicious, but based on similar bits previously
46120  # found in GLIBCXX_CONFIGURE.
46121
46122  ac_ext=cpp
46123ac_cpp='$CXXCPP $CPPFLAGS'
46124ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46125ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46126ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46127
46128  ac_test_CXXFLAGS="${CXXFLAGS+set}"
46129  ac_save_CXXFLAGS="$CXXFLAGS"
46130
46131  # Check for maintainer-mode bits.
46132  if test x"$USE_MAINTAINER_MODE" = xno; then
46133    WERROR=''
46134  else
46135    WERROR='-Werror'
46136  fi
46137
46138  # Check for -ffunction-sections -fdata-sections
46139  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
46140$as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
46141  CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
46142  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46143/* end confdefs.h.  */
46144int foo; void bar() { };
46145int
46146main ()
46147{
46148
46149  ;
46150  return 0;
46151}
46152_ACEOF
46153if ac_fn_cxx_try_compile "$LINENO"; then :
46154  ac_fdsections=yes
46155else
46156  ac_fdsections=no
46157fi
46158rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46159  if test "$ac_test_CXXFLAGS" = set; then
46160    CXXFLAGS="$ac_save_CXXFLAGS"
46161  else
46162    # this is the suspicious part
46163    CXXFLAGS=''
46164  fi
46165  if test x"$ac_fdsections" = x"yes"; then
46166    SECTION_FLAGS='-ffunction-sections -fdata-sections'
46167  fi
46168  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
46169$as_echo "$ac_fdsections" >&6; }
46170
46171  ac_ext=c
46172ac_cpp='$CPP $CPPFLAGS'
46173ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46174ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46175ac_compiler_gnu=$ac_cv_c_compiler_gnu
46176
46177
46178
46179
46180
46181  # If we're not using GNU ld, then there's no point in even trying these
46182  # tests.  Check for that first.  We should have already tested for gld
46183  # by now (in libtool), but require it now just to be safe...
46184  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
46185  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
46186
46187
46188
46189  # The name set by libtool depends on the version of libtool.  Shame on us
46190  # for depending on an impl detail, but c'est la vie.  Older versions used
46191  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
46192  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
46193  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
46194  # set (hence we're using an older libtool), then set it.
46195  if test x${with_gnu_ld+set} != xset; then
46196    if test x${ac_cv_prog_gnu_ld+set} != xset; then
46197      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
46198      with_gnu_ld=no
46199    else
46200      with_gnu_ld=$ac_cv_prog_gnu_ld
46201    fi
46202  fi
46203
46204  # Start by getting the version number.  I think the libtool test already
46205  # does some of this, but throws away the result.
46206  glibcxx_ld_is_gold=no
46207  if test x"$with_gnu_ld" = x"yes"; then
46208    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
46209$as_echo_n "checking for ld version... " >&6; }
46210
46211    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
46212      glibcxx_ld_is_gold=yes
46213    fi
46214    ldver=`$LD --version 2>/dev/null |
46215	   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'`
46216
46217    glibcxx_gnu_ld_version=`echo $ldver | \
46218	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
46219    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
46220$as_echo "$glibcxx_gnu_ld_version" >&6; }
46221  fi
46222
46223  # Set --gc-sections.
46224  glibcxx_have_gc_sections=no
46225  if test "$glibcxx_ld_is_gold" = "yes"; then
46226    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
46227      glibcxx_have_gc_sections=yes
46228    fi
46229  else
46230    glibcxx_gcsections_min_ld=21602
46231    if test x"$with_gnu_ld" = x"yes" &&
46232	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
46233      glibcxx_have_gc_sections=yes
46234    fi
46235  fi
46236  if test "$glibcxx_have_gc_sections" = "yes"; then
46237    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
46238    # NB: This flag only works reliably after 2.16.1. Configure tests
46239    # for this are difficult, so hard wire a value that should work.
46240
46241    ac_test_CFLAGS="${CFLAGS+set}"
46242    ac_save_CFLAGS="$CFLAGS"
46243    CFLAGS='-Wl,--gc-sections'
46244
46245    # Check for -Wl,--gc-sections
46246    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
46247$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
46248    if test x$gcc_no_link = xyes; then
46249  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46250fi
46251cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46252/* end confdefs.h.  */
46253 int one(void) { return 1; }
46254     int two(void) { return 2; }
46255
46256int
46257main ()
46258{
46259 two();
46260  ;
46261  return 0;
46262}
46263_ACEOF
46264if ac_fn_c_try_link "$LINENO"; then :
46265  ac_gcsections=yes
46266else
46267  ac_gcsections=no
46268fi
46269rm -f core conftest.err conftest.$ac_objext \
46270    conftest$ac_exeext conftest.$ac_ext
46271    if test "$ac_gcsections" = "yes"; then
46272      rm -f conftest.c
46273      touch conftest.c
46274      if $CC -c conftest.c; then
46275	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
46276	   grep "Warning: gc-sections option ignored" > /dev/null; then
46277	  ac_gcsections=no
46278	fi
46279      fi
46280      rm -f conftest.c conftest.o conftest
46281    fi
46282    if test "$ac_gcsections" = "yes"; then
46283      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
46284    fi
46285    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
46286$as_echo "$ac_gcsections" >&6; }
46287
46288    if test "$ac_test_CFLAGS" = set; then
46289      CFLAGS="$ac_save_CFLAGS"
46290    else
46291      # this is the suspicious part
46292      CFLAGS=''
46293    fi
46294  fi
46295
46296  # Set -z,relro.
46297  # Note this is only for shared objects.
46298  ac_ld_relro=no
46299  if test x"$with_gnu_ld" = x"yes"; then
46300    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
46301$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
46302    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
46303    if test -n "$cxx_z_relo"; then
46304      OPT_LDFLAGS="-Wl,-z,relro"
46305      ac_ld_relro=yes
46306    fi
46307    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
46308$as_echo "$ac_ld_relro" >&6; }
46309  fi
46310
46311  # Set linker optimization flags.
46312  if test x"$with_gnu_ld" = x"yes"; then
46313    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
46314  fi
46315
46316
46317
46318
46319
46320  ac_test_CXXFLAGS="${CXXFLAGS+set}"
46321  ac_save_CXXFLAGS="$CXXFLAGS"
46322  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46323
46324    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
46325$as_echo_n "checking for sin in -lm... " >&6; }
46326if test "${ac_cv_lib_m_sin+set}" = set; then :
46327  $as_echo_n "(cached) " >&6
46328else
46329  ac_check_lib_save_LIBS=$LIBS
46330LIBS="-lm  $LIBS"
46331if test x$gcc_no_link = xyes; then
46332  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46333fi
46334cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46335/* end confdefs.h.  */
46336
46337/* Override any GCC internal prototype to avoid an error.
46338   Use char because int might match the return type of a GCC
46339   builtin and then its argument prototype would still apply.  */
46340#ifdef __cplusplus
46341extern "C"
46342#endif
46343char sin ();
46344int
46345main ()
46346{
46347return sin ();
46348  ;
46349  return 0;
46350}
46351_ACEOF
46352if ac_fn_c_try_link "$LINENO"; then :
46353  ac_cv_lib_m_sin=yes
46354else
46355  ac_cv_lib_m_sin=no
46356fi
46357rm -f core conftest.err conftest.$ac_objext \
46358    conftest$ac_exeext conftest.$ac_ext
46359LIBS=$ac_check_lib_save_LIBS
46360fi
46361{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
46362$as_echo "$ac_cv_lib_m_sin" >&6; }
46363if test "x$ac_cv_lib_m_sin" = x""yes; then :
46364  libm="-lm"
46365fi
46366
46367  ac_save_LIBS="$LIBS"
46368  LIBS="$LIBS $libm"
46369
46370
46371
46372  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
46373$as_echo_n "checking for isinf declaration... " >&6; }
46374  if test x${glibcxx_cv_func_isinf_use+set} != xset; then
46375    if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
46376  $as_echo_n "(cached) " >&6
46377else
46378
46379
46380      ac_ext=cpp
46381ac_cpp='$CXXCPP $CPPFLAGS'
46382ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46383ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46384ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46385
46386      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46387/* end confdefs.h.  */
46388#include <math.h>
46389		      #ifdef HAVE_IEEEFP_H
46390		      #include <ieeefp.h>
46391		      #endif
46392
46393int
46394main ()
46395{
46396 isinf(0);
46397  ;
46398  return 0;
46399}
46400_ACEOF
46401if ac_fn_cxx_try_compile "$LINENO"; then :
46402  glibcxx_cv_func_isinf_use=yes
46403else
46404  glibcxx_cv_func_isinf_use=no
46405fi
46406rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46407      ac_ext=c
46408ac_cpp='$CPP $CPPFLAGS'
46409ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46410ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46411ac_compiler_gnu=$ac_cv_c_compiler_gnu
46412
46413
46414fi
46415
46416  fi
46417  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
46418$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
46419
46420  if test x$glibcxx_cv_func_isinf_use = x"yes"; then
46421    for ac_func in isinf
46422do :
46423  ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
46424if test "x$ac_cv_func_isinf" = x""yes; then :
46425  cat >>confdefs.h <<_ACEOF
46426#define HAVE_ISINF 1
46427_ACEOF
46428
46429fi
46430done
46431
46432  else
46433
46434  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
46435$as_echo_n "checking for _isinf declaration... " >&6; }
46436  if test x${glibcxx_cv_func__isinf_use+set} != xset; then
46437    if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
46438  $as_echo_n "(cached) " >&6
46439else
46440
46441
46442      ac_ext=cpp
46443ac_cpp='$CXXCPP $CPPFLAGS'
46444ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46445ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46446ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46447
46448      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46449/* end confdefs.h.  */
46450#include <math.h>
46451		      #ifdef HAVE_IEEEFP_H
46452		      #include <ieeefp.h>
46453		      #endif
46454
46455int
46456main ()
46457{
46458 _isinf(0);
46459  ;
46460  return 0;
46461}
46462_ACEOF
46463if ac_fn_cxx_try_compile "$LINENO"; then :
46464  glibcxx_cv_func__isinf_use=yes
46465else
46466  glibcxx_cv_func__isinf_use=no
46467fi
46468rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46469      ac_ext=c
46470ac_cpp='$CPP $CPPFLAGS'
46471ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46472ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46473ac_compiler_gnu=$ac_cv_c_compiler_gnu
46474
46475
46476fi
46477
46478  fi
46479  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
46480$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
46481
46482    if test x$glibcxx_cv_func__isinf_use = x"yes"; then
46483      for ac_func in _isinf
46484do :
46485  ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
46486if test "x$ac_cv_func__isinf" = x""yes; then :
46487  cat >>confdefs.h <<_ACEOF
46488#define HAVE__ISINF 1
46489_ACEOF
46490
46491fi
46492done
46493
46494    fi
46495  fi
46496
46497
46498
46499
46500
46501  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
46502$as_echo_n "checking for isnan declaration... " >&6; }
46503  if test x${glibcxx_cv_func_isnan_use+set} != xset; then
46504    if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
46505  $as_echo_n "(cached) " >&6
46506else
46507
46508
46509      ac_ext=cpp
46510ac_cpp='$CXXCPP $CPPFLAGS'
46511ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46512ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46513ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46514
46515      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46516/* end confdefs.h.  */
46517#include <math.h>
46518		      #ifdef HAVE_IEEEFP_H
46519		      #include <ieeefp.h>
46520		      #endif
46521
46522int
46523main ()
46524{
46525 isnan(0);
46526  ;
46527  return 0;
46528}
46529_ACEOF
46530if ac_fn_cxx_try_compile "$LINENO"; then :
46531  glibcxx_cv_func_isnan_use=yes
46532else
46533  glibcxx_cv_func_isnan_use=no
46534fi
46535rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46536      ac_ext=c
46537ac_cpp='$CPP $CPPFLAGS'
46538ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46539ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46540ac_compiler_gnu=$ac_cv_c_compiler_gnu
46541
46542
46543fi
46544
46545  fi
46546  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
46547$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
46548
46549  if test x$glibcxx_cv_func_isnan_use = x"yes"; then
46550    for ac_func in isnan
46551do :
46552  ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
46553if test "x$ac_cv_func_isnan" = x""yes; then :
46554  cat >>confdefs.h <<_ACEOF
46555#define HAVE_ISNAN 1
46556_ACEOF
46557
46558fi
46559done
46560
46561  else
46562
46563  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
46564$as_echo_n "checking for _isnan declaration... " >&6; }
46565  if test x${glibcxx_cv_func__isnan_use+set} != xset; then
46566    if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
46567  $as_echo_n "(cached) " >&6
46568else
46569
46570
46571      ac_ext=cpp
46572ac_cpp='$CXXCPP $CPPFLAGS'
46573ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46574ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46575ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46576
46577      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46578/* end confdefs.h.  */
46579#include <math.h>
46580		      #ifdef HAVE_IEEEFP_H
46581		      #include <ieeefp.h>
46582		      #endif
46583
46584int
46585main ()
46586{
46587 _isnan(0);
46588  ;
46589  return 0;
46590}
46591_ACEOF
46592if ac_fn_cxx_try_compile "$LINENO"; then :
46593  glibcxx_cv_func__isnan_use=yes
46594else
46595  glibcxx_cv_func__isnan_use=no
46596fi
46597rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46598      ac_ext=c
46599ac_cpp='$CPP $CPPFLAGS'
46600ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46601ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46602ac_compiler_gnu=$ac_cv_c_compiler_gnu
46603
46604
46605fi
46606
46607  fi
46608  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
46609$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
46610
46611    if test x$glibcxx_cv_func__isnan_use = x"yes"; then
46612      for ac_func in _isnan
46613do :
46614  ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
46615if test "x$ac_cv_func__isnan" = x""yes; then :
46616  cat >>confdefs.h <<_ACEOF
46617#define HAVE__ISNAN 1
46618_ACEOF
46619
46620fi
46621done
46622
46623    fi
46624  fi
46625
46626
46627
46628
46629
46630  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
46631$as_echo_n "checking for finite declaration... " >&6; }
46632  if test x${glibcxx_cv_func_finite_use+set} != xset; then
46633    if test "${glibcxx_cv_func_finite_use+set}" = set; then :
46634  $as_echo_n "(cached) " >&6
46635else
46636
46637
46638      ac_ext=cpp
46639ac_cpp='$CXXCPP $CPPFLAGS'
46640ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46641ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46642ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46643
46644      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46645/* end confdefs.h.  */
46646#include <math.h>
46647		      #ifdef HAVE_IEEEFP_H
46648		      #include <ieeefp.h>
46649		      #endif
46650
46651int
46652main ()
46653{
46654 finite(0);
46655  ;
46656  return 0;
46657}
46658_ACEOF
46659if ac_fn_cxx_try_compile "$LINENO"; then :
46660  glibcxx_cv_func_finite_use=yes
46661else
46662  glibcxx_cv_func_finite_use=no
46663fi
46664rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46665      ac_ext=c
46666ac_cpp='$CPP $CPPFLAGS'
46667ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46668ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46669ac_compiler_gnu=$ac_cv_c_compiler_gnu
46670
46671
46672fi
46673
46674  fi
46675  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
46676$as_echo "$glibcxx_cv_func_finite_use" >&6; }
46677
46678  if test x$glibcxx_cv_func_finite_use = x"yes"; then
46679    for ac_func in finite
46680do :
46681  ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
46682if test "x$ac_cv_func_finite" = x""yes; then :
46683  cat >>confdefs.h <<_ACEOF
46684#define HAVE_FINITE 1
46685_ACEOF
46686
46687fi
46688done
46689
46690  else
46691
46692  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
46693$as_echo_n "checking for _finite declaration... " >&6; }
46694  if test x${glibcxx_cv_func__finite_use+set} != xset; then
46695    if test "${glibcxx_cv_func__finite_use+set}" = set; then :
46696  $as_echo_n "(cached) " >&6
46697else
46698
46699
46700      ac_ext=cpp
46701ac_cpp='$CXXCPP $CPPFLAGS'
46702ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46703ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46704ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46705
46706      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46707/* end confdefs.h.  */
46708#include <math.h>
46709		      #ifdef HAVE_IEEEFP_H
46710		      #include <ieeefp.h>
46711		      #endif
46712
46713int
46714main ()
46715{
46716 _finite(0);
46717  ;
46718  return 0;
46719}
46720_ACEOF
46721if ac_fn_cxx_try_compile "$LINENO"; then :
46722  glibcxx_cv_func__finite_use=yes
46723else
46724  glibcxx_cv_func__finite_use=no
46725fi
46726rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46727      ac_ext=c
46728ac_cpp='$CPP $CPPFLAGS'
46729ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46730ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46731ac_compiler_gnu=$ac_cv_c_compiler_gnu
46732
46733
46734fi
46735
46736  fi
46737  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
46738$as_echo "$glibcxx_cv_func__finite_use" >&6; }
46739
46740    if test x$glibcxx_cv_func__finite_use = x"yes"; then
46741      for ac_func in _finite
46742do :
46743  ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
46744if test "x$ac_cv_func__finite" = x""yes; then :
46745  cat >>confdefs.h <<_ACEOF
46746#define HAVE__FINITE 1
46747_ACEOF
46748
46749fi
46750done
46751
46752    fi
46753  fi
46754
46755
46756
46757
46758
46759  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
46760$as_echo_n "checking for sincos declaration... " >&6; }
46761  if test x${glibcxx_cv_func_sincos_use+set} != xset; then
46762    if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
46763  $as_echo_n "(cached) " >&6
46764else
46765
46766
46767      ac_ext=cpp
46768ac_cpp='$CXXCPP $CPPFLAGS'
46769ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46770ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46771ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46772
46773      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46774/* end confdefs.h.  */
46775#include <math.h>
46776int
46777main ()
46778{
46779 sincos(0, 0, 0);
46780  ;
46781  return 0;
46782}
46783_ACEOF
46784if ac_fn_cxx_try_compile "$LINENO"; then :
46785  glibcxx_cv_func_sincos_use=yes
46786else
46787  glibcxx_cv_func_sincos_use=no
46788fi
46789rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46790      ac_ext=c
46791ac_cpp='$CPP $CPPFLAGS'
46792ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46793ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46794ac_compiler_gnu=$ac_cv_c_compiler_gnu
46795
46796
46797fi
46798
46799  fi
46800  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
46801$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
46802
46803  if test x$glibcxx_cv_func_sincos_use = x"yes"; then
46804    for ac_func in sincos
46805do :
46806  ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
46807if test "x$ac_cv_func_sincos" = x""yes; then :
46808  cat >>confdefs.h <<_ACEOF
46809#define HAVE_SINCOS 1
46810_ACEOF
46811
46812fi
46813done
46814
46815  else
46816
46817  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
46818$as_echo_n "checking for _sincos declaration... " >&6; }
46819  if test x${glibcxx_cv_func__sincos_use+set} != xset; then
46820    if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
46821  $as_echo_n "(cached) " >&6
46822else
46823
46824
46825      ac_ext=cpp
46826ac_cpp='$CXXCPP $CPPFLAGS'
46827ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46828ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46829ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46830
46831      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46832/* end confdefs.h.  */
46833#include <math.h>
46834int
46835main ()
46836{
46837 _sincos(0, 0, 0);
46838  ;
46839  return 0;
46840}
46841_ACEOF
46842if ac_fn_cxx_try_compile "$LINENO"; then :
46843  glibcxx_cv_func__sincos_use=yes
46844else
46845  glibcxx_cv_func__sincos_use=no
46846fi
46847rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46848      ac_ext=c
46849ac_cpp='$CPP $CPPFLAGS'
46850ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46851ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46852ac_compiler_gnu=$ac_cv_c_compiler_gnu
46853
46854
46855fi
46856
46857  fi
46858  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
46859$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
46860
46861    if test x$glibcxx_cv_func__sincos_use = x"yes"; then
46862      for ac_func in _sincos
46863do :
46864  ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
46865if test "x$ac_cv_func__sincos" = x""yes; then :
46866  cat >>confdefs.h <<_ACEOF
46867#define HAVE__SINCOS 1
46868_ACEOF
46869
46870fi
46871done
46872
46873    fi
46874  fi
46875
46876
46877
46878
46879
46880  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
46881$as_echo_n "checking for fpclass declaration... " >&6; }
46882  if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
46883    if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
46884  $as_echo_n "(cached) " >&6
46885else
46886
46887
46888      ac_ext=cpp
46889ac_cpp='$CXXCPP $CPPFLAGS'
46890ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46891ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46892ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46893
46894      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46895/* end confdefs.h.  */
46896#include <math.h>
46897		      #ifdef HAVE_IEEEFP_H
46898		      #include <ieeefp.h>
46899		      #endif
46900
46901int
46902main ()
46903{
46904 fpclass(0);
46905  ;
46906  return 0;
46907}
46908_ACEOF
46909if ac_fn_cxx_try_compile "$LINENO"; then :
46910  glibcxx_cv_func_fpclass_use=yes
46911else
46912  glibcxx_cv_func_fpclass_use=no
46913fi
46914rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46915      ac_ext=c
46916ac_cpp='$CPP $CPPFLAGS'
46917ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46918ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46919ac_compiler_gnu=$ac_cv_c_compiler_gnu
46920
46921
46922fi
46923
46924  fi
46925  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
46926$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
46927
46928  if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
46929    for ac_func in fpclass
46930do :
46931  ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
46932if test "x$ac_cv_func_fpclass" = x""yes; then :
46933  cat >>confdefs.h <<_ACEOF
46934#define HAVE_FPCLASS 1
46935_ACEOF
46936
46937fi
46938done
46939
46940  else
46941
46942  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
46943$as_echo_n "checking for _fpclass declaration... " >&6; }
46944  if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
46945    if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
46946  $as_echo_n "(cached) " >&6
46947else
46948
46949
46950      ac_ext=cpp
46951ac_cpp='$CXXCPP $CPPFLAGS'
46952ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46953ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46954ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46955
46956      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46957/* end confdefs.h.  */
46958#include <math.h>
46959		      #ifdef HAVE_IEEEFP_H
46960		      #include <ieeefp.h>
46961		      #endif
46962
46963int
46964main ()
46965{
46966 _fpclass(0);
46967  ;
46968  return 0;
46969}
46970_ACEOF
46971if ac_fn_cxx_try_compile "$LINENO"; then :
46972  glibcxx_cv_func__fpclass_use=yes
46973else
46974  glibcxx_cv_func__fpclass_use=no
46975fi
46976rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46977      ac_ext=c
46978ac_cpp='$CPP $CPPFLAGS'
46979ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46980ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46981ac_compiler_gnu=$ac_cv_c_compiler_gnu
46982
46983
46984fi
46985
46986  fi
46987  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
46988$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
46989
46990    if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
46991      for ac_func in _fpclass
46992do :
46993  ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
46994if test "x$ac_cv_func__fpclass" = x""yes; then :
46995  cat >>confdefs.h <<_ACEOF
46996#define HAVE__FPCLASS 1
46997_ACEOF
46998
46999fi
47000done
47001
47002    fi
47003  fi
47004
47005
47006
47007
47008
47009  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
47010$as_echo_n "checking for qfpclass declaration... " >&6; }
47011  if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
47012    if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
47013  $as_echo_n "(cached) " >&6
47014else
47015
47016
47017      ac_ext=cpp
47018ac_cpp='$CXXCPP $CPPFLAGS'
47019ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47020ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47021ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47022
47023      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47024/* end confdefs.h.  */
47025#include <math.h>
47026		      #ifdef HAVE_IEEEFP_H
47027		      #include <ieeefp.h>
47028		      #endif
47029
47030int
47031main ()
47032{
47033 qfpclass(0);
47034  ;
47035  return 0;
47036}
47037_ACEOF
47038if ac_fn_cxx_try_compile "$LINENO"; then :
47039  glibcxx_cv_func_qfpclass_use=yes
47040else
47041  glibcxx_cv_func_qfpclass_use=no
47042fi
47043rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47044      ac_ext=c
47045ac_cpp='$CPP $CPPFLAGS'
47046ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47047ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47048ac_compiler_gnu=$ac_cv_c_compiler_gnu
47049
47050
47051fi
47052
47053  fi
47054  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
47055$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
47056
47057  if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
47058    for ac_func in qfpclass
47059do :
47060  ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
47061if test "x$ac_cv_func_qfpclass" = x""yes; then :
47062  cat >>confdefs.h <<_ACEOF
47063#define HAVE_QFPCLASS 1
47064_ACEOF
47065
47066fi
47067done
47068
47069  else
47070
47071  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
47072$as_echo_n "checking for _qfpclass declaration... " >&6; }
47073  if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
47074    if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
47075  $as_echo_n "(cached) " >&6
47076else
47077
47078
47079      ac_ext=cpp
47080ac_cpp='$CXXCPP $CPPFLAGS'
47081ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47082ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47083ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47084
47085      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47086/* end confdefs.h.  */
47087#include <math.h>
47088		      #ifdef HAVE_IEEEFP_H
47089		      #include <ieeefp.h>
47090		      #endif
47091
47092int
47093main ()
47094{
47095 _qfpclass(0);
47096  ;
47097  return 0;
47098}
47099_ACEOF
47100if ac_fn_cxx_try_compile "$LINENO"; then :
47101  glibcxx_cv_func__qfpclass_use=yes
47102else
47103  glibcxx_cv_func__qfpclass_use=no
47104fi
47105rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47106      ac_ext=c
47107ac_cpp='$CPP $CPPFLAGS'
47108ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47109ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47110ac_compiler_gnu=$ac_cv_c_compiler_gnu
47111
47112
47113fi
47114
47115  fi
47116  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
47117$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
47118
47119    if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
47120      for ac_func in _qfpclass
47121do :
47122  ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
47123if test "x$ac_cv_func__qfpclass" = x""yes; then :
47124  cat >>confdefs.h <<_ACEOF
47125#define HAVE__QFPCLASS 1
47126_ACEOF
47127
47128fi
47129done
47130
47131    fi
47132  fi
47133
47134
47135
47136
47137
47138  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
47139$as_echo_n "checking for hypot declaration... " >&6; }
47140  if test x${glibcxx_cv_func_hypot_use+set} != xset; then
47141    if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
47142  $as_echo_n "(cached) " >&6
47143else
47144
47145
47146      ac_ext=cpp
47147ac_cpp='$CXXCPP $CPPFLAGS'
47148ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47149ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47150ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47151
47152      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47153/* end confdefs.h.  */
47154#include <math.h>
47155int
47156main ()
47157{
47158 hypot(0, 0);
47159  ;
47160  return 0;
47161}
47162_ACEOF
47163if ac_fn_cxx_try_compile "$LINENO"; then :
47164  glibcxx_cv_func_hypot_use=yes
47165else
47166  glibcxx_cv_func_hypot_use=no
47167fi
47168rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47169      ac_ext=c
47170ac_cpp='$CPP $CPPFLAGS'
47171ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47172ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47173ac_compiler_gnu=$ac_cv_c_compiler_gnu
47174
47175
47176fi
47177
47178  fi
47179  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
47180$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
47181
47182  if test x$glibcxx_cv_func_hypot_use = x"yes"; then
47183    for ac_func in hypot
47184do :
47185  ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
47186if test "x$ac_cv_func_hypot" = x""yes; then :
47187  cat >>confdefs.h <<_ACEOF
47188#define HAVE_HYPOT 1
47189_ACEOF
47190
47191fi
47192done
47193
47194  else
47195
47196  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
47197$as_echo_n "checking for _hypot declaration... " >&6; }
47198  if test x${glibcxx_cv_func__hypot_use+set} != xset; then
47199    if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
47200  $as_echo_n "(cached) " >&6
47201else
47202
47203
47204      ac_ext=cpp
47205ac_cpp='$CXXCPP $CPPFLAGS'
47206ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47207ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47208ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47209
47210      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47211/* end confdefs.h.  */
47212#include <math.h>
47213int
47214main ()
47215{
47216 _hypot(0, 0);
47217  ;
47218  return 0;
47219}
47220_ACEOF
47221if ac_fn_cxx_try_compile "$LINENO"; then :
47222  glibcxx_cv_func__hypot_use=yes
47223else
47224  glibcxx_cv_func__hypot_use=no
47225fi
47226rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47227      ac_ext=c
47228ac_cpp='$CPP $CPPFLAGS'
47229ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47230ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47231ac_compiler_gnu=$ac_cv_c_compiler_gnu
47232
47233
47234fi
47235
47236  fi
47237  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
47238$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
47239
47240    if test x$glibcxx_cv_func__hypot_use = x"yes"; then
47241      for ac_func in _hypot
47242do :
47243  ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
47244if test "x$ac_cv_func__hypot" = x""yes; then :
47245  cat >>confdefs.h <<_ACEOF
47246#define HAVE__HYPOT 1
47247_ACEOF
47248
47249fi
47250done
47251
47252    fi
47253  fi
47254
47255
47256
47257
47258
47259    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
47260$as_echo_n "checking for float trig functions... " >&6; }
47261  if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
47262  $as_echo_n "(cached) " >&6
47263else
47264
47265
47266    ac_ext=cpp
47267ac_cpp='$CXXCPP $CPPFLAGS'
47268ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47269ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47270ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47271
47272    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47273/* end confdefs.h.  */
47274#include <math.h>
47275int
47276main ()
47277{
47278acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
47279  ;
47280  return 0;
47281}
47282_ACEOF
47283if ac_fn_cxx_try_compile "$LINENO"; then :
47284  glibcxx_cv_func_float_trig_use=yes
47285else
47286  glibcxx_cv_func_float_trig_use=no
47287fi
47288rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47289    ac_ext=c
47290ac_cpp='$CPP $CPPFLAGS'
47291ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47292ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47293ac_compiler_gnu=$ac_cv_c_compiler_gnu
47294
47295fi
47296
47297  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
47298$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
47299  if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
47300    for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
47301do :
47302  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47303ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47304eval as_val=\$$as_ac_var
47305   if test "x$as_val" = x""yes; then :
47306  cat >>confdefs.h <<_ACEOF
47307#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47308_ACEOF
47309
47310fi
47311done
47312
47313  else
47314    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
47315$as_echo_n "checking for _float trig functions... " >&6; }
47316    if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
47317  $as_echo_n "(cached) " >&6
47318else
47319
47320
47321      ac_ext=cpp
47322ac_cpp='$CXXCPP $CPPFLAGS'
47323ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47324ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47325ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47326
47327      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47328/* end confdefs.h.  */
47329#include <math.h>
47330int
47331main ()
47332{
47333_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
47334  ;
47335  return 0;
47336}
47337_ACEOF
47338if ac_fn_cxx_try_compile "$LINENO"; then :
47339  glibcxx_cv_func__float_trig_use=yes
47340else
47341  glibcxx_cv_func__float_trig_use=no
47342fi
47343rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47344      ac_ext=c
47345ac_cpp='$CPP $CPPFLAGS'
47346ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47347ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47348ac_compiler_gnu=$ac_cv_c_compiler_gnu
47349
47350fi
47351
47352    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
47353$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
47354    if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
47355      for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
47356do :
47357  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47358ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47359eval as_val=\$$as_ac_var
47360   if test "x$as_val" = x""yes; then :
47361  cat >>confdefs.h <<_ACEOF
47362#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47363_ACEOF
47364
47365fi
47366done
47367
47368    fi
47369  fi
47370
47371
47372
47373
47374
47375    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
47376$as_echo_n "checking for float round functions... " >&6; }
47377  if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
47378  $as_echo_n "(cached) " >&6
47379else
47380
47381
47382    ac_ext=cpp
47383ac_cpp='$CXXCPP $CPPFLAGS'
47384ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47385ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47386ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47387
47388    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47389/* end confdefs.h.  */
47390#include <math.h>
47391int
47392main ()
47393{
47394ceilf (0); floorf (0);
47395  ;
47396  return 0;
47397}
47398_ACEOF
47399if ac_fn_cxx_try_compile "$LINENO"; then :
47400  glibcxx_cv_func_float_round_use=yes
47401else
47402  glibcxx_cv_func_float_round_use=no
47403fi
47404rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47405    ac_ext=c
47406ac_cpp='$CPP $CPPFLAGS'
47407ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47408ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47409ac_compiler_gnu=$ac_cv_c_compiler_gnu
47410
47411fi
47412
47413  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
47414$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
47415  if test x$glibcxx_cv_func_float_round_use = x"yes"; then
47416    for ac_func in ceilf floorf
47417do :
47418  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47419ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47420eval as_val=\$$as_ac_var
47421   if test "x$as_val" = x""yes; then :
47422  cat >>confdefs.h <<_ACEOF
47423#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47424_ACEOF
47425
47426fi
47427done
47428
47429  else
47430    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
47431$as_echo_n "checking for _float round functions... " >&6; }
47432    if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
47433  $as_echo_n "(cached) " >&6
47434else
47435
47436
47437      ac_ext=cpp
47438ac_cpp='$CXXCPP $CPPFLAGS'
47439ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47440ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47441ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47442
47443      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47444/* end confdefs.h.  */
47445#include <math.h>
47446int
47447main ()
47448{
47449_ceilf (0); _floorf (0);
47450  ;
47451  return 0;
47452}
47453_ACEOF
47454if ac_fn_cxx_try_compile "$LINENO"; then :
47455  glibcxx_cv_func__float_round_use=yes
47456else
47457  glibcxx_cv_func__float_round_use=no
47458fi
47459rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47460      ac_ext=c
47461ac_cpp='$CPP $CPPFLAGS'
47462ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47463ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47464ac_compiler_gnu=$ac_cv_c_compiler_gnu
47465
47466fi
47467
47468    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
47469$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
47470    if test x$glibcxx_cv_func__float_round_use = x"yes"; then
47471      for ac_func in _ceilf _floorf
47472do :
47473  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47474ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47475eval as_val=\$$as_ac_var
47476   if test "x$as_val" = x""yes; then :
47477  cat >>confdefs.h <<_ACEOF
47478#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47479_ACEOF
47480
47481fi
47482done
47483
47484    fi
47485  fi
47486
47487
47488
47489
47490
47491
47492  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
47493$as_echo_n "checking for expf declaration... " >&6; }
47494  if test x${glibcxx_cv_func_expf_use+set} != xset; then
47495    if test "${glibcxx_cv_func_expf_use+set}" = set; then :
47496  $as_echo_n "(cached) " >&6
47497else
47498
47499
47500      ac_ext=cpp
47501ac_cpp='$CXXCPP $CPPFLAGS'
47502ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47503ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47504ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47505
47506      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47507/* end confdefs.h.  */
47508#include <math.h>
47509		      #ifdef HAVE_IEEEFP_H
47510		      #include <ieeefp.h>
47511		      #endif
47512
47513int
47514main ()
47515{
47516 expf(0);
47517  ;
47518  return 0;
47519}
47520_ACEOF
47521if ac_fn_cxx_try_compile "$LINENO"; then :
47522  glibcxx_cv_func_expf_use=yes
47523else
47524  glibcxx_cv_func_expf_use=no
47525fi
47526rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47527      ac_ext=c
47528ac_cpp='$CPP $CPPFLAGS'
47529ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47530ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47531ac_compiler_gnu=$ac_cv_c_compiler_gnu
47532
47533
47534fi
47535
47536  fi
47537  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
47538$as_echo "$glibcxx_cv_func_expf_use" >&6; }
47539
47540  if test x$glibcxx_cv_func_expf_use = x"yes"; then
47541    for ac_func in expf
47542do :
47543  ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
47544if test "x$ac_cv_func_expf" = x""yes; then :
47545  cat >>confdefs.h <<_ACEOF
47546#define HAVE_EXPF 1
47547_ACEOF
47548
47549fi
47550done
47551
47552  else
47553
47554  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
47555$as_echo_n "checking for _expf declaration... " >&6; }
47556  if test x${glibcxx_cv_func__expf_use+set} != xset; then
47557    if test "${glibcxx_cv_func__expf_use+set}" = set; then :
47558  $as_echo_n "(cached) " >&6
47559else
47560
47561
47562      ac_ext=cpp
47563ac_cpp='$CXXCPP $CPPFLAGS'
47564ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47565ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47566ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47567
47568      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47569/* end confdefs.h.  */
47570#include <math.h>
47571		      #ifdef HAVE_IEEEFP_H
47572		      #include <ieeefp.h>
47573		      #endif
47574
47575int
47576main ()
47577{
47578 _expf(0);
47579  ;
47580  return 0;
47581}
47582_ACEOF
47583if ac_fn_cxx_try_compile "$LINENO"; then :
47584  glibcxx_cv_func__expf_use=yes
47585else
47586  glibcxx_cv_func__expf_use=no
47587fi
47588rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47589      ac_ext=c
47590ac_cpp='$CPP $CPPFLAGS'
47591ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47592ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47593ac_compiler_gnu=$ac_cv_c_compiler_gnu
47594
47595
47596fi
47597
47598  fi
47599  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
47600$as_echo "$glibcxx_cv_func__expf_use" >&6; }
47601
47602    if test x$glibcxx_cv_func__expf_use = x"yes"; then
47603      for ac_func in _expf
47604do :
47605  ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
47606if test "x$ac_cv_func__expf" = x""yes; then :
47607  cat >>confdefs.h <<_ACEOF
47608#define HAVE__EXPF 1
47609_ACEOF
47610
47611fi
47612done
47613
47614    fi
47615  fi
47616
47617
47618
47619
47620
47621  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
47622$as_echo_n "checking for isnanf declaration... " >&6; }
47623  if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
47624    if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
47625  $as_echo_n "(cached) " >&6
47626else
47627
47628
47629      ac_ext=cpp
47630ac_cpp='$CXXCPP $CPPFLAGS'
47631ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47632ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47633ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47634
47635      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47636/* end confdefs.h.  */
47637#include <math.h>
47638		      #ifdef HAVE_IEEEFP_H
47639		      #include <ieeefp.h>
47640		      #endif
47641
47642int
47643main ()
47644{
47645 isnanf(0);
47646  ;
47647  return 0;
47648}
47649_ACEOF
47650if ac_fn_cxx_try_compile "$LINENO"; then :
47651  glibcxx_cv_func_isnanf_use=yes
47652else
47653  glibcxx_cv_func_isnanf_use=no
47654fi
47655rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47656      ac_ext=c
47657ac_cpp='$CPP $CPPFLAGS'
47658ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47659ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47660ac_compiler_gnu=$ac_cv_c_compiler_gnu
47661
47662
47663fi
47664
47665  fi
47666  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
47667$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
47668
47669  if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
47670    for ac_func in isnanf
47671do :
47672  ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
47673if test "x$ac_cv_func_isnanf" = x""yes; then :
47674  cat >>confdefs.h <<_ACEOF
47675#define HAVE_ISNANF 1
47676_ACEOF
47677
47678fi
47679done
47680
47681  else
47682
47683  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
47684$as_echo_n "checking for _isnanf declaration... " >&6; }
47685  if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47686    if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
47687  $as_echo_n "(cached) " >&6
47688else
47689
47690
47691      ac_ext=cpp
47692ac_cpp='$CXXCPP $CPPFLAGS'
47693ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47694ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47695ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47696
47697      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47698/* end confdefs.h.  */
47699#include <math.h>
47700		      #ifdef HAVE_IEEEFP_H
47701		      #include <ieeefp.h>
47702		      #endif
47703
47704int
47705main ()
47706{
47707 _isnanf(0);
47708  ;
47709  return 0;
47710}
47711_ACEOF
47712if ac_fn_cxx_try_compile "$LINENO"; then :
47713  glibcxx_cv_func__isnanf_use=yes
47714else
47715  glibcxx_cv_func__isnanf_use=no
47716fi
47717rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47718      ac_ext=c
47719ac_cpp='$CPP $CPPFLAGS'
47720ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47721ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47722ac_compiler_gnu=$ac_cv_c_compiler_gnu
47723
47724
47725fi
47726
47727  fi
47728  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
47729$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
47730
47731    if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47732      for ac_func in _isnanf
47733do :
47734  ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
47735if test "x$ac_cv_func__isnanf" = x""yes; then :
47736  cat >>confdefs.h <<_ACEOF
47737#define HAVE__ISNANF 1
47738_ACEOF
47739
47740fi
47741done
47742
47743    fi
47744  fi
47745
47746
47747
47748
47749
47750  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
47751$as_echo_n "checking for isinff declaration... " >&6; }
47752  if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47753    if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
47754  $as_echo_n "(cached) " >&6
47755else
47756
47757
47758      ac_ext=cpp
47759ac_cpp='$CXXCPP $CPPFLAGS'
47760ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47761ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47762ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47763
47764      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47765/* end confdefs.h.  */
47766#include <math.h>
47767		      #ifdef HAVE_IEEEFP_H
47768		      #include <ieeefp.h>
47769		      #endif
47770
47771int
47772main ()
47773{
47774 isinff(0);
47775  ;
47776  return 0;
47777}
47778_ACEOF
47779if ac_fn_cxx_try_compile "$LINENO"; then :
47780  glibcxx_cv_func_isinff_use=yes
47781else
47782  glibcxx_cv_func_isinff_use=no
47783fi
47784rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47785      ac_ext=c
47786ac_cpp='$CPP $CPPFLAGS'
47787ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47788ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47789ac_compiler_gnu=$ac_cv_c_compiler_gnu
47790
47791
47792fi
47793
47794  fi
47795  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
47796$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
47797
47798  if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47799    for ac_func in isinff
47800do :
47801  ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
47802if test "x$ac_cv_func_isinff" = x""yes; then :
47803  cat >>confdefs.h <<_ACEOF
47804#define HAVE_ISINFF 1
47805_ACEOF
47806
47807fi
47808done
47809
47810  else
47811
47812  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
47813$as_echo_n "checking for _isinff declaration... " >&6; }
47814  if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47815    if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
47816  $as_echo_n "(cached) " >&6
47817else
47818
47819
47820      ac_ext=cpp
47821ac_cpp='$CXXCPP $CPPFLAGS'
47822ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47823ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47824ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47825
47826      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47827/* end confdefs.h.  */
47828#include <math.h>
47829		      #ifdef HAVE_IEEEFP_H
47830		      #include <ieeefp.h>
47831		      #endif
47832
47833int
47834main ()
47835{
47836 _isinff(0);
47837  ;
47838  return 0;
47839}
47840_ACEOF
47841if ac_fn_cxx_try_compile "$LINENO"; then :
47842  glibcxx_cv_func__isinff_use=yes
47843else
47844  glibcxx_cv_func__isinff_use=no
47845fi
47846rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47847      ac_ext=c
47848ac_cpp='$CPP $CPPFLAGS'
47849ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47850ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47851ac_compiler_gnu=$ac_cv_c_compiler_gnu
47852
47853
47854fi
47855
47856  fi
47857  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
47858$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
47859
47860    if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47861      for ac_func in _isinff
47862do :
47863  ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
47864if test "x$ac_cv_func__isinff" = x""yes; then :
47865  cat >>confdefs.h <<_ACEOF
47866#define HAVE__ISINFF 1
47867_ACEOF
47868
47869fi
47870done
47871
47872    fi
47873  fi
47874
47875
47876
47877
47878
47879  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
47880$as_echo_n "checking for atan2f declaration... " >&6; }
47881  if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
47882    if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
47883  $as_echo_n "(cached) " >&6
47884else
47885
47886
47887      ac_ext=cpp
47888ac_cpp='$CXXCPP $CPPFLAGS'
47889ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47890ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47891ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47892
47893      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47894/* end confdefs.h.  */
47895#include <math.h>
47896int
47897main ()
47898{
47899 atan2f(0, 0);
47900  ;
47901  return 0;
47902}
47903_ACEOF
47904if ac_fn_cxx_try_compile "$LINENO"; then :
47905  glibcxx_cv_func_atan2f_use=yes
47906else
47907  glibcxx_cv_func_atan2f_use=no
47908fi
47909rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47910      ac_ext=c
47911ac_cpp='$CPP $CPPFLAGS'
47912ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47913ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47914ac_compiler_gnu=$ac_cv_c_compiler_gnu
47915
47916
47917fi
47918
47919  fi
47920  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
47921$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
47922
47923  if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
47924    for ac_func in atan2f
47925do :
47926  ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
47927if test "x$ac_cv_func_atan2f" = x""yes; then :
47928  cat >>confdefs.h <<_ACEOF
47929#define HAVE_ATAN2F 1
47930_ACEOF
47931
47932fi
47933done
47934
47935  else
47936
47937  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
47938$as_echo_n "checking for _atan2f declaration... " >&6; }
47939  if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
47940    if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
47941  $as_echo_n "(cached) " >&6
47942else
47943
47944
47945      ac_ext=cpp
47946ac_cpp='$CXXCPP $CPPFLAGS'
47947ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47948ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47949ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47950
47951      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47952/* end confdefs.h.  */
47953#include <math.h>
47954int
47955main ()
47956{
47957 _atan2f(0, 0);
47958  ;
47959  return 0;
47960}
47961_ACEOF
47962if ac_fn_cxx_try_compile "$LINENO"; then :
47963  glibcxx_cv_func__atan2f_use=yes
47964else
47965  glibcxx_cv_func__atan2f_use=no
47966fi
47967rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47968      ac_ext=c
47969ac_cpp='$CPP $CPPFLAGS'
47970ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47971ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47972ac_compiler_gnu=$ac_cv_c_compiler_gnu
47973
47974
47975fi
47976
47977  fi
47978  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
47979$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
47980
47981    if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
47982      for ac_func in _atan2f
47983do :
47984  ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
47985if test "x$ac_cv_func__atan2f" = x""yes; then :
47986  cat >>confdefs.h <<_ACEOF
47987#define HAVE__ATAN2F 1
47988_ACEOF
47989
47990fi
47991done
47992
47993    fi
47994  fi
47995
47996
47997
47998
47999
48000  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
48001$as_echo_n "checking for fabsf declaration... " >&6; }
48002  if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
48003    if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
48004  $as_echo_n "(cached) " >&6
48005else
48006
48007
48008      ac_ext=cpp
48009ac_cpp='$CXXCPP $CPPFLAGS'
48010ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48011ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48012ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48013
48014      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48015/* end confdefs.h.  */
48016#include <math.h>
48017		      #ifdef HAVE_IEEEFP_H
48018		      #include <ieeefp.h>
48019		      #endif
48020
48021int
48022main ()
48023{
48024 fabsf(0);
48025  ;
48026  return 0;
48027}
48028_ACEOF
48029if ac_fn_cxx_try_compile "$LINENO"; then :
48030  glibcxx_cv_func_fabsf_use=yes
48031else
48032  glibcxx_cv_func_fabsf_use=no
48033fi
48034rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48035      ac_ext=c
48036ac_cpp='$CPP $CPPFLAGS'
48037ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48038ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48039ac_compiler_gnu=$ac_cv_c_compiler_gnu
48040
48041
48042fi
48043
48044  fi
48045  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
48046$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
48047
48048  if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
48049    for ac_func in fabsf
48050do :
48051  ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
48052if test "x$ac_cv_func_fabsf" = x""yes; then :
48053  cat >>confdefs.h <<_ACEOF
48054#define HAVE_FABSF 1
48055_ACEOF
48056
48057fi
48058done
48059
48060  else
48061
48062  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
48063$as_echo_n "checking for _fabsf declaration... " >&6; }
48064  if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
48065    if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
48066  $as_echo_n "(cached) " >&6
48067else
48068
48069
48070      ac_ext=cpp
48071ac_cpp='$CXXCPP $CPPFLAGS'
48072ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48073ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48074ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48075
48076      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48077/* end confdefs.h.  */
48078#include <math.h>
48079		      #ifdef HAVE_IEEEFP_H
48080		      #include <ieeefp.h>
48081		      #endif
48082
48083int
48084main ()
48085{
48086 _fabsf(0);
48087  ;
48088  return 0;
48089}
48090_ACEOF
48091if ac_fn_cxx_try_compile "$LINENO"; then :
48092  glibcxx_cv_func__fabsf_use=yes
48093else
48094  glibcxx_cv_func__fabsf_use=no
48095fi
48096rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48097      ac_ext=c
48098ac_cpp='$CPP $CPPFLAGS'
48099ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48100ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48101ac_compiler_gnu=$ac_cv_c_compiler_gnu
48102
48103
48104fi
48105
48106  fi
48107  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
48108$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
48109
48110    if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
48111      for ac_func in _fabsf
48112do :
48113  ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
48114if test "x$ac_cv_func__fabsf" = x""yes; then :
48115  cat >>confdefs.h <<_ACEOF
48116#define HAVE__FABSF 1
48117_ACEOF
48118
48119fi
48120done
48121
48122    fi
48123  fi
48124
48125
48126
48127
48128
48129  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
48130$as_echo_n "checking for fmodf declaration... " >&6; }
48131  if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
48132    if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
48133  $as_echo_n "(cached) " >&6
48134else
48135
48136
48137      ac_ext=cpp
48138ac_cpp='$CXXCPP $CPPFLAGS'
48139ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48140ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48141ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48142
48143      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48144/* end confdefs.h.  */
48145#include <math.h>
48146int
48147main ()
48148{
48149 fmodf(0, 0);
48150  ;
48151  return 0;
48152}
48153_ACEOF
48154if ac_fn_cxx_try_compile "$LINENO"; then :
48155  glibcxx_cv_func_fmodf_use=yes
48156else
48157  glibcxx_cv_func_fmodf_use=no
48158fi
48159rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48160      ac_ext=c
48161ac_cpp='$CPP $CPPFLAGS'
48162ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48163ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48164ac_compiler_gnu=$ac_cv_c_compiler_gnu
48165
48166
48167fi
48168
48169  fi
48170  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
48171$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
48172
48173  if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
48174    for ac_func in fmodf
48175do :
48176  ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
48177if test "x$ac_cv_func_fmodf" = x""yes; then :
48178  cat >>confdefs.h <<_ACEOF
48179#define HAVE_FMODF 1
48180_ACEOF
48181
48182fi
48183done
48184
48185  else
48186
48187  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
48188$as_echo_n "checking for _fmodf declaration... " >&6; }
48189  if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
48190    if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
48191  $as_echo_n "(cached) " >&6
48192else
48193
48194
48195      ac_ext=cpp
48196ac_cpp='$CXXCPP $CPPFLAGS'
48197ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48198ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48199ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48200
48201      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48202/* end confdefs.h.  */
48203#include <math.h>
48204int
48205main ()
48206{
48207 _fmodf(0, 0);
48208  ;
48209  return 0;
48210}
48211_ACEOF
48212if ac_fn_cxx_try_compile "$LINENO"; then :
48213  glibcxx_cv_func__fmodf_use=yes
48214else
48215  glibcxx_cv_func__fmodf_use=no
48216fi
48217rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48218      ac_ext=c
48219ac_cpp='$CPP $CPPFLAGS'
48220ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48221ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48222ac_compiler_gnu=$ac_cv_c_compiler_gnu
48223
48224
48225fi
48226
48227  fi
48228  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
48229$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
48230
48231    if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
48232      for ac_func in _fmodf
48233do :
48234  ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
48235if test "x$ac_cv_func__fmodf" = x""yes; then :
48236  cat >>confdefs.h <<_ACEOF
48237#define HAVE__FMODF 1
48238_ACEOF
48239
48240fi
48241done
48242
48243    fi
48244  fi
48245
48246
48247
48248
48249
48250  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
48251$as_echo_n "checking for frexpf declaration... " >&6; }
48252  if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
48253    if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
48254  $as_echo_n "(cached) " >&6
48255else
48256
48257
48258      ac_ext=cpp
48259ac_cpp='$CXXCPP $CPPFLAGS'
48260ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48261ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48262ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48263
48264      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48265/* end confdefs.h.  */
48266#include <math.h>
48267int
48268main ()
48269{
48270 frexpf(0, 0);
48271  ;
48272  return 0;
48273}
48274_ACEOF
48275if ac_fn_cxx_try_compile "$LINENO"; then :
48276  glibcxx_cv_func_frexpf_use=yes
48277else
48278  glibcxx_cv_func_frexpf_use=no
48279fi
48280rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48281      ac_ext=c
48282ac_cpp='$CPP $CPPFLAGS'
48283ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48284ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48285ac_compiler_gnu=$ac_cv_c_compiler_gnu
48286
48287
48288fi
48289
48290  fi
48291  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
48292$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
48293
48294  if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
48295    for ac_func in frexpf
48296do :
48297  ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
48298if test "x$ac_cv_func_frexpf" = x""yes; then :
48299  cat >>confdefs.h <<_ACEOF
48300#define HAVE_FREXPF 1
48301_ACEOF
48302
48303fi
48304done
48305
48306  else
48307
48308  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
48309$as_echo_n "checking for _frexpf declaration... " >&6; }
48310  if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
48311    if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
48312  $as_echo_n "(cached) " >&6
48313else
48314
48315
48316      ac_ext=cpp
48317ac_cpp='$CXXCPP $CPPFLAGS'
48318ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48319ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48320ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48321
48322      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48323/* end confdefs.h.  */
48324#include <math.h>
48325int
48326main ()
48327{
48328 _frexpf(0, 0);
48329  ;
48330  return 0;
48331}
48332_ACEOF
48333if ac_fn_cxx_try_compile "$LINENO"; then :
48334  glibcxx_cv_func__frexpf_use=yes
48335else
48336  glibcxx_cv_func__frexpf_use=no
48337fi
48338rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48339      ac_ext=c
48340ac_cpp='$CPP $CPPFLAGS'
48341ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48342ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48343ac_compiler_gnu=$ac_cv_c_compiler_gnu
48344
48345
48346fi
48347
48348  fi
48349  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
48350$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
48351
48352    if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
48353      for ac_func in _frexpf
48354do :
48355  ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
48356if test "x$ac_cv_func__frexpf" = x""yes; then :
48357  cat >>confdefs.h <<_ACEOF
48358#define HAVE__FREXPF 1
48359_ACEOF
48360
48361fi
48362done
48363
48364    fi
48365  fi
48366
48367
48368
48369
48370
48371  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
48372$as_echo_n "checking for hypotf declaration... " >&6; }
48373  if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
48374    if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
48375  $as_echo_n "(cached) " >&6
48376else
48377
48378
48379      ac_ext=cpp
48380ac_cpp='$CXXCPP $CPPFLAGS'
48381ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48382ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48383ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48384
48385      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48386/* end confdefs.h.  */
48387#include <math.h>
48388int
48389main ()
48390{
48391 hypotf(0, 0);
48392  ;
48393  return 0;
48394}
48395_ACEOF
48396if ac_fn_cxx_try_compile "$LINENO"; then :
48397  glibcxx_cv_func_hypotf_use=yes
48398else
48399  glibcxx_cv_func_hypotf_use=no
48400fi
48401rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48402      ac_ext=c
48403ac_cpp='$CPP $CPPFLAGS'
48404ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48405ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48406ac_compiler_gnu=$ac_cv_c_compiler_gnu
48407
48408
48409fi
48410
48411  fi
48412  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
48413$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
48414
48415  if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
48416    for ac_func in hypotf
48417do :
48418  ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
48419if test "x$ac_cv_func_hypotf" = x""yes; then :
48420  cat >>confdefs.h <<_ACEOF
48421#define HAVE_HYPOTF 1
48422_ACEOF
48423
48424fi
48425done
48426
48427  else
48428
48429  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
48430$as_echo_n "checking for _hypotf declaration... " >&6; }
48431  if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
48432    if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
48433  $as_echo_n "(cached) " >&6
48434else
48435
48436
48437      ac_ext=cpp
48438ac_cpp='$CXXCPP $CPPFLAGS'
48439ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48440ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48441ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48442
48443      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48444/* end confdefs.h.  */
48445#include <math.h>
48446int
48447main ()
48448{
48449 _hypotf(0, 0);
48450  ;
48451  return 0;
48452}
48453_ACEOF
48454if ac_fn_cxx_try_compile "$LINENO"; then :
48455  glibcxx_cv_func__hypotf_use=yes
48456else
48457  glibcxx_cv_func__hypotf_use=no
48458fi
48459rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48460      ac_ext=c
48461ac_cpp='$CPP $CPPFLAGS'
48462ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48463ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48464ac_compiler_gnu=$ac_cv_c_compiler_gnu
48465
48466
48467fi
48468
48469  fi
48470  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
48471$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
48472
48473    if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
48474      for ac_func in _hypotf
48475do :
48476  ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
48477if test "x$ac_cv_func__hypotf" = x""yes; then :
48478  cat >>confdefs.h <<_ACEOF
48479#define HAVE__HYPOTF 1
48480_ACEOF
48481
48482fi
48483done
48484
48485    fi
48486  fi
48487
48488
48489
48490
48491
48492  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
48493$as_echo_n "checking for ldexpf declaration... " >&6; }
48494  if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
48495    if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
48496  $as_echo_n "(cached) " >&6
48497else
48498
48499
48500      ac_ext=cpp
48501ac_cpp='$CXXCPP $CPPFLAGS'
48502ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48503ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48504ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48505
48506      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48507/* end confdefs.h.  */
48508#include <math.h>
48509int
48510main ()
48511{
48512 ldexpf(0, 0);
48513  ;
48514  return 0;
48515}
48516_ACEOF
48517if ac_fn_cxx_try_compile "$LINENO"; then :
48518  glibcxx_cv_func_ldexpf_use=yes
48519else
48520  glibcxx_cv_func_ldexpf_use=no
48521fi
48522rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48523      ac_ext=c
48524ac_cpp='$CPP $CPPFLAGS'
48525ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48526ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48527ac_compiler_gnu=$ac_cv_c_compiler_gnu
48528
48529
48530fi
48531
48532  fi
48533  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
48534$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
48535
48536  if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
48537    for ac_func in ldexpf
48538do :
48539  ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
48540if test "x$ac_cv_func_ldexpf" = x""yes; then :
48541  cat >>confdefs.h <<_ACEOF
48542#define HAVE_LDEXPF 1
48543_ACEOF
48544
48545fi
48546done
48547
48548  else
48549
48550  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
48551$as_echo_n "checking for _ldexpf declaration... " >&6; }
48552  if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
48553    if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
48554  $as_echo_n "(cached) " >&6
48555else
48556
48557
48558      ac_ext=cpp
48559ac_cpp='$CXXCPP $CPPFLAGS'
48560ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48561ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48562ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48563
48564      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48565/* end confdefs.h.  */
48566#include <math.h>
48567int
48568main ()
48569{
48570 _ldexpf(0, 0);
48571  ;
48572  return 0;
48573}
48574_ACEOF
48575if ac_fn_cxx_try_compile "$LINENO"; then :
48576  glibcxx_cv_func__ldexpf_use=yes
48577else
48578  glibcxx_cv_func__ldexpf_use=no
48579fi
48580rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48581      ac_ext=c
48582ac_cpp='$CPP $CPPFLAGS'
48583ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48584ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48585ac_compiler_gnu=$ac_cv_c_compiler_gnu
48586
48587
48588fi
48589
48590  fi
48591  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
48592$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
48593
48594    if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
48595      for ac_func in _ldexpf
48596do :
48597  ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
48598if test "x$ac_cv_func__ldexpf" = x""yes; then :
48599  cat >>confdefs.h <<_ACEOF
48600#define HAVE__LDEXPF 1
48601_ACEOF
48602
48603fi
48604done
48605
48606    fi
48607  fi
48608
48609
48610
48611
48612
48613  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
48614$as_echo_n "checking for logf declaration... " >&6; }
48615  if test x${glibcxx_cv_func_logf_use+set} != xset; then
48616    if test "${glibcxx_cv_func_logf_use+set}" = set; then :
48617  $as_echo_n "(cached) " >&6
48618else
48619
48620
48621      ac_ext=cpp
48622ac_cpp='$CXXCPP $CPPFLAGS'
48623ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48624ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48625ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48626
48627      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48628/* end confdefs.h.  */
48629#include <math.h>
48630		      #ifdef HAVE_IEEEFP_H
48631		      #include <ieeefp.h>
48632		      #endif
48633
48634int
48635main ()
48636{
48637 logf(0);
48638  ;
48639  return 0;
48640}
48641_ACEOF
48642if ac_fn_cxx_try_compile "$LINENO"; then :
48643  glibcxx_cv_func_logf_use=yes
48644else
48645  glibcxx_cv_func_logf_use=no
48646fi
48647rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48648      ac_ext=c
48649ac_cpp='$CPP $CPPFLAGS'
48650ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48651ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48652ac_compiler_gnu=$ac_cv_c_compiler_gnu
48653
48654
48655fi
48656
48657  fi
48658  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
48659$as_echo "$glibcxx_cv_func_logf_use" >&6; }
48660
48661  if test x$glibcxx_cv_func_logf_use = x"yes"; then
48662    for ac_func in logf
48663do :
48664  ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
48665if test "x$ac_cv_func_logf" = x""yes; then :
48666  cat >>confdefs.h <<_ACEOF
48667#define HAVE_LOGF 1
48668_ACEOF
48669
48670fi
48671done
48672
48673  else
48674
48675  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
48676$as_echo_n "checking for _logf declaration... " >&6; }
48677  if test x${glibcxx_cv_func__logf_use+set} != xset; then
48678    if test "${glibcxx_cv_func__logf_use+set}" = set; then :
48679  $as_echo_n "(cached) " >&6
48680else
48681
48682
48683      ac_ext=cpp
48684ac_cpp='$CXXCPP $CPPFLAGS'
48685ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48686ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48687ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48688
48689      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48690/* end confdefs.h.  */
48691#include <math.h>
48692		      #ifdef HAVE_IEEEFP_H
48693		      #include <ieeefp.h>
48694		      #endif
48695
48696int
48697main ()
48698{
48699 _logf(0);
48700  ;
48701  return 0;
48702}
48703_ACEOF
48704if ac_fn_cxx_try_compile "$LINENO"; then :
48705  glibcxx_cv_func__logf_use=yes
48706else
48707  glibcxx_cv_func__logf_use=no
48708fi
48709rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48710      ac_ext=c
48711ac_cpp='$CPP $CPPFLAGS'
48712ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48713ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48714ac_compiler_gnu=$ac_cv_c_compiler_gnu
48715
48716
48717fi
48718
48719  fi
48720  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
48721$as_echo "$glibcxx_cv_func__logf_use" >&6; }
48722
48723    if test x$glibcxx_cv_func__logf_use = x"yes"; then
48724      for ac_func in _logf
48725do :
48726  ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
48727if test "x$ac_cv_func__logf" = x""yes; then :
48728  cat >>confdefs.h <<_ACEOF
48729#define HAVE__LOGF 1
48730_ACEOF
48731
48732fi
48733done
48734
48735    fi
48736  fi
48737
48738
48739
48740
48741
48742  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
48743$as_echo_n "checking for log10f declaration... " >&6; }
48744  if test x${glibcxx_cv_func_log10f_use+set} != xset; then
48745    if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
48746  $as_echo_n "(cached) " >&6
48747else
48748
48749
48750      ac_ext=cpp
48751ac_cpp='$CXXCPP $CPPFLAGS'
48752ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48753ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48754ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48755
48756      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48757/* end confdefs.h.  */
48758#include <math.h>
48759		      #ifdef HAVE_IEEEFP_H
48760		      #include <ieeefp.h>
48761		      #endif
48762
48763int
48764main ()
48765{
48766 log10f(0);
48767  ;
48768  return 0;
48769}
48770_ACEOF
48771if ac_fn_cxx_try_compile "$LINENO"; then :
48772  glibcxx_cv_func_log10f_use=yes
48773else
48774  glibcxx_cv_func_log10f_use=no
48775fi
48776rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48777      ac_ext=c
48778ac_cpp='$CPP $CPPFLAGS'
48779ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48780ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48781ac_compiler_gnu=$ac_cv_c_compiler_gnu
48782
48783
48784fi
48785
48786  fi
48787  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
48788$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
48789
48790  if test x$glibcxx_cv_func_log10f_use = x"yes"; then
48791    for ac_func in log10f
48792do :
48793  ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
48794if test "x$ac_cv_func_log10f" = x""yes; then :
48795  cat >>confdefs.h <<_ACEOF
48796#define HAVE_LOG10F 1
48797_ACEOF
48798
48799fi
48800done
48801
48802  else
48803
48804  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
48805$as_echo_n "checking for _log10f declaration... " >&6; }
48806  if test x${glibcxx_cv_func__log10f_use+set} != xset; then
48807    if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
48808  $as_echo_n "(cached) " >&6
48809else
48810
48811
48812      ac_ext=cpp
48813ac_cpp='$CXXCPP $CPPFLAGS'
48814ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48815ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48816ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48817
48818      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48819/* end confdefs.h.  */
48820#include <math.h>
48821		      #ifdef HAVE_IEEEFP_H
48822		      #include <ieeefp.h>
48823		      #endif
48824
48825int
48826main ()
48827{
48828 _log10f(0);
48829  ;
48830  return 0;
48831}
48832_ACEOF
48833if ac_fn_cxx_try_compile "$LINENO"; then :
48834  glibcxx_cv_func__log10f_use=yes
48835else
48836  glibcxx_cv_func__log10f_use=no
48837fi
48838rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48839      ac_ext=c
48840ac_cpp='$CPP $CPPFLAGS'
48841ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48842ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48843ac_compiler_gnu=$ac_cv_c_compiler_gnu
48844
48845
48846fi
48847
48848  fi
48849  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
48850$as_echo "$glibcxx_cv_func__log10f_use" >&6; }
48851
48852    if test x$glibcxx_cv_func__log10f_use = x"yes"; then
48853      for ac_func in _log10f
48854do :
48855  ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
48856if test "x$ac_cv_func__log10f" = x""yes; then :
48857  cat >>confdefs.h <<_ACEOF
48858#define HAVE__LOG10F 1
48859_ACEOF
48860
48861fi
48862done
48863
48864    fi
48865  fi
48866
48867
48868
48869
48870
48871  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
48872$as_echo_n "checking for modff declaration... " >&6; }
48873  if test x${glibcxx_cv_func_modff_use+set} != xset; then
48874    if test "${glibcxx_cv_func_modff_use+set}" = set; then :
48875  $as_echo_n "(cached) " >&6
48876else
48877
48878
48879      ac_ext=cpp
48880ac_cpp='$CXXCPP $CPPFLAGS'
48881ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48882ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48883ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48884
48885      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48886/* end confdefs.h.  */
48887#include <math.h>
48888int
48889main ()
48890{
48891 modff(0, 0);
48892  ;
48893  return 0;
48894}
48895_ACEOF
48896if ac_fn_cxx_try_compile "$LINENO"; then :
48897  glibcxx_cv_func_modff_use=yes
48898else
48899  glibcxx_cv_func_modff_use=no
48900fi
48901rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48902      ac_ext=c
48903ac_cpp='$CPP $CPPFLAGS'
48904ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48905ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48906ac_compiler_gnu=$ac_cv_c_compiler_gnu
48907
48908
48909fi
48910
48911  fi
48912  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
48913$as_echo "$glibcxx_cv_func_modff_use" >&6; }
48914
48915  if test x$glibcxx_cv_func_modff_use = x"yes"; then
48916    for ac_func in modff
48917do :
48918  ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
48919if test "x$ac_cv_func_modff" = x""yes; then :
48920  cat >>confdefs.h <<_ACEOF
48921#define HAVE_MODFF 1
48922_ACEOF
48923
48924fi
48925done
48926
48927  else
48928
48929  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
48930$as_echo_n "checking for _modff declaration... " >&6; }
48931  if test x${glibcxx_cv_func__modff_use+set} != xset; then
48932    if test "${glibcxx_cv_func__modff_use+set}" = set; then :
48933  $as_echo_n "(cached) " >&6
48934else
48935
48936
48937      ac_ext=cpp
48938ac_cpp='$CXXCPP $CPPFLAGS'
48939ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48940ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48941ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48942
48943      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48944/* end confdefs.h.  */
48945#include <math.h>
48946int
48947main ()
48948{
48949 _modff(0, 0);
48950  ;
48951  return 0;
48952}
48953_ACEOF
48954if ac_fn_cxx_try_compile "$LINENO"; then :
48955  glibcxx_cv_func__modff_use=yes
48956else
48957  glibcxx_cv_func__modff_use=no
48958fi
48959rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48960      ac_ext=c
48961ac_cpp='$CPP $CPPFLAGS'
48962ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48963ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48964ac_compiler_gnu=$ac_cv_c_compiler_gnu
48965
48966
48967fi
48968
48969  fi
48970  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
48971$as_echo "$glibcxx_cv_func__modff_use" >&6; }
48972
48973    if test x$glibcxx_cv_func__modff_use = x"yes"; then
48974      for ac_func in _modff
48975do :
48976  ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
48977if test "x$ac_cv_func__modff" = x""yes; then :
48978  cat >>confdefs.h <<_ACEOF
48979#define HAVE__MODFF 1
48980_ACEOF
48981
48982fi
48983done
48984
48985    fi
48986  fi
48987
48988
48989
48990
48991
48992  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
48993$as_echo_n "checking for modf declaration... " >&6; }
48994  if test x${glibcxx_cv_func_modf_use+set} != xset; then
48995    if test "${glibcxx_cv_func_modf_use+set}" = set; then :
48996  $as_echo_n "(cached) " >&6
48997else
48998
48999
49000      ac_ext=cpp
49001ac_cpp='$CXXCPP $CPPFLAGS'
49002ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49003ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49004ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49005
49006      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49007/* end confdefs.h.  */
49008#include <math.h>
49009int
49010main ()
49011{
49012 modf(0, 0);
49013  ;
49014  return 0;
49015}
49016_ACEOF
49017if ac_fn_cxx_try_compile "$LINENO"; then :
49018  glibcxx_cv_func_modf_use=yes
49019else
49020  glibcxx_cv_func_modf_use=no
49021fi
49022rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49023      ac_ext=c
49024ac_cpp='$CPP $CPPFLAGS'
49025ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49026ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49027ac_compiler_gnu=$ac_cv_c_compiler_gnu
49028
49029
49030fi
49031
49032  fi
49033  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
49034$as_echo "$glibcxx_cv_func_modf_use" >&6; }
49035
49036  if test x$glibcxx_cv_func_modf_use = x"yes"; then
49037    for ac_func in modf
49038do :
49039  ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
49040if test "x$ac_cv_func_modf" = x""yes; then :
49041  cat >>confdefs.h <<_ACEOF
49042#define HAVE_MODF 1
49043_ACEOF
49044
49045fi
49046done
49047
49048  else
49049
49050  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
49051$as_echo_n "checking for _modf declaration... " >&6; }
49052  if test x${glibcxx_cv_func__modf_use+set} != xset; then
49053    if test "${glibcxx_cv_func__modf_use+set}" = set; then :
49054  $as_echo_n "(cached) " >&6
49055else
49056
49057
49058      ac_ext=cpp
49059ac_cpp='$CXXCPP $CPPFLAGS'
49060ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49061ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49062ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49063
49064      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49065/* end confdefs.h.  */
49066#include <math.h>
49067int
49068main ()
49069{
49070 _modf(0, 0);
49071  ;
49072  return 0;
49073}
49074_ACEOF
49075if ac_fn_cxx_try_compile "$LINENO"; then :
49076  glibcxx_cv_func__modf_use=yes
49077else
49078  glibcxx_cv_func__modf_use=no
49079fi
49080rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49081      ac_ext=c
49082ac_cpp='$CPP $CPPFLAGS'
49083ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49084ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49085ac_compiler_gnu=$ac_cv_c_compiler_gnu
49086
49087
49088fi
49089
49090  fi
49091  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
49092$as_echo "$glibcxx_cv_func__modf_use" >&6; }
49093
49094    if test x$glibcxx_cv_func__modf_use = x"yes"; then
49095      for ac_func in _modf
49096do :
49097  ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
49098if test "x$ac_cv_func__modf" = x""yes; then :
49099  cat >>confdefs.h <<_ACEOF
49100#define HAVE__MODF 1
49101_ACEOF
49102
49103fi
49104done
49105
49106    fi
49107  fi
49108
49109
49110
49111
49112
49113  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
49114$as_echo_n "checking for powf declaration... " >&6; }
49115  if test x${glibcxx_cv_func_powf_use+set} != xset; then
49116    if test "${glibcxx_cv_func_powf_use+set}" = set; then :
49117  $as_echo_n "(cached) " >&6
49118else
49119
49120
49121      ac_ext=cpp
49122ac_cpp='$CXXCPP $CPPFLAGS'
49123ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49124ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49125ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49126
49127      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49128/* end confdefs.h.  */
49129#include <math.h>
49130int
49131main ()
49132{
49133 powf(0, 0);
49134  ;
49135  return 0;
49136}
49137_ACEOF
49138if ac_fn_cxx_try_compile "$LINENO"; then :
49139  glibcxx_cv_func_powf_use=yes
49140else
49141  glibcxx_cv_func_powf_use=no
49142fi
49143rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49144      ac_ext=c
49145ac_cpp='$CPP $CPPFLAGS'
49146ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49147ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49148ac_compiler_gnu=$ac_cv_c_compiler_gnu
49149
49150
49151fi
49152
49153  fi
49154  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
49155$as_echo "$glibcxx_cv_func_powf_use" >&6; }
49156
49157  if test x$glibcxx_cv_func_powf_use = x"yes"; then
49158    for ac_func in powf
49159do :
49160  ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
49161if test "x$ac_cv_func_powf" = x""yes; then :
49162  cat >>confdefs.h <<_ACEOF
49163#define HAVE_POWF 1
49164_ACEOF
49165
49166fi
49167done
49168
49169  else
49170
49171  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
49172$as_echo_n "checking for _powf declaration... " >&6; }
49173  if test x${glibcxx_cv_func__powf_use+set} != xset; then
49174    if test "${glibcxx_cv_func__powf_use+set}" = set; then :
49175  $as_echo_n "(cached) " >&6
49176else
49177
49178
49179      ac_ext=cpp
49180ac_cpp='$CXXCPP $CPPFLAGS'
49181ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49182ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49183ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49184
49185      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49186/* end confdefs.h.  */
49187#include <math.h>
49188int
49189main ()
49190{
49191 _powf(0, 0);
49192  ;
49193  return 0;
49194}
49195_ACEOF
49196if ac_fn_cxx_try_compile "$LINENO"; then :
49197  glibcxx_cv_func__powf_use=yes
49198else
49199  glibcxx_cv_func__powf_use=no
49200fi
49201rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49202      ac_ext=c
49203ac_cpp='$CPP $CPPFLAGS'
49204ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49205ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49206ac_compiler_gnu=$ac_cv_c_compiler_gnu
49207
49208
49209fi
49210
49211  fi
49212  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
49213$as_echo "$glibcxx_cv_func__powf_use" >&6; }
49214
49215    if test x$glibcxx_cv_func__powf_use = x"yes"; then
49216      for ac_func in _powf
49217do :
49218  ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
49219if test "x$ac_cv_func__powf" = x""yes; then :
49220  cat >>confdefs.h <<_ACEOF
49221#define HAVE__POWF 1
49222_ACEOF
49223
49224fi
49225done
49226
49227    fi
49228  fi
49229
49230
49231
49232
49233
49234  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
49235$as_echo_n "checking for sqrtf declaration... " >&6; }
49236  if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
49237    if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
49238  $as_echo_n "(cached) " >&6
49239else
49240
49241
49242      ac_ext=cpp
49243ac_cpp='$CXXCPP $CPPFLAGS'
49244ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49245ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49246ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49247
49248      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49249/* end confdefs.h.  */
49250#include <math.h>
49251		      #ifdef HAVE_IEEEFP_H
49252		      #include <ieeefp.h>
49253		      #endif
49254
49255int
49256main ()
49257{
49258 sqrtf(0);
49259  ;
49260  return 0;
49261}
49262_ACEOF
49263if ac_fn_cxx_try_compile "$LINENO"; then :
49264  glibcxx_cv_func_sqrtf_use=yes
49265else
49266  glibcxx_cv_func_sqrtf_use=no
49267fi
49268rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49269      ac_ext=c
49270ac_cpp='$CPP $CPPFLAGS'
49271ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49272ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49273ac_compiler_gnu=$ac_cv_c_compiler_gnu
49274
49275
49276fi
49277
49278  fi
49279  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
49280$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
49281
49282  if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
49283    for ac_func in sqrtf
49284do :
49285  ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
49286if test "x$ac_cv_func_sqrtf" = x""yes; then :
49287  cat >>confdefs.h <<_ACEOF
49288#define HAVE_SQRTF 1
49289_ACEOF
49290
49291fi
49292done
49293
49294  else
49295
49296  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
49297$as_echo_n "checking for _sqrtf declaration... " >&6; }
49298  if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
49299    if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
49300  $as_echo_n "(cached) " >&6
49301else
49302
49303
49304      ac_ext=cpp
49305ac_cpp='$CXXCPP $CPPFLAGS'
49306ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49307ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49308ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49309
49310      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49311/* end confdefs.h.  */
49312#include <math.h>
49313		      #ifdef HAVE_IEEEFP_H
49314		      #include <ieeefp.h>
49315		      #endif
49316
49317int
49318main ()
49319{
49320 _sqrtf(0);
49321  ;
49322  return 0;
49323}
49324_ACEOF
49325if ac_fn_cxx_try_compile "$LINENO"; then :
49326  glibcxx_cv_func__sqrtf_use=yes
49327else
49328  glibcxx_cv_func__sqrtf_use=no
49329fi
49330rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49331      ac_ext=c
49332ac_cpp='$CPP $CPPFLAGS'
49333ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49334ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49335ac_compiler_gnu=$ac_cv_c_compiler_gnu
49336
49337
49338fi
49339
49340  fi
49341  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
49342$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
49343
49344    if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
49345      for ac_func in _sqrtf
49346do :
49347  ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
49348if test "x$ac_cv_func__sqrtf" = x""yes; then :
49349  cat >>confdefs.h <<_ACEOF
49350#define HAVE__SQRTF 1
49351_ACEOF
49352
49353fi
49354done
49355
49356    fi
49357  fi
49358
49359
49360
49361
49362
49363  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
49364$as_echo_n "checking for sincosf declaration... " >&6; }
49365  if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
49366    if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
49367  $as_echo_n "(cached) " >&6
49368else
49369
49370
49371      ac_ext=cpp
49372ac_cpp='$CXXCPP $CPPFLAGS'
49373ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49374ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49375ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49376
49377      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49378/* end confdefs.h.  */
49379#include <math.h>
49380int
49381main ()
49382{
49383 sincosf(0, 0, 0);
49384  ;
49385  return 0;
49386}
49387_ACEOF
49388if ac_fn_cxx_try_compile "$LINENO"; then :
49389  glibcxx_cv_func_sincosf_use=yes
49390else
49391  glibcxx_cv_func_sincosf_use=no
49392fi
49393rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49394      ac_ext=c
49395ac_cpp='$CPP $CPPFLAGS'
49396ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49397ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49398ac_compiler_gnu=$ac_cv_c_compiler_gnu
49399
49400
49401fi
49402
49403  fi
49404  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
49405$as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
49406
49407  if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
49408    for ac_func in sincosf
49409do :
49410  ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
49411if test "x$ac_cv_func_sincosf" = x""yes; then :
49412  cat >>confdefs.h <<_ACEOF
49413#define HAVE_SINCOSF 1
49414_ACEOF
49415
49416fi
49417done
49418
49419  else
49420
49421  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
49422$as_echo_n "checking for _sincosf declaration... " >&6; }
49423  if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
49424    if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
49425  $as_echo_n "(cached) " >&6
49426else
49427
49428
49429      ac_ext=cpp
49430ac_cpp='$CXXCPP $CPPFLAGS'
49431ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49432ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49433ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49434
49435      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49436/* end confdefs.h.  */
49437#include <math.h>
49438int
49439main ()
49440{
49441 _sincosf(0, 0, 0);
49442  ;
49443  return 0;
49444}
49445_ACEOF
49446if ac_fn_cxx_try_compile "$LINENO"; then :
49447  glibcxx_cv_func__sincosf_use=yes
49448else
49449  glibcxx_cv_func__sincosf_use=no
49450fi
49451rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49452      ac_ext=c
49453ac_cpp='$CPP $CPPFLAGS'
49454ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49455ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49456ac_compiler_gnu=$ac_cv_c_compiler_gnu
49457
49458
49459fi
49460
49461  fi
49462  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
49463$as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
49464
49465    if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
49466      for ac_func in _sincosf
49467do :
49468  ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
49469if test "x$ac_cv_func__sincosf" = x""yes; then :
49470  cat >>confdefs.h <<_ACEOF
49471#define HAVE__SINCOSF 1
49472_ACEOF
49473
49474fi
49475done
49476
49477    fi
49478  fi
49479
49480
49481
49482
49483
49484  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
49485$as_echo_n "checking for finitef declaration... " >&6; }
49486  if test x${glibcxx_cv_func_finitef_use+set} != xset; then
49487    if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
49488  $as_echo_n "(cached) " >&6
49489else
49490
49491
49492      ac_ext=cpp
49493ac_cpp='$CXXCPP $CPPFLAGS'
49494ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49495ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49496ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49497
49498      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49499/* end confdefs.h.  */
49500#include <math.h>
49501		      #ifdef HAVE_IEEEFP_H
49502		      #include <ieeefp.h>
49503		      #endif
49504
49505int
49506main ()
49507{
49508 finitef(0);
49509  ;
49510  return 0;
49511}
49512_ACEOF
49513if ac_fn_cxx_try_compile "$LINENO"; then :
49514  glibcxx_cv_func_finitef_use=yes
49515else
49516  glibcxx_cv_func_finitef_use=no
49517fi
49518rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49519      ac_ext=c
49520ac_cpp='$CPP $CPPFLAGS'
49521ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49522ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49523ac_compiler_gnu=$ac_cv_c_compiler_gnu
49524
49525
49526fi
49527
49528  fi
49529  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
49530$as_echo "$glibcxx_cv_func_finitef_use" >&6; }
49531
49532  if test x$glibcxx_cv_func_finitef_use = x"yes"; then
49533    for ac_func in finitef
49534do :
49535  ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
49536if test "x$ac_cv_func_finitef" = x""yes; then :
49537  cat >>confdefs.h <<_ACEOF
49538#define HAVE_FINITEF 1
49539_ACEOF
49540
49541fi
49542done
49543
49544  else
49545
49546  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
49547$as_echo_n "checking for _finitef declaration... " >&6; }
49548  if test x${glibcxx_cv_func__finitef_use+set} != xset; then
49549    if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
49550  $as_echo_n "(cached) " >&6
49551else
49552
49553
49554      ac_ext=cpp
49555ac_cpp='$CXXCPP $CPPFLAGS'
49556ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49557ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49558ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49559
49560      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49561/* end confdefs.h.  */
49562#include <math.h>
49563		      #ifdef HAVE_IEEEFP_H
49564		      #include <ieeefp.h>
49565		      #endif
49566
49567int
49568main ()
49569{
49570 _finitef(0);
49571  ;
49572  return 0;
49573}
49574_ACEOF
49575if ac_fn_cxx_try_compile "$LINENO"; then :
49576  glibcxx_cv_func__finitef_use=yes
49577else
49578  glibcxx_cv_func__finitef_use=no
49579fi
49580rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49581      ac_ext=c
49582ac_cpp='$CPP $CPPFLAGS'
49583ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49584ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49585ac_compiler_gnu=$ac_cv_c_compiler_gnu
49586
49587
49588fi
49589
49590  fi
49591  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
49592$as_echo "$glibcxx_cv_func__finitef_use" >&6; }
49593
49594    if test x$glibcxx_cv_func__finitef_use = x"yes"; then
49595      for ac_func in _finitef
49596do :
49597  ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
49598if test "x$ac_cv_func__finitef" = x""yes; then :
49599  cat >>confdefs.h <<_ACEOF
49600#define HAVE__FINITEF 1
49601_ACEOF
49602
49603fi
49604done
49605
49606    fi
49607  fi
49608
49609
49610
49611
49612
49613    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
49614$as_echo_n "checking for long double trig functions... " >&6; }
49615  if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
49616  $as_echo_n "(cached) " >&6
49617else
49618
49619
49620    ac_ext=cpp
49621ac_cpp='$CXXCPP $CPPFLAGS'
49622ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49623ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49624ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49625
49626    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49627/* end confdefs.h.  */
49628#include <math.h>
49629int
49630main ()
49631{
49632acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
49633  ;
49634  return 0;
49635}
49636_ACEOF
49637if ac_fn_cxx_try_compile "$LINENO"; then :
49638  glibcxx_cv_func_long_double_trig_use=yes
49639else
49640  glibcxx_cv_func_long_double_trig_use=no
49641fi
49642rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49643    ac_ext=c
49644ac_cpp='$CPP $CPPFLAGS'
49645ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49646ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49647ac_compiler_gnu=$ac_cv_c_compiler_gnu
49648
49649fi
49650
49651  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
49652$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
49653  if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
49654    for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
49655do :
49656  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49657ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49658eval as_val=\$$as_ac_var
49659   if test "x$as_val" = x""yes; then :
49660  cat >>confdefs.h <<_ACEOF
49661#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49662_ACEOF
49663
49664fi
49665done
49666
49667  else
49668    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
49669$as_echo_n "checking for _long double trig functions... " >&6; }
49670    if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
49671  $as_echo_n "(cached) " >&6
49672else
49673
49674
49675      ac_ext=cpp
49676ac_cpp='$CXXCPP $CPPFLAGS'
49677ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49678ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49679ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49680
49681      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49682/* end confdefs.h.  */
49683#include <math.h>
49684int
49685main ()
49686{
49687_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
49688  ;
49689  return 0;
49690}
49691_ACEOF
49692if ac_fn_cxx_try_compile "$LINENO"; then :
49693  glibcxx_cv_func__long_double_trig_use=yes
49694else
49695  glibcxx_cv_func__long_double_trig_use=no
49696fi
49697rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49698      ac_ext=c
49699ac_cpp='$CPP $CPPFLAGS'
49700ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49701ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49702ac_compiler_gnu=$ac_cv_c_compiler_gnu
49703
49704fi
49705
49706    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
49707$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
49708    if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
49709      for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
49710do :
49711  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49712ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49713eval as_val=\$$as_ac_var
49714   if test "x$as_val" = x""yes; then :
49715  cat >>confdefs.h <<_ACEOF
49716#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49717_ACEOF
49718
49719fi
49720done
49721
49722    fi
49723  fi
49724
49725
49726
49727
49728
49729    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
49730$as_echo_n "checking for long double round functions... " >&6; }
49731  if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
49732  $as_echo_n "(cached) " >&6
49733else
49734
49735
49736    ac_ext=cpp
49737ac_cpp='$CXXCPP $CPPFLAGS'
49738ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49739ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49740ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49741
49742    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49743/* end confdefs.h.  */
49744#include <math.h>
49745int
49746main ()
49747{
49748ceill (0); floorl (0);
49749  ;
49750  return 0;
49751}
49752_ACEOF
49753if ac_fn_cxx_try_compile "$LINENO"; then :
49754  glibcxx_cv_func_long_double_round_use=yes
49755else
49756  glibcxx_cv_func_long_double_round_use=no
49757fi
49758rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49759    ac_ext=c
49760ac_cpp='$CPP $CPPFLAGS'
49761ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49762ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49763ac_compiler_gnu=$ac_cv_c_compiler_gnu
49764
49765fi
49766
49767  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
49768$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
49769  if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
49770    for ac_func in ceill floorl
49771do :
49772  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49773ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49774eval as_val=\$$as_ac_var
49775   if test "x$as_val" = x""yes; then :
49776  cat >>confdefs.h <<_ACEOF
49777#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49778_ACEOF
49779
49780fi
49781done
49782
49783  else
49784    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
49785$as_echo_n "checking for _long double round functions... " >&6; }
49786    if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
49787  $as_echo_n "(cached) " >&6
49788else
49789
49790
49791      ac_ext=cpp
49792ac_cpp='$CXXCPP $CPPFLAGS'
49793ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49794ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49795ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49796
49797      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49798/* end confdefs.h.  */
49799#include <math.h>
49800int
49801main ()
49802{
49803_ceill (0); _floorl (0);
49804  ;
49805  return 0;
49806}
49807_ACEOF
49808if ac_fn_cxx_try_compile "$LINENO"; then :
49809  glibcxx_cv_func__long_double_round_use=yes
49810else
49811  glibcxx_cv_func__long_double_round_use=no
49812fi
49813rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49814      ac_ext=c
49815ac_cpp='$CPP $CPPFLAGS'
49816ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49817ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49818ac_compiler_gnu=$ac_cv_c_compiler_gnu
49819
49820fi
49821
49822    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
49823$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
49824    if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
49825      for ac_func in _ceill _floorl
49826do :
49827  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49828ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49829eval as_val=\$$as_ac_var
49830   if test "x$as_val" = x""yes; then :
49831  cat >>confdefs.h <<_ACEOF
49832#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49833_ACEOF
49834
49835fi
49836done
49837
49838    fi
49839  fi
49840
49841
49842
49843
49844
49845
49846  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
49847$as_echo_n "checking for isnanl declaration... " >&6; }
49848  if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
49849    if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
49850  $as_echo_n "(cached) " >&6
49851else
49852
49853
49854      ac_ext=cpp
49855ac_cpp='$CXXCPP $CPPFLAGS'
49856ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49857ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49858ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49859
49860      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49861/* end confdefs.h.  */
49862#include <math.h>
49863		      #ifdef HAVE_IEEEFP_H
49864		      #include <ieeefp.h>
49865		      #endif
49866
49867int
49868main ()
49869{
49870 isnanl(0);
49871  ;
49872  return 0;
49873}
49874_ACEOF
49875if ac_fn_cxx_try_compile "$LINENO"; then :
49876  glibcxx_cv_func_isnanl_use=yes
49877else
49878  glibcxx_cv_func_isnanl_use=no
49879fi
49880rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49881      ac_ext=c
49882ac_cpp='$CPP $CPPFLAGS'
49883ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49884ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49885ac_compiler_gnu=$ac_cv_c_compiler_gnu
49886
49887
49888fi
49889
49890  fi
49891  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
49892$as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
49893
49894  if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
49895    for ac_func in isnanl
49896do :
49897  ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
49898if test "x$ac_cv_func_isnanl" = x""yes; then :
49899  cat >>confdefs.h <<_ACEOF
49900#define HAVE_ISNANL 1
49901_ACEOF
49902
49903fi
49904done
49905
49906  else
49907
49908  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
49909$as_echo_n "checking for _isnanl declaration... " >&6; }
49910  if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
49911    if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
49912  $as_echo_n "(cached) " >&6
49913else
49914
49915
49916      ac_ext=cpp
49917ac_cpp='$CXXCPP $CPPFLAGS'
49918ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49919ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49920ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49921
49922      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49923/* end confdefs.h.  */
49924#include <math.h>
49925		      #ifdef HAVE_IEEEFP_H
49926		      #include <ieeefp.h>
49927		      #endif
49928
49929int
49930main ()
49931{
49932 _isnanl(0);
49933  ;
49934  return 0;
49935}
49936_ACEOF
49937if ac_fn_cxx_try_compile "$LINENO"; then :
49938  glibcxx_cv_func__isnanl_use=yes
49939else
49940  glibcxx_cv_func__isnanl_use=no
49941fi
49942rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49943      ac_ext=c
49944ac_cpp='$CPP $CPPFLAGS'
49945ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49946ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49947ac_compiler_gnu=$ac_cv_c_compiler_gnu
49948
49949
49950fi
49951
49952  fi
49953  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
49954$as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
49955
49956    if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
49957      for ac_func in _isnanl
49958do :
49959  ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
49960if test "x$ac_cv_func__isnanl" = x""yes; then :
49961  cat >>confdefs.h <<_ACEOF
49962#define HAVE__ISNANL 1
49963_ACEOF
49964
49965fi
49966done
49967
49968    fi
49969  fi
49970
49971
49972
49973
49974
49975  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
49976$as_echo_n "checking for isinfl declaration... " >&6; }
49977  if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
49978    if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
49979  $as_echo_n "(cached) " >&6
49980else
49981
49982
49983      ac_ext=cpp
49984ac_cpp='$CXXCPP $CPPFLAGS'
49985ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49986ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49987ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49988
49989      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49990/* end confdefs.h.  */
49991#include <math.h>
49992		      #ifdef HAVE_IEEEFP_H
49993		      #include <ieeefp.h>
49994		      #endif
49995
49996int
49997main ()
49998{
49999 isinfl(0);
50000  ;
50001  return 0;
50002}
50003_ACEOF
50004if ac_fn_cxx_try_compile "$LINENO"; then :
50005  glibcxx_cv_func_isinfl_use=yes
50006else
50007  glibcxx_cv_func_isinfl_use=no
50008fi
50009rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50010      ac_ext=c
50011ac_cpp='$CPP $CPPFLAGS'
50012ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50013ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50014ac_compiler_gnu=$ac_cv_c_compiler_gnu
50015
50016
50017fi
50018
50019  fi
50020  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
50021$as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
50022
50023  if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
50024    for ac_func in isinfl
50025do :
50026  ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
50027if test "x$ac_cv_func_isinfl" = x""yes; then :
50028  cat >>confdefs.h <<_ACEOF
50029#define HAVE_ISINFL 1
50030_ACEOF
50031
50032fi
50033done
50034
50035  else
50036
50037  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
50038$as_echo_n "checking for _isinfl declaration... " >&6; }
50039  if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
50040    if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
50041  $as_echo_n "(cached) " >&6
50042else
50043
50044
50045      ac_ext=cpp
50046ac_cpp='$CXXCPP $CPPFLAGS'
50047ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50048ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50049ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50050
50051      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50052/* end confdefs.h.  */
50053#include <math.h>
50054		      #ifdef HAVE_IEEEFP_H
50055		      #include <ieeefp.h>
50056		      #endif
50057
50058int
50059main ()
50060{
50061 _isinfl(0);
50062  ;
50063  return 0;
50064}
50065_ACEOF
50066if ac_fn_cxx_try_compile "$LINENO"; then :
50067  glibcxx_cv_func__isinfl_use=yes
50068else
50069  glibcxx_cv_func__isinfl_use=no
50070fi
50071rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50072      ac_ext=c
50073ac_cpp='$CPP $CPPFLAGS'
50074ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50075ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50076ac_compiler_gnu=$ac_cv_c_compiler_gnu
50077
50078
50079fi
50080
50081  fi
50082  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
50083$as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
50084
50085    if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
50086      for ac_func in _isinfl
50087do :
50088  ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
50089if test "x$ac_cv_func__isinfl" = x""yes; then :
50090  cat >>confdefs.h <<_ACEOF
50091#define HAVE__ISINFL 1
50092_ACEOF
50093
50094fi
50095done
50096
50097    fi
50098  fi
50099
50100
50101
50102
50103
50104  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
50105$as_echo_n "checking for atan2l declaration... " >&6; }
50106  if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
50107    if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
50108  $as_echo_n "(cached) " >&6
50109else
50110
50111
50112      ac_ext=cpp
50113ac_cpp='$CXXCPP $CPPFLAGS'
50114ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50115ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50116ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50117
50118      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50119/* end confdefs.h.  */
50120#include <math.h>
50121int
50122main ()
50123{
50124 atan2l(0, 0);
50125  ;
50126  return 0;
50127}
50128_ACEOF
50129if ac_fn_cxx_try_compile "$LINENO"; then :
50130  glibcxx_cv_func_atan2l_use=yes
50131else
50132  glibcxx_cv_func_atan2l_use=no
50133fi
50134rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50135      ac_ext=c
50136ac_cpp='$CPP $CPPFLAGS'
50137ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50138ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50139ac_compiler_gnu=$ac_cv_c_compiler_gnu
50140
50141
50142fi
50143
50144  fi
50145  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
50146$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
50147
50148  if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
50149    for ac_func in atan2l
50150do :
50151  ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
50152if test "x$ac_cv_func_atan2l" = x""yes; then :
50153  cat >>confdefs.h <<_ACEOF
50154#define HAVE_ATAN2L 1
50155_ACEOF
50156
50157fi
50158done
50159
50160  else
50161
50162  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
50163$as_echo_n "checking for _atan2l declaration... " >&6; }
50164  if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
50165    if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
50166  $as_echo_n "(cached) " >&6
50167else
50168
50169
50170      ac_ext=cpp
50171ac_cpp='$CXXCPP $CPPFLAGS'
50172ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50173ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50174ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50175
50176      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50177/* end confdefs.h.  */
50178#include <math.h>
50179int
50180main ()
50181{
50182 _atan2l(0, 0);
50183  ;
50184  return 0;
50185}
50186_ACEOF
50187if ac_fn_cxx_try_compile "$LINENO"; then :
50188  glibcxx_cv_func__atan2l_use=yes
50189else
50190  glibcxx_cv_func__atan2l_use=no
50191fi
50192rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50193      ac_ext=c
50194ac_cpp='$CPP $CPPFLAGS'
50195ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50196ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50197ac_compiler_gnu=$ac_cv_c_compiler_gnu
50198
50199
50200fi
50201
50202  fi
50203  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
50204$as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
50205
50206    if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
50207      for ac_func in _atan2l
50208do :
50209  ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
50210if test "x$ac_cv_func__atan2l" = x""yes; then :
50211  cat >>confdefs.h <<_ACEOF
50212#define HAVE__ATAN2L 1
50213_ACEOF
50214
50215fi
50216done
50217
50218    fi
50219  fi
50220
50221
50222
50223
50224
50225  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
50226$as_echo_n "checking for expl declaration... " >&6; }
50227  if test x${glibcxx_cv_func_expl_use+set} != xset; then
50228    if test "${glibcxx_cv_func_expl_use+set}" = set; then :
50229  $as_echo_n "(cached) " >&6
50230else
50231
50232
50233      ac_ext=cpp
50234ac_cpp='$CXXCPP $CPPFLAGS'
50235ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50236ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50237ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50238
50239      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50240/* end confdefs.h.  */
50241#include <math.h>
50242		      #ifdef HAVE_IEEEFP_H
50243		      #include <ieeefp.h>
50244		      #endif
50245
50246int
50247main ()
50248{
50249 expl(0);
50250  ;
50251  return 0;
50252}
50253_ACEOF
50254if ac_fn_cxx_try_compile "$LINENO"; then :
50255  glibcxx_cv_func_expl_use=yes
50256else
50257  glibcxx_cv_func_expl_use=no
50258fi
50259rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50260      ac_ext=c
50261ac_cpp='$CPP $CPPFLAGS'
50262ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50263ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50264ac_compiler_gnu=$ac_cv_c_compiler_gnu
50265
50266
50267fi
50268
50269  fi
50270  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
50271$as_echo "$glibcxx_cv_func_expl_use" >&6; }
50272
50273  if test x$glibcxx_cv_func_expl_use = x"yes"; then
50274    for ac_func in expl
50275do :
50276  ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
50277if test "x$ac_cv_func_expl" = x""yes; then :
50278  cat >>confdefs.h <<_ACEOF
50279#define HAVE_EXPL 1
50280_ACEOF
50281
50282fi
50283done
50284
50285  else
50286
50287  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
50288$as_echo_n "checking for _expl declaration... " >&6; }
50289  if test x${glibcxx_cv_func__expl_use+set} != xset; then
50290    if test "${glibcxx_cv_func__expl_use+set}" = set; then :
50291  $as_echo_n "(cached) " >&6
50292else
50293
50294
50295      ac_ext=cpp
50296ac_cpp='$CXXCPP $CPPFLAGS'
50297ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50298ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50299ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50300
50301      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50302/* end confdefs.h.  */
50303#include <math.h>
50304		      #ifdef HAVE_IEEEFP_H
50305		      #include <ieeefp.h>
50306		      #endif
50307
50308int
50309main ()
50310{
50311 _expl(0);
50312  ;
50313  return 0;
50314}
50315_ACEOF
50316if ac_fn_cxx_try_compile "$LINENO"; then :
50317  glibcxx_cv_func__expl_use=yes
50318else
50319  glibcxx_cv_func__expl_use=no
50320fi
50321rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50322      ac_ext=c
50323ac_cpp='$CPP $CPPFLAGS'
50324ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50325ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50326ac_compiler_gnu=$ac_cv_c_compiler_gnu
50327
50328
50329fi
50330
50331  fi
50332  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
50333$as_echo "$glibcxx_cv_func__expl_use" >&6; }
50334
50335    if test x$glibcxx_cv_func__expl_use = x"yes"; then
50336      for ac_func in _expl
50337do :
50338  ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
50339if test "x$ac_cv_func__expl" = x""yes; then :
50340  cat >>confdefs.h <<_ACEOF
50341#define HAVE__EXPL 1
50342_ACEOF
50343
50344fi
50345done
50346
50347    fi
50348  fi
50349
50350
50351
50352
50353
50354  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
50355$as_echo_n "checking for fabsl declaration... " >&6; }
50356  if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
50357    if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
50358  $as_echo_n "(cached) " >&6
50359else
50360
50361
50362      ac_ext=cpp
50363ac_cpp='$CXXCPP $CPPFLAGS'
50364ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50365ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50366ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50367
50368      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50369/* end confdefs.h.  */
50370#include <math.h>
50371		      #ifdef HAVE_IEEEFP_H
50372		      #include <ieeefp.h>
50373		      #endif
50374
50375int
50376main ()
50377{
50378 fabsl(0);
50379  ;
50380  return 0;
50381}
50382_ACEOF
50383if ac_fn_cxx_try_compile "$LINENO"; then :
50384  glibcxx_cv_func_fabsl_use=yes
50385else
50386  glibcxx_cv_func_fabsl_use=no
50387fi
50388rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50389      ac_ext=c
50390ac_cpp='$CPP $CPPFLAGS'
50391ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50392ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50393ac_compiler_gnu=$ac_cv_c_compiler_gnu
50394
50395
50396fi
50397
50398  fi
50399  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
50400$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
50401
50402  if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
50403    for ac_func in fabsl
50404do :
50405  ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
50406if test "x$ac_cv_func_fabsl" = x""yes; then :
50407  cat >>confdefs.h <<_ACEOF
50408#define HAVE_FABSL 1
50409_ACEOF
50410
50411fi
50412done
50413
50414  else
50415
50416  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
50417$as_echo_n "checking for _fabsl declaration... " >&6; }
50418  if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
50419    if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
50420  $as_echo_n "(cached) " >&6
50421else
50422
50423
50424      ac_ext=cpp
50425ac_cpp='$CXXCPP $CPPFLAGS'
50426ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50427ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50428ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50429
50430      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50431/* end confdefs.h.  */
50432#include <math.h>
50433		      #ifdef HAVE_IEEEFP_H
50434		      #include <ieeefp.h>
50435		      #endif
50436
50437int
50438main ()
50439{
50440 _fabsl(0);
50441  ;
50442  return 0;
50443}
50444_ACEOF
50445if ac_fn_cxx_try_compile "$LINENO"; then :
50446  glibcxx_cv_func__fabsl_use=yes
50447else
50448  glibcxx_cv_func__fabsl_use=no
50449fi
50450rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50451      ac_ext=c
50452ac_cpp='$CPP $CPPFLAGS'
50453ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50454ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50455ac_compiler_gnu=$ac_cv_c_compiler_gnu
50456
50457
50458fi
50459
50460  fi
50461  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
50462$as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
50463
50464    if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
50465      for ac_func in _fabsl
50466do :
50467  ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
50468if test "x$ac_cv_func__fabsl" = x""yes; then :
50469  cat >>confdefs.h <<_ACEOF
50470#define HAVE__FABSL 1
50471_ACEOF
50472
50473fi
50474done
50475
50476    fi
50477  fi
50478
50479
50480
50481
50482
50483  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
50484$as_echo_n "checking for fmodl declaration... " >&6; }
50485  if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
50486    if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
50487  $as_echo_n "(cached) " >&6
50488else
50489
50490
50491      ac_ext=cpp
50492ac_cpp='$CXXCPP $CPPFLAGS'
50493ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50494ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50495ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50496
50497      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50498/* end confdefs.h.  */
50499#include <math.h>
50500int
50501main ()
50502{
50503 fmodl(0, 0);
50504  ;
50505  return 0;
50506}
50507_ACEOF
50508if ac_fn_cxx_try_compile "$LINENO"; then :
50509  glibcxx_cv_func_fmodl_use=yes
50510else
50511  glibcxx_cv_func_fmodl_use=no
50512fi
50513rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50514      ac_ext=c
50515ac_cpp='$CPP $CPPFLAGS'
50516ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50517ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50518ac_compiler_gnu=$ac_cv_c_compiler_gnu
50519
50520
50521fi
50522
50523  fi
50524  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
50525$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
50526
50527  if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
50528    for ac_func in fmodl
50529do :
50530  ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
50531if test "x$ac_cv_func_fmodl" = x""yes; then :
50532  cat >>confdefs.h <<_ACEOF
50533#define HAVE_FMODL 1
50534_ACEOF
50535
50536fi
50537done
50538
50539  else
50540
50541  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
50542$as_echo_n "checking for _fmodl declaration... " >&6; }
50543  if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
50544    if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
50545  $as_echo_n "(cached) " >&6
50546else
50547
50548
50549      ac_ext=cpp
50550ac_cpp='$CXXCPP $CPPFLAGS'
50551ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50552ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50553ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50554
50555      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50556/* end confdefs.h.  */
50557#include <math.h>
50558int
50559main ()
50560{
50561 _fmodl(0, 0);
50562  ;
50563  return 0;
50564}
50565_ACEOF
50566if ac_fn_cxx_try_compile "$LINENO"; then :
50567  glibcxx_cv_func__fmodl_use=yes
50568else
50569  glibcxx_cv_func__fmodl_use=no
50570fi
50571rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50572      ac_ext=c
50573ac_cpp='$CPP $CPPFLAGS'
50574ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50575ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50576ac_compiler_gnu=$ac_cv_c_compiler_gnu
50577
50578
50579fi
50580
50581  fi
50582  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
50583$as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
50584
50585    if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
50586      for ac_func in _fmodl
50587do :
50588  ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
50589if test "x$ac_cv_func__fmodl" = x""yes; then :
50590  cat >>confdefs.h <<_ACEOF
50591#define HAVE__FMODL 1
50592_ACEOF
50593
50594fi
50595done
50596
50597    fi
50598  fi
50599
50600
50601
50602
50603
50604  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
50605$as_echo_n "checking for frexpl declaration... " >&6; }
50606  if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
50607    if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
50608  $as_echo_n "(cached) " >&6
50609else
50610
50611
50612      ac_ext=cpp
50613ac_cpp='$CXXCPP $CPPFLAGS'
50614ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50615ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50616ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50617
50618      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50619/* end confdefs.h.  */
50620#include <math.h>
50621int
50622main ()
50623{
50624 frexpl(0, 0);
50625  ;
50626  return 0;
50627}
50628_ACEOF
50629if ac_fn_cxx_try_compile "$LINENO"; then :
50630  glibcxx_cv_func_frexpl_use=yes
50631else
50632  glibcxx_cv_func_frexpl_use=no
50633fi
50634rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50635      ac_ext=c
50636ac_cpp='$CPP $CPPFLAGS'
50637ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50638ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50639ac_compiler_gnu=$ac_cv_c_compiler_gnu
50640
50641
50642fi
50643
50644  fi
50645  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
50646$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
50647
50648  if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
50649    for ac_func in frexpl
50650do :
50651  ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
50652if test "x$ac_cv_func_frexpl" = x""yes; then :
50653  cat >>confdefs.h <<_ACEOF
50654#define HAVE_FREXPL 1
50655_ACEOF
50656
50657fi
50658done
50659
50660  else
50661
50662  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
50663$as_echo_n "checking for _frexpl declaration... " >&6; }
50664  if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
50665    if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
50666  $as_echo_n "(cached) " >&6
50667else
50668
50669
50670      ac_ext=cpp
50671ac_cpp='$CXXCPP $CPPFLAGS'
50672ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50673ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50674ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50675
50676      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50677/* end confdefs.h.  */
50678#include <math.h>
50679int
50680main ()
50681{
50682 _frexpl(0, 0);
50683  ;
50684  return 0;
50685}
50686_ACEOF
50687if ac_fn_cxx_try_compile "$LINENO"; then :
50688  glibcxx_cv_func__frexpl_use=yes
50689else
50690  glibcxx_cv_func__frexpl_use=no
50691fi
50692rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50693      ac_ext=c
50694ac_cpp='$CPP $CPPFLAGS'
50695ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50696ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50697ac_compiler_gnu=$ac_cv_c_compiler_gnu
50698
50699
50700fi
50701
50702  fi
50703  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
50704$as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
50705
50706    if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
50707      for ac_func in _frexpl
50708do :
50709  ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
50710if test "x$ac_cv_func__frexpl" = x""yes; then :
50711  cat >>confdefs.h <<_ACEOF
50712#define HAVE__FREXPL 1
50713_ACEOF
50714
50715fi
50716done
50717
50718    fi
50719  fi
50720
50721
50722
50723
50724
50725  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
50726$as_echo_n "checking for hypotl declaration... " >&6; }
50727  if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
50728    if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
50729  $as_echo_n "(cached) " >&6
50730else
50731
50732
50733      ac_ext=cpp
50734ac_cpp='$CXXCPP $CPPFLAGS'
50735ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50736ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50737ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50738
50739      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50740/* end confdefs.h.  */
50741#include <math.h>
50742int
50743main ()
50744{
50745 hypotl(0, 0);
50746  ;
50747  return 0;
50748}
50749_ACEOF
50750if ac_fn_cxx_try_compile "$LINENO"; then :
50751  glibcxx_cv_func_hypotl_use=yes
50752else
50753  glibcxx_cv_func_hypotl_use=no
50754fi
50755rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50756      ac_ext=c
50757ac_cpp='$CPP $CPPFLAGS'
50758ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50759ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50760ac_compiler_gnu=$ac_cv_c_compiler_gnu
50761
50762
50763fi
50764
50765  fi
50766  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
50767$as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
50768
50769  if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
50770    for ac_func in hypotl
50771do :
50772  ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
50773if test "x$ac_cv_func_hypotl" = x""yes; then :
50774  cat >>confdefs.h <<_ACEOF
50775#define HAVE_HYPOTL 1
50776_ACEOF
50777
50778fi
50779done
50780
50781  else
50782
50783  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
50784$as_echo_n "checking for _hypotl declaration... " >&6; }
50785  if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
50786    if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
50787  $as_echo_n "(cached) " >&6
50788else
50789
50790
50791      ac_ext=cpp
50792ac_cpp='$CXXCPP $CPPFLAGS'
50793ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50794ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50795ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50796
50797      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50798/* end confdefs.h.  */
50799#include <math.h>
50800int
50801main ()
50802{
50803 _hypotl(0, 0);
50804  ;
50805  return 0;
50806}
50807_ACEOF
50808if ac_fn_cxx_try_compile "$LINENO"; then :
50809  glibcxx_cv_func__hypotl_use=yes
50810else
50811  glibcxx_cv_func__hypotl_use=no
50812fi
50813rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50814      ac_ext=c
50815ac_cpp='$CPP $CPPFLAGS'
50816ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50817ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50818ac_compiler_gnu=$ac_cv_c_compiler_gnu
50819
50820
50821fi
50822
50823  fi
50824  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
50825$as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
50826
50827    if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
50828      for ac_func in _hypotl
50829do :
50830  ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
50831if test "x$ac_cv_func__hypotl" = x""yes; then :
50832  cat >>confdefs.h <<_ACEOF
50833#define HAVE__HYPOTL 1
50834_ACEOF
50835
50836fi
50837done
50838
50839    fi
50840  fi
50841
50842
50843
50844
50845
50846  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
50847$as_echo_n "checking for ldexpl declaration... " >&6; }
50848  if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
50849    if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
50850  $as_echo_n "(cached) " >&6
50851else
50852
50853
50854      ac_ext=cpp
50855ac_cpp='$CXXCPP $CPPFLAGS'
50856ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50857ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50858ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50859
50860      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50861/* end confdefs.h.  */
50862#include <math.h>
50863int
50864main ()
50865{
50866 ldexpl(0, 0);
50867  ;
50868  return 0;
50869}
50870_ACEOF
50871if ac_fn_cxx_try_compile "$LINENO"; then :
50872  glibcxx_cv_func_ldexpl_use=yes
50873else
50874  glibcxx_cv_func_ldexpl_use=no
50875fi
50876rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50877      ac_ext=c
50878ac_cpp='$CPP $CPPFLAGS'
50879ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50880ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50881ac_compiler_gnu=$ac_cv_c_compiler_gnu
50882
50883
50884fi
50885
50886  fi
50887  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
50888$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
50889
50890  if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
50891    for ac_func in ldexpl
50892do :
50893  ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
50894if test "x$ac_cv_func_ldexpl" = x""yes; then :
50895  cat >>confdefs.h <<_ACEOF
50896#define HAVE_LDEXPL 1
50897_ACEOF
50898
50899fi
50900done
50901
50902  else
50903
50904  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
50905$as_echo_n "checking for _ldexpl declaration... " >&6; }
50906  if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
50907    if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
50908  $as_echo_n "(cached) " >&6
50909else
50910
50911
50912      ac_ext=cpp
50913ac_cpp='$CXXCPP $CPPFLAGS'
50914ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50915ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50916ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50917
50918      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50919/* end confdefs.h.  */
50920#include <math.h>
50921int
50922main ()
50923{
50924 _ldexpl(0, 0);
50925  ;
50926  return 0;
50927}
50928_ACEOF
50929if ac_fn_cxx_try_compile "$LINENO"; then :
50930  glibcxx_cv_func__ldexpl_use=yes
50931else
50932  glibcxx_cv_func__ldexpl_use=no
50933fi
50934rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50935      ac_ext=c
50936ac_cpp='$CPP $CPPFLAGS'
50937ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50938ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50939ac_compiler_gnu=$ac_cv_c_compiler_gnu
50940
50941
50942fi
50943
50944  fi
50945  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
50946$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
50947
50948    if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
50949      for ac_func in _ldexpl
50950do :
50951  ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
50952if test "x$ac_cv_func__ldexpl" = x""yes; then :
50953  cat >>confdefs.h <<_ACEOF
50954#define HAVE__LDEXPL 1
50955_ACEOF
50956
50957fi
50958done
50959
50960    fi
50961  fi
50962
50963
50964
50965
50966
50967  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
50968$as_echo_n "checking for logl declaration... " >&6; }
50969  if test x${glibcxx_cv_func_logl_use+set} != xset; then
50970    if test "${glibcxx_cv_func_logl_use+set}" = set; then :
50971  $as_echo_n "(cached) " >&6
50972else
50973
50974
50975      ac_ext=cpp
50976ac_cpp='$CXXCPP $CPPFLAGS'
50977ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50978ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50979ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50980
50981      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50982/* end confdefs.h.  */
50983#include <math.h>
50984		      #ifdef HAVE_IEEEFP_H
50985		      #include <ieeefp.h>
50986		      #endif
50987
50988int
50989main ()
50990{
50991 logl(0);
50992  ;
50993  return 0;
50994}
50995_ACEOF
50996if ac_fn_cxx_try_compile "$LINENO"; then :
50997  glibcxx_cv_func_logl_use=yes
50998else
50999  glibcxx_cv_func_logl_use=no
51000fi
51001rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51002      ac_ext=c
51003ac_cpp='$CPP $CPPFLAGS'
51004ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51005ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51006ac_compiler_gnu=$ac_cv_c_compiler_gnu
51007
51008
51009fi
51010
51011  fi
51012  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
51013$as_echo "$glibcxx_cv_func_logl_use" >&6; }
51014
51015  if test x$glibcxx_cv_func_logl_use = x"yes"; then
51016    for ac_func in logl
51017do :
51018  ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
51019if test "x$ac_cv_func_logl" = x""yes; then :
51020  cat >>confdefs.h <<_ACEOF
51021#define HAVE_LOGL 1
51022_ACEOF
51023
51024fi
51025done
51026
51027  else
51028
51029  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
51030$as_echo_n "checking for _logl declaration... " >&6; }
51031  if test x${glibcxx_cv_func__logl_use+set} != xset; then
51032    if test "${glibcxx_cv_func__logl_use+set}" = set; then :
51033  $as_echo_n "(cached) " >&6
51034else
51035
51036
51037      ac_ext=cpp
51038ac_cpp='$CXXCPP $CPPFLAGS'
51039ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51040ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51041ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51042
51043      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51044/* end confdefs.h.  */
51045#include <math.h>
51046		      #ifdef HAVE_IEEEFP_H
51047		      #include <ieeefp.h>
51048		      #endif
51049
51050int
51051main ()
51052{
51053 _logl(0);
51054  ;
51055  return 0;
51056}
51057_ACEOF
51058if ac_fn_cxx_try_compile "$LINENO"; then :
51059  glibcxx_cv_func__logl_use=yes
51060else
51061  glibcxx_cv_func__logl_use=no
51062fi
51063rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51064      ac_ext=c
51065ac_cpp='$CPP $CPPFLAGS'
51066ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51067ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51068ac_compiler_gnu=$ac_cv_c_compiler_gnu
51069
51070
51071fi
51072
51073  fi
51074  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
51075$as_echo "$glibcxx_cv_func__logl_use" >&6; }
51076
51077    if test x$glibcxx_cv_func__logl_use = x"yes"; then
51078      for ac_func in _logl
51079do :
51080  ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
51081if test "x$ac_cv_func__logl" = x""yes; then :
51082  cat >>confdefs.h <<_ACEOF
51083#define HAVE__LOGL 1
51084_ACEOF
51085
51086fi
51087done
51088
51089    fi
51090  fi
51091
51092
51093
51094
51095
51096  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
51097$as_echo_n "checking for log10l declaration... " >&6; }
51098  if test x${glibcxx_cv_func_log10l_use+set} != xset; then
51099    if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
51100  $as_echo_n "(cached) " >&6
51101else
51102
51103
51104      ac_ext=cpp
51105ac_cpp='$CXXCPP $CPPFLAGS'
51106ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51107ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51108ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51109
51110      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51111/* end confdefs.h.  */
51112#include <math.h>
51113		      #ifdef HAVE_IEEEFP_H
51114		      #include <ieeefp.h>
51115		      #endif
51116
51117int
51118main ()
51119{
51120 log10l(0);
51121  ;
51122  return 0;
51123}
51124_ACEOF
51125if ac_fn_cxx_try_compile "$LINENO"; then :
51126  glibcxx_cv_func_log10l_use=yes
51127else
51128  glibcxx_cv_func_log10l_use=no
51129fi
51130rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51131      ac_ext=c
51132ac_cpp='$CPP $CPPFLAGS'
51133ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51134ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51135ac_compiler_gnu=$ac_cv_c_compiler_gnu
51136
51137
51138fi
51139
51140  fi
51141  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
51142$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
51143
51144  if test x$glibcxx_cv_func_log10l_use = x"yes"; then
51145    for ac_func in log10l
51146do :
51147  ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
51148if test "x$ac_cv_func_log10l" = x""yes; then :
51149  cat >>confdefs.h <<_ACEOF
51150#define HAVE_LOG10L 1
51151_ACEOF
51152
51153fi
51154done
51155
51156  else
51157
51158  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
51159$as_echo_n "checking for _log10l declaration... " >&6; }
51160  if test x${glibcxx_cv_func__log10l_use+set} != xset; then
51161    if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
51162  $as_echo_n "(cached) " >&6
51163else
51164
51165
51166      ac_ext=cpp
51167ac_cpp='$CXXCPP $CPPFLAGS'
51168ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51169ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51170ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51171
51172      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51173/* end confdefs.h.  */
51174#include <math.h>
51175		      #ifdef HAVE_IEEEFP_H
51176		      #include <ieeefp.h>
51177		      #endif
51178
51179int
51180main ()
51181{
51182 _log10l(0);
51183  ;
51184  return 0;
51185}
51186_ACEOF
51187if ac_fn_cxx_try_compile "$LINENO"; then :
51188  glibcxx_cv_func__log10l_use=yes
51189else
51190  glibcxx_cv_func__log10l_use=no
51191fi
51192rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51193      ac_ext=c
51194ac_cpp='$CPP $CPPFLAGS'
51195ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51196ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51197ac_compiler_gnu=$ac_cv_c_compiler_gnu
51198
51199
51200fi
51201
51202  fi
51203  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
51204$as_echo "$glibcxx_cv_func__log10l_use" >&6; }
51205
51206    if test x$glibcxx_cv_func__log10l_use = x"yes"; then
51207      for ac_func in _log10l
51208do :
51209  ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
51210if test "x$ac_cv_func__log10l" = x""yes; then :
51211  cat >>confdefs.h <<_ACEOF
51212#define HAVE__LOG10L 1
51213_ACEOF
51214
51215fi
51216done
51217
51218    fi
51219  fi
51220
51221
51222
51223
51224
51225  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
51226$as_echo_n "checking for modfl declaration... " >&6; }
51227  if test x${glibcxx_cv_func_modfl_use+set} != xset; then
51228    if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
51229  $as_echo_n "(cached) " >&6
51230else
51231
51232
51233      ac_ext=cpp
51234ac_cpp='$CXXCPP $CPPFLAGS'
51235ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51236ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51237ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51238
51239      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51240/* end confdefs.h.  */
51241#include <math.h>
51242int
51243main ()
51244{
51245 modfl(0, 0);
51246  ;
51247  return 0;
51248}
51249_ACEOF
51250if ac_fn_cxx_try_compile "$LINENO"; then :
51251  glibcxx_cv_func_modfl_use=yes
51252else
51253  glibcxx_cv_func_modfl_use=no
51254fi
51255rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51256      ac_ext=c
51257ac_cpp='$CPP $CPPFLAGS'
51258ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51259ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51260ac_compiler_gnu=$ac_cv_c_compiler_gnu
51261
51262
51263fi
51264
51265  fi
51266  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
51267$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
51268
51269  if test x$glibcxx_cv_func_modfl_use = x"yes"; then
51270    for ac_func in modfl
51271do :
51272  ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
51273if test "x$ac_cv_func_modfl" = x""yes; then :
51274  cat >>confdefs.h <<_ACEOF
51275#define HAVE_MODFL 1
51276_ACEOF
51277
51278fi
51279done
51280
51281  else
51282
51283  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
51284$as_echo_n "checking for _modfl declaration... " >&6; }
51285  if test x${glibcxx_cv_func__modfl_use+set} != xset; then
51286    if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
51287  $as_echo_n "(cached) " >&6
51288else
51289
51290
51291      ac_ext=cpp
51292ac_cpp='$CXXCPP $CPPFLAGS'
51293ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51294ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51295ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51296
51297      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51298/* end confdefs.h.  */
51299#include <math.h>
51300int
51301main ()
51302{
51303 _modfl(0, 0);
51304  ;
51305  return 0;
51306}
51307_ACEOF
51308if ac_fn_cxx_try_compile "$LINENO"; then :
51309  glibcxx_cv_func__modfl_use=yes
51310else
51311  glibcxx_cv_func__modfl_use=no
51312fi
51313rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51314      ac_ext=c
51315ac_cpp='$CPP $CPPFLAGS'
51316ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51317ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51318ac_compiler_gnu=$ac_cv_c_compiler_gnu
51319
51320
51321fi
51322
51323  fi
51324  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
51325$as_echo "$glibcxx_cv_func__modfl_use" >&6; }
51326
51327    if test x$glibcxx_cv_func__modfl_use = x"yes"; then
51328      for ac_func in _modfl
51329do :
51330  ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
51331if test "x$ac_cv_func__modfl" = x""yes; then :
51332  cat >>confdefs.h <<_ACEOF
51333#define HAVE__MODFL 1
51334_ACEOF
51335
51336fi
51337done
51338
51339    fi
51340  fi
51341
51342
51343
51344
51345
51346  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
51347$as_echo_n "checking for powl declaration... " >&6; }
51348  if test x${glibcxx_cv_func_powl_use+set} != xset; then
51349    if test "${glibcxx_cv_func_powl_use+set}" = set; then :
51350  $as_echo_n "(cached) " >&6
51351else
51352
51353
51354      ac_ext=cpp
51355ac_cpp='$CXXCPP $CPPFLAGS'
51356ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51357ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51358ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51359
51360      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51361/* end confdefs.h.  */
51362#include <math.h>
51363int
51364main ()
51365{
51366 powl(0, 0);
51367  ;
51368  return 0;
51369}
51370_ACEOF
51371if ac_fn_cxx_try_compile "$LINENO"; then :
51372  glibcxx_cv_func_powl_use=yes
51373else
51374  glibcxx_cv_func_powl_use=no
51375fi
51376rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51377      ac_ext=c
51378ac_cpp='$CPP $CPPFLAGS'
51379ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51380ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51381ac_compiler_gnu=$ac_cv_c_compiler_gnu
51382
51383
51384fi
51385
51386  fi
51387  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
51388$as_echo "$glibcxx_cv_func_powl_use" >&6; }
51389
51390  if test x$glibcxx_cv_func_powl_use = x"yes"; then
51391    for ac_func in powl
51392do :
51393  ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
51394if test "x$ac_cv_func_powl" = x""yes; then :
51395  cat >>confdefs.h <<_ACEOF
51396#define HAVE_POWL 1
51397_ACEOF
51398
51399fi
51400done
51401
51402  else
51403
51404  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
51405$as_echo_n "checking for _powl declaration... " >&6; }
51406  if test x${glibcxx_cv_func__powl_use+set} != xset; then
51407    if test "${glibcxx_cv_func__powl_use+set}" = set; then :
51408  $as_echo_n "(cached) " >&6
51409else
51410
51411
51412      ac_ext=cpp
51413ac_cpp='$CXXCPP $CPPFLAGS'
51414ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51415ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51416ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51417
51418      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51419/* end confdefs.h.  */
51420#include <math.h>
51421int
51422main ()
51423{
51424 _powl(0, 0);
51425  ;
51426  return 0;
51427}
51428_ACEOF
51429if ac_fn_cxx_try_compile "$LINENO"; then :
51430  glibcxx_cv_func__powl_use=yes
51431else
51432  glibcxx_cv_func__powl_use=no
51433fi
51434rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51435      ac_ext=c
51436ac_cpp='$CPP $CPPFLAGS'
51437ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51438ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51439ac_compiler_gnu=$ac_cv_c_compiler_gnu
51440
51441
51442fi
51443
51444  fi
51445  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
51446$as_echo "$glibcxx_cv_func__powl_use" >&6; }
51447
51448    if test x$glibcxx_cv_func__powl_use = x"yes"; then
51449      for ac_func in _powl
51450do :
51451  ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
51452if test "x$ac_cv_func__powl" = x""yes; then :
51453  cat >>confdefs.h <<_ACEOF
51454#define HAVE__POWL 1
51455_ACEOF
51456
51457fi
51458done
51459
51460    fi
51461  fi
51462
51463
51464
51465
51466
51467  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
51468$as_echo_n "checking for sqrtl declaration... " >&6; }
51469  if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
51470    if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
51471  $as_echo_n "(cached) " >&6
51472else
51473
51474
51475      ac_ext=cpp
51476ac_cpp='$CXXCPP $CPPFLAGS'
51477ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51478ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51479ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51480
51481      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51482/* end confdefs.h.  */
51483#include <math.h>
51484		      #ifdef HAVE_IEEEFP_H
51485		      #include <ieeefp.h>
51486		      #endif
51487
51488int
51489main ()
51490{
51491 sqrtl(0);
51492  ;
51493  return 0;
51494}
51495_ACEOF
51496if ac_fn_cxx_try_compile "$LINENO"; then :
51497  glibcxx_cv_func_sqrtl_use=yes
51498else
51499  glibcxx_cv_func_sqrtl_use=no
51500fi
51501rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51502      ac_ext=c
51503ac_cpp='$CPP $CPPFLAGS'
51504ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51505ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51506ac_compiler_gnu=$ac_cv_c_compiler_gnu
51507
51508
51509fi
51510
51511  fi
51512  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
51513$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
51514
51515  if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
51516    for ac_func in sqrtl
51517do :
51518  ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
51519if test "x$ac_cv_func_sqrtl" = x""yes; then :
51520  cat >>confdefs.h <<_ACEOF
51521#define HAVE_SQRTL 1
51522_ACEOF
51523
51524fi
51525done
51526
51527  else
51528
51529  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
51530$as_echo_n "checking for _sqrtl declaration... " >&6; }
51531  if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
51532    if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
51533  $as_echo_n "(cached) " >&6
51534else
51535
51536
51537      ac_ext=cpp
51538ac_cpp='$CXXCPP $CPPFLAGS'
51539ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51540ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51541ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51542
51543      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51544/* end confdefs.h.  */
51545#include <math.h>
51546		      #ifdef HAVE_IEEEFP_H
51547		      #include <ieeefp.h>
51548		      #endif
51549
51550int
51551main ()
51552{
51553 _sqrtl(0);
51554  ;
51555  return 0;
51556}
51557_ACEOF
51558if ac_fn_cxx_try_compile "$LINENO"; then :
51559  glibcxx_cv_func__sqrtl_use=yes
51560else
51561  glibcxx_cv_func__sqrtl_use=no
51562fi
51563rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51564      ac_ext=c
51565ac_cpp='$CPP $CPPFLAGS'
51566ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51567ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51568ac_compiler_gnu=$ac_cv_c_compiler_gnu
51569
51570
51571fi
51572
51573  fi
51574  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
51575$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
51576
51577    if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
51578      for ac_func in _sqrtl
51579do :
51580  ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
51581if test "x$ac_cv_func__sqrtl" = x""yes; then :
51582  cat >>confdefs.h <<_ACEOF
51583#define HAVE__SQRTL 1
51584_ACEOF
51585
51586fi
51587done
51588
51589    fi
51590  fi
51591
51592
51593
51594
51595
51596  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
51597$as_echo_n "checking for sincosl declaration... " >&6; }
51598  if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
51599    if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
51600  $as_echo_n "(cached) " >&6
51601else
51602
51603
51604      ac_ext=cpp
51605ac_cpp='$CXXCPP $CPPFLAGS'
51606ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51607ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51608ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51609
51610      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51611/* end confdefs.h.  */
51612#include <math.h>
51613int
51614main ()
51615{
51616 sincosl(0, 0, 0);
51617  ;
51618  return 0;
51619}
51620_ACEOF
51621if ac_fn_cxx_try_compile "$LINENO"; then :
51622  glibcxx_cv_func_sincosl_use=yes
51623else
51624  glibcxx_cv_func_sincosl_use=no
51625fi
51626rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51627      ac_ext=c
51628ac_cpp='$CPP $CPPFLAGS'
51629ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51630ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51631ac_compiler_gnu=$ac_cv_c_compiler_gnu
51632
51633
51634fi
51635
51636  fi
51637  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
51638$as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
51639
51640  if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
51641    for ac_func in sincosl
51642do :
51643  ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
51644if test "x$ac_cv_func_sincosl" = x""yes; then :
51645  cat >>confdefs.h <<_ACEOF
51646#define HAVE_SINCOSL 1
51647_ACEOF
51648
51649fi
51650done
51651
51652  else
51653
51654  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
51655$as_echo_n "checking for _sincosl declaration... " >&6; }
51656  if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
51657    if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
51658  $as_echo_n "(cached) " >&6
51659else
51660
51661
51662      ac_ext=cpp
51663ac_cpp='$CXXCPP $CPPFLAGS'
51664ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51665ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51666ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51667
51668      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51669/* end confdefs.h.  */
51670#include <math.h>
51671int
51672main ()
51673{
51674 _sincosl(0, 0, 0);
51675  ;
51676  return 0;
51677}
51678_ACEOF
51679if ac_fn_cxx_try_compile "$LINENO"; then :
51680  glibcxx_cv_func__sincosl_use=yes
51681else
51682  glibcxx_cv_func__sincosl_use=no
51683fi
51684rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51685      ac_ext=c
51686ac_cpp='$CPP $CPPFLAGS'
51687ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51688ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51689ac_compiler_gnu=$ac_cv_c_compiler_gnu
51690
51691
51692fi
51693
51694  fi
51695  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
51696$as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
51697
51698    if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
51699      for ac_func in _sincosl
51700do :
51701  ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
51702if test "x$ac_cv_func__sincosl" = x""yes; then :
51703  cat >>confdefs.h <<_ACEOF
51704#define HAVE__SINCOSL 1
51705_ACEOF
51706
51707fi
51708done
51709
51710    fi
51711  fi
51712
51713
51714
51715
51716
51717  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
51718$as_echo_n "checking for finitel declaration... " >&6; }
51719  if test x${glibcxx_cv_func_finitel_use+set} != xset; then
51720    if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
51721  $as_echo_n "(cached) " >&6
51722else
51723
51724
51725      ac_ext=cpp
51726ac_cpp='$CXXCPP $CPPFLAGS'
51727ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51728ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51729ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51730
51731      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51732/* end confdefs.h.  */
51733#include <math.h>
51734		      #ifdef HAVE_IEEEFP_H
51735		      #include <ieeefp.h>
51736		      #endif
51737
51738int
51739main ()
51740{
51741 finitel(0);
51742  ;
51743  return 0;
51744}
51745_ACEOF
51746if ac_fn_cxx_try_compile "$LINENO"; then :
51747  glibcxx_cv_func_finitel_use=yes
51748else
51749  glibcxx_cv_func_finitel_use=no
51750fi
51751rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51752      ac_ext=c
51753ac_cpp='$CPP $CPPFLAGS'
51754ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51755ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51756ac_compiler_gnu=$ac_cv_c_compiler_gnu
51757
51758
51759fi
51760
51761  fi
51762  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
51763$as_echo "$glibcxx_cv_func_finitel_use" >&6; }
51764
51765  if test x$glibcxx_cv_func_finitel_use = x"yes"; then
51766    for ac_func in finitel
51767do :
51768  ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
51769if test "x$ac_cv_func_finitel" = x""yes; then :
51770  cat >>confdefs.h <<_ACEOF
51771#define HAVE_FINITEL 1
51772_ACEOF
51773
51774fi
51775done
51776
51777  else
51778
51779  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
51780$as_echo_n "checking for _finitel declaration... " >&6; }
51781  if test x${glibcxx_cv_func__finitel_use+set} != xset; then
51782    if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
51783  $as_echo_n "(cached) " >&6
51784else
51785
51786
51787      ac_ext=cpp
51788ac_cpp='$CXXCPP $CPPFLAGS'
51789ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51790ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51791ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51792
51793      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51794/* end confdefs.h.  */
51795#include <math.h>
51796		      #ifdef HAVE_IEEEFP_H
51797		      #include <ieeefp.h>
51798		      #endif
51799
51800int
51801main ()
51802{
51803 _finitel(0);
51804  ;
51805  return 0;
51806}
51807_ACEOF
51808if ac_fn_cxx_try_compile "$LINENO"; then :
51809  glibcxx_cv_func__finitel_use=yes
51810else
51811  glibcxx_cv_func__finitel_use=no
51812fi
51813rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51814      ac_ext=c
51815ac_cpp='$CPP $CPPFLAGS'
51816ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51817ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51818ac_compiler_gnu=$ac_cv_c_compiler_gnu
51819
51820
51821fi
51822
51823  fi
51824  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
51825$as_echo "$glibcxx_cv_func__finitel_use" >&6; }
51826
51827    if test x$glibcxx_cv_func__finitel_use = x"yes"; then
51828      for ac_func in _finitel
51829do :
51830  ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
51831if test "x$ac_cv_func__finitel" = x""yes; then :
51832  cat >>confdefs.h <<_ACEOF
51833#define HAVE__FINITEL 1
51834_ACEOF
51835
51836fi
51837done
51838
51839    fi
51840  fi
51841
51842
51843
51844
51845  LIBS="$ac_save_LIBS"
51846  CXXFLAGS="$ac_save_CXXFLAGS"
51847
51848
51849  ac_test_CXXFLAGS="${CXXFLAGS+set}"
51850  ac_save_CXXFLAGS="$CXXFLAGS"
51851  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51852
51853
51854  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
51855$as_echo_n "checking for at_quick_exit declaration... " >&6; }
51856  if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
51857    if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
51858  $as_echo_n "(cached) " >&6
51859else
51860
51861
51862      ac_ext=cpp
51863ac_cpp='$CXXCPP $CPPFLAGS'
51864ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51865ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51866ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51867
51868      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51869/* end confdefs.h.  */
51870#include <stdlib.h>
51871int
51872main ()
51873{
51874 at_quick_exit(0);
51875  ;
51876  return 0;
51877}
51878_ACEOF
51879if ac_fn_cxx_try_compile "$LINENO"; then :
51880  glibcxx_cv_func_at_quick_exit_use=yes
51881else
51882  glibcxx_cv_func_at_quick_exit_use=no
51883fi
51884rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51885      ac_ext=c
51886ac_cpp='$CPP $CPPFLAGS'
51887ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51888ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51889ac_compiler_gnu=$ac_cv_c_compiler_gnu
51890
51891
51892fi
51893
51894  fi
51895  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
51896$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
51897  if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
51898    for ac_func in at_quick_exit
51899do :
51900  ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
51901if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
51902  cat >>confdefs.h <<_ACEOF
51903#define HAVE_AT_QUICK_EXIT 1
51904_ACEOF
51905
51906fi
51907done
51908
51909  fi
51910
51911
51912  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
51913$as_echo_n "checking for quick_exit declaration... " >&6; }
51914  if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
51915    if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
51916  $as_echo_n "(cached) " >&6
51917else
51918
51919
51920      ac_ext=cpp
51921ac_cpp='$CXXCPP $CPPFLAGS'
51922ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51923ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51924ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51925
51926      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51927/* end confdefs.h.  */
51928#include <stdlib.h>
51929int
51930main ()
51931{
51932 quick_exit(0);
51933  ;
51934  return 0;
51935}
51936_ACEOF
51937if ac_fn_cxx_try_compile "$LINENO"; then :
51938  glibcxx_cv_func_quick_exit_use=yes
51939else
51940  glibcxx_cv_func_quick_exit_use=no
51941fi
51942rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51943      ac_ext=c
51944ac_cpp='$CPP $CPPFLAGS'
51945ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51946ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51947ac_compiler_gnu=$ac_cv_c_compiler_gnu
51948
51949
51950fi
51951
51952  fi
51953  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
51954$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
51955  if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
51956    for ac_func in quick_exit
51957do :
51958  ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
51959if test "x$ac_cv_func_quick_exit" = x""yes; then :
51960  cat >>confdefs.h <<_ACEOF
51961#define HAVE_QUICK_EXIT 1
51962_ACEOF
51963
51964fi
51965done
51966
51967  fi
51968
51969
51970  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
51971$as_echo_n "checking for strtold declaration... " >&6; }
51972  if test x${glibcxx_cv_func_strtold_use+set} != xset; then
51973    if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
51974  $as_echo_n "(cached) " >&6
51975else
51976
51977
51978      ac_ext=cpp
51979ac_cpp='$CXXCPP $CPPFLAGS'
51980ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51981ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51982ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51983
51984      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51985/* end confdefs.h.  */
51986#include <stdlib.h>
51987int
51988main ()
51989{
51990 strtold(0, 0);
51991  ;
51992  return 0;
51993}
51994_ACEOF
51995if ac_fn_cxx_try_compile "$LINENO"; then :
51996  glibcxx_cv_func_strtold_use=yes
51997else
51998  glibcxx_cv_func_strtold_use=no
51999fi
52000rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52001      ac_ext=c
52002ac_cpp='$CPP $CPPFLAGS'
52003ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52004ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52005ac_compiler_gnu=$ac_cv_c_compiler_gnu
52006
52007
52008fi
52009
52010  fi
52011  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
52012$as_echo "$glibcxx_cv_func_strtold_use" >&6; }
52013  if test x$glibcxx_cv_func_strtold_use = x"yes"; then
52014    for ac_func in strtold
52015do :
52016  ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
52017if test "x$ac_cv_func_strtold" = x""yes; then :
52018  cat >>confdefs.h <<_ACEOF
52019#define HAVE_STRTOLD 1
52020_ACEOF
52021
52022fi
52023done
52024
52025  fi
52026
52027
52028
52029
52030  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
52031$as_echo_n "checking for strtof declaration... " >&6; }
52032  if test x${glibcxx_cv_func_strtof_use+set} != xset; then
52033    if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
52034  $as_echo_n "(cached) " >&6
52035else
52036
52037
52038      ac_ext=cpp
52039ac_cpp='$CXXCPP $CPPFLAGS'
52040ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52041ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52042ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52043
52044      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52045/* end confdefs.h.  */
52046#include <stdlib.h>
52047int
52048main ()
52049{
52050 strtof(0, 0);
52051  ;
52052  return 0;
52053}
52054_ACEOF
52055if ac_fn_cxx_try_compile "$LINENO"; then :
52056  glibcxx_cv_func_strtof_use=yes
52057else
52058  glibcxx_cv_func_strtof_use=no
52059fi
52060rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52061      ac_ext=c
52062ac_cpp='$CPP $CPPFLAGS'
52063ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52064ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52065ac_compiler_gnu=$ac_cv_c_compiler_gnu
52066
52067
52068fi
52069
52070  fi
52071  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
52072$as_echo "$glibcxx_cv_func_strtof_use" >&6; }
52073  if test x$glibcxx_cv_func_strtof_use = x"yes"; then
52074    for ac_func in strtof
52075do :
52076  ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
52077if test "x$ac_cv_func_strtof" = x""yes; then :
52078  cat >>confdefs.h <<_ACEOF
52079#define HAVE_STRTOF 1
52080_ACEOF
52081
52082fi
52083done
52084
52085  fi
52086
52087
52088
52089
52090  CXXFLAGS="$ac_save_CXXFLAGS"
52091
52092    $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
52093
52094
52095
52096   # Check whether --enable-tls was given.
52097if test "${enable_tls+set}" = set; then :
52098  enableval=$enable_tls;
52099      case "$enableval" in
52100       yes|no) ;;
52101       *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
52102      esac
52103
52104else
52105  enable_tls=yes
52106fi
52107
52108
52109  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
52110$as_echo_n "checking whether the target supports thread-local storage... " >&6; }
52111if test "${gcc_cv_have_tls+set}" = set; then :
52112  $as_echo_n "(cached) " >&6
52113else
52114
52115    if test "$cross_compiling" = yes; then :
52116                if test x$gcc_no_link = xyes; then
52117  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52118fi
52119cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52120/* end confdefs.h.  */
52121__thread int a; int b; int main() { return a = b; }
52122_ACEOF
52123if ac_fn_c_try_link "$LINENO"; then :
52124  chktls_save_LDFLAGS="$LDFLAGS"
52125	  	  	  case $host in
52126	    *-*-linux*)
52127	      LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
52128	      ;;
52129	  esac
52130	  chktls_save_CFLAGS="$CFLAGS"
52131	  CFLAGS="-fPIC $CFLAGS"
52132	  	  if test x$gcc_no_link = xyes; then
52133  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52134fi
52135cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52136/* end confdefs.h.  */
52137int f() { return 0; }
52138_ACEOF
52139if ac_fn_c_try_link "$LINENO"; then :
52140  if test x$gcc_no_link = xyes; then
52141  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52142fi
52143cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52144/* end confdefs.h.  */
52145__thread int a; int b; int f() { return a = b; }
52146_ACEOF
52147if ac_fn_c_try_link "$LINENO"; then :
52148  gcc_cv_have_tls=yes
52149else
52150  gcc_cv_have_tls=no
52151fi
52152rm -f core conftest.err conftest.$ac_objext \
52153    conftest$ac_exeext conftest.$ac_ext
52154else
52155  gcc_cv_have_tls=yes
52156fi
52157rm -f core conftest.err conftest.$ac_objext \
52158    conftest$ac_exeext conftest.$ac_ext
52159	  CFLAGS="$chktls_save_CFLAGS"
52160	  LDFLAGS="$chktls_save_LDFLAGS"
52161else
52162  gcc_cv_have_tls=no
52163fi
52164rm -f core conftest.err conftest.$ac_objext \
52165    conftest$ac_exeext conftest.$ac_ext
52166
52167
52168else
52169  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52170/* end confdefs.h.  */
52171__thread int a; int b; int main() { return a = b; }
52172_ACEOF
52173if ac_fn_c_try_run "$LINENO"; then :
52174                      chktls_save_LDFLAGS="$LDFLAGS"
52175      LDFLAGS="-static $LDFLAGS"
52176      if test x$gcc_no_link = xyes; then
52177  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52178fi
52179cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52180/* end confdefs.h.  */
52181int main() { return 0; }
52182_ACEOF
52183if ac_fn_c_try_link "$LINENO"; then :
52184  if test "$cross_compiling" = yes; then :
52185  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52186$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52187as_fn_error "cannot run test program while cross compiling
52188See \`config.log' for more details." "$LINENO" 5; }
52189else
52190  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52191/* end confdefs.h.  */
52192__thread int a; int b; int main() { return a = b; }
52193_ACEOF
52194if ac_fn_c_try_run "$LINENO"; then :
52195  gcc_cv_have_tls=yes
52196else
52197  gcc_cv_have_tls=no
52198fi
52199rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52200  conftest.$ac_objext conftest.beam conftest.$ac_ext
52201fi
52202
52203else
52204  gcc_cv_have_tls=yes
52205fi
52206rm -f core conftest.err conftest.$ac_objext \
52207    conftest$ac_exeext conftest.$ac_ext
52208      LDFLAGS="$chktls_save_LDFLAGS"
52209      if test $gcc_cv_have_tls = yes; then
52210						chktls_save_CFLAGS="$CFLAGS"
52211	thread_CFLAGS=failed
52212	for flag in '' '-pthread' '-lpthread'; do
52213	  CFLAGS="$flag $chktls_save_CFLAGS"
52214	  if test x$gcc_no_link = xyes; then
52215  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52216fi
52217cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52218/* end confdefs.h.  */
52219#include <pthread.h>
52220		void *g(void *d) { return NULL; }
52221int
52222main ()
52223{
52224pthread_t t; pthread_create(&t,NULL,g,NULL);
52225  ;
52226  return 0;
52227}
52228_ACEOF
52229if ac_fn_c_try_link "$LINENO"; then :
52230  thread_CFLAGS="$flag"
52231fi
52232rm -f core conftest.err conftest.$ac_objext \
52233    conftest$ac_exeext conftest.$ac_ext
52234	  if test "X$thread_CFLAGS" != Xfailed; then
52235	    break
52236	  fi
52237	done
52238	CFLAGS="$chktls_save_CFLAGS"
52239	if test "X$thread_CFLAGS" != Xfailed; then
52240	  CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
52241 	  	  	  	  	  	  if test "$cross_compiling" = yes; then :
52242  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52243$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52244as_fn_error "cannot run test program while cross compiling
52245See \`config.log' for more details." "$LINENO" 5; }
52246else
52247  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52248/* end confdefs.h.  */
52249#include <pthread.h>
52250		__thread int a;
52251		static int *volatile a_in_other_thread;
52252		static void *
52253		thread_func (void *arg)
52254		{
52255		  a_in_other_thread = &a;
52256		  return (void *)0;
52257		}
52258int
52259main ()
52260{
52261pthread_t thread;
52262		void *thread_retval;
52263		int *volatile a_in_main_thread;
52264		a_in_main_thread = &a;
52265		if (pthread_create (&thread, (pthread_attr_t *)0,
52266				    thread_func, (void *)0))
52267		  return 0;
52268		if (pthread_join (thread, &thread_retval))
52269		  return 0;
52270		return (a_in_other_thread == a_in_main_thread);
52271  ;
52272  return 0;
52273}
52274_ACEOF
52275if ac_fn_c_try_run "$LINENO"; then :
52276  gcc_cv_have_tls=yes
52277else
52278  gcc_cv_have_tls=no
52279fi
52280rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52281  conftest.$ac_objext conftest.beam conftest.$ac_ext
52282fi
52283
52284	  CFLAGS="$chktls_save_CFLAGS"
52285	fi
52286      fi
52287else
52288  gcc_cv_have_tls=no
52289fi
52290rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52291  conftest.$ac_objext conftest.beam conftest.$ac_ext
52292fi
52293
52294fi
52295{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
52296$as_echo "$gcc_cv_have_tls" >&6; }
52297  if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
52298
52299$as_echo "#define HAVE_TLS 1" >>confdefs.h
52300
52301  fi
52302
52303
52304
52305
52306
52307          am_save_CPPFLAGS="$CPPFLAGS"
52308
52309  for element in $INCICONV; do
52310    haveit=
52311    for x in $CPPFLAGS; do
52312
52313  acl_save_prefix="$prefix"
52314  prefix="$acl_final_prefix"
52315  acl_save_exec_prefix="$exec_prefix"
52316  exec_prefix="$acl_final_exec_prefix"
52317  eval x=\"$x\"
52318  exec_prefix="$acl_save_exec_prefix"
52319  prefix="$acl_save_prefix"
52320
52321      if test "X$x" = "X$element"; then
52322        haveit=yes
52323        break
52324      fi
52325    done
52326    if test -z "$haveit"; then
52327      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
52328    fi
52329  done
52330
52331
52332  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
52333$as_echo_n "checking for iconv... " >&6; }
52334if test "${am_cv_func_iconv+set}" = set; then :
52335  $as_echo_n "(cached) " >&6
52336else
52337
52338    am_cv_func_iconv="no, consider installing GNU libiconv"
52339    am_cv_lib_iconv=no
52340    if test x$gcc_no_link = xyes; then
52341  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52342fi
52343cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52344/* end confdefs.h.  */
52345#include <stdlib.h>
52346#include <iconv.h>
52347int
52348main ()
52349{
52350iconv_t cd = iconv_open("","");
52351       iconv(cd,NULL,NULL,NULL,NULL);
52352       iconv_close(cd);
52353  ;
52354  return 0;
52355}
52356_ACEOF
52357if ac_fn_c_try_link "$LINENO"; then :
52358  am_cv_func_iconv=yes
52359fi
52360rm -f core conftest.err conftest.$ac_objext \
52361    conftest$ac_exeext conftest.$ac_ext
52362    if test "$am_cv_func_iconv" != yes; then
52363      am_save_LIBS="$LIBS"
52364      LIBS="$LIBS $LIBICONV"
52365      if test x$gcc_no_link = xyes; then
52366  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52367fi
52368cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52369/* end confdefs.h.  */
52370#include <stdlib.h>
52371#include <iconv.h>
52372int
52373main ()
52374{
52375iconv_t cd = iconv_open("","");
52376         iconv(cd,NULL,NULL,NULL,NULL);
52377         iconv_close(cd);
52378  ;
52379  return 0;
52380}
52381_ACEOF
52382if ac_fn_c_try_link "$LINENO"; then :
52383  am_cv_lib_iconv=yes
52384        am_cv_func_iconv=yes
52385fi
52386rm -f core conftest.err conftest.$ac_objext \
52387    conftest$ac_exeext conftest.$ac_ext
52388      LIBS="$am_save_LIBS"
52389    fi
52390
52391fi
52392{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
52393$as_echo "$am_cv_func_iconv" >&6; }
52394  if test "$am_cv_func_iconv" = yes; then
52395
52396$as_echo "#define HAVE_ICONV 1" >>confdefs.h
52397
52398  fi
52399  if test "$am_cv_lib_iconv" = yes; then
52400    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
52401$as_echo_n "checking how to link with libiconv... " >&6; }
52402    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
52403$as_echo "$LIBICONV" >&6; }
52404  else
52405            CPPFLAGS="$am_save_CPPFLAGS"
52406    LIBICONV=
52407    LTLIBICONV=
52408  fi
52409
52410
52411
52412  if test "$am_cv_func_iconv" = yes; then
52413    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
52414$as_echo_n "checking for iconv declaration... " >&6; }
52415    if test "${am_cv_proto_iconv+set}" = set; then :
52416  $as_echo_n "(cached) " >&6
52417else
52418
52419      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52420/* end confdefs.h.  */
52421
52422#include <stdlib.h>
52423#include <iconv.h>
52424extern
52425#ifdef __cplusplus
52426"C"
52427#endif
52428#if defined(__STDC__) || defined(__cplusplus)
52429size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
52430#else
52431size_t iconv();
52432#endif
52433
52434int
52435main ()
52436{
52437
52438  ;
52439  return 0;
52440}
52441_ACEOF
52442if ac_fn_c_try_compile "$LINENO"; then :
52443  am_cv_proto_iconv_arg1=""
52444else
52445  am_cv_proto_iconv_arg1="const"
52446fi
52447rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52448      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);"
52449fi
52450
52451    am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
52452    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
52453         }$am_cv_proto_iconv" >&5
52454$as_echo "${ac_t:-
52455         }$am_cv_proto_iconv" >&6; }
52456
52457cat >>confdefs.h <<_ACEOF
52458#define ICONV_CONST $am_cv_proto_iconv_arg1
52459_ACEOF
52460
52461  fi
52462
52463    ;;
52464  *-mingw32*)
52465
52466  # If we're not using GNU ld, then there's no point in even trying these
52467  # tests.  Check for that first.  We should have already tested for gld
52468  # by now (in libtool), but require it now just to be safe...
52469  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52470  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52471
52472
52473
52474  # The name set by libtool depends on the version of libtool.  Shame on us
52475  # for depending on an impl detail, but c'est la vie.  Older versions used
52476  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52477  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52478  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
52479  # set (hence we're using an older libtool), then set it.
52480  if test x${with_gnu_ld+set} != xset; then
52481    if test x${ac_cv_prog_gnu_ld+set} != xset; then
52482      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
52483      with_gnu_ld=no
52484    else
52485      with_gnu_ld=$ac_cv_prog_gnu_ld
52486    fi
52487  fi
52488
52489  # Start by getting the version number.  I think the libtool test already
52490  # does some of this, but throws away the result.
52491  glibcxx_ld_is_gold=no
52492  if test x"$with_gnu_ld" = x"yes"; then
52493    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52494$as_echo_n "checking for ld version... " >&6; }
52495
52496    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52497      glibcxx_ld_is_gold=yes
52498    fi
52499    ldver=`$LD --version 2>/dev/null |
52500	   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'`
52501
52502    glibcxx_gnu_ld_version=`echo $ldver | \
52503	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52504    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52505$as_echo "$glibcxx_gnu_ld_version" >&6; }
52506  fi
52507
52508  # Set --gc-sections.
52509  glibcxx_have_gc_sections=no
52510  if test "$glibcxx_ld_is_gold" = "yes"; then
52511    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52512      glibcxx_have_gc_sections=yes
52513    fi
52514  else
52515    glibcxx_gcsections_min_ld=21602
52516    if test x"$with_gnu_ld" = x"yes" &&
52517	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52518      glibcxx_have_gc_sections=yes
52519    fi
52520  fi
52521  if test "$glibcxx_have_gc_sections" = "yes"; then
52522    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
52523    # NB: This flag only works reliably after 2.16.1. Configure tests
52524    # for this are difficult, so hard wire a value that should work.
52525
52526    ac_test_CFLAGS="${CFLAGS+set}"
52527    ac_save_CFLAGS="$CFLAGS"
52528    CFLAGS='-Wl,--gc-sections'
52529
52530    # Check for -Wl,--gc-sections
52531    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52532$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52533    if test x$gcc_no_link = xyes; then
52534  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52535fi
52536cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52537/* end confdefs.h.  */
52538 int one(void) { return 1; }
52539     int two(void) { return 2; }
52540
52541int
52542main ()
52543{
52544 two();
52545  ;
52546  return 0;
52547}
52548_ACEOF
52549if ac_fn_c_try_link "$LINENO"; then :
52550  ac_gcsections=yes
52551else
52552  ac_gcsections=no
52553fi
52554rm -f core conftest.err conftest.$ac_objext \
52555    conftest$ac_exeext conftest.$ac_ext
52556    if test "$ac_gcsections" = "yes"; then
52557      rm -f conftest.c
52558      touch conftest.c
52559      if $CC -c conftest.c; then
52560	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52561	   grep "Warning: gc-sections option ignored" > /dev/null; then
52562	  ac_gcsections=no
52563	fi
52564      fi
52565      rm -f conftest.c conftest.o conftest
52566    fi
52567    if test "$ac_gcsections" = "yes"; then
52568      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52569    fi
52570    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52571$as_echo "$ac_gcsections" >&6; }
52572
52573    if test "$ac_test_CFLAGS" = set; then
52574      CFLAGS="$ac_save_CFLAGS"
52575    else
52576      # this is the suspicious part
52577      CFLAGS=''
52578    fi
52579  fi
52580
52581  # Set -z,relro.
52582  # Note this is only for shared objects.
52583  ac_ld_relro=no
52584  if test x"$with_gnu_ld" = x"yes"; then
52585    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52586$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52587    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52588    if test -n "$cxx_z_relo"; then
52589      OPT_LDFLAGS="-Wl,-z,relro"
52590      ac_ld_relro=yes
52591    fi
52592    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52593$as_echo "$ac_ld_relro" >&6; }
52594  fi
52595
52596  # Set linker optimization flags.
52597  if test x"$with_gnu_ld" = x"yes"; then
52598    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52599  fi
52600
52601
52602
52603
52604
52605  ac_test_CXXFLAGS="${CXXFLAGS+set}"
52606  ac_save_CXXFLAGS="$CXXFLAGS"
52607  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52608
52609    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
52610$as_echo_n "checking for sin in -lm... " >&6; }
52611if test "${ac_cv_lib_m_sin+set}" = set; then :
52612  $as_echo_n "(cached) " >&6
52613else
52614  ac_check_lib_save_LIBS=$LIBS
52615LIBS="-lm  $LIBS"
52616if test x$gcc_no_link = xyes; then
52617  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52618fi
52619cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52620/* end confdefs.h.  */
52621
52622/* Override any GCC internal prototype to avoid an error.
52623   Use char because int might match the return type of a GCC
52624   builtin and then its argument prototype would still apply.  */
52625#ifdef __cplusplus
52626extern "C"
52627#endif
52628char sin ();
52629int
52630main ()
52631{
52632return sin ();
52633  ;
52634  return 0;
52635}
52636_ACEOF
52637if ac_fn_c_try_link "$LINENO"; then :
52638  ac_cv_lib_m_sin=yes
52639else
52640  ac_cv_lib_m_sin=no
52641fi
52642rm -f core conftest.err conftest.$ac_objext \
52643    conftest$ac_exeext conftest.$ac_ext
52644LIBS=$ac_check_lib_save_LIBS
52645fi
52646{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
52647$as_echo "$ac_cv_lib_m_sin" >&6; }
52648if test "x$ac_cv_lib_m_sin" = x""yes; then :
52649  libm="-lm"
52650fi
52651
52652  ac_save_LIBS="$LIBS"
52653  LIBS="$LIBS $libm"
52654
52655
52656
52657  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
52658$as_echo_n "checking for isinf declaration... " >&6; }
52659  if test x${glibcxx_cv_func_isinf_use+set} != xset; then
52660    if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
52661  $as_echo_n "(cached) " >&6
52662else
52663
52664
52665      ac_ext=cpp
52666ac_cpp='$CXXCPP $CPPFLAGS'
52667ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52668ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52669ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52670
52671      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52672/* end confdefs.h.  */
52673#include <math.h>
52674		      #ifdef HAVE_IEEEFP_H
52675		      #include <ieeefp.h>
52676		      #endif
52677
52678int
52679main ()
52680{
52681 isinf(0);
52682  ;
52683  return 0;
52684}
52685_ACEOF
52686if ac_fn_cxx_try_compile "$LINENO"; then :
52687  glibcxx_cv_func_isinf_use=yes
52688else
52689  glibcxx_cv_func_isinf_use=no
52690fi
52691rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52692      ac_ext=c
52693ac_cpp='$CPP $CPPFLAGS'
52694ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52695ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52696ac_compiler_gnu=$ac_cv_c_compiler_gnu
52697
52698
52699fi
52700
52701  fi
52702  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
52703$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
52704
52705  if test x$glibcxx_cv_func_isinf_use = x"yes"; then
52706    for ac_func in isinf
52707do :
52708  ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
52709if test "x$ac_cv_func_isinf" = x""yes; then :
52710  cat >>confdefs.h <<_ACEOF
52711#define HAVE_ISINF 1
52712_ACEOF
52713
52714fi
52715done
52716
52717  else
52718
52719  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
52720$as_echo_n "checking for _isinf declaration... " >&6; }
52721  if test x${glibcxx_cv_func__isinf_use+set} != xset; then
52722    if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
52723  $as_echo_n "(cached) " >&6
52724else
52725
52726
52727      ac_ext=cpp
52728ac_cpp='$CXXCPP $CPPFLAGS'
52729ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52730ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52731ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52732
52733      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52734/* end confdefs.h.  */
52735#include <math.h>
52736		      #ifdef HAVE_IEEEFP_H
52737		      #include <ieeefp.h>
52738		      #endif
52739
52740int
52741main ()
52742{
52743 _isinf(0);
52744  ;
52745  return 0;
52746}
52747_ACEOF
52748if ac_fn_cxx_try_compile "$LINENO"; then :
52749  glibcxx_cv_func__isinf_use=yes
52750else
52751  glibcxx_cv_func__isinf_use=no
52752fi
52753rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52754      ac_ext=c
52755ac_cpp='$CPP $CPPFLAGS'
52756ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52757ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52758ac_compiler_gnu=$ac_cv_c_compiler_gnu
52759
52760
52761fi
52762
52763  fi
52764  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
52765$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
52766
52767    if test x$glibcxx_cv_func__isinf_use = x"yes"; then
52768      for ac_func in _isinf
52769do :
52770  ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
52771if test "x$ac_cv_func__isinf" = x""yes; then :
52772  cat >>confdefs.h <<_ACEOF
52773#define HAVE__ISINF 1
52774_ACEOF
52775
52776fi
52777done
52778
52779    fi
52780  fi
52781
52782
52783
52784
52785
52786  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
52787$as_echo_n "checking for isnan declaration... " >&6; }
52788  if test x${glibcxx_cv_func_isnan_use+set} != xset; then
52789    if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
52790  $as_echo_n "(cached) " >&6
52791else
52792
52793
52794      ac_ext=cpp
52795ac_cpp='$CXXCPP $CPPFLAGS'
52796ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52797ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52798ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52799
52800      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52801/* end confdefs.h.  */
52802#include <math.h>
52803		      #ifdef HAVE_IEEEFP_H
52804		      #include <ieeefp.h>
52805		      #endif
52806
52807int
52808main ()
52809{
52810 isnan(0);
52811  ;
52812  return 0;
52813}
52814_ACEOF
52815if ac_fn_cxx_try_compile "$LINENO"; then :
52816  glibcxx_cv_func_isnan_use=yes
52817else
52818  glibcxx_cv_func_isnan_use=no
52819fi
52820rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52821      ac_ext=c
52822ac_cpp='$CPP $CPPFLAGS'
52823ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52824ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52825ac_compiler_gnu=$ac_cv_c_compiler_gnu
52826
52827
52828fi
52829
52830  fi
52831  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
52832$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
52833
52834  if test x$glibcxx_cv_func_isnan_use = x"yes"; then
52835    for ac_func in isnan
52836do :
52837  ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
52838if test "x$ac_cv_func_isnan" = x""yes; then :
52839  cat >>confdefs.h <<_ACEOF
52840#define HAVE_ISNAN 1
52841_ACEOF
52842
52843fi
52844done
52845
52846  else
52847
52848  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
52849$as_echo_n "checking for _isnan declaration... " >&6; }
52850  if test x${glibcxx_cv_func__isnan_use+set} != xset; then
52851    if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
52852  $as_echo_n "(cached) " >&6
52853else
52854
52855
52856      ac_ext=cpp
52857ac_cpp='$CXXCPP $CPPFLAGS'
52858ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52859ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52860ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52861
52862      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52863/* end confdefs.h.  */
52864#include <math.h>
52865		      #ifdef HAVE_IEEEFP_H
52866		      #include <ieeefp.h>
52867		      #endif
52868
52869int
52870main ()
52871{
52872 _isnan(0);
52873  ;
52874  return 0;
52875}
52876_ACEOF
52877if ac_fn_cxx_try_compile "$LINENO"; then :
52878  glibcxx_cv_func__isnan_use=yes
52879else
52880  glibcxx_cv_func__isnan_use=no
52881fi
52882rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52883      ac_ext=c
52884ac_cpp='$CPP $CPPFLAGS'
52885ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52886ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52887ac_compiler_gnu=$ac_cv_c_compiler_gnu
52888
52889
52890fi
52891
52892  fi
52893  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
52894$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
52895
52896    if test x$glibcxx_cv_func__isnan_use = x"yes"; then
52897      for ac_func in _isnan
52898do :
52899  ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
52900if test "x$ac_cv_func__isnan" = x""yes; then :
52901  cat >>confdefs.h <<_ACEOF
52902#define HAVE__ISNAN 1
52903_ACEOF
52904
52905fi
52906done
52907
52908    fi
52909  fi
52910
52911
52912
52913
52914
52915  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
52916$as_echo_n "checking for finite declaration... " >&6; }
52917  if test x${glibcxx_cv_func_finite_use+set} != xset; then
52918    if test "${glibcxx_cv_func_finite_use+set}" = set; then :
52919  $as_echo_n "(cached) " >&6
52920else
52921
52922
52923      ac_ext=cpp
52924ac_cpp='$CXXCPP $CPPFLAGS'
52925ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52926ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52927ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52928
52929      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52930/* end confdefs.h.  */
52931#include <math.h>
52932		      #ifdef HAVE_IEEEFP_H
52933		      #include <ieeefp.h>
52934		      #endif
52935
52936int
52937main ()
52938{
52939 finite(0);
52940  ;
52941  return 0;
52942}
52943_ACEOF
52944if ac_fn_cxx_try_compile "$LINENO"; then :
52945  glibcxx_cv_func_finite_use=yes
52946else
52947  glibcxx_cv_func_finite_use=no
52948fi
52949rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52950      ac_ext=c
52951ac_cpp='$CPP $CPPFLAGS'
52952ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52953ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52954ac_compiler_gnu=$ac_cv_c_compiler_gnu
52955
52956
52957fi
52958
52959  fi
52960  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
52961$as_echo "$glibcxx_cv_func_finite_use" >&6; }
52962
52963  if test x$glibcxx_cv_func_finite_use = x"yes"; then
52964    for ac_func in finite
52965do :
52966  ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
52967if test "x$ac_cv_func_finite" = x""yes; then :
52968  cat >>confdefs.h <<_ACEOF
52969#define HAVE_FINITE 1
52970_ACEOF
52971
52972fi
52973done
52974
52975  else
52976
52977  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
52978$as_echo_n "checking for _finite declaration... " >&6; }
52979  if test x${glibcxx_cv_func__finite_use+set} != xset; then
52980    if test "${glibcxx_cv_func__finite_use+set}" = set; then :
52981  $as_echo_n "(cached) " >&6
52982else
52983
52984
52985      ac_ext=cpp
52986ac_cpp='$CXXCPP $CPPFLAGS'
52987ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52988ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52989ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52990
52991      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52992/* end confdefs.h.  */
52993#include <math.h>
52994		      #ifdef HAVE_IEEEFP_H
52995		      #include <ieeefp.h>
52996		      #endif
52997
52998int
52999main ()
53000{
53001 _finite(0);
53002  ;
53003  return 0;
53004}
53005_ACEOF
53006if ac_fn_cxx_try_compile "$LINENO"; then :
53007  glibcxx_cv_func__finite_use=yes
53008else
53009  glibcxx_cv_func__finite_use=no
53010fi
53011rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53012      ac_ext=c
53013ac_cpp='$CPP $CPPFLAGS'
53014ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53015ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53016ac_compiler_gnu=$ac_cv_c_compiler_gnu
53017
53018
53019fi
53020
53021  fi
53022  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
53023$as_echo "$glibcxx_cv_func__finite_use" >&6; }
53024
53025    if test x$glibcxx_cv_func__finite_use = x"yes"; then
53026      for ac_func in _finite
53027do :
53028  ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
53029if test "x$ac_cv_func__finite" = x""yes; then :
53030  cat >>confdefs.h <<_ACEOF
53031#define HAVE__FINITE 1
53032_ACEOF
53033
53034fi
53035done
53036
53037    fi
53038  fi
53039
53040
53041
53042
53043
53044  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
53045$as_echo_n "checking for sincos declaration... " >&6; }
53046  if test x${glibcxx_cv_func_sincos_use+set} != xset; then
53047    if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
53048  $as_echo_n "(cached) " >&6
53049else
53050
53051
53052      ac_ext=cpp
53053ac_cpp='$CXXCPP $CPPFLAGS'
53054ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53055ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53056ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53057
53058      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53059/* end confdefs.h.  */
53060#include <math.h>
53061int
53062main ()
53063{
53064 sincos(0, 0, 0);
53065  ;
53066  return 0;
53067}
53068_ACEOF
53069if ac_fn_cxx_try_compile "$LINENO"; then :
53070  glibcxx_cv_func_sincos_use=yes
53071else
53072  glibcxx_cv_func_sincos_use=no
53073fi
53074rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53075      ac_ext=c
53076ac_cpp='$CPP $CPPFLAGS'
53077ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53078ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53079ac_compiler_gnu=$ac_cv_c_compiler_gnu
53080
53081
53082fi
53083
53084  fi
53085  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
53086$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
53087
53088  if test x$glibcxx_cv_func_sincos_use = x"yes"; then
53089    for ac_func in sincos
53090do :
53091  ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
53092if test "x$ac_cv_func_sincos" = x""yes; then :
53093  cat >>confdefs.h <<_ACEOF
53094#define HAVE_SINCOS 1
53095_ACEOF
53096
53097fi
53098done
53099
53100  else
53101
53102  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
53103$as_echo_n "checking for _sincos declaration... " >&6; }
53104  if test x${glibcxx_cv_func__sincos_use+set} != xset; then
53105    if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
53106  $as_echo_n "(cached) " >&6
53107else
53108
53109
53110      ac_ext=cpp
53111ac_cpp='$CXXCPP $CPPFLAGS'
53112ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53113ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53114ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53115
53116      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53117/* end confdefs.h.  */
53118#include <math.h>
53119int
53120main ()
53121{
53122 _sincos(0, 0, 0);
53123  ;
53124  return 0;
53125}
53126_ACEOF
53127if ac_fn_cxx_try_compile "$LINENO"; then :
53128  glibcxx_cv_func__sincos_use=yes
53129else
53130  glibcxx_cv_func__sincos_use=no
53131fi
53132rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53133      ac_ext=c
53134ac_cpp='$CPP $CPPFLAGS'
53135ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53136ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53137ac_compiler_gnu=$ac_cv_c_compiler_gnu
53138
53139
53140fi
53141
53142  fi
53143  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
53144$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
53145
53146    if test x$glibcxx_cv_func__sincos_use = x"yes"; then
53147      for ac_func in _sincos
53148do :
53149  ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
53150if test "x$ac_cv_func__sincos" = x""yes; then :
53151  cat >>confdefs.h <<_ACEOF
53152#define HAVE__SINCOS 1
53153_ACEOF
53154
53155fi
53156done
53157
53158    fi
53159  fi
53160
53161
53162
53163
53164
53165  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
53166$as_echo_n "checking for fpclass declaration... " >&6; }
53167  if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
53168    if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
53169  $as_echo_n "(cached) " >&6
53170else
53171
53172
53173      ac_ext=cpp
53174ac_cpp='$CXXCPP $CPPFLAGS'
53175ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53176ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53177ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53178
53179      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53180/* end confdefs.h.  */
53181#include <math.h>
53182		      #ifdef HAVE_IEEEFP_H
53183		      #include <ieeefp.h>
53184		      #endif
53185
53186int
53187main ()
53188{
53189 fpclass(0);
53190  ;
53191  return 0;
53192}
53193_ACEOF
53194if ac_fn_cxx_try_compile "$LINENO"; then :
53195  glibcxx_cv_func_fpclass_use=yes
53196else
53197  glibcxx_cv_func_fpclass_use=no
53198fi
53199rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53200      ac_ext=c
53201ac_cpp='$CPP $CPPFLAGS'
53202ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53203ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53204ac_compiler_gnu=$ac_cv_c_compiler_gnu
53205
53206
53207fi
53208
53209  fi
53210  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
53211$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
53212
53213  if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
53214    for ac_func in fpclass
53215do :
53216  ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
53217if test "x$ac_cv_func_fpclass" = x""yes; then :
53218  cat >>confdefs.h <<_ACEOF
53219#define HAVE_FPCLASS 1
53220_ACEOF
53221
53222fi
53223done
53224
53225  else
53226
53227  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
53228$as_echo_n "checking for _fpclass declaration... " >&6; }
53229  if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
53230    if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
53231  $as_echo_n "(cached) " >&6
53232else
53233
53234
53235      ac_ext=cpp
53236ac_cpp='$CXXCPP $CPPFLAGS'
53237ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53238ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53239ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53240
53241      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53242/* end confdefs.h.  */
53243#include <math.h>
53244		      #ifdef HAVE_IEEEFP_H
53245		      #include <ieeefp.h>
53246		      #endif
53247
53248int
53249main ()
53250{
53251 _fpclass(0);
53252  ;
53253  return 0;
53254}
53255_ACEOF
53256if ac_fn_cxx_try_compile "$LINENO"; then :
53257  glibcxx_cv_func__fpclass_use=yes
53258else
53259  glibcxx_cv_func__fpclass_use=no
53260fi
53261rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53262      ac_ext=c
53263ac_cpp='$CPP $CPPFLAGS'
53264ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53265ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53266ac_compiler_gnu=$ac_cv_c_compiler_gnu
53267
53268
53269fi
53270
53271  fi
53272  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
53273$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
53274
53275    if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
53276      for ac_func in _fpclass
53277do :
53278  ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
53279if test "x$ac_cv_func__fpclass" = x""yes; then :
53280  cat >>confdefs.h <<_ACEOF
53281#define HAVE__FPCLASS 1
53282_ACEOF
53283
53284fi
53285done
53286
53287    fi
53288  fi
53289
53290
53291
53292
53293
53294  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
53295$as_echo_n "checking for qfpclass declaration... " >&6; }
53296  if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
53297    if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
53298  $as_echo_n "(cached) " >&6
53299else
53300
53301
53302      ac_ext=cpp
53303ac_cpp='$CXXCPP $CPPFLAGS'
53304ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53305ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53306ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53307
53308      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53309/* end confdefs.h.  */
53310#include <math.h>
53311		      #ifdef HAVE_IEEEFP_H
53312		      #include <ieeefp.h>
53313		      #endif
53314
53315int
53316main ()
53317{
53318 qfpclass(0);
53319  ;
53320  return 0;
53321}
53322_ACEOF
53323if ac_fn_cxx_try_compile "$LINENO"; then :
53324  glibcxx_cv_func_qfpclass_use=yes
53325else
53326  glibcxx_cv_func_qfpclass_use=no
53327fi
53328rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53329      ac_ext=c
53330ac_cpp='$CPP $CPPFLAGS'
53331ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53332ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53333ac_compiler_gnu=$ac_cv_c_compiler_gnu
53334
53335
53336fi
53337
53338  fi
53339  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
53340$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
53341
53342  if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
53343    for ac_func in qfpclass
53344do :
53345  ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
53346if test "x$ac_cv_func_qfpclass" = x""yes; then :
53347  cat >>confdefs.h <<_ACEOF
53348#define HAVE_QFPCLASS 1
53349_ACEOF
53350
53351fi
53352done
53353
53354  else
53355
53356  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
53357$as_echo_n "checking for _qfpclass declaration... " >&6; }
53358  if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
53359    if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
53360  $as_echo_n "(cached) " >&6
53361else
53362
53363
53364      ac_ext=cpp
53365ac_cpp='$CXXCPP $CPPFLAGS'
53366ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53367ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53368ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53369
53370      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53371/* end confdefs.h.  */
53372#include <math.h>
53373		      #ifdef HAVE_IEEEFP_H
53374		      #include <ieeefp.h>
53375		      #endif
53376
53377int
53378main ()
53379{
53380 _qfpclass(0);
53381  ;
53382  return 0;
53383}
53384_ACEOF
53385if ac_fn_cxx_try_compile "$LINENO"; then :
53386  glibcxx_cv_func__qfpclass_use=yes
53387else
53388  glibcxx_cv_func__qfpclass_use=no
53389fi
53390rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53391      ac_ext=c
53392ac_cpp='$CPP $CPPFLAGS'
53393ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53394ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53395ac_compiler_gnu=$ac_cv_c_compiler_gnu
53396
53397
53398fi
53399
53400  fi
53401  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
53402$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
53403
53404    if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
53405      for ac_func in _qfpclass
53406do :
53407  ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
53408if test "x$ac_cv_func__qfpclass" = x""yes; then :
53409  cat >>confdefs.h <<_ACEOF
53410#define HAVE__QFPCLASS 1
53411_ACEOF
53412
53413fi
53414done
53415
53416    fi
53417  fi
53418
53419
53420
53421
53422
53423  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
53424$as_echo_n "checking for hypot declaration... " >&6; }
53425  if test x${glibcxx_cv_func_hypot_use+set} != xset; then
53426    if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
53427  $as_echo_n "(cached) " >&6
53428else
53429
53430
53431      ac_ext=cpp
53432ac_cpp='$CXXCPP $CPPFLAGS'
53433ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53434ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53435ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53436
53437      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53438/* end confdefs.h.  */
53439#include <math.h>
53440int
53441main ()
53442{
53443 hypot(0, 0);
53444  ;
53445  return 0;
53446}
53447_ACEOF
53448if ac_fn_cxx_try_compile "$LINENO"; then :
53449  glibcxx_cv_func_hypot_use=yes
53450else
53451  glibcxx_cv_func_hypot_use=no
53452fi
53453rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53454      ac_ext=c
53455ac_cpp='$CPP $CPPFLAGS'
53456ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53457ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53458ac_compiler_gnu=$ac_cv_c_compiler_gnu
53459
53460
53461fi
53462
53463  fi
53464  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
53465$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
53466
53467  if test x$glibcxx_cv_func_hypot_use = x"yes"; then
53468    for ac_func in hypot
53469do :
53470  ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
53471if test "x$ac_cv_func_hypot" = x""yes; then :
53472  cat >>confdefs.h <<_ACEOF
53473#define HAVE_HYPOT 1
53474_ACEOF
53475
53476fi
53477done
53478
53479  else
53480
53481  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
53482$as_echo_n "checking for _hypot declaration... " >&6; }
53483  if test x${glibcxx_cv_func__hypot_use+set} != xset; then
53484    if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
53485  $as_echo_n "(cached) " >&6
53486else
53487
53488
53489      ac_ext=cpp
53490ac_cpp='$CXXCPP $CPPFLAGS'
53491ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53492ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53493ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53494
53495      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53496/* end confdefs.h.  */
53497#include <math.h>
53498int
53499main ()
53500{
53501 _hypot(0, 0);
53502  ;
53503  return 0;
53504}
53505_ACEOF
53506if ac_fn_cxx_try_compile "$LINENO"; then :
53507  glibcxx_cv_func__hypot_use=yes
53508else
53509  glibcxx_cv_func__hypot_use=no
53510fi
53511rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53512      ac_ext=c
53513ac_cpp='$CPP $CPPFLAGS'
53514ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53515ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53516ac_compiler_gnu=$ac_cv_c_compiler_gnu
53517
53518
53519fi
53520
53521  fi
53522  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
53523$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
53524
53525    if test x$glibcxx_cv_func__hypot_use = x"yes"; then
53526      for ac_func in _hypot
53527do :
53528  ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
53529if test "x$ac_cv_func__hypot" = x""yes; then :
53530  cat >>confdefs.h <<_ACEOF
53531#define HAVE__HYPOT 1
53532_ACEOF
53533
53534fi
53535done
53536
53537    fi
53538  fi
53539
53540
53541
53542
53543
53544    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
53545$as_echo_n "checking for float trig functions... " >&6; }
53546  if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
53547  $as_echo_n "(cached) " >&6
53548else
53549
53550
53551    ac_ext=cpp
53552ac_cpp='$CXXCPP $CPPFLAGS'
53553ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53554ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53555ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53556
53557    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53558/* end confdefs.h.  */
53559#include <math.h>
53560int
53561main ()
53562{
53563acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
53564  ;
53565  return 0;
53566}
53567_ACEOF
53568if ac_fn_cxx_try_compile "$LINENO"; then :
53569  glibcxx_cv_func_float_trig_use=yes
53570else
53571  glibcxx_cv_func_float_trig_use=no
53572fi
53573rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53574    ac_ext=c
53575ac_cpp='$CPP $CPPFLAGS'
53576ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53577ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53578ac_compiler_gnu=$ac_cv_c_compiler_gnu
53579
53580fi
53581
53582  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
53583$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
53584  if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
53585    for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
53586do :
53587  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53588ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53589eval as_val=\$$as_ac_var
53590   if test "x$as_val" = x""yes; then :
53591  cat >>confdefs.h <<_ACEOF
53592#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53593_ACEOF
53594
53595fi
53596done
53597
53598  else
53599    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
53600$as_echo_n "checking for _float trig functions... " >&6; }
53601    if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
53602  $as_echo_n "(cached) " >&6
53603else
53604
53605
53606      ac_ext=cpp
53607ac_cpp='$CXXCPP $CPPFLAGS'
53608ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53609ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53610ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53611
53612      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53613/* end confdefs.h.  */
53614#include <math.h>
53615int
53616main ()
53617{
53618_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
53619  ;
53620  return 0;
53621}
53622_ACEOF
53623if ac_fn_cxx_try_compile "$LINENO"; then :
53624  glibcxx_cv_func__float_trig_use=yes
53625else
53626  glibcxx_cv_func__float_trig_use=no
53627fi
53628rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53629      ac_ext=c
53630ac_cpp='$CPP $CPPFLAGS'
53631ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53632ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53633ac_compiler_gnu=$ac_cv_c_compiler_gnu
53634
53635fi
53636
53637    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
53638$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
53639    if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
53640      for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
53641do :
53642  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53643ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53644eval as_val=\$$as_ac_var
53645   if test "x$as_val" = x""yes; then :
53646  cat >>confdefs.h <<_ACEOF
53647#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53648_ACEOF
53649
53650fi
53651done
53652
53653    fi
53654  fi
53655
53656
53657
53658
53659
53660    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
53661$as_echo_n "checking for float round functions... " >&6; }
53662  if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
53663  $as_echo_n "(cached) " >&6
53664else
53665
53666
53667    ac_ext=cpp
53668ac_cpp='$CXXCPP $CPPFLAGS'
53669ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53670ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53671ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53672
53673    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53674/* end confdefs.h.  */
53675#include <math.h>
53676int
53677main ()
53678{
53679ceilf (0); floorf (0);
53680  ;
53681  return 0;
53682}
53683_ACEOF
53684if ac_fn_cxx_try_compile "$LINENO"; then :
53685  glibcxx_cv_func_float_round_use=yes
53686else
53687  glibcxx_cv_func_float_round_use=no
53688fi
53689rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53690    ac_ext=c
53691ac_cpp='$CPP $CPPFLAGS'
53692ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53693ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53694ac_compiler_gnu=$ac_cv_c_compiler_gnu
53695
53696fi
53697
53698  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
53699$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
53700  if test x$glibcxx_cv_func_float_round_use = x"yes"; then
53701    for ac_func in ceilf floorf
53702do :
53703  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53704ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53705eval as_val=\$$as_ac_var
53706   if test "x$as_val" = x""yes; then :
53707  cat >>confdefs.h <<_ACEOF
53708#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53709_ACEOF
53710
53711fi
53712done
53713
53714  else
53715    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
53716$as_echo_n "checking for _float round functions... " >&6; }
53717    if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
53718  $as_echo_n "(cached) " >&6
53719else
53720
53721
53722      ac_ext=cpp
53723ac_cpp='$CXXCPP $CPPFLAGS'
53724ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53725ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53726ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53727
53728      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53729/* end confdefs.h.  */
53730#include <math.h>
53731int
53732main ()
53733{
53734_ceilf (0); _floorf (0);
53735  ;
53736  return 0;
53737}
53738_ACEOF
53739if ac_fn_cxx_try_compile "$LINENO"; then :
53740  glibcxx_cv_func__float_round_use=yes
53741else
53742  glibcxx_cv_func__float_round_use=no
53743fi
53744rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53745      ac_ext=c
53746ac_cpp='$CPP $CPPFLAGS'
53747ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53748ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53749ac_compiler_gnu=$ac_cv_c_compiler_gnu
53750
53751fi
53752
53753    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
53754$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
53755    if test x$glibcxx_cv_func__float_round_use = x"yes"; then
53756      for ac_func in _ceilf _floorf
53757do :
53758  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53759ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53760eval as_val=\$$as_ac_var
53761   if test "x$as_val" = x""yes; then :
53762  cat >>confdefs.h <<_ACEOF
53763#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53764_ACEOF
53765
53766fi
53767done
53768
53769    fi
53770  fi
53771
53772
53773
53774
53775
53776
53777  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
53778$as_echo_n "checking for expf declaration... " >&6; }
53779  if test x${glibcxx_cv_func_expf_use+set} != xset; then
53780    if test "${glibcxx_cv_func_expf_use+set}" = set; then :
53781  $as_echo_n "(cached) " >&6
53782else
53783
53784
53785      ac_ext=cpp
53786ac_cpp='$CXXCPP $CPPFLAGS'
53787ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53788ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53789ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53790
53791      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53792/* end confdefs.h.  */
53793#include <math.h>
53794		      #ifdef HAVE_IEEEFP_H
53795		      #include <ieeefp.h>
53796		      #endif
53797
53798int
53799main ()
53800{
53801 expf(0);
53802  ;
53803  return 0;
53804}
53805_ACEOF
53806if ac_fn_cxx_try_compile "$LINENO"; then :
53807  glibcxx_cv_func_expf_use=yes
53808else
53809  glibcxx_cv_func_expf_use=no
53810fi
53811rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53812      ac_ext=c
53813ac_cpp='$CPP $CPPFLAGS'
53814ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53815ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53816ac_compiler_gnu=$ac_cv_c_compiler_gnu
53817
53818
53819fi
53820
53821  fi
53822  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
53823$as_echo "$glibcxx_cv_func_expf_use" >&6; }
53824
53825  if test x$glibcxx_cv_func_expf_use = x"yes"; then
53826    for ac_func in expf
53827do :
53828  ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
53829if test "x$ac_cv_func_expf" = x""yes; then :
53830  cat >>confdefs.h <<_ACEOF
53831#define HAVE_EXPF 1
53832_ACEOF
53833
53834fi
53835done
53836
53837  else
53838
53839  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
53840$as_echo_n "checking for _expf declaration... " >&6; }
53841  if test x${glibcxx_cv_func__expf_use+set} != xset; then
53842    if test "${glibcxx_cv_func__expf_use+set}" = set; then :
53843  $as_echo_n "(cached) " >&6
53844else
53845
53846
53847      ac_ext=cpp
53848ac_cpp='$CXXCPP $CPPFLAGS'
53849ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53850ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53851ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53852
53853      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53854/* end confdefs.h.  */
53855#include <math.h>
53856		      #ifdef HAVE_IEEEFP_H
53857		      #include <ieeefp.h>
53858		      #endif
53859
53860int
53861main ()
53862{
53863 _expf(0);
53864  ;
53865  return 0;
53866}
53867_ACEOF
53868if ac_fn_cxx_try_compile "$LINENO"; then :
53869  glibcxx_cv_func__expf_use=yes
53870else
53871  glibcxx_cv_func__expf_use=no
53872fi
53873rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53874      ac_ext=c
53875ac_cpp='$CPP $CPPFLAGS'
53876ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53877ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53878ac_compiler_gnu=$ac_cv_c_compiler_gnu
53879
53880
53881fi
53882
53883  fi
53884  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
53885$as_echo "$glibcxx_cv_func__expf_use" >&6; }
53886
53887    if test x$glibcxx_cv_func__expf_use = x"yes"; then
53888      for ac_func in _expf
53889do :
53890  ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
53891if test "x$ac_cv_func__expf" = x""yes; then :
53892  cat >>confdefs.h <<_ACEOF
53893#define HAVE__EXPF 1
53894_ACEOF
53895
53896fi
53897done
53898
53899    fi
53900  fi
53901
53902
53903
53904
53905
53906  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
53907$as_echo_n "checking for isnanf declaration... " >&6; }
53908  if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
53909    if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
53910  $as_echo_n "(cached) " >&6
53911else
53912
53913
53914      ac_ext=cpp
53915ac_cpp='$CXXCPP $CPPFLAGS'
53916ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53917ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53918ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53919
53920      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53921/* end confdefs.h.  */
53922#include <math.h>
53923		      #ifdef HAVE_IEEEFP_H
53924		      #include <ieeefp.h>
53925		      #endif
53926
53927int
53928main ()
53929{
53930 isnanf(0);
53931  ;
53932  return 0;
53933}
53934_ACEOF
53935if ac_fn_cxx_try_compile "$LINENO"; then :
53936  glibcxx_cv_func_isnanf_use=yes
53937else
53938  glibcxx_cv_func_isnanf_use=no
53939fi
53940rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53941      ac_ext=c
53942ac_cpp='$CPP $CPPFLAGS'
53943ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53944ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53945ac_compiler_gnu=$ac_cv_c_compiler_gnu
53946
53947
53948fi
53949
53950  fi
53951  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
53952$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
53953
53954  if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
53955    for ac_func in isnanf
53956do :
53957  ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
53958if test "x$ac_cv_func_isnanf" = x""yes; then :
53959  cat >>confdefs.h <<_ACEOF
53960#define HAVE_ISNANF 1
53961_ACEOF
53962
53963fi
53964done
53965
53966  else
53967
53968  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
53969$as_echo_n "checking for _isnanf declaration... " >&6; }
53970  if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
53971    if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
53972  $as_echo_n "(cached) " >&6
53973else
53974
53975
53976      ac_ext=cpp
53977ac_cpp='$CXXCPP $CPPFLAGS'
53978ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53979ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53980ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53981
53982      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53983/* end confdefs.h.  */
53984#include <math.h>
53985		      #ifdef HAVE_IEEEFP_H
53986		      #include <ieeefp.h>
53987		      #endif
53988
53989int
53990main ()
53991{
53992 _isnanf(0);
53993  ;
53994  return 0;
53995}
53996_ACEOF
53997if ac_fn_cxx_try_compile "$LINENO"; then :
53998  glibcxx_cv_func__isnanf_use=yes
53999else
54000  glibcxx_cv_func__isnanf_use=no
54001fi
54002rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54003      ac_ext=c
54004ac_cpp='$CPP $CPPFLAGS'
54005ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54006ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54007ac_compiler_gnu=$ac_cv_c_compiler_gnu
54008
54009
54010fi
54011
54012  fi
54013  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
54014$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
54015
54016    if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
54017      for ac_func in _isnanf
54018do :
54019  ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
54020if test "x$ac_cv_func__isnanf" = x""yes; then :
54021  cat >>confdefs.h <<_ACEOF
54022#define HAVE__ISNANF 1
54023_ACEOF
54024
54025fi
54026done
54027
54028    fi
54029  fi
54030
54031
54032
54033
54034
54035  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
54036$as_echo_n "checking for isinff declaration... " >&6; }
54037  if test x${glibcxx_cv_func_isinff_use+set} != xset; then
54038    if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
54039  $as_echo_n "(cached) " >&6
54040else
54041
54042
54043      ac_ext=cpp
54044ac_cpp='$CXXCPP $CPPFLAGS'
54045ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54046ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54047ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54048
54049      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54050/* end confdefs.h.  */
54051#include <math.h>
54052		      #ifdef HAVE_IEEEFP_H
54053		      #include <ieeefp.h>
54054		      #endif
54055
54056int
54057main ()
54058{
54059 isinff(0);
54060  ;
54061  return 0;
54062}
54063_ACEOF
54064if ac_fn_cxx_try_compile "$LINENO"; then :
54065  glibcxx_cv_func_isinff_use=yes
54066else
54067  glibcxx_cv_func_isinff_use=no
54068fi
54069rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54070      ac_ext=c
54071ac_cpp='$CPP $CPPFLAGS'
54072ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54073ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54074ac_compiler_gnu=$ac_cv_c_compiler_gnu
54075
54076
54077fi
54078
54079  fi
54080  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
54081$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
54082
54083  if test x$glibcxx_cv_func_isinff_use = x"yes"; then
54084    for ac_func in isinff
54085do :
54086  ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
54087if test "x$ac_cv_func_isinff" = x""yes; then :
54088  cat >>confdefs.h <<_ACEOF
54089#define HAVE_ISINFF 1
54090_ACEOF
54091
54092fi
54093done
54094
54095  else
54096
54097  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
54098$as_echo_n "checking for _isinff declaration... " >&6; }
54099  if test x${glibcxx_cv_func__isinff_use+set} != xset; then
54100    if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
54101  $as_echo_n "(cached) " >&6
54102else
54103
54104
54105      ac_ext=cpp
54106ac_cpp='$CXXCPP $CPPFLAGS'
54107ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54108ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54109ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54110
54111      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54112/* end confdefs.h.  */
54113#include <math.h>
54114		      #ifdef HAVE_IEEEFP_H
54115		      #include <ieeefp.h>
54116		      #endif
54117
54118int
54119main ()
54120{
54121 _isinff(0);
54122  ;
54123  return 0;
54124}
54125_ACEOF
54126if ac_fn_cxx_try_compile "$LINENO"; then :
54127  glibcxx_cv_func__isinff_use=yes
54128else
54129  glibcxx_cv_func__isinff_use=no
54130fi
54131rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54132      ac_ext=c
54133ac_cpp='$CPP $CPPFLAGS'
54134ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54135ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54136ac_compiler_gnu=$ac_cv_c_compiler_gnu
54137
54138
54139fi
54140
54141  fi
54142  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
54143$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
54144
54145    if test x$glibcxx_cv_func__isinff_use = x"yes"; then
54146      for ac_func in _isinff
54147do :
54148  ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
54149if test "x$ac_cv_func__isinff" = x""yes; then :
54150  cat >>confdefs.h <<_ACEOF
54151#define HAVE__ISINFF 1
54152_ACEOF
54153
54154fi
54155done
54156
54157    fi
54158  fi
54159
54160
54161
54162
54163
54164  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
54165$as_echo_n "checking for atan2f declaration... " >&6; }
54166  if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
54167    if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
54168  $as_echo_n "(cached) " >&6
54169else
54170
54171
54172      ac_ext=cpp
54173ac_cpp='$CXXCPP $CPPFLAGS'
54174ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54175ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54176ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54177
54178      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54179/* end confdefs.h.  */
54180#include <math.h>
54181int
54182main ()
54183{
54184 atan2f(0, 0);
54185  ;
54186  return 0;
54187}
54188_ACEOF
54189if ac_fn_cxx_try_compile "$LINENO"; then :
54190  glibcxx_cv_func_atan2f_use=yes
54191else
54192  glibcxx_cv_func_atan2f_use=no
54193fi
54194rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54195      ac_ext=c
54196ac_cpp='$CPP $CPPFLAGS'
54197ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54198ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54199ac_compiler_gnu=$ac_cv_c_compiler_gnu
54200
54201
54202fi
54203
54204  fi
54205  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
54206$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
54207
54208  if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
54209    for ac_func in atan2f
54210do :
54211  ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
54212if test "x$ac_cv_func_atan2f" = x""yes; then :
54213  cat >>confdefs.h <<_ACEOF
54214#define HAVE_ATAN2F 1
54215_ACEOF
54216
54217fi
54218done
54219
54220  else
54221
54222  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
54223$as_echo_n "checking for _atan2f declaration... " >&6; }
54224  if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
54225    if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
54226  $as_echo_n "(cached) " >&6
54227else
54228
54229
54230      ac_ext=cpp
54231ac_cpp='$CXXCPP $CPPFLAGS'
54232ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54233ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54234ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54235
54236      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54237/* end confdefs.h.  */
54238#include <math.h>
54239int
54240main ()
54241{
54242 _atan2f(0, 0);
54243  ;
54244  return 0;
54245}
54246_ACEOF
54247if ac_fn_cxx_try_compile "$LINENO"; then :
54248  glibcxx_cv_func__atan2f_use=yes
54249else
54250  glibcxx_cv_func__atan2f_use=no
54251fi
54252rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54253      ac_ext=c
54254ac_cpp='$CPP $CPPFLAGS'
54255ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54256ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54257ac_compiler_gnu=$ac_cv_c_compiler_gnu
54258
54259
54260fi
54261
54262  fi
54263  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
54264$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
54265
54266    if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
54267      for ac_func in _atan2f
54268do :
54269  ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
54270if test "x$ac_cv_func__atan2f" = x""yes; then :
54271  cat >>confdefs.h <<_ACEOF
54272#define HAVE__ATAN2F 1
54273_ACEOF
54274
54275fi
54276done
54277
54278    fi
54279  fi
54280
54281
54282
54283
54284
54285  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
54286$as_echo_n "checking for fabsf declaration... " >&6; }
54287  if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
54288    if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
54289  $as_echo_n "(cached) " >&6
54290else
54291
54292
54293      ac_ext=cpp
54294ac_cpp='$CXXCPP $CPPFLAGS'
54295ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54296ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54297ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54298
54299      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54300/* end confdefs.h.  */
54301#include <math.h>
54302		      #ifdef HAVE_IEEEFP_H
54303		      #include <ieeefp.h>
54304		      #endif
54305
54306int
54307main ()
54308{
54309 fabsf(0);
54310  ;
54311  return 0;
54312}
54313_ACEOF
54314if ac_fn_cxx_try_compile "$LINENO"; then :
54315  glibcxx_cv_func_fabsf_use=yes
54316else
54317  glibcxx_cv_func_fabsf_use=no
54318fi
54319rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54320      ac_ext=c
54321ac_cpp='$CPP $CPPFLAGS'
54322ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54323ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54324ac_compiler_gnu=$ac_cv_c_compiler_gnu
54325
54326
54327fi
54328
54329  fi
54330  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
54331$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
54332
54333  if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
54334    for ac_func in fabsf
54335do :
54336  ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
54337if test "x$ac_cv_func_fabsf" = x""yes; then :
54338  cat >>confdefs.h <<_ACEOF
54339#define HAVE_FABSF 1
54340_ACEOF
54341
54342fi
54343done
54344
54345  else
54346
54347  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
54348$as_echo_n "checking for _fabsf declaration... " >&6; }
54349  if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
54350    if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
54351  $as_echo_n "(cached) " >&6
54352else
54353
54354
54355      ac_ext=cpp
54356ac_cpp='$CXXCPP $CPPFLAGS'
54357ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54358ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54359ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54360
54361      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54362/* end confdefs.h.  */
54363#include <math.h>
54364		      #ifdef HAVE_IEEEFP_H
54365		      #include <ieeefp.h>
54366		      #endif
54367
54368int
54369main ()
54370{
54371 _fabsf(0);
54372  ;
54373  return 0;
54374}
54375_ACEOF
54376if ac_fn_cxx_try_compile "$LINENO"; then :
54377  glibcxx_cv_func__fabsf_use=yes
54378else
54379  glibcxx_cv_func__fabsf_use=no
54380fi
54381rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54382      ac_ext=c
54383ac_cpp='$CPP $CPPFLAGS'
54384ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54385ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54386ac_compiler_gnu=$ac_cv_c_compiler_gnu
54387
54388
54389fi
54390
54391  fi
54392  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
54393$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
54394
54395    if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
54396      for ac_func in _fabsf
54397do :
54398  ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
54399if test "x$ac_cv_func__fabsf" = x""yes; then :
54400  cat >>confdefs.h <<_ACEOF
54401#define HAVE__FABSF 1
54402_ACEOF
54403
54404fi
54405done
54406
54407    fi
54408  fi
54409
54410
54411
54412
54413
54414  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
54415$as_echo_n "checking for fmodf declaration... " >&6; }
54416  if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
54417    if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
54418  $as_echo_n "(cached) " >&6
54419else
54420
54421
54422      ac_ext=cpp
54423ac_cpp='$CXXCPP $CPPFLAGS'
54424ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54425ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54426ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54427
54428      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54429/* end confdefs.h.  */
54430#include <math.h>
54431int
54432main ()
54433{
54434 fmodf(0, 0);
54435  ;
54436  return 0;
54437}
54438_ACEOF
54439if ac_fn_cxx_try_compile "$LINENO"; then :
54440  glibcxx_cv_func_fmodf_use=yes
54441else
54442  glibcxx_cv_func_fmodf_use=no
54443fi
54444rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54445      ac_ext=c
54446ac_cpp='$CPP $CPPFLAGS'
54447ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54448ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54449ac_compiler_gnu=$ac_cv_c_compiler_gnu
54450
54451
54452fi
54453
54454  fi
54455  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
54456$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
54457
54458  if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
54459    for ac_func in fmodf
54460do :
54461  ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
54462if test "x$ac_cv_func_fmodf" = x""yes; then :
54463  cat >>confdefs.h <<_ACEOF
54464#define HAVE_FMODF 1
54465_ACEOF
54466
54467fi
54468done
54469
54470  else
54471
54472  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
54473$as_echo_n "checking for _fmodf declaration... " >&6; }
54474  if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
54475    if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
54476  $as_echo_n "(cached) " >&6
54477else
54478
54479
54480      ac_ext=cpp
54481ac_cpp='$CXXCPP $CPPFLAGS'
54482ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54483ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54484ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54485
54486      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54487/* end confdefs.h.  */
54488#include <math.h>
54489int
54490main ()
54491{
54492 _fmodf(0, 0);
54493  ;
54494  return 0;
54495}
54496_ACEOF
54497if ac_fn_cxx_try_compile "$LINENO"; then :
54498  glibcxx_cv_func__fmodf_use=yes
54499else
54500  glibcxx_cv_func__fmodf_use=no
54501fi
54502rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54503      ac_ext=c
54504ac_cpp='$CPP $CPPFLAGS'
54505ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54506ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54507ac_compiler_gnu=$ac_cv_c_compiler_gnu
54508
54509
54510fi
54511
54512  fi
54513  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
54514$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
54515
54516    if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
54517      for ac_func in _fmodf
54518do :
54519  ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
54520if test "x$ac_cv_func__fmodf" = x""yes; then :
54521  cat >>confdefs.h <<_ACEOF
54522#define HAVE__FMODF 1
54523_ACEOF
54524
54525fi
54526done
54527
54528    fi
54529  fi
54530
54531
54532
54533
54534
54535  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
54536$as_echo_n "checking for frexpf declaration... " >&6; }
54537  if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
54538    if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
54539  $as_echo_n "(cached) " >&6
54540else
54541
54542
54543      ac_ext=cpp
54544ac_cpp='$CXXCPP $CPPFLAGS'
54545ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54546ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54547ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54548
54549      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54550/* end confdefs.h.  */
54551#include <math.h>
54552int
54553main ()
54554{
54555 frexpf(0, 0);
54556  ;
54557  return 0;
54558}
54559_ACEOF
54560if ac_fn_cxx_try_compile "$LINENO"; then :
54561  glibcxx_cv_func_frexpf_use=yes
54562else
54563  glibcxx_cv_func_frexpf_use=no
54564fi
54565rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54566      ac_ext=c
54567ac_cpp='$CPP $CPPFLAGS'
54568ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54569ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54570ac_compiler_gnu=$ac_cv_c_compiler_gnu
54571
54572
54573fi
54574
54575  fi
54576  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
54577$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
54578
54579  if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
54580    for ac_func in frexpf
54581do :
54582  ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
54583if test "x$ac_cv_func_frexpf" = x""yes; then :
54584  cat >>confdefs.h <<_ACEOF
54585#define HAVE_FREXPF 1
54586_ACEOF
54587
54588fi
54589done
54590
54591  else
54592
54593  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
54594$as_echo_n "checking for _frexpf declaration... " >&6; }
54595  if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
54596    if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
54597  $as_echo_n "(cached) " >&6
54598else
54599
54600
54601      ac_ext=cpp
54602ac_cpp='$CXXCPP $CPPFLAGS'
54603ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54604ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54605ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54606
54607      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54608/* end confdefs.h.  */
54609#include <math.h>
54610int
54611main ()
54612{
54613 _frexpf(0, 0);
54614  ;
54615  return 0;
54616}
54617_ACEOF
54618if ac_fn_cxx_try_compile "$LINENO"; then :
54619  glibcxx_cv_func__frexpf_use=yes
54620else
54621  glibcxx_cv_func__frexpf_use=no
54622fi
54623rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54624      ac_ext=c
54625ac_cpp='$CPP $CPPFLAGS'
54626ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54627ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54628ac_compiler_gnu=$ac_cv_c_compiler_gnu
54629
54630
54631fi
54632
54633  fi
54634  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
54635$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
54636
54637    if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
54638      for ac_func in _frexpf
54639do :
54640  ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
54641if test "x$ac_cv_func__frexpf" = x""yes; then :
54642  cat >>confdefs.h <<_ACEOF
54643#define HAVE__FREXPF 1
54644_ACEOF
54645
54646fi
54647done
54648
54649    fi
54650  fi
54651
54652
54653
54654
54655
54656  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
54657$as_echo_n "checking for hypotf declaration... " >&6; }
54658  if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
54659    if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
54660  $as_echo_n "(cached) " >&6
54661else
54662
54663
54664      ac_ext=cpp
54665ac_cpp='$CXXCPP $CPPFLAGS'
54666ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54667ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54668ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54669
54670      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54671/* end confdefs.h.  */
54672#include <math.h>
54673int
54674main ()
54675{
54676 hypotf(0, 0);
54677  ;
54678  return 0;
54679}
54680_ACEOF
54681if ac_fn_cxx_try_compile "$LINENO"; then :
54682  glibcxx_cv_func_hypotf_use=yes
54683else
54684  glibcxx_cv_func_hypotf_use=no
54685fi
54686rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54687      ac_ext=c
54688ac_cpp='$CPP $CPPFLAGS'
54689ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54690ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54691ac_compiler_gnu=$ac_cv_c_compiler_gnu
54692
54693
54694fi
54695
54696  fi
54697  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
54698$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
54699
54700  if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
54701    for ac_func in hypotf
54702do :
54703  ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
54704if test "x$ac_cv_func_hypotf" = x""yes; then :
54705  cat >>confdefs.h <<_ACEOF
54706#define HAVE_HYPOTF 1
54707_ACEOF
54708
54709fi
54710done
54711
54712  else
54713
54714  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
54715$as_echo_n "checking for _hypotf declaration... " >&6; }
54716  if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
54717    if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
54718  $as_echo_n "(cached) " >&6
54719else
54720
54721
54722      ac_ext=cpp
54723ac_cpp='$CXXCPP $CPPFLAGS'
54724ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54725ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54726ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54727
54728      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54729/* end confdefs.h.  */
54730#include <math.h>
54731int
54732main ()
54733{
54734 _hypotf(0, 0);
54735  ;
54736  return 0;
54737}
54738_ACEOF
54739if ac_fn_cxx_try_compile "$LINENO"; then :
54740  glibcxx_cv_func__hypotf_use=yes
54741else
54742  glibcxx_cv_func__hypotf_use=no
54743fi
54744rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54745      ac_ext=c
54746ac_cpp='$CPP $CPPFLAGS'
54747ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54748ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54749ac_compiler_gnu=$ac_cv_c_compiler_gnu
54750
54751
54752fi
54753
54754  fi
54755  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
54756$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
54757
54758    if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
54759      for ac_func in _hypotf
54760do :
54761  ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
54762if test "x$ac_cv_func__hypotf" = x""yes; then :
54763  cat >>confdefs.h <<_ACEOF
54764#define HAVE__HYPOTF 1
54765_ACEOF
54766
54767fi
54768done
54769
54770    fi
54771  fi
54772
54773
54774
54775
54776
54777  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
54778$as_echo_n "checking for ldexpf declaration... " >&6; }
54779  if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
54780    if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
54781  $as_echo_n "(cached) " >&6
54782else
54783
54784
54785      ac_ext=cpp
54786ac_cpp='$CXXCPP $CPPFLAGS'
54787ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54788ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54789ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54790
54791      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54792/* end confdefs.h.  */
54793#include <math.h>
54794int
54795main ()
54796{
54797 ldexpf(0, 0);
54798  ;
54799  return 0;
54800}
54801_ACEOF
54802if ac_fn_cxx_try_compile "$LINENO"; then :
54803  glibcxx_cv_func_ldexpf_use=yes
54804else
54805  glibcxx_cv_func_ldexpf_use=no
54806fi
54807rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54808      ac_ext=c
54809ac_cpp='$CPP $CPPFLAGS'
54810ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54811ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54812ac_compiler_gnu=$ac_cv_c_compiler_gnu
54813
54814
54815fi
54816
54817  fi
54818  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
54819$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
54820
54821  if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
54822    for ac_func in ldexpf
54823do :
54824  ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
54825if test "x$ac_cv_func_ldexpf" = x""yes; then :
54826  cat >>confdefs.h <<_ACEOF
54827#define HAVE_LDEXPF 1
54828_ACEOF
54829
54830fi
54831done
54832
54833  else
54834
54835  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
54836$as_echo_n "checking for _ldexpf declaration... " >&6; }
54837  if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
54838    if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
54839  $as_echo_n "(cached) " >&6
54840else
54841
54842
54843      ac_ext=cpp
54844ac_cpp='$CXXCPP $CPPFLAGS'
54845ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54846ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54847ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54848
54849      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54850/* end confdefs.h.  */
54851#include <math.h>
54852int
54853main ()
54854{
54855 _ldexpf(0, 0);
54856  ;
54857  return 0;
54858}
54859_ACEOF
54860if ac_fn_cxx_try_compile "$LINENO"; then :
54861  glibcxx_cv_func__ldexpf_use=yes
54862else
54863  glibcxx_cv_func__ldexpf_use=no
54864fi
54865rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54866      ac_ext=c
54867ac_cpp='$CPP $CPPFLAGS'
54868ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54869ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54870ac_compiler_gnu=$ac_cv_c_compiler_gnu
54871
54872
54873fi
54874
54875  fi
54876  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
54877$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
54878
54879    if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
54880      for ac_func in _ldexpf
54881do :
54882  ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
54883if test "x$ac_cv_func__ldexpf" = x""yes; then :
54884  cat >>confdefs.h <<_ACEOF
54885#define HAVE__LDEXPF 1
54886_ACEOF
54887
54888fi
54889done
54890
54891    fi
54892  fi
54893
54894
54895
54896
54897
54898  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
54899$as_echo_n "checking for logf declaration... " >&6; }
54900  if test x${glibcxx_cv_func_logf_use+set} != xset; then
54901    if test "${glibcxx_cv_func_logf_use+set}" = set; then :
54902  $as_echo_n "(cached) " >&6
54903else
54904
54905
54906      ac_ext=cpp
54907ac_cpp='$CXXCPP $CPPFLAGS'
54908ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54909ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54910ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54911
54912      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54913/* end confdefs.h.  */
54914#include <math.h>
54915		      #ifdef HAVE_IEEEFP_H
54916		      #include <ieeefp.h>
54917		      #endif
54918
54919int
54920main ()
54921{
54922 logf(0);
54923  ;
54924  return 0;
54925}
54926_ACEOF
54927if ac_fn_cxx_try_compile "$LINENO"; then :
54928  glibcxx_cv_func_logf_use=yes
54929else
54930  glibcxx_cv_func_logf_use=no
54931fi
54932rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54933      ac_ext=c
54934ac_cpp='$CPP $CPPFLAGS'
54935ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54936ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54937ac_compiler_gnu=$ac_cv_c_compiler_gnu
54938
54939
54940fi
54941
54942  fi
54943  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
54944$as_echo "$glibcxx_cv_func_logf_use" >&6; }
54945
54946  if test x$glibcxx_cv_func_logf_use = x"yes"; then
54947    for ac_func in logf
54948do :
54949  ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
54950if test "x$ac_cv_func_logf" = x""yes; then :
54951  cat >>confdefs.h <<_ACEOF
54952#define HAVE_LOGF 1
54953_ACEOF
54954
54955fi
54956done
54957
54958  else
54959
54960  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
54961$as_echo_n "checking for _logf declaration... " >&6; }
54962  if test x${glibcxx_cv_func__logf_use+set} != xset; then
54963    if test "${glibcxx_cv_func__logf_use+set}" = set; then :
54964  $as_echo_n "(cached) " >&6
54965else
54966
54967
54968      ac_ext=cpp
54969ac_cpp='$CXXCPP $CPPFLAGS'
54970ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54971ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54972ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54973
54974      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54975/* end confdefs.h.  */
54976#include <math.h>
54977		      #ifdef HAVE_IEEEFP_H
54978		      #include <ieeefp.h>
54979		      #endif
54980
54981int
54982main ()
54983{
54984 _logf(0);
54985  ;
54986  return 0;
54987}
54988_ACEOF
54989if ac_fn_cxx_try_compile "$LINENO"; then :
54990  glibcxx_cv_func__logf_use=yes
54991else
54992  glibcxx_cv_func__logf_use=no
54993fi
54994rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54995      ac_ext=c
54996ac_cpp='$CPP $CPPFLAGS'
54997ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54998ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54999ac_compiler_gnu=$ac_cv_c_compiler_gnu
55000
55001
55002fi
55003
55004  fi
55005  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
55006$as_echo "$glibcxx_cv_func__logf_use" >&6; }
55007
55008    if test x$glibcxx_cv_func__logf_use = x"yes"; then
55009      for ac_func in _logf
55010do :
55011  ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
55012if test "x$ac_cv_func__logf" = x""yes; then :
55013  cat >>confdefs.h <<_ACEOF
55014#define HAVE__LOGF 1
55015_ACEOF
55016
55017fi
55018done
55019
55020    fi
55021  fi
55022
55023
55024
55025
55026
55027  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
55028$as_echo_n "checking for log10f declaration... " >&6; }
55029  if test x${glibcxx_cv_func_log10f_use+set} != xset; then
55030    if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
55031  $as_echo_n "(cached) " >&6
55032else
55033
55034
55035      ac_ext=cpp
55036ac_cpp='$CXXCPP $CPPFLAGS'
55037ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55038ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55039ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55040
55041      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55042/* end confdefs.h.  */
55043#include <math.h>
55044		      #ifdef HAVE_IEEEFP_H
55045		      #include <ieeefp.h>
55046		      #endif
55047
55048int
55049main ()
55050{
55051 log10f(0);
55052  ;
55053  return 0;
55054}
55055_ACEOF
55056if ac_fn_cxx_try_compile "$LINENO"; then :
55057  glibcxx_cv_func_log10f_use=yes
55058else
55059  glibcxx_cv_func_log10f_use=no
55060fi
55061rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55062      ac_ext=c
55063ac_cpp='$CPP $CPPFLAGS'
55064ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55065ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55066ac_compiler_gnu=$ac_cv_c_compiler_gnu
55067
55068
55069fi
55070
55071  fi
55072  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
55073$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
55074
55075  if test x$glibcxx_cv_func_log10f_use = x"yes"; then
55076    for ac_func in log10f
55077do :
55078  ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
55079if test "x$ac_cv_func_log10f" = x""yes; then :
55080  cat >>confdefs.h <<_ACEOF
55081#define HAVE_LOG10F 1
55082_ACEOF
55083
55084fi
55085done
55086
55087  else
55088
55089  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
55090$as_echo_n "checking for _log10f declaration... " >&6; }
55091  if test x${glibcxx_cv_func__log10f_use+set} != xset; then
55092    if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
55093  $as_echo_n "(cached) " >&6
55094else
55095
55096
55097      ac_ext=cpp
55098ac_cpp='$CXXCPP $CPPFLAGS'
55099ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55100ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55101ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55102
55103      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55104/* end confdefs.h.  */
55105#include <math.h>
55106		      #ifdef HAVE_IEEEFP_H
55107		      #include <ieeefp.h>
55108		      #endif
55109
55110int
55111main ()
55112{
55113 _log10f(0);
55114  ;
55115  return 0;
55116}
55117_ACEOF
55118if ac_fn_cxx_try_compile "$LINENO"; then :
55119  glibcxx_cv_func__log10f_use=yes
55120else
55121  glibcxx_cv_func__log10f_use=no
55122fi
55123rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55124      ac_ext=c
55125ac_cpp='$CPP $CPPFLAGS'
55126ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55127ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55128ac_compiler_gnu=$ac_cv_c_compiler_gnu
55129
55130
55131fi
55132
55133  fi
55134  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
55135$as_echo "$glibcxx_cv_func__log10f_use" >&6; }
55136
55137    if test x$glibcxx_cv_func__log10f_use = x"yes"; then
55138      for ac_func in _log10f
55139do :
55140  ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
55141if test "x$ac_cv_func__log10f" = x""yes; then :
55142  cat >>confdefs.h <<_ACEOF
55143#define HAVE__LOG10F 1
55144_ACEOF
55145
55146fi
55147done
55148
55149    fi
55150  fi
55151
55152
55153
55154
55155
55156  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
55157$as_echo_n "checking for modff declaration... " >&6; }
55158  if test x${glibcxx_cv_func_modff_use+set} != xset; then
55159    if test "${glibcxx_cv_func_modff_use+set}" = set; then :
55160  $as_echo_n "(cached) " >&6
55161else
55162
55163
55164      ac_ext=cpp
55165ac_cpp='$CXXCPP $CPPFLAGS'
55166ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55167ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55168ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55169
55170      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55171/* end confdefs.h.  */
55172#include <math.h>
55173int
55174main ()
55175{
55176 modff(0, 0);
55177  ;
55178  return 0;
55179}
55180_ACEOF
55181if ac_fn_cxx_try_compile "$LINENO"; then :
55182  glibcxx_cv_func_modff_use=yes
55183else
55184  glibcxx_cv_func_modff_use=no
55185fi
55186rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55187      ac_ext=c
55188ac_cpp='$CPP $CPPFLAGS'
55189ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55190ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55191ac_compiler_gnu=$ac_cv_c_compiler_gnu
55192
55193
55194fi
55195
55196  fi
55197  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
55198$as_echo "$glibcxx_cv_func_modff_use" >&6; }
55199
55200  if test x$glibcxx_cv_func_modff_use = x"yes"; then
55201    for ac_func in modff
55202do :
55203  ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
55204if test "x$ac_cv_func_modff" = x""yes; then :
55205  cat >>confdefs.h <<_ACEOF
55206#define HAVE_MODFF 1
55207_ACEOF
55208
55209fi
55210done
55211
55212  else
55213
55214  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
55215$as_echo_n "checking for _modff declaration... " >&6; }
55216  if test x${glibcxx_cv_func__modff_use+set} != xset; then
55217    if test "${glibcxx_cv_func__modff_use+set}" = set; then :
55218  $as_echo_n "(cached) " >&6
55219else
55220
55221
55222      ac_ext=cpp
55223ac_cpp='$CXXCPP $CPPFLAGS'
55224ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55225ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55226ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55227
55228      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55229/* end confdefs.h.  */
55230#include <math.h>
55231int
55232main ()
55233{
55234 _modff(0, 0);
55235  ;
55236  return 0;
55237}
55238_ACEOF
55239if ac_fn_cxx_try_compile "$LINENO"; then :
55240  glibcxx_cv_func__modff_use=yes
55241else
55242  glibcxx_cv_func__modff_use=no
55243fi
55244rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55245      ac_ext=c
55246ac_cpp='$CPP $CPPFLAGS'
55247ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55248ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55249ac_compiler_gnu=$ac_cv_c_compiler_gnu
55250
55251
55252fi
55253
55254  fi
55255  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
55256$as_echo "$glibcxx_cv_func__modff_use" >&6; }
55257
55258    if test x$glibcxx_cv_func__modff_use = x"yes"; then
55259      for ac_func in _modff
55260do :
55261  ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
55262if test "x$ac_cv_func__modff" = x""yes; then :
55263  cat >>confdefs.h <<_ACEOF
55264#define HAVE__MODFF 1
55265_ACEOF
55266
55267fi
55268done
55269
55270    fi
55271  fi
55272
55273
55274
55275
55276
55277  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
55278$as_echo_n "checking for modf declaration... " >&6; }
55279  if test x${glibcxx_cv_func_modf_use+set} != xset; then
55280    if test "${glibcxx_cv_func_modf_use+set}" = set; then :
55281  $as_echo_n "(cached) " >&6
55282else
55283
55284
55285      ac_ext=cpp
55286ac_cpp='$CXXCPP $CPPFLAGS'
55287ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55288ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55289ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55290
55291      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55292/* end confdefs.h.  */
55293#include <math.h>
55294int
55295main ()
55296{
55297 modf(0, 0);
55298  ;
55299  return 0;
55300}
55301_ACEOF
55302if ac_fn_cxx_try_compile "$LINENO"; then :
55303  glibcxx_cv_func_modf_use=yes
55304else
55305  glibcxx_cv_func_modf_use=no
55306fi
55307rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55308      ac_ext=c
55309ac_cpp='$CPP $CPPFLAGS'
55310ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55311ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55312ac_compiler_gnu=$ac_cv_c_compiler_gnu
55313
55314
55315fi
55316
55317  fi
55318  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
55319$as_echo "$glibcxx_cv_func_modf_use" >&6; }
55320
55321  if test x$glibcxx_cv_func_modf_use = x"yes"; then
55322    for ac_func in modf
55323do :
55324  ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
55325if test "x$ac_cv_func_modf" = x""yes; then :
55326  cat >>confdefs.h <<_ACEOF
55327#define HAVE_MODF 1
55328_ACEOF
55329
55330fi
55331done
55332
55333  else
55334
55335  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
55336$as_echo_n "checking for _modf declaration... " >&6; }
55337  if test x${glibcxx_cv_func__modf_use+set} != xset; then
55338    if test "${glibcxx_cv_func__modf_use+set}" = set; then :
55339  $as_echo_n "(cached) " >&6
55340else
55341
55342
55343      ac_ext=cpp
55344ac_cpp='$CXXCPP $CPPFLAGS'
55345ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55346ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55347ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55348
55349      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55350/* end confdefs.h.  */
55351#include <math.h>
55352int
55353main ()
55354{
55355 _modf(0, 0);
55356  ;
55357  return 0;
55358}
55359_ACEOF
55360if ac_fn_cxx_try_compile "$LINENO"; then :
55361  glibcxx_cv_func__modf_use=yes
55362else
55363  glibcxx_cv_func__modf_use=no
55364fi
55365rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55366      ac_ext=c
55367ac_cpp='$CPP $CPPFLAGS'
55368ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55369ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55370ac_compiler_gnu=$ac_cv_c_compiler_gnu
55371
55372
55373fi
55374
55375  fi
55376  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
55377$as_echo "$glibcxx_cv_func__modf_use" >&6; }
55378
55379    if test x$glibcxx_cv_func__modf_use = x"yes"; then
55380      for ac_func in _modf
55381do :
55382  ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
55383if test "x$ac_cv_func__modf" = x""yes; then :
55384  cat >>confdefs.h <<_ACEOF
55385#define HAVE__MODF 1
55386_ACEOF
55387
55388fi
55389done
55390
55391    fi
55392  fi
55393
55394
55395
55396
55397
55398  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
55399$as_echo_n "checking for powf declaration... " >&6; }
55400  if test x${glibcxx_cv_func_powf_use+set} != xset; then
55401    if test "${glibcxx_cv_func_powf_use+set}" = set; then :
55402  $as_echo_n "(cached) " >&6
55403else
55404
55405
55406      ac_ext=cpp
55407ac_cpp='$CXXCPP $CPPFLAGS'
55408ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55409ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55410ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55411
55412      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55413/* end confdefs.h.  */
55414#include <math.h>
55415int
55416main ()
55417{
55418 powf(0, 0);
55419  ;
55420  return 0;
55421}
55422_ACEOF
55423if ac_fn_cxx_try_compile "$LINENO"; then :
55424  glibcxx_cv_func_powf_use=yes
55425else
55426  glibcxx_cv_func_powf_use=no
55427fi
55428rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55429      ac_ext=c
55430ac_cpp='$CPP $CPPFLAGS'
55431ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55432ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55433ac_compiler_gnu=$ac_cv_c_compiler_gnu
55434
55435
55436fi
55437
55438  fi
55439  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
55440$as_echo "$glibcxx_cv_func_powf_use" >&6; }
55441
55442  if test x$glibcxx_cv_func_powf_use = x"yes"; then
55443    for ac_func in powf
55444do :
55445  ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
55446if test "x$ac_cv_func_powf" = x""yes; then :
55447  cat >>confdefs.h <<_ACEOF
55448#define HAVE_POWF 1
55449_ACEOF
55450
55451fi
55452done
55453
55454  else
55455
55456  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
55457$as_echo_n "checking for _powf declaration... " >&6; }
55458  if test x${glibcxx_cv_func__powf_use+set} != xset; then
55459    if test "${glibcxx_cv_func__powf_use+set}" = set; then :
55460  $as_echo_n "(cached) " >&6
55461else
55462
55463
55464      ac_ext=cpp
55465ac_cpp='$CXXCPP $CPPFLAGS'
55466ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55467ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55468ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55469
55470      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55471/* end confdefs.h.  */
55472#include <math.h>
55473int
55474main ()
55475{
55476 _powf(0, 0);
55477  ;
55478  return 0;
55479}
55480_ACEOF
55481if ac_fn_cxx_try_compile "$LINENO"; then :
55482  glibcxx_cv_func__powf_use=yes
55483else
55484  glibcxx_cv_func__powf_use=no
55485fi
55486rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55487      ac_ext=c
55488ac_cpp='$CPP $CPPFLAGS'
55489ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55490ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55491ac_compiler_gnu=$ac_cv_c_compiler_gnu
55492
55493
55494fi
55495
55496  fi
55497  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
55498$as_echo "$glibcxx_cv_func__powf_use" >&6; }
55499
55500    if test x$glibcxx_cv_func__powf_use = x"yes"; then
55501      for ac_func in _powf
55502do :
55503  ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
55504if test "x$ac_cv_func__powf" = x""yes; then :
55505  cat >>confdefs.h <<_ACEOF
55506#define HAVE__POWF 1
55507_ACEOF
55508
55509fi
55510done
55511
55512    fi
55513  fi
55514
55515
55516
55517
55518
55519  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
55520$as_echo_n "checking for sqrtf declaration... " >&6; }
55521  if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
55522    if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
55523  $as_echo_n "(cached) " >&6
55524else
55525
55526
55527      ac_ext=cpp
55528ac_cpp='$CXXCPP $CPPFLAGS'
55529ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55530ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55531ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55532
55533      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55534/* end confdefs.h.  */
55535#include <math.h>
55536		      #ifdef HAVE_IEEEFP_H
55537		      #include <ieeefp.h>
55538		      #endif
55539
55540int
55541main ()
55542{
55543 sqrtf(0);
55544  ;
55545  return 0;
55546}
55547_ACEOF
55548if ac_fn_cxx_try_compile "$LINENO"; then :
55549  glibcxx_cv_func_sqrtf_use=yes
55550else
55551  glibcxx_cv_func_sqrtf_use=no
55552fi
55553rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55554      ac_ext=c
55555ac_cpp='$CPP $CPPFLAGS'
55556ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55557ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55558ac_compiler_gnu=$ac_cv_c_compiler_gnu
55559
55560
55561fi
55562
55563  fi
55564  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
55565$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
55566
55567  if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
55568    for ac_func in sqrtf
55569do :
55570  ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
55571if test "x$ac_cv_func_sqrtf" = x""yes; then :
55572  cat >>confdefs.h <<_ACEOF
55573#define HAVE_SQRTF 1
55574_ACEOF
55575
55576fi
55577done
55578
55579  else
55580
55581  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
55582$as_echo_n "checking for _sqrtf declaration... " >&6; }
55583  if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
55584    if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
55585  $as_echo_n "(cached) " >&6
55586else
55587
55588
55589      ac_ext=cpp
55590ac_cpp='$CXXCPP $CPPFLAGS'
55591ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55592ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55593ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55594
55595      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55596/* end confdefs.h.  */
55597#include <math.h>
55598		      #ifdef HAVE_IEEEFP_H
55599		      #include <ieeefp.h>
55600		      #endif
55601
55602int
55603main ()
55604{
55605 _sqrtf(0);
55606  ;
55607  return 0;
55608}
55609_ACEOF
55610if ac_fn_cxx_try_compile "$LINENO"; then :
55611  glibcxx_cv_func__sqrtf_use=yes
55612else
55613  glibcxx_cv_func__sqrtf_use=no
55614fi
55615rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55616      ac_ext=c
55617ac_cpp='$CPP $CPPFLAGS'
55618ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55619ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55620ac_compiler_gnu=$ac_cv_c_compiler_gnu
55621
55622
55623fi
55624
55625  fi
55626  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
55627$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
55628
55629    if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
55630      for ac_func in _sqrtf
55631do :
55632  ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
55633if test "x$ac_cv_func__sqrtf" = x""yes; then :
55634  cat >>confdefs.h <<_ACEOF
55635#define HAVE__SQRTF 1
55636_ACEOF
55637
55638fi
55639done
55640
55641    fi
55642  fi
55643
55644
55645
55646
55647
55648  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
55649$as_echo_n "checking for sincosf declaration... " >&6; }
55650  if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
55651    if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
55652  $as_echo_n "(cached) " >&6
55653else
55654
55655
55656      ac_ext=cpp
55657ac_cpp='$CXXCPP $CPPFLAGS'
55658ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55659ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55660ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55661
55662      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55663/* end confdefs.h.  */
55664#include <math.h>
55665int
55666main ()
55667{
55668 sincosf(0, 0, 0);
55669  ;
55670  return 0;
55671}
55672_ACEOF
55673if ac_fn_cxx_try_compile "$LINENO"; then :
55674  glibcxx_cv_func_sincosf_use=yes
55675else
55676  glibcxx_cv_func_sincosf_use=no
55677fi
55678rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55679      ac_ext=c
55680ac_cpp='$CPP $CPPFLAGS'
55681ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55682ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55683ac_compiler_gnu=$ac_cv_c_compiler_gnu
55684
55685
55686fi
55687
55688  fi
55689  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
55690$as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
55691
55692  if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
55693    for ac_func in sincosf
55694do :
55695  ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
55696if test "x$ac_cv_func_sincosf" = x""yes; then :
55697  cat >>confdefs.h <<_ACEOF
55698#define HAVE_SINCOSF 1
55699_ACEOF
55700
55701fi
55702done
55703
55704  else
55705
55706  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
55707$as_echo_n "checking for _sincosf declaration... " >&6; }
55708  if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
55709    if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
55710  $as_echo_n "(cached) " >&6
55711else
55712
55713
55714      ac_ext=cpp
55715ac_cpp='$CXXCPP $CPPFLAGS'
55716ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55717ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55718ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55719
55720      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55721/* end confdefs.h.  */
55722#include <math.h>
55723int
55724main ()
55725{
55726 _sincosf(0, 0, 0);
55727  ;
55728  return 0;
55729}
55730_ACEOF
55731if ac_fn_cxx_try_compile "$LINENO"; then :
55732  glibcxx_cv_func__sincosf_use=yes
55733else
55734  glibcxx_cv_func__sincosf_use=no
55735fi
55736rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55737      ac_ext=c
55738ac_cpp='$CPP $CPPFLAGS'
55739ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55740ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55741ac_compiler_gnu=$ac_cv_c_compiler_gnu
55742
55743
55744fi
55745
55746  fi
55747  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
55748$as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
55749
55750    if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
55751      for ac_func in _sincosf
55752do :
55753  ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
55754if test "x$ac_cv_func__sincosf" = x""yes; then :
55755  cat >>confdefs.h <<_ACEOF
55756#define HAVE__SINCOSF 1
55757_ACEOF
55758
55759fi
55760done
55761
55762    fi
55763  fi
55764
55765
55766
55767
55768
55769  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
55770$as_echo_n "checking for finitef declaration... " >&6; }
55771  if test x${glibcxx_cv_func_finitef_use+set} != xset; then
55772    if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
55773  $as_echo_n "(cached) " >&6
55774else
55775
55776
55777      ac_ext=cpp
55778ac_cpp='$CXXCPP $CPPFLAGS'
55779ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55780ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55781ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55782
55783      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55784/* end confdefs.h.  */
55785#include <math.h>
55786		      #ifdef HAVE_IEEEFP_H
55787		      #include <ieeefp.h>
55788		      #endif
55789
55790int
55791main ()
55792{
55793 finitef(0);
55794  ;
55795  return 0;
55796}
55797_ACEOF
55798if ac_fn_cxx_try_compile "$LINENO"; then :
55799  glibcxx_cv_func_finitef_use=yes
55800else
55801  glibcxx_cv_func_finitef_use=no
55802fi
55803rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55804      ac_ext=c
55805ac_cpp='$CPP $CPPFLAGS'
55806ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55807ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55808ac_compiler_gnu=$ac_cv_c_compiler_gnu
55809
55810
55811fi
55812
55813  fi
55814  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
55815$as_echo "$glibcxx_cv_func_finitef_use" >&6; }
55816
55817  if test x$glibcxx_cv_func_finitef_use = x"yes"; then
55818    for ac_func in finitef
55819do :
55820  ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
55821if test "x$ac_cv_func_finitef" = x""yes; then :
55822  cat >>confdefs.h <<_ACEOF
55823#define HAVE_FINITEF 1
55824_ACEOF
55825
55826fi
55827done
55828
55829  else
55830
55831  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
55832$as_echo_n "checking for _finitef declaration... " >&6; }
55833  if test x${glibcxx_cv_func__finitef_use+set} != xset; then
55834    if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
55835  $as_echo_n "(cached) " >&6
55836else
55837
55838
55839      ac_ext=cpp
55840ac_cpp='$CXXCPP $CPPFLAGS'
55841ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55842ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55843ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55844
55845      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55846/* end confdefs.h.  */
55847#include <math.h>
55848		      #ifdef HAVE_IEEEFP_H
55849		      #include <ieeefp.h>
55850		      #endif
55851
55852int
55853main ()
55854{
55855 _finitef(0);
55856  ;
55857  return 0;
55858}
55859_ACEOF
55860if ac_fn_cxx_try_compile "$LINENO"; then :
55861  glibcxx_cv_func__finitef_use=yes
55862else
55863  glibcxx_cv_func__finitef_use=no
55864fi
55865rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55866      ac_ext=c
55867ac_cpp='$CPP $CPPFLAGS'
55868ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55869ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55870ac_compiler_gnu=$ac_cv_c_compiler_gnu
55871
55872
55873fi
55874
55875  fi
55876  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
55877$as_echo "$glibcxx_cv_func__finitef_use" >&6; }
55878
55879    if test x$glibcxx_cv_func__finitef_use = x"yes"; then
55880      for ac_func in _finitef
55881do :
55882  ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
55883if test "x$ac_cv_func__finitef" = x""yes; then :
55884  cat >>confdefs.h <<_ACEOF
55885#define HAVE__FINITEF 1
55886_ACEOF
55887
55888fi
55889done
55890
55891    fi
55892  fi
55893
55894
55895
55896
55897
55898    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
55899$as_echo_n "checking for long double trig functions... " >&6; }
55900  if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
55901  $as_echo_n "(cached) " >&6
55902else
55903
55904
55905    ac_ext=cpp
55906ac_cpp='$CXXCPP $CPPFLAGS'
55907ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55908ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55909ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55910
55911    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55912/* end confdefs.h.  */
55913#include <math.h>
55914int
55915main ()
55916{
55917acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
55918  ;
55919  return 0;
55920}
55921_ACEOF
55922if ac_fn_cxx_try_compile "$LINENO"; then :
55923  glibcxx_cv_func_long_double_trig_use=yes
55924else
55925  glibcxx_cv_func_long_double_trig_use=no
55926fi
55927rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55928    ac_ext=c
55929ac_cpp='$CPP $CPPFLAGS'
55930ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55931ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55932ac_compiler_gnu=$ac_cv_c_compiler_gnu
55933
55934fi
55935
55936  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
55937$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
55938  if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
55939    for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
55940do :
55941  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55942ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55943eval as_val=\$$as_ac_var
55944   if test "x$as_val" = x""yes; then :
55945  cat >>confdefs.h <<_ACEOF
55946#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55947_ACEOF
55948
55949fi
55950done
55951
55952  else
55953    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
55954$as_echo_n "checking for _long double trig functions... " >&6; }
55955    if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
55956  $as_echo_n "(cached) " >&6
55957else
55958
55959
55960      ac_ext=cpp
55961ac_cpp='$CXXCPP $CPPFLAGS'
55962ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55963ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55964ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55965
55966      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55967/* end confdefs.h.  */
55968#include <math.h>
55969int
55970main ()
55971{
55972_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
55973  ;
55974  return 0;
55975}
55976_ACEOF
55977if ac_fn_cxx_try_compile "$LINENO"; then :
55978  glibcxx_cv_func__long_double_trig_use=yes
55979else
55980  glibcxx_cv_func__long_double_trig_use=no
55981fi
55982rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55983      ac_ext=c
55984ac_cpp='$CPP $CPPFLAGS'
55985ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55986ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55987ac_compiler_gnu=$ac_cv_c_compiler_gnu
55988
55989fi
55990
55991    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
55992$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
55993    if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
55994      for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
55995do :
55996  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55997ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55998eval as_val=\$$as_ac_var
55999   if test "x$as_val" = x""yes; then :
56000  cat >>confdefs.h <<_ACEOF
56001#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56002_ACEOF
56003
56004fi
56005done
56006
56007    fi
56008  fi
56009
56010
56011
56012
56013
56014    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
56015$as_echo_n "checking for long double round functions... " >&6; }
56016  if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
56017  $as_echo_n "(cached) " >&6
56018else
56019
56020
56021    ac_ext=cpp
56022ac_cpp='$CXXCPP $CPPFLAGS'
56023ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56024ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56025ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56026
56027    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56028/* end confdefs.h.  */
56029#include <math.h>
56030int
56031main ()
56032{
56033ceill (0); floorl (0);
56034  ;
56035  return 0;
56036}
56037_ACEOF
56038if ac_fn_cxx_try_compile "$LINENO"; then :
56039  glibcxx_cv_func_long_double_round_use=yes
56040else
56041  glibcxx_cv_func_long_double_round_use=no
56042fi
56043rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56044    ac_ext=c
56045ac_cpp='$CPP $CPPFLAGS'
56046ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56047ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56048ac_compiler_gnu=$ac_cv_c_compiler_gnu
56049
56050fi
56051
56052  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
56053$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
56054  if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
56055    for ac_func in ceill floorl
56056do :
56057  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56058ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56059eval as_val=\$$as_ac_var
56060   if test "x$as_val" = x""yes; then :
56061  cat >>confdefs.h <<_ACEOF
56062#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56063_ACEOF
56064
56065fi
56066done
56067
56068  else
56069    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
56070$as_echo_n "checking for _long double round functions... " >&6; }
56071    if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
56072  $as_echo_n "(cached) " >&6
56073else
56074
56075
56076      ac_ext=cpp
56077ac_cpp='$CXXCPP $CPPFLAGS'
56078ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56079ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56080ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56081
56082      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56083/* end confdefs.h.  */
56084#include <math.h>
56085int
56086main ()
56087{
56088_ceill (0); _floorl (0);
56089  ;
56090  return 0;
56091}
56092_ACEOF
56093if ac_fn_cxx_try_compile "$LINENO"; then :
56094  glibcxx_cv_func__long_double_round_use=yes
56095else
56096  glibcxx_cv_func__long_double_round_use=no
56097fi
56098rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56099      ac_ext=c
56100ac_cpp='$CPP $CPPFLAGS'
56101ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56102ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56103ac_compiler_gnu=$ac_cv_c_compiler_gnu
56104
56105fi
56106
56107    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
56108$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
56109    if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
56110      for ac_func in _ceill _floorl
56111do :
56112  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56113ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56114eval as_val=\$$as_ac_var
56115   if test "x$as_val" = x""yes; then :
56116  cat >>confdefs.h <<_ACEOF
56117#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56118_ACEOF
56119
56120fi
56121done
56122
56123    fi
56124  fi
56125
56126
56127
56128
56129
56130
56131  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
56132$as_echo_n "checking for isnanl declaration... " >&6; }
56133  if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
56134    if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
56135  $as_echo_n "(cached) " >&6
56136else
56137
56138
56139      ac_ext=cpp
56140ac_cpp='$CXXCPP $CPPFLAGS'
56141ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56142ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56143ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56144
56145      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56146/* end confdefs.h.  */
56147#include <math.h>
56148		      #ifdef HAVE_IEEEFP_H
56149		      #include <ieeefp.h>
56150		      #endif
56151
56152int
56153main ()
56154{
56155 isnanl(0);
56156  ;
56157  return 0;
56158}
56159_ACEOF
56160if ac_fn_cxx_try_compile "$LINENO"; then :
56161  glibcxx_cv_func_isnanl_use=yes
56162else
56163  glibcxx_cv_func_isnanl_use=no
56164fi
56165rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56166      ac_ext=c
56167ac_cpp='$CPP $CPPFLAGS'
56168ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56169ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56170ac_compiler_gnu=$ac_cv_c_compiler_gnu
56171
56172
56173fi
56174
56175  fi
56176  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
56177$as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
56178
56179  if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
56180    for ac_func in isnanl
56181do :
56182  ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
56183if test "x$ac_cv_func_isnanl" = x""yes; then :
56184  cat >>confdefs.h <<_ACEOF
56185#define HAVE_ISNANL 1
56186_ACEOF
56187
56188fi
56189done
56190
56191  else
56192
56193  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
56194$as_echo_n "checking for _isnanl declaration... " >&6; }
56195  if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
56196    if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
56197  $as_echo_n "(cached) " >&6
56198else
56199
56200
56201      ac_ext=cpp
56202ac_cpp='$CXXCPP $CPPFLAGS'
56203ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56204ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56205ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56206
56207      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56208/* end confdefs.h.  */
56209#include <math.h>
56210		      #ifdef HAVE_IEEEFP_H
56211		      #include <ieeefp.h>
56212		      #endif
56213
56214int
56215main ()
56216{
56217 _isnanl(0);
56218  ;
56219  return 0;
56220}
56221_ACEOF
56222if ac_fn_cxx_try_compile "$LINENO"; then :
56223  glibcxx_cv_func__isnanl_use=yes
56224else
56225  glibcxx_cv_func__isnanl_use=no
56226fi
56227rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56228      ac_ext=c
56229ac_cpp='$CPP $CPPFLAGS'
56230ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56231ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56232ac_compiler_gnu=$ac_cv_c_compiler_gnu
56233
56234
56235fi
56236
56237  fi
56238  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
56239$as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
56240
56241    if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
56242      for ac_func in _isnanl
56243do :
56244  ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
56245if test "x$ac_cv_func__isnanl" = x""yes; then :
56246  cat >>confdefs.h <<_ACEOF
56247#define HAVE__ISNANL 1
56248_ACEOF
56249
56250fi
56251done
56252
56253    fi
56254  fi
56255
56256
56257
56258
56259
56260  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
56261$as_echo_n "checking for isinfl declaration... " >&6; }
56262  if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
56263    if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
56264  $as_echo_n "(cached) " >&6
56265else
56266
56267
56268      ac_ext=cpp
56269ac_cpp='$CXXCPP $CPPFLAGS'
56270ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56271ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56272ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56273
56274      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56275/* end confdefs.h.  */
56276#include <math.h>
56277		      #ifdef HAVE_IEEEFP_H
56278		      #include <ieeefp.h>
56279		      #endif
56280
56281int
56282main ()
56283{
56284 isinfl(0);
56285  ;
56286  return 0;
56287}
56288_ACEOF
56289if ac_fn_cxx_try_compile "$LINENO"; then :
56290  glibcxx_cv_func_isinfl_use=yes
56291else
56292  glibcxx_cv_func_isinfl_use=no
56293fi
56294rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56295      ac_ext=c
56296ac_cpp='$CPP $CPPFLAGS'
56297ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56298ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56299ac_compiler_gnu=$ac_cv_c_compiler_gnu
56300
56301
56302fi
56303
56304  fi
56305  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
56306$as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
56307
56308  if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
56309    for ac_func in isinfl
56310do :
56311  ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
56312if test "x$ac_cv_func_isinfl" = x""yes; then :
56313  cat >>confdefs.h <<_ACEOF
56314#define HAVE_ISINFL 1
56315_ACEOF
56316
56317fi
56318done
56319
56320  else
56321
56322  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
56323$as_echo_n "checking for _isinfl declaration... " >&6; }
56324  if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
56325    if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
56326  $as_echo_n "(cached) " >&6
56327else
56328
56329
56330      ac_ext=cpp
56331ac_cpp='$CXXCPP $CPPFLAGS'
56332ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56333ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56334ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56335
56336      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56337/* end confdefs.h.  */
56338#include <math.h>
56339		      #ifdef HAVE_IEEEFP_H
56340		      #include <ieeefp.h>
56341		      #endif
56342
56343int
56344main ()
56345{
56346 _isinfl(0);
56347  ;
56348  return 0;
56349}
56350_ACEOF
56351if ac_fn_cxx_try_compile "$LINENO"; then :
56352  glibcxx_cv_func__isinfl_use=yes
56353else
56354  glibcxx_cv_func__isinfl_use=no
56355fi
56356rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56357      ac_ext=c
56358ac_cpp='$CPP $CPPFLAGS'
56359ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56360ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56361ac_compiler_gnu=$ac_cv_c_compiler_gnu
56362
56363
56364fi
56365
56366  fi
56367  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
56368$as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
56369
56370    if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
56371      for ac_func in _isinfl
56372do :
56373  ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
56374if test "x$ac_cv_func__isinfl" = x""yes; then :
56375  cat >>confdefs.h <<_ACEOF
56376#define HAVE__ISINFL 1
56377_ACEOF
56378
56379fi
56380done
56381
56382    fi
56383  fi
56384
56385
56386
56387
56388
56389  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
56390$as_echo_n "checking for atan2l declaration... " >&6; }
56391  if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
56392    if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
56393  $as_echo_n "(cached) " >&6
56394else
56395
56396
56397      ac_ext=cpp
56398ac_cpp='$CXXCPP $CPPFLAGS'
56399ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56400ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56401ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56402
56403      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56404/* end confdefs.h.  */
56405#include <math.h>
56406int
56407main ()
56408{
56409 atan2l(0, 0);
56410  ;
56411  return 0;
56412}
56413_ACEOF
56414if ac_fn_cxx_try_compile "$LINENO"; then :
56415  glibcxx_cv_func_atan2l_use=yes
56416else
56417  glibcxx_cv_func_atan2l_use=no
56418fi
56419rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56420      ac_ext=c
56421ac_cpp='$CPP $CPPFLAGS'
56422ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56423ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56424ac_compiler_gnu=$ac_cv_c_compiler_gnu
56425
56426
56427fi
56428
56429  fi
56430  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
56431$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
56432
56433  if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
56434    for ac_func in atan2l
56435do :
56436  ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
56437if test "x$ac_cv_func_atan2l" = x""yes; then :
56438  cat >>confdefs.h <<_ACEOF
56439#define HAVE_ATAN2L 1
56440_ACEOF
56441
56442fi
56443done
56444
56445  else
56446
56447  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
56448$as_echo_n "checking for _atan2l declaration... " >&6; }
56449  if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
56450    if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
56451  $as_echo_n "(cached) " >&6
56452else
56453
56454
56455      ac_ext=cpp
56456ac_cpp='$CXXCPP $CPPFLAGS'
56457ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56458ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56459ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56460
56461      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56462/* end confdefs.h.  */
56463#include <math.h>
56464int
56465main ()
56466{
56467 _atan2l(0, 0);
56468  ;
56469  return 0;
56470}
56471_ACEOF
56472if ac_fn_cxx_try_compile "$LINENO"; then :
56473  glibcxx_cv_func__atan2l_use=yes
56474else
56475  glibcxx_cv_func__atan2l_use=no
56476fi
56477rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56478      ac_ext=c
56479ac_cpp='$CPP $CPPFLAGS'
56480ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56481ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56482ac_compiler_gnu=$ac_cv_c_compiler_gnu
56483
56484
56485fi
56486
56487  fi
56488  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
56489$as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
56490
56491    if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
56492      for ac_func in _atan2l
56493do :
56494  ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
56495if test "x$ac_cv_func__atan2l" = x""yes; then :
56496  cat >>confdefs.h <<_ACEOF
56497#define HAVE__ATAN2L 1
56498_ACEOF
56499
56500fi
56501done
56502
56503    fi
56504  fi
56505
56506
56507
56508
56509
56510  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
56511$as_echo_n "checking for expl declaration... " >&6; }
56512  if test x${glibcxx_cv_func_expl_use+set} != xset; then
56513    if test "${glibcxx_cv_func_expl_use+set}" = set; then :
56514  $as_echo_n "(cached) " >&6
56515else
56516
56517
56518      ac_ext=cpp
56519ac_cpp='$CXXCPP $CPPFLAGS'
56520ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56521ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56522ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56523
56524      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56525/* end confdefs.h.  */
56526#include <math.h>
56527		      #ifdef HAVE_IEEEFP_H
56528		      #include <ieeefp.h>
56529		      #endif
56530
56531int
56532main ()
56533{
56534 expl(0);
56535  ;
56536  return 0;
56537}
56538_ACEOF
56539if ac_fn_cxx_try_compile "$LINENO"; then :
56540  glibcxx_cv_func_expl_use=yes
56541else
56542  glibcxx_cv_func_expl_use=no
56543fi
56544rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56545      ac_ext=c
56546ac_cpp='$CPP $CPPFLAGS'
56547ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56548ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56549ac_compiler_gnu=$ac_cv_c_compiler_gnu
56550
56551
56552fi
56553
56554  fi
56555  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
56556$as_echo "$glibcxx_cv_func_expl_use" >&6; }
56557
56558  if test x$glibcxx_cv_func_expl_use = x"yes"; then
56559    for ac_func in expl
56560do :
56561  ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
56562if test "x$ac_cv_func_expl" = x""yes; then :
56563  cat >>confdefs.h <<_ACEOF
56564#define HAVE_EXPL 1
56565_ACEOF
56566
56567fi
56568done
56569
56570  else
56571
56572  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
56573$as_echo_n "checking for _expl declaration... " >&6; }
56574  if test x${glibcxx_cv_func__expl_use+set} != xset; then
56575    if test "${glibcxx_cv_func__expl_use+set}" = set; then :
56576  $as_echo_n "(cached) " >&6
56577else
56578
56579
56580      ac_ext=cpp
56581ac_cpp='$CXXCPP $CPPFLAGS'
56582ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56583ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56584ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56585
56586      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56587/* end confdefs.h.  */
56588#include <math.h>
56589		      #ifdef HAVE_IEEEFP_H
56590		      #include <ieeefp.h>
56591		      #endif
56592
56593int
56594main ()
56595{
56596 _expl(0);
56597  ;
56598  return 0;
56599}
56600_ACEOF
56601if ac_fn_cxx_try_compile "$LINENO"; then :
56602  glibcxx_cv_func__expl_use=yes
56603else
56604  glibcxx_cv_func__expl_use=no
56605fi
56606rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56607      ac_ext=c
56608ac_cpp='$CPP $CPPFLAGS'
56609ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56610ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56611ac_compiler_gnu=$ac_cv_c_compiler_gnu
56612
56613
56614fi
56615
56616  fi
56617  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
56618$as_echo "$glibcxx_cv_func__expl_use" >&6; }
56619
56620    if test x$glibcxx_cv_func__expl_use = x"yes"; then
56621      for ac_func in _expl
56622do :
56623  ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
56624if test "x$ac_cv_func__expl" = x""yes; then :
56625  cat >>confdefs.h <<_ACEOF
56626#define HAVE__EXPL 1
56627_ACEOF
56628
56629fi
56630done
56631
56632    fi
56633  fi
56634
56635
56636
56637
56638
56639  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
56640$as_echo_n "checking for fabsl declaration... " >&6; }
56641  if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
56642    if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
56643  $as_echo_n "(cached) " >&6
56644else
56645
56646
56647      ac_ext=cpp
56648ac_cpp='$CXXCPP $CPPFLAGS'
56649ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56650ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56651ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56652
56653      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56654/* end confdefs.h.  */
56655#include <math.h>
56656		      #ifdef HAVE_IEEEFP_H
56657		      #include <ieeefp.h>
56658		      #endif
56659
56660int
56661main ()
56662{
56663 fabsl(0);
56664  ;
56665  return 0;
56666}
56667_ACEOF
56668if ac_fn_cxx_try_compile "$LINENO"; then :
56669  glibcxx_cv_func_fabsl_use=yes
56670else
56671  glibcxx_cv_func_fabsl_use=no
56672fi
56673rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56674      ac_ext=c
56675ac_cpp='$CPP $CPPFLAGS'
56676ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56677ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56678ac_compiler_gnu=$ac_cv_c_compiler_gnu
56679
56680
56681fi
56682
56683  fi
56684  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
56685$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
56686
56687  if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
56688    for ac_func in fabsl
56689do :
56690  ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
56691if test "x$ac_cv_func_fabsl" = x""yes; then :
56692  cat >>confdefs.h <<_ACEOF
56693#define HAVE_FABSL 1
56694_ACEOF
56695
56696fi
56697done
56698
56699  else
56700
56701  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
56702$as_echo_n "checking for _fabsl declaration... " >&6; }
56703  if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
56704    if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
56705  $as_echo_n "(cached) " >&6
56706else
56707
56708
56709      ac_ext=cpp
56710ac_cpp='$CXXCPP $CPPFLAGS'
56711ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56712ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56713ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56714
56715      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56716/* end confdefs.h.  */
56717#include <math.h>
56718		      #ifdef HAVE_IEEEFP_H
56719		      #include <ieeefp.h>
56720		      #endif
56721
56722int
56723main ()
56724{
56725 _fabsl(0);
56726  ;
56727  return 0;
56728}
56729_ACEOF
56730if ac_fn_cxx_try_compile "$LINENO"; then :
56731  glibcxx_cv_func__fabsl_use=yes
56732else
56733  glibcxx_cv_func__fabsl_use=no
56734fi
56735rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56736      ac_ext=c
56737ac_cpp='$CPP $CPPFLAGS'
56738ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56739ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56740ac_compiler_gnu=$ac_cv_c_compiler_gnu
56741
56742
56743fi
56744
56745  fi
56746  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
56747$as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
56748
56749    if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
56750      for ac_func in _fabsl
56751do :
56752  ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
56753if test "x$ac_cv_func__fabsl" = x""yes; then :
56754  cat >>confdefs.h <<_ACEOF
56755#define HAVE__FABSL 1
56756_ACEOF
56757
56758fi
56759done
56760
56761    fi
56762  fi
56763
56764
56765
56766
56767
56768  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
56769$as_echo_n "checking for fmodl declaration... " >&6; }
56770  if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
56771    if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
56772  $as_echo_n "(cached) " >&6
56773else
56774
56775
56776      ac_ext=cpp
56777ac_cpp='$CXXCPP $CPPFLAGS'
56778ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56779ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56780ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56781
56782      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56783/* end confdefs.h.  */
56784#include <math.h>
56785int
56786main ()
56787{
56788 fmodl(0, 0);
56789  ;
56790  return 0;
56791}
56792_ACEOF
56793if ac_fn_cxx_try_compile "$LINENO"; then :
56794  glibcxx_cv_func_fmodl_use=yes
56795else
56796  glibcxx_cv_func_fmodl_use=no
56797fi
56798rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56799      ac_ext=c
56800ac_cpp='$CPP $CPPFLAGS'
56801ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56802ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56803ac_compiler_gnu=$ac_cv_c_compiler_gnu
56804
56805
56806fi
56807
56808  fi
56809  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
56810$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
56811
56812  if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
56813    for ac_func in fmodl
56814do :
56815  ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
56816if test "x$ac_cv_func_fmodl" = x""yes; then :
56817  cat >>confdefs.h <<_ACEOF
56818#define HAVE_FMODL 1
56819_ACEOF
56820
56821fi
56822done
56823
56824  else
56825
56826  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
56827$as_echo_n "checking for _fmodl declaration... " >&6; }
56828  if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
56829    if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
56830  $as_echo_n "(cached) " >&6
56831else
56832
56833
56834      ac_ext=cpp
56835ac_cpp='$CXXCPP $CPPFLAGS'
56836ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56837ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56838ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56839
56840      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56841/* end confdefs.h.  */
56842#include <math.h>
56843int
56844main ()
56845{
56846 _fmodl(0, 0);
56847  ;
56848  return 0;
56849}
56850_ACEOF
56851if ac_fn_cxx_try_compile "$LINENO"; then :
56852  glibcxx_cv_func__fmodl_use=yes
56853else
56854  glibcxx_cv_func__fmodl_use=no
56855fi
56856rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56857      ac_ext=c
56858ac_cpp='$CPP $CPPFLAGS'
56859ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56860ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56861ac_compiler_gnu=$ac_cv_c_compiler_gnu
56862
56863
56864fi
56865
56866  fi
56867  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
56868$as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
56869
56870    if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56871      for ac_func in _fmodl
56872do :
56873  ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
56874if test "x$ac_cv_func__fmodl" = x""yes; then :
56875  cat >>confdefs.h <<_ACEOF
56876#define HAVE__FMODL 1
56877_ACEOF
56878
56879fi
56880done
56881
56882    fi
56883  fi
56884
56885
56886
56887
56888
56889  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
56890$as_echo_n "checking for frexpl declaration... " >&6; }
56891  if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
56892    if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
56893  $as_echo_n "(cached) " >&6
56894else
56895
56896
56897      ac_ext=cpp
56898ac_cpp='$CXXCPP $CPPFLAGS'
56899ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56900ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56901ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56902
56903      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56904/* end confdefs.h.  */
56905#include <math.h>
56906int
56907main ()
56908{
56909 frexpl(0, 0);
56910  ;
56911  return 0;
56912}
56913_ACEOF
56914if ac_fn_cxx_try_compile "$LINENO"; then :
56915  glibcxx_cv_func_frexpl_use=yes
56916else
56917  glibcxx_cv_func_frexpl_use=no
56918fi
56919rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56920      ac_ext=c
56921ac_cpp='$CPP $CPPFLAGS'
56922ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56923ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56924ac_compiler_gnu=$ac_cv_c_compiler_gnu
56925
56926
56927fi
56928
56929  fi
56930  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
56931$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
56932
56933  if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
56934    for ac_func in frexpl
56935do :
56936  ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
56937if test "x$ac_cv_func_frexpl" = x""yes; then :
56938  cat >>confdefs.h <<_ACEOF
56939#define HAVE_FREXPL 1
56940_ACEOF
56941
56942fi
56943done
56944
56945  else
56946
56947  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
56948$as_echo_n "checking for _frexpl declaration... " >&6; }
56949  if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
56950    if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
56951  $as_echo_n "(cached) " >&6
56952else
56953
56954
56955      ac_ext=cpp
56956ac_cpp='$CXXCPP $CPPFLAGS'
56957ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56958ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56959ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56960
56961      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56962/* end confdefs.h.  */
56963#include <math.h>
56964int
56965main ()
56966{
56967 _frexpl(0, 0);
56968  ;
56969  return 0;
56970}
56971_ACEOF
56972if ac_fn_cxx_try_compile "$LINENO"; then :
56973  glibcxx_cv_func__frexpl_use=yes
56974else
56975  glibcxx_cv_func__frexpl_use=no
56976fi
56977rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56978      ac_ext=c
56979ac_cpp='$CPP $CPPFLAGS'
56980ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56981ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56982ac_compiler_gnu=$ac_cv_c_compiler_gnu
56983
56984
56985fi
56986
56987  fi
56988  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
56989$as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
56990
56991    if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
56992      for ac_func in _frexpl
56993do :
56994  ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
56995if test "x$ac_cv_func__frexpl" = x""yes; then :
56996  cat >>confdefs.h <<_ACEOF
56997#define HAVE__FREXPL 1
56998_ACEOF
56999
57000fi
57001done
57002
57003    fi
57004  fi
57005
57006
57007
57008
57009
57010  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
57011$as_echo_n "checking for hypotl declaration... " >&6; }
57012  if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
57013    if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
57014  $as_echo_n "(cached) " >&6
57015else
57016
57017
57018      ac_ext=cpp
57019ac_cpp='$CXXCPP $CPPFLAGS'
57020ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57021ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57022ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57023
57024      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57025/* end confdefs.h.  */
57026#include <math.h>
57027int
57028main ()
57029{
57030 hypotl(0, 0);
57031  ;
57032  return 0;
57033}
57034_ACEOF
57035if ac_fn_cxx_try_compile "$LINENO"; then :
57036  glibcxx_cv_func_hypotl_use=yes
57037else
57038  glibcxx_cv_func_hypotl_use=no
57039fi
57040rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57041      ac_ext=c
57042ac_cpp='$CPP $CPPFLAGS'
57043ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57044ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57045ac_compiler_gnu=$ac_cv_c_compiler_gnu
57046
57047
57048fi
57049
57050  fi
57051  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
57052$as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
57053
57054  if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
57055    for ac_func in hypotl
57056do :
57057  ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
57058if test "x$ac_cv_func_hypotl" = x""yes; then :
57059  cat >>confdefs.h <<_ACEOF
57060#define HAVE_HYPOTL 1
57061_ACEOF
57062
57063fi
57064done
57065
57066  else
57067
57068  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
57069$as_echo_n "checking for _hypotl declaration... " >&6; }
57070  if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
57071    if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
57072  $as_echo_n "(cached) " >&6
57073else
57074
57075
57076      ac_ext=cpp
57077ac_cpp='$CXXCPP $CPPFLAGS'
57078ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57079ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57080ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57081
57082      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57083/* end confdefs.h.  */
57084#include <math.h>
57085int
57086main ()
57087{
57088 _hypotl(0, 0);
57089  ;
57090  return 0;
57091}
57092_ACEOF
57093if ac_fn_cxx_try_compile "$LINENO"; then :
57094  glibcxx_cv_func__hypotl_use=yes
57095else
57096  glibcxx_cv_func__hypotl_use=no
57097fi
57098rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57099      ac_ext=c
57100ac_cpp='$CPP $CPPFLAGS'
57101ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57102ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57103ac_compiler_gnu=$ac_cv_c_compiler_gnu
57104
57105
57106fi
57107
57108  fi
57109  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
57110$as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
57111
57112    if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
57113      for ac_func in _hypotl
57114do :
57115  ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
57116if test "x$ac_cv_func__hypotl" = x""yes; then :
57117  cat >>confdefs.h <<_ACEOF
57118#define HAVE__HYPOTL 1
57119_ACEOF
57120
57121fi
57122done
57123
57124    fi
57125  fi
57126
57127
57128
57129
57130
57131  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
57132$as_echo_n "checking for ldexpl declaration... " >&6; }
57133  if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
57134    if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
57135  $as_echo_n "(cached) " >&6
57136else
57137
57138
57139      ac_ext=cpp
57140ac_cpp='$CXXCPP $CPPFLAGS'
57141ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57142ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57143ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57144
57145      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57146/* end confdefs.h.  */
57147#include <math.h>
57148int
57149main ()
57150{
57151 ldexpl(0, 0);
57152  ;
57153  return 0;
57154}
57155_ACEOF
57156if ac_fn_cxx_try_compile "$LINENO"; then :
57157  glibcxx_cv_func_ldexpl_use=yes
57158else
57159  glibcxx_cv_func_ldexpl_use=no
57160fi
57161rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57162      ac_ext=c
57163ac_cpp='$CPP $CPPFLAGS'
57164ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57165ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57166ac_compiler_gnu=$ac_cv_c_compiler_gnu
57167
57168
57169fi
57170
57171  fi
57172  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
57173$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
57174
57175  if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
57176    for ac_func in ldexpl
57177do :
57178  ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
57179if test "x$ac_cv_func_ldexpl" = x""yes; then :
57180  cat >>confdefs.h <<_ACEOF
57181#define HAVE_LDEXPL 1
57182_ACEOF
57183
57184fi
57185done
57186
57187  else
57188
57189  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
57190$as_echo_n "checking for _ldexpl declaration... " >&6; }
57191  if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
57192    if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
57193  $as_echo_n "(cached) " >&6
57194else
57195
57196
57197      ac_ext=cpp
57198ac_cpp='$CXXCPP $CPPFLAGS'
57199ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57200ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57201ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57202
57203      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57204/* end confdefs.h.  */
57205#include <math.h>
57206int
57207main ()
57208{
57209 _ldexpl(0, 0);
57210  ;
57211  return 0;
57212}
57213_ACEOF
57214if ac_fn_cxx_try_compile "$LINENO"; then :
57215  glibcxx_cv_func__ldexpl_use=yes
57216else
57217  glibcxx_cv_func__ldexpl_use=no
57218fi
57219rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57220      ac_ext=c
57221ac_cpp='$CPP $CPPFLAGS'
57222ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57223ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57224ac_compiler_gnu=$ac_cv_c_compiler_gnu
57225
57226
57227fi
57228
57229  fi
57230  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
57231$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
57232
57233    if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
57234      for ac_func in _ldexpl
57235do :
57236  ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
57237if test "x$ac_cv_func__ldexpl" = x""yes; then :
57238  cat >>confdefs.h <<_ACEOF
57239#define HAVE__LDEXPL 1
57240_ACEOF
57241
57242fi
57243done
57244
57245    fi
57246  fi
57247
57248
57249
57250
57251
57252  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
57253$as_echo_n "checking for logl declaration... " >&6; }
57254  if test x${glibcxx_cv_func_logl_use+set} != xset; then
57255    if test "${glibcxx_cv_func_logl_use+set}" = set; then :
57256  $as_echo_n "(cached) " >&6
57257else
57258
57259
57260      ac_ext=cpp
57261ac_cpp='$CXXCPP $CPPFLAGS'
57262ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57263ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57264ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57265
57266      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57267/* end confdefs.h.  */
57268#include <math.h>
57269		      #ifdef HAVE_IEEEFP_H
57270		      #include <ieeefp.h>
57271		      #endif
57272
57273int
57274main ()
57275{
57276 logl(0);
57277  ;
57278  return 0;
57279}
57280_ACEOF
57281if ac_fn_cxx_try_compile "$LINENO"; then :
57282  glibcxx_cv_func_logl_use=yes
57283else
57284  glibcxx_cv_func_logl_use=no
57285fi
57286rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57287      ac_ext=c
57288ac_cpp='$CPP $CPPFLAGS'
57289ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57290ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57291ac_compiler_gnu=$ac_cv_c_compiler_gnu
57292
57293
57294fi
57295
57296  fi
57297  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
57298$as_echo "$glibcxx_cv_func_logl_use" >&6; }
57299
57300  if test x$glibcxx_cv_func_logl_use = x"yes"; then
57301    for ac_func in logl
57302do :
57303  ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
57304if test "x$ac_cv_func_logl" = x""yes; then :
57305  cat >>confdefs.h <<_ACEOF
57306#define HAVE_LOGL 1
57307_ACEOF
57308
57309fi
57310done
57311
57312  else
57313
57314  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
57315$as_echo_n "checking for _logl declaration... " >&6; }
57316  if test x${glibcxx_cv_func__logl_use+set} != xset; then
57317    if test "${glibcxx_cv_func__logl_use+set}" = set; then :
57318  $as_echo_n "(cached) " >&6
57319else
57320
57321
57322      ac_ext=cpp
57323ac_cpp='$CXXCPP $CPPFLAGS'
57324ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57325ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57326ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57327
57328      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57329/* end confdefs.h.  */
57330#include <math.h>
57331		      #ifdef HAVE_IEEEFP_H
57332		      #include <ieeefp.h>
57333		      #endif
57334
57335int
57336main ()
57337{
57338 _logl(0);
57339  ;
57340  return 0;
57341}
57342_ACEOF
57343if ac_fn_cxx_try_compile "$LINENO"; then :
57344  glibcxx_cv_func__logl_use=yes
57345else
57346  glibcxx_cv_func__logl_use=no
57347fi
57348rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57349      ac_ext=c
57350ac_cpp='$CPP $CPPFLAGS'
57351ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57352ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57353ac_compiler_gnu=$ac_cv_c_compiler_gnu
57354
57355
57356fi
57357
57358  fi
57359  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
57360$as_echo "$glibcxx_cv_func__logl_use" >&6; }
57361
57362    if test x$glibcxx_cv_func__logl_use = x"yes"; then
57363      for ac_func in _logl
57364do :
57365  ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
57366if test "x$ac_cv_func__logl" = x""yes; then :
57367  cat >>confdefs.h <<_ACEOF
57368#define HAVE__LOGL 1
57369_ACEOF
57370
57371fi
57372done
57373
57374    fi
57375  fi
57376
57377
57378
57379
57380
57381  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
57382$as_echo_n "checking for log10l declaration... " >&6; }
57383  if test x${glibcxx_cv_func_log10l_use+set} != xset; then
57384    if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
57385  $as_echo_n "(cached) " >&6
57386else
57387
57388
57389      ac_ext=cpp
57390ac_cpp='$CXXCPP $CPPFLAGS'
57391ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57392ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57393ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57394
57395      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57396/* end confdefs.h.  */
57397#include <math.h>
57398		      #ifdef HAVE_IEEEFP_H
57399		      #include <ieeefp.h>
57400		      #endif
57401
57402int
57403main ()
57404{
57405 log10l(0);
57406  ;
57407  return 0;
57408}
57409_ACEOF
57410if ac_fn_cxx_try_compile "$LINENO"; then :
57411  glibcxx_cv_func_log10l_use=yes
57412else
57413  glibcxx_cv_func_log10l_use=no
57414fi
57415rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57416      ac_ext=c
57417ac_cpp='$CPP $CPPFLAGS'
57418ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57419ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57420ac_compiler_gnu=$ac_cv_c_compiler_gnu
57421
57422
57423fi
57424
57425  fi
57426  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
57427$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
57428
57429  if test x$glibcxx_cv_func_log10l_use = x"yes"; then
57430    for ac_func in log10l
57431do :
57432  ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
57433if test "x$ac_cv_func_log10l" = x""yes; then :
57434  cat >>confdefs.h <<_ACEOF
57435#define HAVE_LOG10L 1
57436_ACEOF
57437
57438fi
57439done
57440
57441  else
57442
57443  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
57444$as_echo_n "checking for _log10l declaration... " >&6; }
57445  if test x${glibcxx_cv_func__log10l_use+set} != xset; then
57446    if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
57447  $as_echo_n "(cached) " >&6
57448else
57449
57450
57451      ac_ext=cpp
57452ac_cpp='$CXXCPP $CPPFLAGS'
57453ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57454ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57455ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57456
57457      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57458/* end confdefs.h.  */
57459#include <math.h>
57460		      #ifdef HAVE_IEEEFP_H
57461		      #include <ieeefp.h>
57462		      #endif
57463
57464int
57465main ()
57466{
57467 _log10l(0);
57468  ;
57469  return 0;
57470}
57471_ACEOF
57472if ac_fn_cxx_try_compile "$LINENO"; then :
57473  glibcxx_cv_func__log10l_use=yes
57474else
57475  glibcxx_cv_func__log10l_use=no
57476fi
57477rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57478      ac_ext=c
57479ac_cpp='$CPP $CPPFLAGS'
57480ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57481ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57482ac_compiler_gnu=$ac_cv_c_compiler_gnu
57483
57484
57485fi
57486
57487  fi
57488  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
57489$as_echo "$glibcxx_cv_func__log10l_use" >&6; }
57490
57491    if test x$glibcxx_cv_func__log10l_use = x"yes"; then
57492      for ac_func in _log10l
57493do :
57494  ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
57495if test "x$ac_cv_func__log10l" = x""yes; then :
57496  cat >>confdefs.h <<_ACEOF
57497#define HAVE__LOG10L 1
57498_ACEOF
57499
57500fi
57501done
57502
57503    fi
57504  fi
57505
57506
57507
57508
57509
57510  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
57511$as_echo_n "checking for modfl declaration... " >&6; }
57512  if test x${glibcxx_cv_func_modfl_use+set} != xset; then
57513    if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
57514  $as_echo_n "(cached) " >&6
57515else
57516
57517
57518      ac_ext=cpp
57519ac_cpp='$CXXCPP $CPPFLAGS'
57520ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57521ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57522ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57523
57524      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57525/* end confdefs.h.  */
57526#include <math.h>
57527int
57528main ()
57529{
57530 modfl(0, 0);
57531  ;
57532  return 0;
57533}
57534_ACEOF
57535if ac_fn_cxx_try_compile "$LINENO"; then :
57536  glibcxx_cv_func_modfl_use=yes
57537else
57538  glibcxx_cv_func_modfl_use=no
57539fi
57540rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57541      ac_ext=c
57542ac_cpp='$CPP $CPPFLAGS'
57543ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57544ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57545ac_compiler_gnu=$ac_cv_c_compiler_gnu
57546
57547
57548fi
57549
57550  fi
57551  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
57552$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
57553
57554  if test x$glibcxx_cv_func_modfl_use = x"yes"; then
57555    for ac_func in modfl
57556do :
57557  ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
57558if test "x$ac_cv_func_modfl" = x""yes; then :
57559  cat >>confdefs.h <<_ACEOF
57560#define HAVE_MODFL 1
57561_ACEOF
57562
57563fi
57564done
57565
57566  else
57567
57568  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
57569$as_echo_n "checking for _modfl declaration... " >&6; }
57570  if test x${glibcxx_cv_func__modfl_use+set} != xset; then
57571    if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
57572  $as_echo_n "(cached) " >&6
57573else
57574
57575
57576      ac_ext=cpp
57577ac_cpp='$CXXCPP $CPPFLAGS'
57578ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57579ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57580ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57581
57582      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57583/* end confdefs.h.  */
57584#include <math.h>
57585int
57586main ()
57587{
57588 _modfl(0, 0);
57589  ;
57590  return 0;
57591}
57592_ACEOF
57593if ac_fn_cxx_try_compile "$LINENO"; then :
57594  glibcxx_cv_func__modfl_use=yes
57595else
57596  glibcxx_cv_func__modfl_use=no
57597fi
57598rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57599      ac_ext=c
57600ac_cpp='$CPP $CPPFLAGS'
57601ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57602ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57603ac_compiler_gnu=$ac_cv_c_compiler_gnu
57604
57605
57606fi
57607
57608  fi
57609  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
57610$as_echo "$glibcxx_cv_func__modfl_use" >&6; }
57611
57612    if test x$glibcxx_cv_func__modfl_use = x"yes"; then
57613      for ac_func in _modfl
57614do :
57615  ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
57616if test "x$ac_cv_func__modfl" = x""yes; then :
57617  cat >>confdefs.h <<_ACEOF
57618#define HAVE__MODFL 1
57619_ACEOF
57620
57621fi
57622done
57623
57624    fi
57625  fi
57626
57627
57628
57629
57630
57631  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
57632$as_echo_n "checking for powl declaration... " >&6; }
57633  if test x${glibcxx_cv_func_powl_use+set} != xset; then
57634    if test "${glibcxx_cv_func_powl_use+set}" = set; then :
57635  $as_echo_n "(cached) " >&6
57636else
57637
57638
57639      ac_ext=cpp
57640ac_cpp='$CXXCPP $CPPFLAGS'
57641ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57642ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57643ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57644
57645      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57646/* end confdefs.h.  */
57647#include <math.h>
57648int
57649main ()
57650{
57651 powl(0, 0);
57652  ;
57653  return 0;
57654}
57655_ACEOF
57656if ac_fn_cxx_try_compile "$LINENO"; then :
57657  glibcxx_cv_func_powl_use=yes
57658else
57659  glibcxx_cv_func_powl_use=no
57660fi
57661rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57662      ac_ext=c
57663ac_cpp='$CPP $CPPFLAGS'
57664ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57665ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57666ac_compiler_gnu=$ac_cv_c_compiler_gnu
57667
57668
57669fi
57670
57671  fi
57672  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
57673$as_echo "$glibcxx_cv_func_powl_use" >&6; }
57674
57675  if test x$glibcxx_cv_func_powl_use = x"yes"; then
57676    for ac_func in powl
57677do :
57678  ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
57679if test "x$ac_cv_func_powl" = x""yes; then :
57680  cat >>confdefs.h <<_ACEOF
57681#define HAVE_POWL 1
57682_ACEOF
57683
57684fi
57685done
57686
57687  else
57688
57689  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
57690$as_echo_n "checking for _powl declaration... " >&6; }
57691  if test x${glibcxx_cv_func__powl_use+set} != xset; then
57692    if test "${glibcxx_cv_func__powl_use+set}" = set; then :
57693  $as_echo_n "(cached) " >&6
57694else
57695
57696
57697      ac_ext=cpp
57698ac_cpp='$CXXCPP $CPPFLAGS'
57699ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57700ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57701ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57702
57703      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57704/* end confdefs.h.  */
57705#include <math.h>
57706int
57707main ()
57708{
57709 _powl(0, 0);
57710  ;
57711  return 0;
57712}
57713_ACEOF
57714if ac_fn_cxx_try_compile "$LINENO"; then :
57715  glibcxx_cv_func__powl_use=yes
57716else
57717  glibcxx_cv_func__powl_use=no
57718fi
57719rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57720      ac_ext=c
57721ac_cpp='$CPP $CPPFLAGS'
57722ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57723ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57724ac_compiler_gnu=$ac_cv_c_compiler_gnu
57725
57726
57727fi
57728
57729  fi
57730  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
57731$as_echo "$glibcxx_cv_func__powl_use" >&6; }
57732
57733    if test x$glibcxx_cv_func__powl_use = x"yes"; then
57734      for ac_func in _powl
57735do :
57736  ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
57737if test "x$ac_cv_func__powl" = x""yes; then :
57738  cat >>confdefs.h <<_ACEOF
57739#define HAVE__POWL 1
57740_ACEOF
57741
57742fi
57743done
57744
57745    fi
57746  fi
57747
57748
57749
57750
57751
57752  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
57753$as_echo_n "checking for sqrtl declaration... " >&6; }
57754  if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
57755    if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
57756  $as_echo_n "(cached) " >&6
57757else
57758
57759
57760      ac_ext=cpp
57761ac_cpp='$CXXCPP $CPPFLAGS'
57762ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57763ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57764ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57765
57766      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57767/* end confdefs.h.  */
57768#include <math.h>
57769		      #ifdef HAVE_IEEEFP_H
57770		      #include <ieeefp.h>
57771		      #endif
57772
57773int
57774main ()
57775{
57776 sqrtl(0);
57777  ;
57778  return 0;
57779}
57780_ACEOF
57781if ac_fn_cxx_try_compile "$LINENO"; then :
57782  glibcxx_cv_func_sqrtl_use=yes
57783else
57784  glibcxx_cv_func_sqrtl_use=no
57785fi
57786rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57787      ac_ext=c
57788ac_cpp='$CPP $CPPFLAGS'
57789ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57790ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57791ac_compiler_gnu=$ac_cv_c_compiler_gnu
57792
57793
57794fi
57795
57796  fi
57797  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
57798$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
57799
57800  if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
57801    for ac_func in sqrtl
57802do :
57803  ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
57804if test "x$ac_cv_func_sqrtl" = x""yes; then :
57805  cat >>confdefs.h <<_ACEOF
57806#define HAVE_SQRTL 1
57807_ACEOF
57808
57809fi
57810done
57811
57812  else
57813
57814  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
57815$as_echo_n "checking for _sqrtl declaration... " >&6; }
57816  if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
57817    if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
57818  $as_echo_n "(cached) " >&6
57819else
57820
57821
57822      ac_ext=cpp
57823ac_cpp='$CXXCPP $CPPFLAGS'
57824ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57825ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57826ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57827
57828      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57829/* end confdefs.h.  */
57830#include <math.h>
57831		      #ifdef HAVE_IEEEFP_H
57832		      #include <ieeefp.h>
57833		      #endif
57834
57835int
57836main ()
57837{
57838 _sqrtl(0);
57839  ;
57840  return 0;
57841}
57842_ACEOF
57843if ac_fn_cxx_try_compile "$LINENO"; then :
57844  glibcxx_cv_func__sqrtl_use=yes
57845else
57846  glibcxx_cv_func__sqrtl_use=no
57847fi
57848rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57849      ac_ext=c
57850ac_cpp='$CPP $CPPFLAGS'
57851ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57852ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57853ac_compiler_gnu=$ac_cv_c_compiler_gnu
57854
57855
57856fi
57857
57858  fi
57859  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
57860$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
57861
57862    if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
57863      for ac_func in _sqrtl
57864do :
57865  ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
57866if test "x$ac_cv_func__sqrtl" = x""yes; then :
57867  cat >>confdefs.h <<_ACEOF
57868#define HAVE__SQRTL 1
57869_ACEOF
57870
57871fi
57872done
57873
57874    fi
57875  fi
57876
57877
57878
57879
57880
57881  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
57882$as_echo_n "checking for sincosl declaration... " >&6; }
57883  if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
57884    if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
57885  $as_echo_n "(cached) " >&6
57886else
57887
57888
57889      ac_ext=cpp
57890ac_cpp='$CXXCPP $CPPFLAGS'
57891ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57892ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57893ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57894
57895      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57896/* end confdefs.h.  */
57897#include <math.h>
57898int
57899main ()
57900{
57901 sincosl(0, 0, 0);
57902  ;
57903  return 0;
57904}
57905_ACEOF
57906if ac_fn_cxx_try_compile "$LINENO"; then :
57907  glibcxx_cv_func_sincosl_use=yes
57908else
57909  glibcxx_cv_func_sincosl_use=no
57910fi
57911rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57912      ac_ext=c
57913ac_cpp='$CPP $CPPFLAGS'
57914ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57915ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57916ac_compiler_gnu=$ac_cv_c_compiler_gnu
57917
57918
57919fi
57920
57921  fi
57922  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
57923$as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
57924
57925  if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
57926    for ac_func in sincosl
57927do :
57928  ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
57929if test "x$ac_cv_func_sincosl" = x""yes; then :
57930  cat >>confdefs.h <<_ACEOF
57931#define HAVE_SINCOSL 1
57932_ACEOF
57933
57934fi
57935done
57936
57937  else
57938
57939  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
57940$as_echo_n "checking for _sincosl declaration... " >&6; }
57941  if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
57942    if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
57943  $as_echo_n "(cached) " >&6
57944else
57945
57946
57947      ac_ext=cpp
57948ac_cpp='$CXXCPP $CPPFLAGS'
57949ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57950ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57951ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57952
57953      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57954/* end confdefs.h.  */
57955#include <math.h>
57956int
57957main ()
57958{
57959 _sincosl(0, 0, 0);
57960  ;
57961  return 0;
57962}
57963_ACEOF
57964if ac_fn_cxx_try_compile "$LINENO"; then :
57965  glibcxx_cv_func__sincosl_use=yes
57966else
57967  glibcxx_cv_func__sincosl_use=no
57968fi
57969rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57970      ac_ext=c
57971ac_cpp='$CPP $CPPFLAGS'
57972ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57973ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57974ac_compiler_gnu=$ac_cv_c_compiler_gnu
57975
57976
57977fi
57978
57979  fi
57980  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
57981$as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
57982
57983    if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
57984      for ac_func in _sincosl
57985do :
57986  ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
57987if test "x$ac_cv_func__sincosl" = x""yes; then :
57988  cat >>confdefs.h <<_ACEOF
57989#define HAVE__SINCOSL 1
57990_ACEOF
57991
57992fi
57993done
57994
57995    fi
57996  fi
57997
57998
57999
58000
58001
58002  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
58003$as_echo_n "checking for finitel declaration... " >&6; }
58004  if test x${glibcxx_cv_func_finitel_use+set} != xset; then
58005    if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
58006  $as_echo_n "(cached) " >&6
58007else
58008
58009
58010      ac_ext=cpp
58011ac_cpp='$CXXCPP $CPPFLAGS'
58012ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58013ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58014ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58015
58016      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58017/* end confdefs.h.  */
58018#include <math.h>
58019		      #ifdef HAVE_IEEEFP_H
58020		      #include <ieeefp.h>
58021		      #endif
58022
58023int
58024main ()
58025{
58026 finitel(0);
58027  ;
58028  return 0;
58029}
58030_ACEOF
58031if ac_fn_cxx_try_compile "$LINENO"; then :
58032  glibcxx_cv_func_finitel_use=yes
58033else
58034  glibcxx_cv_func_finitel_use=no
58035fi
58036rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58037      ac_ext=c
58038ac_cpp='$CPP $CPPFLAGS'
58039ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58040ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58041ac_compiler_gnu=$ac_cv_c_compiler_gnu
58042
58043
58044fi
58045
58046  fi
58047  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
58048$as_echo "$glibcxx_cv_func_finitel_use" >&6; }
58049
58050  if test x$glibcxx_cv_func_finitel_use = x"yes"; then
58051    for ac_func in finitel
58052do :
58053  ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
58054if test "x$ac_cv_func_finitel" = x""yes; then :
58055  cat >>confdefs.h <<_ACEOF
58056#define HAVE_FINITEL 1
58057_ACEOF
58058
58059fi
58060done
58061
58062  else
58063
58064  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
58065$as_echo_n "checking for _finitel declaration... " >&6; }
58066  if test x${glibcxx_cv_func__finitel_use+set} != xset; then
58067    if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
58068  $as_echo_n "(cached) " >&6
58069else
58070
58071
58072      ac_ext=cpp
58073ac_cpp='$CXXCPP $CPPFLAGS'
58074ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58075ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58076ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58077
58078      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58079/* end confdefs.h.  */
58080#include <math.h>
58081		      #ifdef HAVE_IEEEFP_H
58082		      #include <ieeefp.h>
58083		      #endif
58084
58085int
58086main ()
58087{
58088 _finitel(0);
58089  ;
58090  return 0;
58091}
58092_ACEOF
58093if ac_fn_cxx_try_compile "$LINENO"; then :
58094  glibcxx_cv_func__finitel_use=yes
58095else
58096  glibcxx_cv_func__finitel_use=no
58097fi
58098rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58099      ac_ext=c
58100ac_cpp='$CPP $CPPFLAGS'
58101ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58102ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58103ac_compiler_gnu=$ac_cv_c_compiler_gnu
58104
58105
58106fi
58107
58108  fi
58109  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
58110$as_echo "$glibcxx_cv_func__finitel_use" >&6; }
58111
58112    if test x$glibcxx_cv_func__finitel_use = x"yes"; then
58113      for ac_func in _finitel
58114do :
58115  ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
58116if test "x$ac_cv_func__finitel" = x""yes; then :
58117  cat >>confdefs.h <<_ACEOF
58118#define HAVE__FINITEL 1
58119_ACEOF
58120
58121fi
58122done
58123
58124    fi
58125  fi
58126
58127
58128
58129
58130  LIBS="$ac_save_LIBS"
58131  CXXFLAGS="$ac_save_CXXFLAGS"
58132
58133
58134  ac_test_CXXFLAGS="${CXXFLAGS+set}"
58135  ac_save_CXXFLAGS="$CXXFLAGS"
58136  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58137
58138
58139  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
58140$as_echo_n "checking for at_quick_exit declaration... " >&6; }
58141  if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
58142    if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
58143  $as_echo_n "(cached) " >&6
58144else
58145
58146
58147      ac_ext=cpp
58148ac_cpp='$CXXCPP $CPPFLAGS'
58149ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58150ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58151ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58152
58153      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58154/* end confdefs.h.  */
58155#include <stdlib.h>
58156int
58157main ()
58158{
58159 at_quick_exit(0);
58160  ;
58161  return 0;
58162}
58163_ACEOF
58164if ac_fn_cxx_try_compile "$LINENO"; then :
58165  glibcxx_cv_func_at_quick_exit_use=yes
58166else
58167  glibcxx_cv_func_at_quick_exit_use=no
58168fi
58169rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58170      ac_ext=c
58171ac_cpp='$CPP $CPPFLAGS'
58172ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58173ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58174ac_compiler_gnu=$ac_cv_c_compiler_gnu
58175
58176
58177fi
58178
58179  fi
58180  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
58181$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
58182  if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
58183    for ac_func in at_quick_exit
58184do :
58185  ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
58186if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
58187  cat >>confdefs.h <<_ACEOF
58188#define HAVE_AT_QUICK_EXIT 1
58189_ACEOF
58190
58191fi
58192done
58193
58194  fi
58195
58196
58197  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
58198$as_echo_n "checking for quick_exit declaration... " >&6; }
58199  if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
58200    if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
58201  $as_echo_n "(cached) " >&6
58202else
58203
58204
58205      ac_ext=cpp
58206ac_cpp='$CXXCPP $CPPFLAGS'
58207ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58208ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58209ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58210
58211      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58212/* end confdefs.h.  */
58213#include <stdlib.h>
58214int
58215main ()
58216{
58217 quick_exit(0);
58218  ;
58219  return 0;
58220}
58221_ACEOF
58222if ac_fn_cxx_try_compile "$LINENO"; then :
58223  glibcxx_cv_func_quick_exit_use=yes
58224else
58225  glibcxx_cv_func_quick_exit_use=no
58226fi
58227rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58228      ac_ext=c
58229ac_cpp='$CPP $CPPFLAGS'
58230ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58231ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58232ac_compiler_gnu=$ac_cv_c_compiler_gnu
58233
58234
58235fi
58236
58237  fi
58238  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
58239$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
58240  if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
58241    for ac_func in quick_exit
58242do :
58243  ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
58244if test "x$ac_cv_func_quick_exit" = x""yes; then :
58245  cat >>confdefs.h <<_ACEOF
58246#define HAVE_QUICK_EXIT 1
58247_ACEOF
58248
58249fi
58250done
58251
58252  fi
58253
58254
58255  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
58256$as_echo_n "checking for strtold declaration... " >&6; }
58257  if test x${glibcxx_cv_func_strtold_use+set} != xset; then
58258    if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
58259  $as_echo_n "(cached) " >&6
58260else
58261
58262
58263      ac_ext=cpp
58264ac_cpp='$CXXCPP $CPPFLAGS'
58265ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58266ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58267ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58268
58269      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58270/* end confdefs.h.  */
58271#include <stdlib.h>
58272int
58273main ()
58274{
58275 strtold(0, 0);
58276  ;
58277  return 0;
58278}
58279_ACEOF
58280if ac_fn_cxx_try_compile "$LINENO"; then :
58281  glibcxx_cv_func_strtold_use=yes
58282else
58283  glibcxx_cv_func_strtold_use=no
58284fi
58285rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58286      ac_ext=c
58287ac_cpp='$CPP $CPPFLAGS'
58288ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58289ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58290ac_compiler_gnu=$ac_cv_c_compiler_gnu
58291
58292
58293fi
58294
58295  fi
58296  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
58297$as_echo "$glibcxx_cv_func_strtold_use" >&6; }
58298  if test x$glibcxx_cv_func_strtold_use = x"yes"; then
58299    for ac_func in strtold
58300do :
58301  ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
58302if test "x$ac_cv_func_strtold" = x""yes; then :
58303  cat >>confdefs.h <<_ACEOF
58304#define HAVE_STRTOLD 1
58305_ACEOF
58306
58307fi
58308done
58309
58310  fi
58311
58312
58313
58314
58315  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
58316$as_echo_n "checking for strtof declaration... " >&6; }
58317  if test x${glibcxx_cv_func_strtof_use+set} != xset; then
58318    if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
58319  $as_echo_n "(cached) " >&6
58320else
58321
58322
58323      ac_ext=cpp
58324ac_cpp='$CXXCPP $CPPFLAGS'
58325ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58326ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58327ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58328
58329      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58330/* end confdefs.h.  */
58331#include <stdlib.h>
58332int
58333main ()
58334{
58335 strtof(0, 0);
58336  ;
58337  return 0;
58338}
58339_ACEOF
58340if ac_fn_cxx_try_compile "$LINENO"; then :
58341  glibcxx_cv_func_strtof_use=yes
58342else
58343  glibcxx_cv_func_strtof_use=no
58344fi
58345rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58346      ac_ext=c
58347ac_cpp='$CPP $CPPFLAGS'
58348ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58349ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58350ac_compiler_gnu=$ac_cv_c_compiler_gnu
58351
58352
58353fi
58354
58355  fi
58356  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
58357$as_echo "$glibcxx_cv_func_strtof_use" >&6; }
58358  if test x$glibcxx_cv_func_strtof_use = x"yes"; then
58359    for ac_func in strtof
58360do :
58361  ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
58362if test "x$ac_cv_func_strtof" = x""yes; then :
58363  cat >>confdefs.h <<_ACEOF
58364#define HAVE_STRTOF 1
58365_ACEOF
58366
58367fi
58368done
58369
58370  fi
58371
58372
58373
58374
58375  CXXFLAGS="$ac_save_CXXFLAGS"
58376
58377    ;;
58378  *-netbsd*)
58379    SECTION_FLAGS='-ffunction-sections -fdata-sections'
58380
58381
58382  # If we're not using GNU ld, then there's no point in even trying these
58383  # tests.  Check for that first.  We should have already tested for gld
58384  # by now (in libtool), but require it now just to be safe...
58385  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
58386  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
58387
58388
58389
58390  # The name set by libtool depends on the version of libtool.  Shame on us
58391  # for depending on an impl detail, but c'est la vie.  Older versions used
58392  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
58393  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
58394  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
58395  # set (hence we're using an older libtool), then set it.
58396  if test x${with_gnu_ld+set} != xset; then
58397    if test x${ac_cv_prog_gnu_ld+set} != xset; then
58398      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
58399      with_gnu_ld=no
58400    else
58401      with_gnu_ld=$ac_cv_prog_gnu_ld
58402    fi
58403  fi
58404
58405  # Start by getting the version number.  I think the libtool test already
58406  # does some of this, but throws away the result.
58407  glibcxx_ld_is_gold=no
58408  if test x"$with_gnu_ld" = x"yes"; then
58409    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
58410$as_echo_n "checking for ld version... " >&6; }
58411
58412    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
58413      glibcxx_ld_is_gold=yes
58414    fi
58415    ldver=`$LD --version 2>/dev/null |
58416	   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'`
58417
58418    glibcxx_gnu_ld_version=`echo $ldver | \
58419	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
58420    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
58421$as_echo "$glibcxx_gnu_ld_version" >&6; }
58422  fi
58423
58424  # Set --gc-sections.
58425  glibcxx_have_gc_sections=no
58426  if test "$glibcxx_ld_is_gold" = "yes"; then
58427    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
58428      glibcxx_have_gc_sections=yes
58429    fi
58430  else
58431    glibcxx_gcsections_min_ld=21602
58432    if test x"$with_gnu_ld" = x"yes" &&
58433	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
58434      glibcxx_have_gc_sections=yes
58435    fi
58436  fi
58437  if test "$glibcxx_have_gc_sections" = "yes"; then
58438    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
58439    # NB: This flag only works reliably after 2.16.1. Configure tests
58440    # for this are difficult, so hard wire a value that should work.
58441
58442    ac_test_CFLAGS="${CFLAGS+set}"
58443    ac_save_CFLAGS="$CFLAGS"
58444    CFLAGS='-Wl,--gc-sections'
58445
58446    # Check for -Wl,--gc-sections
58447    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
58448$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
58449    if test x$gcc_no_link = xyes; then
58450  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58451fi
58452cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58453/* end confdefs.h.  */
58454 int one(void) { return 1; }
58455     int two(void) { return 2; }
58456
58457int
58458main ()
58459{
58460 two();
58461  ;
58462  return 0;
58463}
58464_ACEOF
58465if ac_fn_c_try_link "$LINENO"; then :
58466  ac_gcsections=yes
58467else
58468  ac_gcsections=no
58469fi
58470rm -f core conftest.err conftest.$ac_objext \
58471    conftest$ac_exeext conftest.$ac_ext
58472    if test "$ac_gcsections" = "yes"; then
58473      rm -f conftest.c
58474      touch conftest.c
58475      if $CC -c conftest.c; then
58476	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
58477	   grep "Warning: gc-sections option ignored" > /dev/null; then
58478	  ac_gcsections=no
58479	fi
58480      fi
58481      rm -f conftest.c conftest.o conftest
58482    fi
58483    if test "$ac_gcsections" = "yes"; then
58484      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58485    fi
58486    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
58487$as_echo "$ac_gcsections" >&6; }
58488
58489    if test "$ac_test_CFLAGS" = set; then
58490      CFLAGS="$ac_save_CFLAGS"
58491    else
58492      # this is the suspicious part
58493      CFLAGS=''
58494    fi
58495  fi
58496
58497  # Set -z,relro.
58498  # Note this is only for shared objects.
58499  ac_ld_relro=no
58500  if test x"$with_gnu_ld" = x"yes"; then
58501    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
58502$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
58503    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
58504    if test -n "$cxx_z_relo"; then
58505      OPT_LDFLAGS="-Wl,-z,relro"
58506      ac_ld_relro=yes
58507    fi
58508    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
58509$as_echo "$ac_ld_relro" >&6; }
58510  fi
58511
58512  # Set linker optimization flags.
58513  if test x"$with_gnu_ld" = x"yes"; then
58514    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58515  fi
58516
58517
58518
58519
58520    $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
58521
58522    $as_echo "#define HAVE_FINITE 1" >>confdefs.h
58523
58524    $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
58525
58526    $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
58527
58528    $as_echo "#define HAVE_ISINF 1" >>confdefs.h
58529
58530    $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
58531
58532    $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
58533
58534    $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
58535
58536    if test x"long_double_math_on_this_cpu" = x"yes"; then
58537      $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
58538
58539      $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
58540
58541      $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
58542
58543    fi
58544    ;;
58545  *-qnx6.1* | *-qnx6.2*)
58546    SECTION_FLAGS='-ffunction-sections -fdata-sections'
58547
58548
58549  # If we're not using GNU ld, then there's no point in even trying these
58550  # tests.  Check for that first.  We should have already tested for gld
58551  # by now (in libtool), but require it now just to be safe...
58552  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
58553  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
58554
58555
58556
58557  # The name set by libtool depends on the version of libtool.  Shame on us
58558  # for depending on an impl detail, but c'est la vie.  Older versions used
58559  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
58560  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
58561  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
58562  # set (hence we're using an older libtool), then set it.
58563  if test x${with_gnu_ld+set} != xset; then
58564    if test x${ac_cv_prog_gnu_ld+set} != xset; then
58565      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
58566      with_gnu_ld=no
58567    else
58568      with_gnu_ld=$ac_cv_prog_gnu_ld
58569    fi
58570  fi
58571
58572  # Start by getting the version number.  I think the libtool test already
58573  # does some of this, but throws away the result.
58574  glibcxx_ld_is_gold=no
58575  if test x"$with_gnu_ld" = x"yes"; then
58576    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
58577$as_echo_n "checking for ld version... " >&6; }
58578
58579    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
58580      glibcxx_ld_is_gold=yes
58581    fi
58582    ldver=`$LD --version 2>/dev/null |
58583	   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'`
58584
58585    glibcxx_gnu_ld_version=`echo $ldver | \
58586	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
58587    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
58588$as_echo "$glibcxx_gnu_ld_version" >&6; }
58589  fi
58590
58591  # Set --gc-sections.
58592  glibcxx_have_gc_sections=no
58593  if test "$glibcxx_ld_is_gold" = "yes"; then
58594    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
58595      glibcxx_have_gc_sections=yes
58596    fi
58597  else
58598    glibcxx_gcsections_min_ld=21602
58599    if test x"$with_gnu_ld" = x"yes" &&
58600	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
58601      glibcxx_have_gc_sections=yes
58602    fi
58603  fi
58604  if test "$glibcxx_have_gc_sections" = "yes"; then
58605    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
58606    # NB: This flag only works reliably after 2.16.1. Configure tests
58607    # for this are difficult, so hard wire a value that should work.
58608
58609    ac_test_CFLAGS="${CFLAGS+set}"
58610    ac_save_CFLAGS="$CFLAGS"
58611    CFLAGS='-Wl,--gc-sections'
58612
58613    # Check for -Wl,--gc-sections
58614    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
58615$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
58616    if test x$gcc_no_link = xyes; then
58617  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58618fi
58619cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58620/* end confdefs.h.  */
58621 int one(void) { return 1; }
58622     int two(void) { return 2; }
58623
58624int
58625main ()
58626{
58627 two();
58628  ;
58629  return 0;
58630}
58631_ACEOF
58632if ac_fn_c_try_link "$LINENO"; then :
58633  ac_gcsections=yes
58634else
58635  ac_gcsections=no
58636fi
58637rm -f core conftest.err conftest.$ac_objext \
58638    conftest$ac_exeext conftest.$ac_ext
58639    if test "$ac_gcsections" = "yes"; then
58640      rm -f conftest.c
58641      touch conftest.c
58642      if $CC -c conftest.c; then
58643	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
58644	   grep "Warning: gc-sections option ignored" > /dev/null; then
58645	  ac_gcsections=no
58646	fi
58647      fi
58648      rm -f conftest.c conftest.o conftest
58649    fi
58650    if test "$ac_gcsections" = "yes"; then
58651      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58652    fi
58653    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
58654$as_echo "$ac_gcsections" >&6; }
58655
58656    if test "$ac_test_CFLAGS" = set; then
58657      CFLAGS="$ac_save_CFLAGS"
58658    else
58659      # this is the suspicious part
58660      CFLAGS=''
58661    fi
58662  fi
58663
58664  # Set -z,relro.
58665  # Note this is only for shared objects.
58666  ac_ld_relro=no
58667  if test x"$with_gnu_ld" = x"yes"; then
58668    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
58669$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
58670    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
58671    if test -n "$cxx_z_relo"; then
58672      OPT_LDFLAGS="-Wl,-z,relro"
58673      ac_ld_relro=yes
58674    fi
58675    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
58676$as_echo "$ac_ld_relro" >&6; }
58677  fi
58678
58679  # Set linker optimization flags.
58680  if test x"$with_gnu_ld" = x"yes"; then
58681    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58682  fi
58683
58684
58685
58686
58687    $as_echo "#define HAVE_COSF 1" >>confdefs.h
58688
58689    $as_echo "#define HAVE_COSL 1" >>confdefs.h
58690
58691    $as_echo "#define HAVE_COSHF 1" >>confdefs.h
58692
58693    $as_echo "#define HAVE_COSHL 1" >>confdefs.h
58694
58695    $as_echo "#define HAVE_LOGF 1" >>confdefs.h
58696
58697    $as_echo "#define HAVE_LOGL 1" >>confdefs.h
58698
58699    $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
58700
58701    $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
58702
58703    $as_echo "#define HAVE_SINF 1" >>confdefs.h
58704
58705    $as_echo "#define HAVE_SINL 1" >>confdefs.h
58706
58707    $as_echo "#define HAVE_SINHF 1" >>confdefs.h
58708
58709    $as_echo "#define HAVE_SINHL 1" >>confdefs.h
58710
58711    ;;
58712  *-rtems*)
58713
58714  # All these tests are for C++; save the language and the compiler flags.
58715  # The CXXFLAGS thing is suspicious, but based on similar bits previously
58716  # found in GLIBCXX_CONFIGURE.
58717
58718  ac_ext=cpp
58719ac_cpp='$CXXCPP $CPPFLAGS'
58720ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58721ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58722ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58723
58724  ac_test_CXXFLAGS="${CXXFLAGS+set}"
58725  ac_save_CXXFLAGS="$CXXFLAGS"
58726
58727  # Check for maintainer-mode bits.
58728  if test x"$USE_MAINTAINER_MODE" = xno; then
58729    WERROR=''
58730  else
58731    WERROR='-Werror'
58732  fi
58733
58734  # Check for -ffunction-sections -fdata-sections
58735  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
58736$as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
58737  CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
58738  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58739/* end confdefs.h.  */
58740int foo; void bar() { };
58741int
58742main ()
58743{
58744
58745  ;
58746  return 0;
58747}
58748_ACEOF
58749if ac_fn_cxx_try_compile "$LINENO"; then :
58750  ac_fdsections=yes
58751else
58752  ac_fdsections=no
58753fi
58754rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58755  if test "$ac_test_CXXFLAGS" = set; then
58756    CXXFLAGS="$ac_save_CXXFLAGS"
58757  else
58758    # this is the suspicious part
58759    CXXFLAGS=''
58760  fi
58761  if test x"$ac_fdsections" = x"yes"; then
58762    SECTION_FLAGS='-ffunction-sections -fdata-sections'
58763  fi
58764  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
58765$as_echo "$ac_fdsections" >&6; }
58766
58767  ac_ext=c
58768ac_cpp='$CPP $CPPFLAGS'
58769ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58770ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58771ac_compiler_gnu=$ac_cv_c_compiler_gnu
58772
58773
58774
58775
58776
58777  # If we're not using GNU ld, then there's no point in even trying these
58778  # tests.  Check for that first.  We should have already tested for gld
58779  # by now (in libtool), but require it now just to be safe...
58780  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
58781  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
58782
58783
58784
58785  # The name set by libtool depends on the version of libtool.  Shame on us
58786  # for depending on an impl detail, but c'est la vie.  Older versions used
58787  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
58788  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
58789  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
58790  # set (hence we're using an older libtool), then set it.
58791  if test x${with_gnu_ld+set} != xset; then
58792    if test x${ac_cv_prog_gnu_ld+set} != xset; then
58793      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
58794      with_gnu_ld=no
58795    else
58796      with_gnu_ld=$ac_cv_prog_gnu_ld
58797    fi
58798  fi
58799
58800  # Start by getting the version number.  I think the libtool test already
58801  # does some of this, but throws away the result.
58802  glibcxx_ld_is_gold=no
58803  if test x"$with_gnu_ld" = x"yes"; then
58804    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
58805$as_echo_n "checking for ld version... " >&6; }
58806
58807    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
58808      glibcxx_ld_is_gold=yes
58809    fi
58810    ldver=`$LD --version 2>/dev/null |
58811	   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'`
58812
58813    glibcxx_gnu_ld_version=`echo $ldver | \
58814	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
58815    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
58816$as_echo "$glibcxx_gnu_ld_version" >&6; }
58817  fi
58818
58819  # Set --gc-sections.
58820  glibcxx_have_gc_sections=no
58821  if test "$glibcxx_ld_is_gold" = "yes"; then
58822    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
58823      glibcxx_have_gc_sections=yes
58824    fi
58825  else
58826    glibcxx_gcsections_min_ld=21602
58827    if test x"$with_gnu_ld" = x"yes" &&
58828	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
58829      glibcxx_have_gc_sections=yes
58830    fi
58831  fi
58832  if test "$glibcxx_have_gc_sections" = "yes"; then
58833    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
58834    # NB: This flag only works reliably after 2.16.1. Configure tests
58835    # for this are difficult, so hard wire a value that should work.
58836
58837    ac_test_CFLAGS="${CFLAGS+set}"
58838    ac_save_CFLAGS="$CFLAGS"
58839    CFLAGS='-Wl,--gc-sections'
58840
58841    # Check for -Wl,--gc-sections
58842    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
58843$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
58844    if test x$gcc_no_link = xyes; then
58845  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58846fi
58847cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58848/* end confdefs.h.  */
58849 int one(void) { return 1; }
58850     int two(void) { return 2; }
58851
58852int
58853main ()
58854{
58855 two();
58856  ;
58857  return 0;
58858}
58859_ACEOF
58860if ac_fn_c_try_link "$LINENO"; then :
58861  ac_gcsections=yes
58862else
58863  ac_gcsections=no
58864fi
58865rm -f core conftest.err conftest.$ac_objext \
58866    conftest$ac_exeext conftest.$ac_ext
58867    if test "$ac_gcsections" = "yes"; then
58868      rm -f conftest.c
58869      touch conftest.c
58870      if $CC -c conftest.c; then
58871	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
58872	   grep "Warning: gc-sections option ignored" > /dev/null; then
58873	  ac_gcsections=no
58874	fi
58875      fi
58876      rm -f conftest.c conftest.o conftest
58877    fi
58878    if test "$ac_gcsections" = "yes"; then
58879      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58880    fi
58881    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
58882$as_echo "$ac_gcsections" >&6; }
58883
58884    if test "$ac_test_CFLAGS" = set; then
58885      CFLAGS="$ac_save_CFLAGS"
58886    else
58887      # this is the suspicious part
58888      CFLAGS=''
58889    fi
58890  fi
58891
58892  # Set -z,relro.
58893  # Note this is only for shared objects.
58894  ac_ld_relro=no
58895  if test x"$with_gnu_ld" = x"yes"; then
58896    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
58897$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
58898    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
58899    if test -n "$cxx_z_relo"; then
58900      OPT_LDFLAGS="-Wl,-z,relro"
58901      ac_ld_relro=yes
58902    fi
58903    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
58904$as_echo "$ac_ld_relro" >&6; }
58905  fi
58906
58907  # Set linker optimization flags.
58908  if test x"$with_gnu_ld" = x"yes"; then
58909    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58910  fi
58911
58912
58913
58914
58915
58916  ac_test_CXXFLAGS="${CXXFLAGS+set}"
58917  ac_save_CXXFLAGS="$CXXFLAGS"
58918  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58919
58920    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
58921$as_echo_n "checking for sin in -lm... " >&6; }
58922if test "${ac_cv_lib_m_sin+set}" = set; then :
58923  $as_echo_n "(cached) " >&6
58924else
58925  ac_check_lib_save_LIBS=$LIBS
58926LIBS="-lm  $LIBS"
58927if test x$gcc_no_link = xyes; then
58928  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58929fi
58930cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58931/* end confdefs.h.  */
58932
58933/* Override any GCC internal prototype to avoid an error.
58934   Use char because int might match the return type of a GCC
58935   builtin and then its argument prototype would still apply.  */
58936#ifdef __cplusplus
58937extern "C"
58938#endif
58939char sin ();
58940int
58941main ()
58942{
58943return sin ();
58944  ;
58945  return 0;
58946}
58947_ACEOF
58948if ac_fn_c_try_link "$LINENO"; then :
58949  ac_cv_lib_m_sin=yes
58950else
58951  ac_cv_lib_m_sin=no
58952fi
58953rm -f core conftest.err conftest.$ac_objext \
58954    conftest$ac_exeext conftest.$ac_ext
58955LIBS=$ac_check_lib_save_LIBS
58956fi
58957{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
58958$as_echo "$ac_cv_lib_m_sin" >&6; }
58959if test "x$ac_cv_lib_m_sin" = x""yes; then :
58960  libm="-lm"
58961fi
58962
58963  ac_save_LIBS="$LIBS"
58964  LIBS="$LIBS $libm"
58965
58966
58967
58968  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
58969$as_echo_n "checking for isinf declaration... " >&6; }
58970  if test x${glibcxx_cv_func_isinf_use+set} != xset; then
58971    if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
58972  $as_echo_n "(cached) " >&6
58973else
58974
58975
58976      ac_ext=cpp
58977ac_cpp='$CXXCPP $CPPFLAGS'
58978ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58979ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58980ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58981
58982      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58983/* end confdefs.h.  */
58984#include <math.h>
58985		      #ifdef HAVE_IEEEFP_H
58986		      #include <ieeefp.h>
58987		      #endif
58988
58989int
58990main ()
58991{
58992 isinf(0);
58993  ;
58994  return 0;
58995}
58996_ACEOF
58997if ac_fn_cxx_try_compile "$LINENO"; then :
58998  glibcxx_cv_func_isinf_use=yes
58999else
59000  glibcxx_cv_func_isinf_use=no
59001fi
59002rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59003      ac_ext=c
59004ac_cpp='$CPP $CPPFLAGS'
59005ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59006ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59007ac_compiler_gnu=$ac_cv_c_compiler_gnu
59008
59009
59010fi
59011
59012  fi
59013  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
59014$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
59015
59016  if test x$glibcxx_cv_func_isinf_use = x"yes"; then
59017    for ac_func in isinf
59018do :
59019  ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
59020if test "x$ac_cv_func_isinf" = x""yes; then :
59021  cat >>confdefs.h <<_ACEOF
59022#define HAVE_ISINF 1
59023_ACEOF
59024
59025fi
59026done
59027
59028  else
59029
59030  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
59031$as_echo_n "checking for _isinf declaration... " >&6; }
59032  if test x${glibcxx_cv_func__isinf_use+set} != xset; then
59033    if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
59034  $as_echo_n "(cached) " >&6
59035else
59036
59037
59038      ac_ext=cpp
59039ac_cpp='$CXXCPP $CPPFLAGS'
59040ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59041ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59042ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59043
59044      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59045/* end confdefs.h.  */
59046#include <math.h>
59047		      #ifdef HAVE_IEEEFP_H
59048		      #include <ieeefp.h>
59049		      #endif
59050
59051int
59052main ()
59053{
59054 _isinf(0);
59055  ;
59056  return 0;
59057}
59058_ACEOF
59059if ac_fn_cxx_try_compile "$LINENO"; then :
59060  glibcxx_cv_func__isinf_use=yes
59061else
59062  glibcxx_cv_func__isinf_use=no
59063fi
59064rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59065      ac_ext=c
59066ac_cpp='$CPP $CPPFLAGS'
59067ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59068ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59069ac_compiler_gnu=$ac_cv_c_compiler_gnu
59070
59071
59072fi
59073
59074  fi
59075  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
59076$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
59077
59078    if test x$glibcxx_cv_func__isinf_use = x"yes"; then
59079      for ac_func in _isinf
59080do :
59081  ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
59082if test "x$ac_cv_func__isinf" = x""yes; then :
59083  cat >>confdefs.h <<_ACEOF
59084#define HAVE__ISINF 1
59085_ACEOF
59086
59087fi
59088done
59089
59090    fi
59091  fi
59092
59093
59094
59095
59096
59097  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
59098$as_echo_n "checking for isnan declaration... " >&6; }
59099  if test x${glibcxx_cv_func_isnan_use+set} != xset; then
59100    if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
59101  $as_echo_n "(cached) " >&6
59102else
59103
59104
59105      ac_ext=cpp
59106ac_cpp='$CXXCPP $CPPFLAGS'
59107ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59108ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59109ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59110
59111      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59112/* end confdefs.h.  */
59113#include <math.h>
59114		      #ifdef HAVE_IEEEFP_H
59115		      #include <ieeefp.h>
59116		      #endif
59117
59118int
59119main ()
59120{
59121 isnan(0);
59122  ;
59123  return 0;
59124}
59125_ACEOF
59126if ac_fn_cxx_try_compile "$LINENO"; then :
59127  glibcxx_cv_func_isnan_use=yes
59128else
59129  glibcxx_cv_func_isnan_use=no
59130fi
59131rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59132      ac_ext=c
59133ac_cpp='$CPP $CPPFLAGS'
59134ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59135ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59136ac_compiler_gnu=$ac_cv_c_compiler_gnu
59137
59138
59139fi
59140
59141  fi
59142  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
59143$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
59144
59145  if test x$glibcxx_cv_func_isnan_use = x"yes"; then
59146    for ac_func in isnan
59147do :
59148  ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
59149if test "x$ac_cv_func_isnan" = x""yes; then :
59150  cat >>confdefs.h <<_ACEOF
59151#define HAVE_ISNAN 1
59152_ACEOF
59153
59154fi
59155done
59156
59157  else
59158
59159  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
59160$as_echo_n "checking for _isnan declaration... " >&6; }
59161  if test x${glibcxx_cv_func__isnan_use+set} != xset; then
59162    if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
59163  $as_echo_n "(cached) " >&6
59164else
59165
59166
59167      ac_ext=cpp
59168ac_cpp='$CXXCPP $CPPFLAGS'
59169ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59170ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59171ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59172
59173      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59174/* end confdefs.h.  */
59175#include <math.h>
59176		      #ifdef HAVE_IEEEFP_H
59177		      #include <ieeefp.h>
59178		      #endif
59179
59180int
59181main ()
59182{
59183 _isnan(0);
59184  ;
59185  return 0;
59186}
59187_ACEOF
59188if ac_fn_cxx_try_compile "$LINENO"; then :
59189  glibcxx_cv_func__isnan_use=yes
59190else
59191  glibcxx_cv_func__isnan_use=no
59192fi
59193rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59194      ac_ext=c
59195ac_cpp='$CPP $CPPFLAGS'
59196ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59197ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59198ac_compiler_gnu=$ac_cv_c_compiler_gnu
59199
59200
59201fi
59202
59203  fi
59204  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
59205$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
59206
59207    if test x$glibcxx_cv_func__isnan_use = x"yes"; then
59208      for ac_func in _isnan
59209do :
59210  ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
59211if test "x$ac_cv_func__isnan" = x""yes; then :
59212  cat >>confdefs.h <<_ACEOF
59213#define HAVE__ISNAN 1
59214_ACEOF
59215
59216fi
59217done
59218
59219    fi
59220  fi
59221
59222
59223
59224
59225
59226  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
59227$as_echo_n "checking for finite declaration... " >&6; }
59228  if test x${glibcxx_cv_func_finite_use+set} != xset; then
59229    if test "${glibcxx_cv_func_finite_use+set}" = set; then :
59230  $as_echo_n "(cached) " >&6
59231else
59232
59233
59234      ac_ext=cpp
59235ac_cpp='$CXXCPP $CPPFLAGS'
59236ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59237ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59238ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59239
59240      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59241/* end confdefs.h.  */
59242#include <math.h>
59243		      #ifdef HAVE_IEEEFP_H
59244		      #include <ieeefp.h>
59245		      #endif
59246
59247int
59248main ()
59249{
59250 finite(0);
59251  ;
59252  return 0;
59253}
59254_ACEOF
59255if ac_fn_cxx_try_compile "$LINENO"; then :
59256  glibcxx_cv_func_finite_use=yes
59257else
59258  glibcxx_cv_func_finite_use=no
59259fi
59260rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59261      ac_ext=c
59262ac_cpp='$CPP $CPPFLAGS'
59263ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59264ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59265ac_compiler_gnu=$ac_cv_c_compiler_gnu
59266
59267
59268fi
59269
59270  fi
59271  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
59272$as_echo "$glibcxx_cv_func_finite_use" >&6; }
59273
59274  if test x$glibcxx_cv_func_finite_use = x"yes"; then
59275    for ac_func in finite
59276do :
59277  ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
59278if test "x$ac_cv_func_finite" = x""yes; then :
59279  cat >>confdefs.h <<_ACEOF
59280#define HAVE_FINITE 1
59281_ACEOF
59282
59283fi
59284done
59285
59286  else
59287
59288  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
59289$as_echo_n "checking for _finite declaration... " >&6; }
59290  if test x${glibcxx_cv_func__finite_use+set} != xset; then
59291    if test "${glibcxx_cv_func__finite_use+set}" = set; then :
59292  $as_echo_n "(cached) " >&6
59293else
59294
59295
59296      ac_ext=cpp
59297ac_cpp='$CXXCPP $CPPFLAGS'
59298ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59299ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59300ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59301
59302      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59303/* end confdefs.h.  */
59304#include <math.h>
59305		      #ifdef HAVE_IEEEFP_H
59306		      #include <ieeefp.h>
59307		      #endif
59308
59309int
59310main ()
59311{
59312 _finite(0);
59313  ;
59314  return 0;
59315}
59316_ACEOF
59317if ac_fn_cxx_try_compile "$LINENO"; then :
59318  glibcxx_cv_func__finite_use=yes
59319else
59320  glibcxx_cv_func__finite_use=no
59321fi
59322rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59323      ac_ext=c
59324ac_cpp='$CPP $CPPFLAGS'
59325ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59326ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59327ac_compiler_gnu=$ac_cv_c_compiler_gnu
59328
59329
59330fi
59331
59332  fi
59333  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
59334$as_echo "$glibcxx_cv_func__finite_use" >&6; }
59335
59336    if test x$glibcxx_cv_func__finite_use = x"yes"; then
59337      for ac_func in _finite
59338do :
59339  ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
59340if test "x$ac_cv_func__finite" = x""yes; then :
59341  cat >>confdefs.h <<_ACEOF
59342#define HAVE__FINITE 1
59343_ACEOF
59344
59345fi
59346done
59347
59348    fi
59349  fi
59350
59351
59352
59353
59354
59355  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
59356$as_echo_n "checking for sincos declaration... " >&6; }
59357  if test x${glibcxx_cv_func_sincos_use+set} != xset; then
59358    if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
59359  $as_echo_n "(cached) " >&6
59360else
59361
59362
59363      ac_ext=cpp
59364ac_cpp='$CXXCPP $CPPFLAGS'
59365ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59366ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59367ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59368
59369      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59370/* end confdefs.h.  */
59371#include <math.h>
59372int
59373main ()
59374{
59375 sincos(0, 0, 0);
59376  ;
59377  return 0;
59378}
59379_ACEOF
59380if ac_fn_cxx_try_compile "$LINENO"; then :
59381  glibcxx_cv_func_sincos_use=yes
59382else
59383  glibcxx_cv_func_sincos_use=no
59384fi
59385rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59386      ac_ext=c
59387ac_cpp='$CPP $CPPFLAGS'
59388ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59389ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59390ac_compiler_gnu=$ac_cv_c_compiler_gnu
59391
59392
59393fi
59394
59395  fi
59396  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
59397$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
59398
59399  if test x$glibcxx_cv_func_sincos_use = x"yes"; then
59400    for ac_func in sincos
59401do :
59402  ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
59403if test "x$ac_cv_func_sincos" = x""yes; then :
59404  cat >>confdefs.h <<_ACEOF
59405#define HAVE_SINCOS 1
59406_ACEOF
59407
59408fi
59409done
59410
59411  else
59412
59413  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
59414$as_echo_n "checking for _sincos declaration... " >&6; }
59415  if test x${glibcxx_cv_func__sincos_use+set} != xset; then
59416    if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
59417  $as_echo_n "(cached) " >&6
59418else
59419
59420
59421      ac_ext=cpp
59422ac_cpp='$CXXCPP $CPPFLAGS'
59423ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59424ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59425ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59426
59427      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59428/* end confdefs.h.  */
59429#include <math.h>
59430int
59431main ()
59432{
59433 _sincos(0, 0, 0);
59434  ;
59435  return 0;
59436}
59437_ACEOF
59438if ac_fn_cxx_try_compile "$LINENO"; then :
59439  glibcxx_cv_func__sincos_use=yes
59440else
59441  glibcxx_cv_func__sincos_use=no
59442fi
59443rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59444      ac_ext=c
59445ac_cpp='$CPP $CPPFLAGS'
59446ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59447ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59448ac_compiler_gnu=$ac_cv_c_compiler_gnu
59449
59450
59451fi
59452
59453  fi
59454  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
59455$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
59456
59457    if test x$glibcxx_cv_func__sincos_use = x"yes"; then
59458      for ac_func in _sincos
59459do :
59460  ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
59461if test "x$ac_cv_func__sincos" = x""yes; then :
59462  cat >>confdefs.h <<_ACEOF
59463#define HAVE__SINCOS 1
59464_ACEOF
59465
59466fi
59467done
59468
59469    fi
59470  fi
59471
59472
59473
59474
59475
59476  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
59477$as_echo_n "checking for fpclass declaration... " >&6; }
59478  if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
59479    if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
59480  $as_echo_n "(cached) " >&6
59481else
59482
59483
59484      ac_ext=cpp
59485ac_cpp='$CXXCPP $CPPFLAGS'
59486ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59487ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59488ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59489
59490      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59491/* end confdefs.h.  */
59492#include <math.h>
59493		      #ifdef HAVE_IEEEFP_H
59494		      #include <ieeefp.h>
59495		      #endif
59496
59497int
59498main ()
59499{
59500 fpclass(0);
59501  ;
59502  return 0;
59503}
59504_ACEOF
59505if ac_fn_cxx_try_compile "$LINENO"; then :
59506  glibcxx_cv_func_fpclass_use=yes
59507else
59508  glibcxx_cv_func_fpclass_use=no
59509fi
59510rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59511      ac_ext=c
59512ac_cpp='$CPP $CPPFLAGS'
59513ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59514ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59515ac_compiler_gnu=$ac_cv_c_compiler_gnu
59516
59517
59518fi
59519
59520  fi
59521  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
59522$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
59523
59524  if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
59525    for ac_func in fpclass
59526do :
59527  ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
59528if test "x$ac_cv_func_fpclass" = x""yes; then :
59529  cat >>confdefs.h <<_ACEOF
59530#define HAVE_FPCLASS 1
59531_ACEOF
59532
59533fi
59534done
59535
59536  else
59537
59538  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
59539$as_echo_n "checking for _fpclass declaration... " >&6; }
59540  if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
59541    if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
59542  $as_echo_n "(cached) " >&6
59543else
59544
59545
59546      ac_ext=cpp
59547ac_cpp='$CXXCPP $CPPFLAGS'
59548ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59549ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59550ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59551
59552      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59553/* end confdefs.h.  */
59554#include <math.h>
59555		      #ifdef HAVE_IEEEFP_H
59556		      #include <ieeefp.h>
59557		      #endif
59558
59559int
59560main ()
59561{
59562 _fpclass(0);
59563  ;
59564  return 0;
59565}
59566_ACEOF
59567if ac_fn_cxx_try_compile "$LINENO"; then :
59568  glibcxx_cv_func__fpclass_use=yes
59569else
59570  glibcxx_cv_func__fpclass_use=no
59571fi
59572rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59573      ac_ext=c
59574ac_cpp='$CPP $CPPFLAGS'
59575ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59576ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59577ac_compiler_gnu=$ac_cv_c_compiler_gnu
59578
59579
59580fi
59581
59582  fi
59583  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
59584$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
59585
59586    if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
59587      for ac_func in _fpclass
59588do :
59589  ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
59590if test "x$ac_cv_func__fpclass" = x""yes; then :
59591  cat >>confdefs.h <<_ACEOF
59592#define HAVE__FPCLASS 1
59593_ACEOF
59594
59595fi
59596done
59597
59598    fi
59599  fi
59600
59601
59602
59603
59604
59605  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
59606$as_echo_n "checking for qfpclass declaration... " >&6; }
59607  if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
59608    if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
59609  $as_echo_n "(cached) " >&6
59610else
59611
59612
59613      ac_ext=cpp
59614ac_cpp='$CXXCPP $CPPFLAGS'
59615ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59616ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59617ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59618
59619      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59620/* end confdefs.h.  */
59621#include <math.h>
59622		      #ifdef HAVE_IEEEFP_H
59623		      #include <ieeefp.h>
59624		      #endif
59625
59626int
59627main ()
59628{
59629 qfpclass(0);
59630  ;
59631  return 0;
59632}
59633_ACEOF
59634if ac_fn_cxx_try_compile "$LINENO"; then :
59635  glibcxx_cv_func_qfpclass_use=yes
59636else
59637  glibcxx_cv_func_qfpclass_use=no
59638fi
59639rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59640      ac_ext=c
59641ac_cpp='$CPP $CPPFLAGS'
59642ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59643ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59644ac_compiler_gnu=$ac_cv_c_compiler_gnu
59645
59646
59647fi
59648
59649  fi
59650  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
59651$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
59652
59653  if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
59654    for ac_func in qfpclass
59655do :
59656  ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
59657if test "x$ac_cv_func_qfpclass" = x""yes; then :
59658  cat >>confdefs.h <<_ACEOF
59659#define HAVE_QFPCLASS 1
59660_ACEOF
59661
59662fi
59663done
59664
59665  else
59666
59667  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
59668$as_echo_n "checking for _qfpclass declaration... " >&6; }
59669  if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
59670    if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
59671  $as_echo_n "(cached) " >&6
59672else
59673
59674
59675      ac_ext=cpp
59676ac_cpp='$CXXCPP $CPPFLAGS'
59677ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59678ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59679ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59680
59681      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59682/* end confdefs.h.  */
59683#include <math.h>
59684		      #ifdef HAVE_IEEEFP_H
59685		      #include <ieeefp.h>
59686		      #endif
59687
59688int
59689main ()
59690{
59691 _qfpclass(0);
59692  ;
59693  return 0;
59694}
59695_ACEOF
59696if ac_fn_cxx_try_compile "$LINENO"; then :
59697  glibcxx_cv_func__qfpclass_use=yes
59698else
59699  glibcxx_cv_func__qfpclass_use=no
59700fi
59701rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59702      ac_ext=c
59703ac_cpp='$CPP $CPPFLAGS'
59704ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59705ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59706ac_compiler_gnu=$ac_cv_c_compiler_gnu
59707
59708
59709fi
59710
59711  fi
59712  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
59713$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
59714
59715    if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
59716      for ac_func in _qfpclass
59717do :
59718  ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
59719if test "x$ac_cv_func__qfpclass" = x""yes; then :
59720  cat >>confdefs.h <<_ACEOF
59721#define HAVE__QFPCLASS 1
59722_ACEOF
59723
59724fi
59725done
59726
59727    fi
59728  fi
59729
59730
59731
59732
59733
59734  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
59735$as_echo_n "checking for hypot declaration... " >&6; }
59736  if test x${glibcxx_cv_func_hypot_use+set} != xset; then
59737    if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
59738  $as_echo_n "(cached) " >&6
59739else
59740
59741
59742      ac_ext=cpp
59743ac_cpp='$CXXCPP $CPPFLAGS'
59744ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59745ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59746ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59747
59748      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59749/* end confdefs.h.  */
59750#include <math.h>
59751int
59752main ()
59753{
59754 hypot(0, 0);
59755  ;
59756  return 0;
59757}
59758_ACEOF
59759if ac_fn_cxx_try_compile "$LINENO"; then :
59760  glibcxx_cv_func_hypot_use=yes
59761else
59762  glibcxx_cv_func_hypot_use=no
59763fi
59764rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59765      ac_ext=c
59766ac_cpp='$CPP $CPPFLAGS'
59767ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59768ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59769ac_compiler_gnu=$ac_cv_c_compiler_gnu
59770
59771
59772fi
59773
59774  fi
59775  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
59776$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
59777
59778  if test x$glibcxx_cv_func_hypot_use = x"yes"; then
59779    for ac_func in hypot
59780do :
59781  ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
59782if test "x$ac_cv_func_hypot" = x""yes; then :
59783  cat >>confdefs.h <<_ACEOF
59784#define HAVE_HYPOT 1
59785_ACEOF
59786
59787fi
59788done
59789
59790  else
59791
59792  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
59793$as_echo_n "checking for _hypot declaration... " >&6; }
59794  if test x${glibcxx_cv_func__hypot_use+set} != xset; then
59795    if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
59796  $as_echo_n "(cached) " >&6
59797else
59798
59799
59800      ac_ext=cpp
59801ac_cpp='$CXXCPP $CPPFLAGS'
59802ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59803ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59804ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59805
59806      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59807/* end confdefs.h.  */
59808#include <math.h>
59809int
59810main ()
59811{
59812 _hypot(0, 0);
59813  ;
59814  return 0;
59815}
59816_ACEOF
59817if ac_fn_cxx_try_compile "$LINENO"; then :
59818  glibcxx_cv_func__hypot_use=yes
59819else
59820  glibcxx_cv_func__hypot_use=no
59821fi
59822rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59823      ac_ext=c
59824ac_cpp='$CPP $CPPFLAGS'
59825ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59826ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59827ac_compiler_gnu=$ac_cv_c_compiler_gnu
59828
59829
59830fi
59831
59832  fi
59833  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
59834$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
59835
59836    if test x$glibcxx_cv_func__hypot_use = x"yes"; then
59837      for ac_func in _hypot
59838do :
59839  ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
59840if test "x$ac_cv_func__hypot" = x""yes; then :
59841  cat >>confdefs.h <<_ACEOF
59842#define HAVE__HYPOT 1
59843_ACEOF
59844
59845fi
59846done
59847
59848    fi
59849  fi
59850
59851
59852
59853
59854
59855    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
59856$as_echo_n "checking for float trig functions... " >&6; }
59857  if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
59858  $as_echo_n "(cached) " >&6
59859else
59860
59861
59862    ac_ext=cpp
59863ac_cpp='$CXXCPP $CPPFLAGS'
59864ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59865ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59866ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59867
59868    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59869/* end confdefs.h.  */
59870#include <math.h>
59871int
59872main ()
59873{
59874acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
59875  ;
59876  return 0;
59877}
59878_ACEOF
59879if ac_fn_cxx_try_compile "$LINENO"; then :
59880  glibcxx_cv_func_float_trig_use=yes
59881else
59882  glibcxx_cv_func_float_trig_use=no
59883fi
59884rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59885    ac_ext=c
59886ac_cpp='$CPP $CPPFLAGS'
59887ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59888ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59889ac_compiler_gnu=$ac_cv_c_compiler_gnu
59890
59891fi
59892
59893  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
59894$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
59895  if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
59896    for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
59897do :
59898  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59899ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59900eval as_val=\$$as_ac_var
59901   if test "x$as_val" = x""yes; then :
59902  cat >>confdefs.h <<_ACEOF
59903#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59904_ACEOF
59905
59906fi
59907done
59908
59909  else
59910    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
59911$as_echo_n "checking for _float trig functions... " >&6; }
59912    if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
59913  $as_echo_n "(cached) " >&6
59914else
59915
59916
59917      ac_ext=cpp
59918ac_cpp='$CXXCPP $CPPFLAGS'
59919ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59920ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59921ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59922
59923      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59924/* end confdefs.h.  */
59925#include <math.h>
59926int
59927main ()
59928{
59929_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
59930  ;
59931  return 0;
59932}
59933_ACEOF
59934if ac_fn_cxx_try_compile "$LINENO"; then :
59935  glibcxx_cv_func__float_trig_use=yes
59936else
59937  glibcxx_cv_func__float_trig_use=no
59938fi
59939rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59940      ac_ext=c
59941ac_cpp='$CPP $CPPFLAGS'
59942ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59943ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59944ac_compiler_gnu=$ac_cv_c_compiler_gnu
59945
59946fi
59947
59948    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
59949$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
59950    if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
59951      for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
59952do :
59953  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59954ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59955eval as_val=\$$as_ac_var
59956   if test "x$as_val" = x""yes; then :
59957  cat >>confdefs.h <<_ACEOF
59958#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59959_ACEOF
59960
59961fi
59962done
59963
59964    fi
59965  fi
59966
59967
59968
59969
59970
59971    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
59972$as_echo_n "checking for float round functions... " >&6; }
59973  if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
59974  $as_echo_n "(cached) " >&6
59975else
59976
59977
59978    ac_ext=cpp
59979ac_cpp='$CXXCPP $CPPFLAGS'
59980ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59981ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59982ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59983
59984    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59985/* end confdefs.h.  */
59986#include <math.h>
59987int
59988main ()
59989{
59990ceilf (0); floorf (0);
59991  ;
59992  return 0;
59993}
59994_ACEOF
59995if ac_fn_cxx_try_compile "$LINENO"; then :
59996  glibcxx_cv_func_float_round_use=yes
59997else
59998  glibcxx_cv_func_float_round_use=no
59999fi
60000rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60001    ac_ext=c
60002ac_cpp='$CPP $CPPFLAGS'
60003ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60004ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60005ac_compiler_gnu=$ac_cv_c_compiler_gnu
60006
60007fi
60008
60009  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
60010$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
60011  if test x$glibcxx_cv_func_float_round_use = x"yes"; then
60012    for ac_func in ceilf floorf
60013do :
60014  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60015ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60016eval as_val=\$$as_ac_var
60017   if test "x$as_val" = x""yes; then :
60018  cat >>confdefs.h <<_ACEOF
60019#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60020_ACEOF
60021
60022fi
60023done
60024
60025  else
60026    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
60027$as_echo_n "checking for _float round functions... " >&6; }
60028    if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
60029  $as_echo_n "(cached) " >&6
60030else
60031
60032
60033      ac_ext=cpp
60034ac_cpp='$CXXCPP $CPPFLAGS'
60035ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60036ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60037ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60038
60039      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60040/* end confdefs.h.  */
60041#include <math.h>
60042int
60043main ()
60044{
60045_ceilf (0); _floorf (0);
60046  ;
60047  return 0;
60048}
60049_ACEOF
60050if ac_fn_cxx_try_compile "$LINENO"; then :
60051  glibcxx_cv_func__float_round_use=yes
60052else
60053  glibcxx_cv_func__float_round_use=no
60054fi
60055rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60056      ac_ext=c
60057ac_cpp='$CPP $CPPFLAGS'
60058ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60059ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60060ac_compiler_gnu=$ac_cv_c_compiler_gnu
60061
60062fi
60063
60064    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
60065$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
60066    if test x$glibcxx_cv_func__float_round_use = x"yes"; then
60067      for ac_func in _ceilf _floorf
60068do :
60069  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60070ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60071eval as_val=\$$as_ac_var
60072   if test "x$as_val" = x""yes; then :
60073  cat >>confdefs.h <<_ACEOF
60074#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60075_ACEOF
60076
60077fi
60078done
60079
60080    fi
60081  fi
60082
60083
60084
60085
60086
60087
60088  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
60089$as_echo_n "checking for expf declaration... " >&6; }
60090  if test x${glibcxx_cv_func_expf_use+set} != xset; then
60091    if test "${glibcxx_cv_func_expf_use+set}" = set; then :
60092  $as_echo_n "(cached) " >&6
60093else
60094
60095
60096      ac_ext=cpp
60097ac_cpp='$CXXCPP $CPPFLAGS'
60098ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60099ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60100ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60101
60102      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60103/* end confdefs.h.  */
60104#include <math.h>
60105		      #ifdef HAVE_IEEEFP_H
60106		      #include <ieeefp.h>
60107		      #endif
60108
60109int
60110main ()
60111{
60112 expf(0);
60113  ;
60114  return 0;
60115}
60116_ACEOF
60117if ac_fn_cxx_try_compile "$LINENO"; then :
60118  glibcxx_cv_func_expf_use=yes
60119else
60120  glibcxx_cv_func_expf_use=no
60121fi
60122rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60123      ac_ext=c
60124ac_cpp='$CPP $CPPFLAGS'
60125ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60126ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60127ac_compiler_gnu=$ac_cv_c_compiler_gnu
60128
60129
60130fi
60131
60132  fi
60133  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
60134$as_echo "$glibcxx_cv_func_expf_use" >&6; }
60135
60136  if test x$glibcxx_cv_func_expf_use = x"yes"; then
60137    for ac_func in expf
60138do :
60139  ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
60140if test "x$ac_cv_func_expf" = x""yes; then :
60141  cat >>confdefs.h <<_ACEOF
60142#define HAVE_EXPF 1
60143_ACEOF
60144
60145fi
60146done
60147
60148  else
60149
60150  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
60151$as_echo_n "checking for _expf declaration... " >&6; }
60152  if test x${glibcxx_cv_func__expf_use+set} != xset; then
60153    if test "${glibcxx_cv_func__expf_use+set}" = set; then :
60154  $as_echo_n "(cached) " >&6
60155else
60156
60157
60158      ac_ext=cpp
60159ac_cpp='$CXXCPP $CPPFLAGS'
60160ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60161ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60162ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60163
60164      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60165/* end confdefs.h.  */
60166#include <math.h>
60167		      #ifdef HAVE_IEEEFP_H
60168		      #include <ieeefp.h>
60169		      #endif
60170
60171int
60172main ()
60173{
60174 _expf(0);
60175  ;
60176  return 0;
60177}
60178_ACEOF
60179if ac_fn_cxx_try_compile "$LINENO"; then :
60180  glibcxx_cv_func__expf_use=yes
60181else
60182  glibcxx_cv_func__expf_use=no
60183fi
60184rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60185      ac_ext=c
60186ac_cpp='$CPP $CPPFLAGS'
60187ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60188ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60189ac_compiler_gnu=$ac_cv_c_compiler_gnu
60190
60191
60192fi
60193
60194  fi
60195  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
60196$as_echo "$glibcxx_cv_func__expf_use" >&6; }
60197
60198    if test x$glibcxx_cv_func__expf_use = x"yes"; then
60199      for ac_func in _expf
60200do :
60201  ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
60202if test "x$ac_cv_func__expf" = x""yes; then :
60203  cat >>confdefs.h <<_ACEOF
60204#define HAVE__EXPF 1
60205_ACEOF
60206
60207fi
60208done
60209
60210    fi
60211  fi
60212
60213
60214
60215
60216
60217  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
60218$as_echo_n "checking for isnanf declaration... " >&6; }
60219  if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
60220    if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
60221  $as_echo_n "(cached) " >&6
60222else
60223
60224
60225      ac_ext=cpp
60226ac_cpp='$CXXCPP $CPPFLAGS'
60227ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60228ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60229ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60230
60231      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60232/* end confdefs.h.  */
60233#include <math.h>
60234		      #ifdef HAVE_IEEEFP_H
60235		      #include <ieeefp.h>
60236		      #endif
60237
60238int
60239main ()
60240{
60241 isnanf(0);
60242  ;
60243  return 0;
60244}
60245_ACEOF
60246if ac_fn_cxx_try_compile "$LINENO"; then :
60247  glibcxx_cv_func_isnanf_use=yes
60248else
60249  glibcxx_cv_func_isnanf_use=no
60250fi
60251rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60252      ac_ext=c
60253ac_cpp='$CPP $CPPFLAGS'
60254ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60255ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60256ac_compiler_gnu=$ac_cv_c_compiler_gnu
60257
60258
60259fi
60260
60261  fi
60262  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
60263$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
60264
60265  if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
60266    for ac_func in isnanf
60267do :
60268  ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
60269if test "x$ac_cv_func_isnanf" = x""yes; then :
60270  cat >>confdefs.h <<_ACEOF
60271#define HAVE_ISNANF 1
60272_ACEOF
60273
60274fi
60275done
60276
60277  else
60278
60279  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
60280$as_echo_n "checking for _isnanf declaration... " >&6; }
60281  if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
60282    if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
60283  $as_echo_n "(cached) " >&6
60284else
60285
60286
60287      ac_ext=cpp
60288ac_cpp='$CXXCPP $CPPFLAGS'
60289ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60290ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60291ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60292
60293      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60294/* end confdefs.h.  */
60295#include <math.h>
60296		      #ifdef HAVE_IEEEFP_H
60297		      #include <ieeefp.h>
60298		      #endif
60299
60300int
60301main ()
60302{
60303 _isnanf(0);
60304  ;
60305  return 0;
60306}
60307_ACEOF
60308if ac_fn_cxx_try_compile "$LINENO"; then :
60309  glibcxx_cv_func__isnanf_use=yes
60310else
60311  glibcxx_cv_func__isnanf_use=no
60312fi
60313rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60314      ac_ext=c
60315ac_cpp='$CPP $CPPFLAGS'
60316ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60317ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60318ac_compiler_gnu=$ac_cv_c_compiler_gnu
60319
60320
60321fi
60322
60323  fi
60324  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
60325$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
60326
60327    if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
60328      for ac_func in _isnanf
60329do :
60330  ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
60331if test "x$ac_cv_func__isnanf" = x""yes; then :
60332  cat >>confdefs.h <<_ACEOF
60333#define HAVE__ISNANF 1
60334_ACEOF
60335
60336fi
60337done
60338
60339    fi
60340  fi
60341
60342
60343
60344
60345
60346  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
60347$as_echo_n "checking for isinff declaration... " >&6; }
60348  if test x${glibcxx_cv_func_isinff_use+set} != xset; then
60349    if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
60350  $as_echo_n "(cached) " >&6
60351else
60352
60353
60354      ac_ext=cpp
60355ac_cpp='$CXXCPP $CPPFLAGS'
60356ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60357ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60358ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60359
60360      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60361/* end confdefs.h.  */
60362#include <math.h>
60363		      #ifdef HAVE_IEEEFP_H
60364		      #include <ieeefp.h>
60365		      #endif
60366
60367int
60368main ()
60369{
60370 isinff(0);
60371  ;
60372  return 0;
60373}
60374_ACEOF
60375if ac_fn_cxx_try_compile "$LINENO"; then :
60376  glibcxx_cv_func_isinff_use=yes
60377else
60378  glibcxx_cv_func_isinff_use=no
60379fi
60380rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60381      ac_ext=c
60382ac_cpp='$CPP $CPPFLAGS'
60383ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60384ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60385ac_compiler_gnu=$ac_cv_c_compiler_gnu
60386
60387
60388fi
60389
60390  fi
60391  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
60392$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
60393
60394  if test x$glibcxx_cv_func_isinff_use = x"yes"; then
60395    for ac_func in isinff
60396do :
60397  ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
60398if test "x$ac_cv_func_isinff" = x""yes; then :
60399  cat >>confdefs.h <<_ACEOF
60400#define HAVE_ISINFF 1
60401_ACEOF
60402
60403fi
60404done
60405
60406  else
60407
60408  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
60409$as_echo_n "checking for _isinff declaration... " >&6; }
60410  if test x${glibcxx_cv_func__isinff_use+set} != xset; then
60411    if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
60412  $as_echo_n "(cached) " >&6
60413else
60414
60415
60416      ac_ext=cpp
60417ac_cpp='$CXXCPP $CPPFLAGS'
60418ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60419ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60420ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60421
60422      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60423/* end confdefs.h.  */
60424#include <math.h>
60425		      #ifdef HAVE_IEEEFP_H
60426		      #include <ieeefp.h>
60427		      #endif
60428
60429int
60430main ()
60431{
60432 _isinff(0);
60433  ;
60434  return 0;
60435}
60436_ACEOF
60437if ac_fn_cxx_try_compile "$LINENO"; then :
60438  glibcxx_cv_func__isinff_use=yes
60439else
60440  glibcxx_cv_func__isinff_use=no
60441fi
60442rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60443      ac_ext=c
60444ac_cpp='$CPP $CPPFLAGS'
60445ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60446ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60447ac_compiler_gnu=$ac_cv_c_compiler_gnu
60448
60449
60450fi
60451
60452  fi
60453  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
60454$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
60455
60456    if test x$glibcxx_cv_func__isinff_use = x"yes"; then
60457      for ac_func in _isinff
60458do :
60459  ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
60460if test "x$ac_cv_func__isinff" = x""yes; then :
60461  cat >>confdefs.h <<_ACEOF
60462#define HAVE__ISINFF 1
60463_ACEOF
60464
60465fi
60466done
60467
60468    fi
60469  fi
60470
60471
60472
60473
60474
60475  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
60476$as_echo_n "checking for atan2f declaration... " >&6; }
60477  if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
60478    if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
60479  $as_echo_n "(cached) " >&6
60480else
60481
60482
60483      ac_ext=cpp
60484ac_cpp='$CXXCPP $CPPFLAGS'
60485ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60486ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60487ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60488
60489      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60490/* end confdefs.h.  */
60491#include <math.h>
60492int
60493main ()
60494{
60495 atan2f(0, 0);
60496  ;
60497  return 0;
60498}
60499_ACEOF
60500if ac_fn_cxx_try_compile "$LINENO"; then :
60501  glibcxx_cv_func_atan2f_use=yes
60502else
60503  glibcxx_cv_func_atan2f_use=no
60504fi
60505rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60506      ac_ext=c
60507ac_cpp='$CPP $CPPFLAGS'
60508ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60509ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60510ac_compiler_gnu=$ac_cv_c_compiler_gnu
60511
60512
60513fi
60514
60515  fi
60516  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
60517$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
60518
60519  if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
60520    for ac_func in atan2f
60521do :
60522  ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
60523if test "x$ac_cv_func_atan2f" = x""yes; then :
60524  cat >>confdefs.h <<_ACEOF
60525#define HAVE_ATAN2F 1
60526_ACEOF
60527
60528fi
60529done
60530
60531  else
60532
60533  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
60534$as_echo_n "checking for _atan2f declaration... " >&6; }
60535  if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
60536    if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
60537  $as_echo_n "(cached) " >&6
60538else
60539
60540
60541      ac_ext=cpp
60542ac_cpp='$CXXCPP $CPPFLAGS'
60543ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60544ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60545ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60546
60547      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60548/* end confdefs.h.  */
60549#include <math.h>
60550int
60551main ()
60552{
60553 _atan2f(0, 0);
60554  ;
60555  return 0;
60556}
60557_ACEOF
60558if ac_fn_cxx_try_compile "$LINENO"; then :
60559  glibcxx_cv_func__atan2f_use=yes
60560else
60561  glibcxx_cv_func__atan2f_use=no
60562fi
60563rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60564      ac_ext=c
60565ac_cpp='$CPP $CPPFLAGS'
60566ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60567ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60568ac_compiler_gnu=$ac_cv_c_compiler_gnu
60569
60570
60571fi
60572
60573  fi
60574  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
60575$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
60576
60577    if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
60578      for ac_func in _atan2f
60579do :
60580  ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
60581if test "x$ac_cv_func__atan2f" = x""yes; then :
60582  cat >>confdefs.h <<_ACEOF
60583#define HAVE__ATAN2F 1
60584_ACEOF
60585
60586fi
60587done
60588
60589    fi
60590  fi
60591
60592
60593
60594
60595
60596  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
60597$as_echo_n "checking for fabsf declaration... " >&6; }
60598  if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
60599    if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
60600  $as_echo_n "(cached) " >&6
60601else
60602
60603
60604      ac_ext=cpp
60605ac_cpp='$CXXCPP $CPPFLAGS'
60606ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60607ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60608ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60609
60610      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60611/* end confdefs.h.  */
60612#include <math.h>
60613		      #ifdef HAVE_IEEEFP_H
60614		      #include <ieeefp.h>
60615		      #endif
60616
60617int
60618main ()
60619{
60620 fabsf(0);
60621  ;
60622  return 0;
60623}
60624_ACEOF
60625if ac_fn_cxx_try_compile "$LINENO"; then :
60626  glibcxx_cv_func_fabsf_use=yes
60627else
60628  glibcxx_cv_func_fabsf_use=no
60629fi
60630rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60631      ac_ext=c
60632ac_cpp='$CPP $CPPFLAGS'
60633ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60634ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60635ac_compiler_gnu=$ac_cv_c_compiler_gnu
60636
60637
60638fi
60639
60640  fi
60641  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
60642$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
60643
60644  if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
60645    for ac_func in fabsf
60646do :
60647  ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
60648if test "x$ac_cv_func_fabsf" = x""yes; then :
60649  cat >>confdefs.h <<_ACEOF
60650#define HAVE_FABSF 1
60651_ACEOF
60652
60653fi
60654done
60655
60656  else
60657
60658  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
60659$as_echo_n "checking for _fabsf declaration... " >&6; }
60660  if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
60661    if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
60662  $as_echo_n "(cached) " >&6
60663else
60664
60665
60666      ac_ext=cpp
60667ac_cpp='$CXXCPP $CPPFLAGS'
60668ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60669ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60670ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60671
60672      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60673/* end confdefs.h.  */
60674#include <math.h>
60675		      #ifdef HAVE_IEEEFP_H
60676		      #include <ieeefp.h>
60677		      #endif
60678
60679int
60680main ()
60681{
60682 _fabsf(0);
60683  ;
60684  return 0;
60685}
60686_ACEOF
60687if ac_fn_cxx_try_compile "$LINENO"; then :
60688  glibcxx_cv_func__fabsf_use=yes
60689else
60690  glibcxx_cv_func__fabsf_use=no
60691fi
60692rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60693      ac_ext=c
60694ac_cpp='$CPP $CPPFLAGS'
60695ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60696ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60697ac_compiler_gnu=$ac_cv_c_compiler_gnu
60698
60699
60700fi
60701
60702  fi
60703  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
60704$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
60705
60706    if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
60707      for ac_func in _fabsf
60708do :
60709  ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
60710if test "x$ac_cv_func__fabsf" = x""yes; then :
60711  cat >>confdefs.h <<_ACEOF
60712#define HAVE__FABSF 1
60713_ACEOF
60714
60715fi
60716done
60717
60718    fi
60719  fi
60720
60721
60722
60723
60724
60725  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
60726$as_echo_n "checking for fmodf declaration... " >&6; }
60727  if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
60728    if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
60729  $as_echo_n "(cached) " >&6
60730else
60731
60732
60733      ac_ext=cpp
60734ac_cpp='$CXXCPP $CPPFLAGS'
60735ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60736ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60737ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60738
60739      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60740/* end confdefs.h.  */
60741#include <math.h>
60742int
60743main ()
60744{
60745 fmodf(0, 0);
60746  ;
60747  return 0;
60748}
60749_ACEOF
60750if ac_fn_cxx_try_compile "$LINENO"; then :
60751  glibcxx_cv_func_fmodf_use=yes
60752else
60753  glibcxx_cv_func_fmodf_use=no
60754fi
60755rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60756      ac_ext=c
60757ac_cpp='$CPP $CPPFLAGS'
60758ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60759ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60760ac_compiler_gnu=$ac_cv_c_compiler_gnu
60761
60762
60763fi
60764
60765  fi
60766  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
60767$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
60768
60769  if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
60770    for ac_func in fmodf
60771do :
60772  ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
60773if test "x$ac_cv_func_fmodf" = x""yes; then :
60774  cat >>confdefs.h <<_ACEOF
60775#define HAVE_FMODF 1
60776_ACEOF
60777
60778fi
60779done
60780
60781  else
60782
60783  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
60784$as_echo_n "checking for _fmodf declaration... " >&6; }
60785  if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
60786    if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
60787  $as_echo_n "(cached) " >&6
60788else
60789
60790
60791      ac_ext=cpp
60792ac_cpp='$CXXCPP $CPPFLAGS'
60793ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60794ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60795ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60796
60797      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60798/* end confdefs.h.  */
60799#include <math.h>
60800int
60801main ()
60802{
60803 _fmodf(0, 0);
60804  ;
60805  return 0;
60806}
60807_ACEOF
60808if ac_fn_cxx_try_compile "$LINENO"; then :
60809  glibcxx_cv_func__fmodf_use=yes
60810else
60811  glibcxx_cv_func__fmodf_use=no
60812fi
60813rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60814      ac_ext=c
60815ac_cpp='$CPP $CPPFLAGS'
60816ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60817ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60818ac_compiler_gnu=$ac_cv_c_compiler_gnu
60819
60820
60821fi
60822
60823  fi
60824  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
60825$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
60826
60827    if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
60828      for ac_func in _fmodf
60829do :
60830  ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
60831if test "x$ac_cv_func__fmodf" = x""yes; then :
60832  cat >>confdefs.h <<_ACEOF
60833#define HAVE__FMODF 1
60834_ACEOF
60835
60836fi
60837done
60838
60839    fi
60840  fi
60841
60842
60843
60844
60845
60846  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
60847$as_echo_n "checking for frexpf declaration... " >&6; }
60848  if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
60849    if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
60850  $as_echo_n "(cached) " >&6
60851else
60852
60853
60854      ac_ext=cpp
60855ac_cpp='$CXXCPP $CPPFLAGS'
60856ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60857ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60858ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60859
60860      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60861/* end confdefs.h.  */
60862#include <math.h>
60863int
60864main ()
60865{
60866 frexpf(0, 0);
60867  ;
60868  return 0;
60869}
60870_ACEOF
60871if ac_fn_cxx_try_compile "$LINENO"; then :
60872  glibcxx_cv_func_frexpf_use=yes
60873else
60874  glibcxx_cv_func_frexpf_use=no
60875fi
60876rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60877      ac_ext=c
60878ac_cpp='$CPP $CPPFLAGS'
60879ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60880ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60881ac_compiler_gnu=$ac_cv_c_compiler_gnu
60882
60883
60884fi
60885
60886  fi
60887  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
60888$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
60889
60890  if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
60891    for ac_func in frexpf
60892do :
60893  ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
60894if test "x$ac_cv_func_frexpf" = x""yes; then :
60895  cat >>confdefs.h <<_ACEOF
60896#define HAVE_FREXPF 1
60897_ACEOF
60898
60899fi
60900done
60901
60902  else
60903
60904  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
60905$as_echo_n "checking for _frexpf declaration... " >&6; }
60906  if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
60907    if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
60908  $as_echo_n "(cached) " >&6
60909else
60910
60911
60912      ac_ext=cpp
60913ac_cpp='$CXXCPP $CPPFLAGS'
60914ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60915ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60916ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60917
60918      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60919/* end confdefs.h.  */
60920#include <math.h>
60921int
60922main ()
60923{
60924 _frexpf(0, 0);
60925  ;
60926  return 0;
60927}
60928_ACEOF
60929if ac_fn_cxx_try_compile "$LINENO"; then :
60930  glibcxx_cv_func__frexpf_use=yes
60931else
60932  glibcxx_cv_func__frexpf_use=no
60933fi
60934rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60935      ac_ext=c
60936ac_cpp='$CPP $CPPFLAGS'
60937ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60938ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60939ac_compiler_gnu=$ac_cv_c_compiler_gnu
60940
60941
60942fi
60943
60944  fi
60945  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
60946$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
60947
60948    if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
60949      for ac_func in _frexpf
60950do :
60951  ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
60952if test "x$ac_cv_func__frexpf" = x""yes; then :
60953  cat >>confdefs.h <<_ACEOF
60954#define HAVE__FREXPF 1
60955_ACEOF
60956
60957fi
60958done
60959
60960    fi
60961  fi
60962
60963
60964
60965
60966
60967  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
60968$as_echo_n "checking for hypotf declaration... " >&6; }
60969  if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
60970    if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
60971  $as_echo_n "(cached) " >&6
60972else
60973
60974
60975      ac_ext=cpp
60976ac_cpp='$CXXCPP $CPPFLAGS'
60977ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60978ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60979ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60980
60981      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60982/* end confdefs.h.  */
60983#include <math.h>
60984int
60985main ()
60986{
60987 hypotf(0, 0);
60988  ;
60989  return 0;
60990}
60991_ACEOF
60992if ac_fn_cxx_try_compile "$LINENO"; then :
60993  glibcxx_cv_func_hypotf_use=yes
60994else
60995  glibcxx_cv_func_hypotf_use=no
60996fi
60997rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60998      ac_ext=c
60999ac_cpp='$CPP $CPPFLAGS'
61000ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61001ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61002ac_compiler_gnu=$ac_cv_c_compiler_gnu
61003
61004
61005fi
61006
61007  fi
61008  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
61009$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
61010
61011  if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
61012    for ac_func in hypotf
61013do :
61014  ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
61015if test "x$ac_cv_func_hypotf" = x""yes; then :
61016  cat >>confdefs.h <<_ACEOF
61017#define HAVE_HYPOTF 1
61018_ACEOF
61019
61020fi
61021done
61022
61023  else
61024
61025  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
61026$as_echo_n "checking for _hypotf declaration... " >&6; }
61027  if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
61028    if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
61029  $as_echo_n "(cached) " >&6
61030else
61031
61032
61033      ac_ext=cpp
61034ac_cpp='$CXXCPP $CPPFLAGS'
61035ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61036ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61037ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61038
61039      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61040/* end confdefs.h.  */
61041#include <math.h>
61042int
61043main ()
61044{
61045 _hypotf(0, 0);
61046  ;
61047  return 0;
61048}
61049_ACEOF
61050if ac_fn_cxx_try_compile "$LINENO"; then :
61051  glibcxx_cv_func__hypotf_use=yes
61052else
61053  glibcxx_cv_func__hypotf_use=no
61054fi
61055rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61056      ac_ext=c
61057ac_cpp='$CPP $CPPFLAGS'
61058ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61059ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61060ac_compiler_gnu=$ac_cv_c_compiler_gnu
61061
61062
61063fi
61064
61065  fi
61066  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
61067$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
61068
61069    if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
61070      for ac_func in _hypotf
61071do :
61072  ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
61073if test "x$ac_cv_func__hypotf" = x""yes; then :
61074  cat >>confdefs.h <<_ACEOF
61075#define HAVE__HYPOTF 1
61076_ACEOF
61077
61078fi
61079done
61080
61081    fi
61082  fi
61083
61084
61085
61086
61087
61088  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
61089$as_echo_n "checking for ldexpf declaration... " >&6; }
61090  if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
61091    if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
61092  $as_echo_n "(cached) " >&6
61093else
61094
61095
61096      ac_ext=cpp
61097ac_cpp='$CXXCPP $CPPFLAGS'
61098ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61099ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61100ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61101
61102      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61103/* end confdefs.h.  */
61104#include <math.h>
61105int
61106main ()
61107{
61108 ldexpf(0, 0);
61109  ;
61110  return 0;
61111}
61112_ACEOF
61113if ac_fn_cxx_try_compile "$LINENO"; then :
61114  glibcxx_cv_func_ldexpf_use=yes
61115else
61116  glibcxx_cv_func_ldexpf_use=no
61117fi
61118rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61119      ac_ext=c
61120ac_cpp='$CPP $CPPFLAGS'
61121ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61122ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61123ac_compiler_gnu=$ac_cv_c_compiler_gnu
61124
61125
61126fi
61127
61128  fi
61129  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
61130$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
61131
61132  if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
61133    for ac_func in ldexpf
61134do :
61135  ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
61136if test "x$ac_cv_func_ldexpf" = x""yes; then :
61137  cat >>confdefs.h <<_ACEOF
61138#define HAVE_LDEXPF 1
61139_ACEOF
61140
61141fi
61142done
61143
61144  else
61145
61146  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
61147$as_echo_n "checking for _ldexpf declaration... " >&6; }
61148  if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
61149    if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
61150  $as_echo_n "(cached) " >&6
61151else
61152
61153
61154      ac_ext=cpp
61155ac_cpp='$CXXCPP $CPPFLAGS'
61156ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61157ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61158ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61159
61160      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61161/* end confdefs.h.  */
61162#include <math.h>
61163int
61164main ()
61165{
61166 _ldexpf(0, 0);
61167  ;
61168  return 0;
61169}
61170_ACEOF
61171if ac_fn_cxx_try_compile "$LINENO"; then :
61172  glibcxx_cv_func__ldexpf_use=yes
61173else
61174  glibcxx_cv_func__ldexpf_use=no
61175fi
61176rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61177      ac_ext=c
61178ac_cpp='$CPP $CPPFLAGS'
61179ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61180ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61181ac_compiler_gnu=$ac_cv_c_compiler_gnu
61182
61183
61184fi
61185
61186  fi
61187  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
61188$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
61189
61190    if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
61191      for ac_func in _ldexpf
61192do :
61193  ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
61194if test "x$ac_cv_func__ldexpf" = x""yes; then :
61195  cat >>confdefs.h <<_ACEOF
61196#define HAVE__LDEXPF 1
61197_ACEOF
61198
61199fi
61200done
61201
61202    fi
61203  fi
61204
61205
61206
61207
61208
61209  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
61210$as_echo_n "checking for logf declaration... " >&6; }
61211  if test x${glibcxx_cv_func_logf_use+set} != xset; then
61212    if test "${glibcxx_cv_func_logf_use+set}" = set; then :
61213  $as_echo_n "(cached) " >&6
61214else
61215
61216
61217      ac_ext=cpp
61218ac_cpp='$CXXCPP $CPPFLAGS'
61219ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61220ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61221ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61222
61223      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61224/* end confdefs.h.  */
61225#include <math.h>
61226		      #ifdef HAVE_IEEEFP_H
61227		      #include <ieeefp.h>
61228		      #endif
61229
61230int
61231main ()
61232{
61233 logf(0);
61234  ;
61235  return 0;
61236}
61237_ACEOF
61238if ac_fn_cxx_try_compile "$LINENO"; then :
61239  glibcxx_cv_func_logf_use=yes
61240else
61241  glibcxx_cv_func_logf_use=no
61242fi
61243rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61244      ac_ext=c
61245ac_cpp='$CPP $CPPFLAGS'
61246ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61247ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61248ac_compiler_gnu=$ac_cv_c_compiler_gnu
61249
61250
61251fi
61252
61253  fi
61254  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
61255$as_echo "$glibcxx_cv_func_logf_use" >&6; }
61256
61257  if test x$glibcxx_cv_func_logf_use = x"yes"; then
61258    for ac_func in logf
61259do :
61260  ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
61261if test "x$ac_cv_func_logf" = x""yes; then :
61262  cat >>confdefs.h <<_ACEOF
61263#define HAVE_LOGF 1
61264_ACEOF
61265
61266fi
61267done
61268
61269  else
61270
61271  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
61272$as_echo_n "checking for _logf declaration... " >&6; }
61273  if test x${glibcxx_cv_func__logf_use+set} != xset; then
61274    if test "${glibcxx_cv_func__logf_use+set}" = set; then :
61275  $as_echo_n "(cached) " >&6
61276else
61277
61278
61279      ac_ext=cpp
61280ac_cpp='$CXXCPP $CPPFLAGS'
61281ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61282ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61283ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61284
61285      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61286/* end confdefs.h.  */
61287#include <math.h>
61288		      #ifdef HAVE_IEEEFP_H
61289		      #include <ieeefp.h>
61290		      #endif
61291
61292int
61293main ()
61294{
61295 _logf(0);
61296  ;
61297  return 0;
61298}
61299_ACEOF
61300if ac_fn_cxx_try_compile "$LINENO"; then :
61301  glibcxx_cv_func__logf_use=yes
61302else
61303  glibcxx_cv_func__logf_use=no
61304fi
61305rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61306      ac_ext=c
61307ac_cpp='$CPP $CPPFLAGS'
61308ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61309ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61310ac_compiler_gnu=$ac_cv_c_compiler_gnu
61311
61312
61313fi
61314
61315  fi
61316  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
61317$as_echo "$glibcxx_cv_func__logf_use" >&6; }
61318
61319    if test x$glibcxx_cv_func__logf_use = x"yes"; then
61320      for ac_func in _logf
61321do :
61322  ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
61323if test "x$ac_cv_func__logf" = x""yes; then :
61324  cat >>confdefs.h <<_ACEOF
61325#define HAVE__LOGF 1
61326_ACEOF
61327
61328fi
61329done
61330
61331    fi
61332  fi
61333
61334
61335
61336
61337
61338  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
61339$as_echo_n "checking for log10f declaration... " >&6; }
61340  if test x${glibcxx_cv_func_log10f_use+set} != xset; then
61341    if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
61342  $as_echo_n "(cached) " >&6
61343else
61344
61345
61346      ac_ext=cpp
61347ac_cpp='$CXXCPP $CPPFLAGS'
61348ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61349ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61350ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61351
61352      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61353/* end confdefs.h.  */
61354#include <math.h>
61355		      #ifdef HAVE_IEEEFP_H
61356		      #include <ieeefp.h>
61357		      #endif
61358
61359int
61360main ()
61361{
61362 log10f(0);
61363  ;
61364  return 0;
61365}
61366_ACEOF
61367if ac_fn_cxx_try_compile "$LINENO"; then :
61368  glibcxx_cv_func_log10f_use=yes
61369else
61370  glibcxx_cv_func_log10f_use=no
61371fi
61372rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61373      ac_ext=c
61374ac_cpp='$CPP $CPPFLAGS'
61375ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61376ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61377ac_compiler_gnu=$ac_cv_c_compiler_gnu
61378
61379
61380fi
61381
61382  fi
61383  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
61384$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
61385
61386  if test x$glibcxx_cv_func_log10f_use = x"yes"; then
61387    for ac_func in log10f
61388do :
61389  ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
61390if test "x$ac_cv_func_log10f" = x""yes; then :
61391  cat >>confdefs.h <<_ACEOF
61392#define HAVE_LOG10F 1
61393_ACEOF
61394
61395fi
61396done
61397
61398  else
61399
61400  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
61401$as_echo_n "checking for _log10f declaration... " >&6; }
61402  if test x${glibcxx_cv_func__log10f_use+set} != xset; then
61403    if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
61404  $as_echo_n "(cached) " >&6
61405else
61406
61407
61408      ac_ext=cpp
61409ac_cpp='$CXXCPP $CPPFLAGS'
61410ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61411ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61412ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61413
61414      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61415/* end confdefs.h.  */
61416#include <math.h>
61417		      #ifdef HAVE_IEEEFP_H
61418		      #include <ieeefp.h>
61419		      #endif
61420
61421int
61422main ()
61423{
61424 _log10f(0);
61425  ;
61426  return 0;
61427}
61428_ACEOF
61429if ac_fn_cxx_try_compile "$LINENO"; then :
61430  glibcxx_cv_func__log10f_use=yes
61431else
61432  glibcxx_cv_func__log10f_use=no
61433fi
61434rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61435      ac_ext=c
61436ac_cpp='$CPP $CPPFLAGS'
61437ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61438ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61439ac_compiler_gnu=$ac_cv_c_compiler_gnu
61440
61441
61442fi
61443
61444  fi
61445  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
61446$as_echo "$glibcxx_cv_func__log10f_use" >&6; }
61447
61448    if test x$glibcxx_cv_func__log10f_use = x"yes"; then
61449      for ac_func in _log10f
61450do :
61451  ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
61452if test "x$ac_cv_func__log10f" = x""yes; then :
61453  cat >>confdefs.h <<_ACEOF
61454#define HAVE__LOG10F 1
61455_ACEOF
61456
61457fi
61458done
61459
61460    fi
61461  fi
61462
61463
61464
61465
61466
61467  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
61468$as_echo_n "checking for modff declaration... " >&6; }
61469  if test x${glibcxx_cv_func_modff_use+set} != xset; then
61470    if test "${glibcxx_cv_func_modff_use+set}" = set; then :
61471  $as_echo_n "(cached) " >&6
61472else
61473
61474
61475      ac_ext=cpp
61476ac_cpp='$CXXCPP $CPPFLAGS'
61477ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61478ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61479ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61480
61481      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61482/* end confdefs.h.  */
61483#include <math.h>
61484int
61485main ()
61486{
61487 modff(0, 0);
61488  ;
61489  return 0;
61490}
61491_ACEOF
61492if ac_fn_cxx_try_compile "$LINENO"; then :
61493  glibcxx_cv_func_modff_use=yes
61494else
61495  glibcxx_cv_func_modff_use=no
61496fi
61497rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61498      ac_ext=c
61499ac_cpp='$CPP $CPPFLAGS'
61500ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61501ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61502ac_compiler_gnu=$ac_cv_c_compiler_gnu
61503
61504
61505fi
61506
61507  fi
61508  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
61509$as_echo "$glibcxx_cv_func_modff_use" >&6; }
61510
61511  if test x$glibcxx_cv_func_modff_use = x"yes"; then
61512    for ac_func in modff
61513do :
61514  ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
61515if test "x$ac_cv_func_modff" = x""yes; then :
61516  cat >>confdefs.h <<_ACEOF
61517#define HAVE_MODFF 1
61518_ACEOF
61519
61520fi
61521done
61522
61523  else
61524
61525  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
61526$as_echo_n "checking for _modff declaration... " >&6; }
61527  if test x${glibcxx_cv_func__modff_use+set} != xset; then
61528    if test "${glibcxx_cv_func__modff_use+set}" = set; then :
61529  $as_echo_n "(cached) " >&6
61530else
61531
61532
61533      ac_ext=cpp
61534ac_cpp='$CXXCPP $CPPFLAGS'
61535ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61536ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61537ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61538
61539      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61540/* end confdefs.h.  */
61541#include <math.h>
61542int
61543main ()
61544{
61545 _modff(0, 0);
61546  ;
61547  return 0;
61548}
61549_ACEOF
61550if ac_fn_cxx_try_compile "$LINENO"; then :
61551  glibcxx_cv_func__modff_use=yes
61552else
61553  glibcxx_cv_func__modff_use=no
61554fi
61555rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61556      ac_ext=c
61557ac_cpp='$CPP $CPPFLAGS'
61558ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61559ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61560ac_compiler_gnu=$ac_cv_c_compiler_gnu
61561
61562
61563fi
61564
61565  fi
61566  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
61567$as_echo "$glibcxx_cv_func__modff_use" >&6; }
61568
61569    if test x$glibcxx_cv_func__modff_use = x"yes"; then
61570      for ac_func in _modff
61571do :
61572  ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
61573if test "x$ac_cv_func__modff" = x""yes; then :
61574  cat >>confdefs.h <<_ACEOF
61575#define HAVE__MODFF 1
61576_ACEOF
61577
61578fi
61579done
61580
61581    fi
61582  fi
61583
61584
61585
61586
61587
61588  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
61589$as_echo_n "checking for modf declaration... " >&6; }
61590  if test x${glibcxx_cv_func_modf_use+set} != xset; then
61591    if test "${glibcxx_cv_func_modf_use+set}" = set; then :
61592  $as_echo_n "(cached) " >&6
61593else
61594
61595
61596      ac_ext=cpp
61597ac_cpp='$CXXCPP $CPPFLAGS'
61598ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61599ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61600ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61601
61602      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61603/* end confdefs.h.  */
61604#include <math.h>
61605int
61606main ()
61607{
61608 modf(0, 0);
61609  ;
61610  return 0;
61611}
61612_ACEOF
61613if ac_fn_cxx_try_compile "$LINENO"; then :
61614  glibcxx_cv_func_modf_use=yes
61615else
61616  glibcxx_cv_func_modf_use=no
61617fi
61618rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61619      ac_ext=c
61620ac_cpp='$CPP $CPPFLAGS'
61621ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61622ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61623ac_compiler_gnu=$ac_cv_c_compiler_gnu
61624
61625
61626fi
61627
61628  fi
61629  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
61630$as_echo "$glibcxx_cv_func_modf_use" >&6; }
61631
61632  if test x$glibcxx_cv_func_modf_use = x"yes"; then
61633    for ac_func in modf
61634do :
61635  ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
61636if test "x$ac_cv_func_modf" = x""yes; then :
61637  cat >>confdefs.h <<_ACEOF
61638#define HAVE_MODF 1
61639_ACEOF
61640
61641fi
61642done
61643
61644  else
61645
61646  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
61647$as_echo_n "checking for _modf declaration... " >&6; }
61648  if test x${glibcxx_cv_func__modf_use+set} != xset; then
61649    if test "${glibcxx_cv_func__modf_use+set}" = set; then :
61650  $as_echo_n "(cached) " >&6
61651else
61652
61653
61654      ac_ext=cpp
61655ac_cpp='$CXXCPP $CPPFLAGS'
61656ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61657ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61658ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61659
61660      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61661/* end confdefs.h.  */
61662#include <math.h>
61663int
61664main ()
61665{
61666 _modf(0, 0);
61667  ;
61668  return 0;
61669}
61670_ACEOF
61671if ac_fn_cxx_try_compile "$LINENO"; then :
61672  glibcxx_cv_func__modf_use=yes
61673else
61674  glibcxx_cv_func__modf_use=no
61675fi
61676rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61677      ac_ext=c
61678ac_cpp='$CPP $CPPFLAGS'
61679ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61680ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61681ac_compiler_gnu=$ac_cv_c_compiler_gnu
61682
61683
61684fi
61685
61686  fi
61687  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
61688$as_echo "$glibcxx_cv_func__modf_use" >&6; }
61689
61690    if test x$glibcxx_cv_func__modf_use = x"yes"; then
61691      for ac_func in _modf
61692do :
61693  ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
61694if test "x$ac_cv_func__modf" = x""yes; then :
61695  cat >>confdefs.h <<_ACEOF
61696#define HAVE__MODF 1
61697_ACEOF
61698
61699fi
61700done
61701
61702    fi
61703  fi
61704
61705
61706
61707
61708
61709  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
61710$as_echo_n "checking for powf declaration... " >&6; }
61711  if test x${glibcxx_cv_func_powf_use+set} != xset; then
61712    if test "${glibcxx_cv_func_powf_use+set}" = set; then :
61713  $as_echo_n "(cached) " >&6
61714else
61715
61716
61717      ac_ext=cpp
61718ac_cpp='$CXXCPP $CPPFLAGS'
61719ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61720ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61721ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61722
61723      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61724/* end confdefs.h.  */
61725#include <math.h>
61726int
61727main ()
61728{
61729 powf(0, 0);
61730  ;
61731  return 0;
61732}
61733_ACEOF
61734if ac_fn_cxx_try_compile "$LINENO"; then :
61735  glibcxx_cv_func_powf_use=yes
61736else
61737  glibcxx_cv_func_powf_use=no
61738fi
61739rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61740      ac_ext=c
61741ac_cpp='$CPP $CPPFLAGS'
61742ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61743ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61744ac_compiler_gnu=$ac_cv_c_compiler_gnu
61745
61746
61747fi
61748
61749  fi
61750  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
61751$as_echo "$glibcxx_cv_func_powf_use" >&6; }
61752
61753  if test x$glibcxx_cv_func_powf_use = x"yes"; then
61754    for ac_func in powf
61755do :
61756  ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
61757if test "x$ac_cv_func_powf" = x""yes; then :
61758  cat >>confdefs.h <<_ACEOF
61759#define HAVE_POWF 1
61760_ACEOF
61761
61762fi
61763done
61764
61765  else
61766
61767  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
61768$as_echo_n "checking for _powf declaration... " >&6; }
61769  if test x${glibcxx_cv_func__powf_use+set} != xset; then
61770    if test "${glibcxx_cv_func__powf_use+set}" = set; then :
61771  $as_echo_n "(cached) " >&6
61772else
61773
61774
61775      ac_ext=cpp
61776ac_cpp='$CXXCPP $CPPFLAGS'
61777ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61778ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61779ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61780
61781      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61782/* end confdefs.h.  */
61783#include <math.h>
61784int
61785main ()
61786{
61787 _powf(0, 0);
61788  ;
61789  return 0;
61790}
61791_ACEOF
61792if ac_fn_cxx_try_compile "$LINENO"; then :
61793  glibcxx_cv_func__powf_use=yes
61794else
61795  glibcxx_cv_func__powf_use=no
61796fi
61797rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61798      ac_ext=c
61799ac_cpp='$CPP $CPPFLAGS'
61800ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61801ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61802ac_compiler_gnu=$ac_cv_c_compiler_gnu
61803
61804
61805fi
61806
61807  fi
61808  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
61809$as_echo "$glibcxx_cv_func__powf_use" >&6; }
61810
61811    if test x$glibcxx_cv_func__powf_use = x"yes"; then
61812      for ac_func in _powf
61813do :
61814  ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
61815if test "x$ac_cv_func__powf" = x""yes; then :
61816  cat >>confdefs.h <<_ACEOF
61817#define HAVE__POWF 1
61818_ACEOF
61819
61820fi
61821done
61822
61823    fi
61824  fi
61825
61826
61827
61828
61829
61830  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
61831$as_echo_n "checking for sqrtf declaration... " >&6; }
61832  if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
61833    if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
61834  $as_echo_n "(cached) " >&6
61835else
61836
61837
61838      ac_ext=cpp
61839ac_cpp='$CXXCPP $CPPFLAGS'
61840ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61841ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61842ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61843
61844      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61845/* end confdefs.h.  */
61846#include <math.h>
61847		      #ifdef HAVE_IEEEFP_H
61848		      #include <ieeefp.h>
61849		      #endif
61850
61851int
61852main ()
61853{
61854 sqrtf(0);
61855  ;
61856  return 0;
61857}
61858_ACEOF
61859if ac_fn_cxx_try_compile "$LINENO"; then :
61860  glibcxx_cv_func_sqrtf_use=yes
61861else
61862  glibcxx_cv_func_sqrtf_use=no
61863fi
61864rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61865      ac_ext=c
61866ac_cpp='$CPP $CPPFLAGS'
61867ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61868ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61869ac_compiler_gnu=$ac_cv_c_compiler_gnu
61870
61871
61872fi
61873
61874  fi
61875  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
61876$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
61877
61878  if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
61879    for ac_func in sqrtf
61880do :
61881  ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
61882if test "x$ac_cv_func_sqrtf" = x""yes; then :
61883  cat >>confdefs.h <<_ACEOF
61884#define HAVE_SQRTF 1
61885_ACEOF
61886
61887fi
61888done
61889
61890  else
61891
61892  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
61893$as_echo_n "checking for _sqrtf declaration... " >&6; }
61894  if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
61895    if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
61896  $as_echo_n "(cached) " >&6
61897else
61898
61899
61900      ac_ext=cpp
61901ac_cpp='$CXXCPP $CPPFLAGS'
61902ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61903ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61904ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61905
61906      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61907/* end confdefs.h.  */
61908#include <math.h>
61909		      #ifdef HAVE_IEEEFP_H
61910		      #include <ieeefp.h>
61911		      #endif
61912
61913int
61914main ()
61915{
61916 _sqrtf(0);
61917  ;
61918  return 0;
61919}
61920_ACEOF
61921if ac_fn_cxx_try_compile "$LINENO"; then :
61922  glibcxx_cv_func__sqrtf_use=yes
61923else
61924  glibcxx_cv_func__sqrtf_use=no
61925fi
61926rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61927      ac_ext=c
61928ac_cpp='$CPP $CPPFLAGS'
61929ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61930ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61931ac_compiler_gnu=$ac_cv_c_compiler_gnu
61932
61933
61934fi
61935
61936  fi
61937  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
61938$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
61939
61940    if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
61941      for ac_func in _sqrtf
61942do :
61943  ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
61944if test "x$ac_cv_func__sqrtf" = x""yes; then :
61945  cat >>confdefs.h <<_ACEOF
61946#define HAVE__SQRTF 1
61947_ACEOF
61948
61949fi
61950done
61951
61952    fi
61953  fi
61954
61955
61956
61957
61958
61959  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
61960$as_echo_n "checking for sincosf declaration... " >&6; }
61961  if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
61962    if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
61963  $as_echo_n "(cached) " >&6
61964else
61965
61966
61967      ac_ext=cpp
61968ac_cpp='$CXXCPP $CPPFLAGS'
61969ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61970ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61971ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61972
61973      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61974/* end confdefs.h.  */
61975#include <math.h>
61976int
61977main ()
61978{
61979 sincosf(0, 0, 0);
61980  ;
61981  return 0;
61982}
61983_ACEOF
61984if ac_fn_cxx_try_compile "$LINENO"; then :
61985  glibcxx_cv_func_sincosf_use=yes
61986else
61987  glibcxx_cv_func_sincosf_use=no
61988fi
61989rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61990      ac_ext=c
61991ac_cpp='$CPP $CPPFLAGS'
61992ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61993ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61994ac_compiler_gnu=$ac_cv_c_compiler_gnu
61995
61996
61997fi
61998
61999  fi
62000  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
62001$as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
62002
62003  if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
62004    for ac_func in sincosf
62005do :
62006  ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
62007if test "x$ac_cv_func_sincosf" = x""yes; then :
62008  cat >>confdefs.h <<_ACEOF
62009#define HAVE_SINCOSF 1
62010_ACEOF
62011
62012fi
62013done
62014
62015  else
62016
62017  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
62018$as_echo_n "checking for _sincosf declaration... " >&6; }
62019  if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
62020    if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
62021  $as_echo_n "(cached) " >&6
62022else
62023
62024
62025      ac_ext=cpp
62026ac_cpp='$CXXCPP $CPPFLAGS'
62027ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62028ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62029ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62030
62031      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62032/* end confdefs.h.  */
62033#include <math.h>
62034int
62035main ()
62036{
62037 _sincosf(0, 0, 0);
62038  ;
62039  return 0;
62040}
62041_ACEOF
62042if ac_fn_cxx_try_compile "$LINENO"; then :
62043  glibcxx_cv_func__sincosf_use=yes
62044else
62045  glibcxx_cv_func__sincosf_use=no
62046fi
62047rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62048      ac_ext=c
62049ac_cpp='$CPP $CPPFLAGS'
62050ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62051ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62052ac_compiler_gnu=$ac_cv_c_compiler_gnu
62053
62054
62055fi
62056
62057  fi
62058  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
62059$as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
62060
62061    if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
62062      for ac_func in _sincosf
62063do :
62064  ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
62065if test "x$ac_cv_func__sincosf" = x""yes; then :
62066  cat >>confdefs.h <<_ACEOF
62067#define HAVE__SINCOSF 1
62068_ACEOF
62069
62070fi
62071done
62072
62073    fi
62074  fi
62075
62076
62077
62078
62079
62080  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
62081$as_echo_n "checking for finitef declaration... " >&6; }
62082  if test x${glibcxx_cv_func_finitef_use+set} != xset; then
62083    if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
62084  $as_echo_n "(cached) " >&6
62085else
62086
62087
62088      ac_ext=cpp
62089ac_cpp='$CXXCPP $CPPFLAGS'
62090ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62091ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62092ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62093
62094      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62095/* end confdefs.h.  */
62096#include <math.h>
62097		      #ifdef HAVE_IEEEFP_H
62098		      #include <ieeefp.h>
62099		      #endif
62100
62101int
62102main ()
62103{
62104 finitef(0);
62105  ;
62106  return 0;
62107}
62108_ACEOF
62109if ac_fn_cxx_try_compile "$LINENO"; then :
62110  glibcxx_cv_func_finitef_use=yes
62111else
62112  glibcxx_cv_func_finitef_use=no
62113fi
62114rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62115      ac_ext=c
62116ac_cpp='$CPP $CPPFLAGS'
62117ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62118ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62119ac_compiler_gnu=$ac_cv_c_compiler_gnu
62120
62121
62122fi
62123
62124  fi
62125  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
62126$as_echo "$glibcxx_cv_func_finitef_use" >&6; }
62127
62128  if test x$glibcxx_cv_func_finitef_use = x"yes"; then
62129    for ac_func in finitef
62130do :
62131  ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
62132if test "x$ac_cv_func_finitef" = x""yes; then :
62133  cat >>confdefs.h <<_ACEOF
62134#define HAVE_FINITEF 1
62135_ACEOF
62136
62137fi
62138done
62139
62140  else
62141
62142  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
62143$as_echo_n "checking for _finitef declaration... " >&6; }
62144  if test x${glibcxx_cv_func__finitef_use+set} != xset; then
62145    if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
62146  $as_echo_n "(cached) " >&6
62147else
62148
62149
62150      ac_ext=cpp
62151ac_cpp='$CXXCPP $CPPFLAGS'
62152ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62153ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62154ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62155
62156      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62157/* end confdefs.h.  */
62158#include <math.h>
62159		      #ifdef HAVE_IEEEFP_H
62160		      #include <ieeefp.h>
62161		      #endif
62162
62163int
62164main ()
62165{
62166 _finitef(0);
62167  ;
62168  return 0;
62169}
62170_ACEOF
62171if ac_fn_cxx_try_compile "$LINENO"; then :
62172  glibcxx_cv_func__finitef_use=yes
62173else
62174  glibcxx_cv_func__finitef_use=no
62175fi
62176rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62177      ac_ext=c
62178ac_cpp='$CPP $CPPFLAGS'
62179ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62180ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62181ac_compiler_gnu=$ac_cv_c_compiler_gnu
62182
62183
62184fi
62185
62186  fi
62187  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
62188$as_echo "$glibcxx_cv_func__finitef_use" >&6; }
62189
62190    if test x$glibcxx_cv_func__finitef_use = x"yes"; then
62191      for ac_func in _finitef
62192do :
62193  ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
62194if test "x$ac_cv_func__finitef" = x""yes; then :
62195  cat >>confdefs.h <<_ACEOF
62196#define HAVE__FINITEF 1
62197_ACEOF
62198
62199fi
62200done
62201
62202    fi
62203  fi
62204
62205
62206
62207
62208
62209    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
62210$as_echo_n "checking for long double trig functions... " >&6; }
62211  if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
62212  $as_echo_n "(cached) " >&6
62213else
62214
62215
62216    ac_ext=cpp
62217ac_cpp='$CXXCPP $CPPFLAGS'
62218ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62219ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62220ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62221
62222    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62223/* end confdefs.h.  */
62224#include <math.h>
62225int
62226main ()
62227{
62228acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
62229  ;
62230  return 0;
62231}
62232_ACEOF
62233if ac_fn_cxx_try_compile "$LINENO"; then :
62234  glibcxx_cv_func_long_double_trig_use=yes
62235else
62236  glibcxx_cv_func_long_double_trig_use=no
62237fi
62238rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62239    ac_ext=c
62240ac_cpp='$CPP $CPPFLAGS'
62241ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62242ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62243ac_compiler_gnu=$ac_cv_c_compiler_gnu
62244
62245fi
62246
62247  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
62248$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
62249  if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
62250    for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
62251do :
62252  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62253ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62254eval as_val=\$$as_ac_var
62255   if test "x$as_val" = x""yes; then :
62256  cat >>confdefs.h <<_ACEOF
62257#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62258_ACEOF
62259
62260fi
62261done
62262
62263  else
62264    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
62265$as_echo_n "checking for _long double trig functions... " >&6; }
62266    if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
62267  $as_echo_n "(cached) " >&6
62268else
62269
62270
62271      ac_ext=cpp
62272ac_cpp='$CXXCPP $CPPFLAGS'
62273ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62274ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62275ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62276
62277      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62278/* end confdefs.h.  */
62279#include <math.h>
62280int
62281main ()
62282{
62283_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
62284  ;
62285  return 0;
62286}
62287_ACEOF
62288if ac_fn_cxx_try_compile "$LINENO"; then :
62289  glibcxx_cv_func__long_double_trig_use=yes
62290else
62291  glibcxx_cv_func__long_double_trig_use=no
62292fi
62293rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62294      ac_ext=c
62295ac_cpp='$CPP $CPPFLAGS'
62296ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62297ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62298ac_compiler_gnu=$ac_cv_c_compiler_gnu
62299
62300fi
62301
62302    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
62303$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
62304    if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
62305      for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
62306do :
62307  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62308ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62309eval as_val=\$$as_ac_var
62310   if test "x$as_val" = x""yes; then :
62311  cat >>confdefs.h <<_ACEOF
62312#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62313_ACEOF
62314
62315fi
62316done
62317
62318    fi
62319  fi
62320
62321
62322
62323
62324
62325    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
62326$as_echo_n "checking for long double round functions... " >&6; }
62327  if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
62328  $as_echo_n "(cached) " >&6
62329else
62330
62331
62332    ac_ext=cpp
62333ac_cpp='$CXXCPP $CPPFLAGS'
62334ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62335ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62336ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62337
62338    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62339/* end confdefs.h.  */
62340#include <math.h>
62341int
62342main ()
62343{
62344ceill (0); floorl (0);
62345  ;
62346  return 0;
62347}
62348_ACEOF
62349if ac_fn_cxx_try_compile "$LINENO"; then :
62350  glibcxx_cv_func_long_double_round_use=yes
62351else
62352  glibcxx_cv_func_long_double_round_use=no
62353fi
62354rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62355    ac_ext=c
62356ac_cpp='$CPP $CPPFLAGS'
62357ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62358ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62359ac_compiler_gnu=$ac_cv_c_compiler_gnu
62360
62361fi
62362
62363  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
62364$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
62365  if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
62366    for ac_func in ceill floorl
62367do :
62368  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62369ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62370eval as_val=\$$as_ac_var
62371   if test "x$as_val" = x""yes; then :
62372  cat >>confdefs.h <<_ACEOF
62373#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62374_ACEOF
62375
62376fi
62377done
62378
62379  else
62380    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
62381$as_echo_n "checking for _long double round functions... " >&6; }
62382    if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
62383  $as_echo_n "(cached) " >&6
62384else
62385
62386
62387      ac_ext=cpp
62388ac_cpp='$CXXCPP $CPPFLAGS'
62389ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62390ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62391ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62392
62393      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62394/* end confdefs.h.  */
62395#include <math.h>
62396int
62397main ()
62398{
62399_ceill (0); _floorl (0);
62400  ;
62401  return 0;
62402}
62403_ACEOF
62404if ac_fn_cxx_try_compile "$LINENO"; then :
62405  glibcxx_cv_func__long_double_round_use=yes
62406else
62407  glibcxx_cv_func__long_double_round_use=no
62408fi
62409rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62410      ac_ext=c
62411ac_cpp='$CPP $CPPFLAGS'
62412ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62413ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62414ac_compiler_gnu=$ac_cv_c_compiler_gnu
62415
62416fi
62417
62418    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
62419$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
62420    if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
62421      for ac_func in _ceill _floorl
62422do :
62423  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62424ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62425eval as_val=\$$as_ac_var
62426   if test "x$as_val" = x""yes; then :
62427  cat >>confdefs.h <<_ACEOF
62428#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62429_ACEOF
62430
62431fi
62432done
62433
62434    fi
62435  fi
62436
62437
62438
62439
62440
62441
62442  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
62443$as_echo_n "checking for isnanl declaration... " >&6; }
62444  if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
62445    if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
62446  $as_echo_n "(cached) " >&6
62447else
62448
62449
62450      ac_ext=cpp
62451ac_cpp='$CXXCPP $CPPFLAGS'
62452ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62453ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62454ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62455
62456      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62457/* end confdefs.h.  */
62458#include <math.h>
62459		      #ifdef HAVE_IEEEFP_H
62460		      #include <ieeefp.h>
62461		      #endif
62462
62463int
62464main ()
62465{
62466 isnanl(0);
62467  ;
62468  return 0;
62469}
62470_ACEOF
62471if ac_fn_cxx_try_compile "$LINENO"; then :
62472  glibcxx_cv_func_isnanl_use=yes
62473else
62474  glibcxx_cv_func_isnanl_use=no
62475fi
62476rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62477      ac_ext=c
62478ac_cpp='$CPP $CPPFLAGS'
62479ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62480ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62481ac_compiler_gnu=$ac_cv_c_compiler_gnu
62482
62483
62484fi
62485
62486  fi
62487  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
62488$as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
62489
62490  if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
62491    for ac_func in isnanl
62492do :
62493  ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
62494if test "x$ac_cv_func_isnanl" = x""yes; then :
62495  cat >>confdefs.h <<_ACEOF
62496#define HAVE_ISNANL 1
62497_ACEOF
62498
62499fi
62500done
62501
62502  else
62503
62504  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
62505$as_echo_n "checking for _isnanl declaration... " >&6; }
62506  if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
62507    if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
62508  $as_echo_n "(cached) " >&6
62509else
62510
62511
62512      ac_ext=cpp
62513ac_cpp='$CXXCPP $CPPFLAGS'
62514ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62515ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62516ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62517
62518      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62519/* end confdefs.h.  */
62520#include <math.h>
62521		      #ifdef HAVE_IEEEFP_H
62522		      #include <ieeefp.h>
62523		      #endif
62524
62525int
62526main ()
62527{
62528 _isnanl(0);
62529  ;
62530  return 0;
62531}
62532_ACEOF
62533if ac_fn_cxx_try_compile "$LINENO"; then :
62534  glibcxx_cv_func__isnanl_use=yes
62535else
62536  glibcxx_cv_func__isnanl_use=no
62537fi
62538rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62539      ac_ext=c
62540ac_cpp='$CPP $CPPFLAGS'
62541ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62542ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62543ac_compiler_gnu=$ac_cv_c_compiler_gnu
62544
62545
62546fi
62547
62548  fi
62549  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
62550$as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
62551
62552    if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
62553      for ac_func in _isnanl
62554do :
62555  ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
62556if test "x$ac_cv_func__isnanl" = x""yes; then :
62557  cat >>confdefs.h <<_ACEOF
62558#define HAVE__ISNANL 1
62559_ACEOF
62560
62561fi
62562done
62563
62564    fi
62565  fi
62566
62567
62568
62569
62570
62571  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
62572$as_echo_n "checking for isinfl declaration... " >&6; }
62573  if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
62574    if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
62575  $as_echo_n "(cached) " >&6
62576else
62577
62578
62579      ac_ext=cpp
62580ac_cpp='$CXXCPP $CPPFLAGS'
62581ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62582ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62583ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62584
62585      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62586/* end confdefs.h.  */
62587#include <math.h>
62588		      #ifdef HAVE_IEEEFP_H
62589		      #include <ieeefp.h>
62590		      #endif
62591
62592int
62593main ()
62594{
62595 isinfl(0);
62596  ;
62597  return 0;
62598}
62599_ACEOF
62600if ac_fn_cxx_try_compile "$LINENO"; then :
62601  glibcxx_cv_func_isinfl_use=yes
62602else
62603  glibcxx_cv_func_isinfl_use=no
62604fi
62605rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62606      ac_ext=c
62607ac_cpp='$CPP $CPPFLAGS'
62608ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62609ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62610ac_compiler_gnu=$ac_cv_c_compiler_gnu
62611
62612
62613fi
62614
62615  fi
62616  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
62617$as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
62618
62619  if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
62620    for ac_func in isinfl
62621do :
62622  ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
62623if test "x$ac_cv_func_isinfl" = x""yes; then :
62624  cat >>confdefs.h <<_ACEOF
62625#define HAVE_ISINFL 1
62626_ACEOF
62627
62628fi
62629done
62630
62631  else
62632
62633  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
62634$as_echo_n "checking for _isinfl declaration... " >&6; }
62635  if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
62636    if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
62637  $as_echo_n "(cached) " >&6
62638else
62639
62640
62641      ac_ext=cpp
62642ac_cpp='$CXXCPP $CPPFLAGS'
62643ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62644ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62645ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62646
62647      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62648/* end confdefs.h.  */
62649#include <math.h>
62650		      #ifdef HAVE_IEEEFP_H
62651		      #include <ieeefp.h>
62652		      #endif
62653
62654int
62655main ()
62656{
62657 _isinfl(0);
62658  ;
62659  return 0;
62660}
62661_ACEOF
62662if ac_fn_cxx_try_compile "$LINENO"; then :
62663  glibcxx_cv_func__isinfl_use=yes
62664else
62665  glibcxx_cv_func__isinfl_use=no
62666fi
62667rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62668      ac_ext=c
62669ac_cpp='$CPP $CPPFLAGS'
62670ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62671ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62672ac_compiler_gnu=$ac_cv_c_compiler_gnu
62673
62674
62675fi
62676
62677  fi
62678  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
62679$as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
62680
62681    if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
62682      for ac_func in _isinfl
62683do :
62684  ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
62685if test "x$ac_cv_func__isinfl" = x""yes; then :
62686  cat >>confdefs.h <<_ACEOF
62687#define HAVE__ISINFL 1
62688_ACEOF
62689
62690fi
62691done
62692
62693    fi
62694  fi
62695
62696
62697
62698
62699
62700  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
62701$as_echo_n "checking for atan2l declaration... " >&6; }
62702  if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
62703    if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
62704  $as_echo_n "(cached) " >&6
62705else
62706
62707
62708      ac_ext=cpp
62709ac_cpp='$CXXCPP $CPPFLAGS'
62710ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62711ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62712ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62713
62714      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62715/* end confdefs.h.  */
62716#include <math.h>
62717int
62718main ()
62719{
62720 atan2l(0, 0);
62721  ;
62722  return 0;
62723}
62724_ACEOF
62725if ac_fn_cxx_try_compile "$LINENO"; then :
62726  glibcxx_cv_func_atan2l_use=yes
62727else
62728  glibcxx_cv_func_atan2l_use=no
62729fi
62730rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62731      ac_ext=c
62732ac_cpp='$CPP $CPPFLAGS'
62733ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62734ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62735ac_compiler_gnu=$ac_cv_c_compiler_gnu
62736
62737
62738fi
62739
62740  fi
62741  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
62742$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
62743
62744  if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
62745    for ac_func in atan2l
62746do :
62747  ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
62748if test "x$ac_cv_func_atan2l" = x""yes; then :
62749  cat >>confdefs.h <<_ACEOF
62750#define HAVE_ATAN2L 1
62751_ACEOF
62752
62753fi
62754done
62755
62756  else
62757
62758  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
62759$as_echo_n "checking for _atan2l declaration... " >&6; }
62760  if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
62761    if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
62762  $as_echo_n "(cached) " >&6
62763else
62764
62765
62766      ac_ext=cpp
62767ac_cpp='$CXXCPP $CPPFLAGS'
62768ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62769ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62770ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62771
62772      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62773/* end confdefs.h.  */
62774#include <math.h>
62775int
62776main ()
62777{
62778 _atan2l(0, 0);
62779  ;
62780  return 0;
62781}
62782_ACEOF
62783if ac_fn_cxx_try_compile "$LINENO"; then :
62784  glibcxx_cv_func__atan2l_use=yes
62785else
62786  glibcxx_cv_func__atan2l_use=no
62787fi
62788rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62789      ac_ext=c
62790ac_cpp='$CPP $CPPFLAGS'
62791ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62792ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62793ac_compiler_gnu=$ac_cv_c_compiler_gnu
62794
62795
62796fi
62797
62798  fi
62799  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
62800$as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
62801
62802    if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
62803      for ac_func in _atan2l
62804do :
62805  ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
62806if test "x$ac_cv_func__atan2l" = x""yes; then :
62807  cat >>confdefs.h <<_ACEOF
62808#define HAVE__ATAN2L 1
62809_ACEOF
62810
62811fi
62812done
62813
62814    fi
62815  fi
62816
62817
62818
62819
62820
62821  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
62822$as_echo_n "checking for expl declaration... " >&6; }
62823  if test x${glibcxx_cv_func_expl_use+set} != xset; then
62824    if test "${glibcxx_cv_func_expl_use+set}" = set; then :
62825  $as_echo_n "(cached) " >&6
62826else
62827
62828
62829      ac_ext=cpp
62830ac_cpp='$CXXCPP $CPPFLAGS'
62831ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62832ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62833ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62834
62835      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62836/* end confdefs.h.  */
62837#include <math.h>
62838		      #ifdef HAVE_IEEEFP_H
62839		      #include <ieeefp.h>
62840		      #endif
62841
62842int
62843main ()
62844{
62845 expl(0);
62846  ;
62847  return 0;
62848}
62849_ACEOF
62850if ac_fn_cxx_try_compile "$LINENO"; then :
62851  glibcxx_cv_func_expl_use=yes
62852else
62853  glibcxx_cv_func_expl_use=no
62854fi
62855rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62856      ac_ext=c
62857ac_cpp='$CPP $CPPFLAGS'
62858ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62859ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62860ac_compiler_gnu=$ac_cv_c_compiler_gnu
62861
62862
62863fi
62864
62865  fi
62866  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
62867$as_echo "$glibcxx_cv_func_expl_use" >&6; }
62868
62869  if test x$glibcxx_cv_func_expl_use = x"yes"; then
62870    for ac_func in expl
62871do :
62872  ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
62873if test "x$ac_cv_func_expl" = x""yes; then :
62874  cat >>confdefs.h <<_ACEOF
62875#define HAVE_EXPL 1
62876_ACEOF
62877
62878fi
62879done
62880
62881  else
62882
62883  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
62884$as_echo_n "checking for _expl declaration... " >&6; }
62885  if test x${glibcxx_cv_func__expl_use+set} != xset; then
62886    if test "${glibcxx_cv_func__expl_use+set}" = set; then :
62887  $as_echo_n "(cached) " >&6
62888else
62889
62890
62891      ac_ext=cpp
62892ac_cpp='$CXXCPP $CPPFLAGS'
62893ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62894ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62895ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62896
62897      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62898/* end confdefs.h.  */
62899#include <math.h>
62900		      #ifdef HAVE_IEEEFP_H
62901		      #include <ieeefp.h>
62902		      #endif
62903
62904int
62905main ()
62906{
62907 _expl(0);
62908  ;
62909  return 0;
62910}
62911_ACEOF
62912if ac_fn_cxx_try_compile "$LINENO"; then :
62913  glibcxx_cv_func__expl_use=yes
62914else
62915  glibcxx_cv_func__expl_use=no
62916fi
62917rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62918      ac_ext=c
62919ac_cpp='$CPP $CPPFLAGS'
62920ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62921ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62922ac_compiler_gnu=$ac_cv_c_compiler_gnu
62923
62924
62925fi
62926
62927  fi
62928  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
62929$as_echo "$glibcxx_cv_func__expl_use" >&6; }
62930
62931    if test x$glibcxx_cv_func__expl_use = x"yes"; then
62932      for ac_func in _expl
62933do :
62934  ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
62935if test "x$ac_cv_func__expl" = x""yes; then :
62936  cat >>confdefs.h <<_ACEOF
62937#define HAVE__EXPL 1
62938_ACEOF
62939
62940fi
62941done
62942
62943    fi
62944  fi
62945
62946
62947
62948
62949
62950  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
62951$as_echo_n "checking for fabsl declaration... " >&6; }
62952  if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
62953    if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
62954  $as_echo_n "(cached) " >&6
62955else
62956
62957
62958      ac_ext=cpp
62959ac_cpp='$CXXCPP $CPPFLAGS'
62960ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62961ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62962ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62963
62964      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62965/* end confdefs.h.  */
62966#include <math.h>
62967		      #ifdef HAVE_IEEEFP_H
62968		      #include <ieeefp.h>
62969		      #endif
62970
62971int
62972main ()
62973{
62974 fabsl(0);
62975  ;
62976  return 0;
62977}
62978_ACEOF
62979if ac_fn_cxx_try_compile "$LINENO"; then :
62980  glibcxx_cv_func_fabsl_use=yes
62981else
62982  glibcxx_cv_func_fabsl_use=no
62983fi
62984rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62985      ac_ext=c
62986ac_cpp='$CPP $CPPFLAGS'
62987ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62988ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62989ac_compiler_gnu=$ac_cv_c_compiler_gnu
62990
62991
62992fi
62993
62994  fi
62995  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
62996$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
62997
62998  if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
62999    for ac_func in fabsl
63000do :
63001  ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
63002if test "x$ac_cv_func_fabsl" = x""yes; then :
63003  cat >>confdefs.h <<_ACEOF
63004#define HAVE_FABSL 1
63005_ACEOF
63006
63007fi
63008done
63009
63010  else
63011
63012  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
63013$as_echo_n "checking for _fabsl declaration... " >&6; }
63014  if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
63015    if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
63016  $as_echo_n "(cached) " >&6
63017else
63018
63019
63020      ac_ext=cpp
63021ac_cpp='$CXXCPP $CPPFLAGS'
63022ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63023ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63024ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63025
63026      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63027/* end confdefs.h.  */
63028#include <math.h>
63029		      #ifdef HAVE_IEEEFP_H
63030		      #include <ieeefp.h>
63031		      #endif
63032
63033int
63034main ()
63035{
63036 _fabsl(0);
63037  ;
63038  return 0;
63039}
63040_ACEOF
63041if ac_fn_cxx_try_compile "$LINENO"; then :
63042  glibcxx_cv_func__fabsl_use=yes
63043else
63044  glibcxx_cv_func__fabsl_use=no
63045fi
63046rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63047      ac_ext=c
63048ac_cpp='$CPP $CPPFLAGS'
63049ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63050ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63051ac_compiler_gnu=$ac_cv_c_compiler_gnu
63052
63053
63054fi
63055
63056  fi
63057  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
63058$as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
63059
63060    if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
63061      for ac_func in _fabsl
63062do :
63063  ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
63064if test "x$ac_cv_func__fabsl" = x""yes; then :
63065  cat >>confdefs.h <<_ACEOF
63066#define HAVE__FABSL 1
63067_ACEOF
63068
63069fi
63070done
63071
63072    fi
63073  fi
63074
63075
63076
63077
63078
63079  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
63080$as_echo_n "checking for fmodl declaration... " >&6; }
63081  if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
63082    if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
63083  $as_echo_n "(cached) " >&6
63084else
63085
63086
63087      ac_ext=cpp
63088ac_cpp='$CXXCPP $CPPFLAGS'
63089ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63090ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63091ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63092
63093      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63094/* end confdefs.h.  */
63095#include <math.h>
63096int
63097main ()
63098{
63099 fmodl(0, 0);
63100  ;
63101  return 0;
63102}
63103_ACEOF
63104if ac_fn_cxx_try_compile "$LINENO"; then :
63105  glibcxx_cv_func_fmodl_use=yes
63106else
63107  glibcxx_cv_func_fmodl_use=no
63108fi
63109rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63110      ac_ext=c
63111ac_cpp='$CPP $CPPFLAGS'
63112ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63113ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63114ac_compiler_gnu=$ac_cv_c_compiler_gnu
63115
63116
63117fi
63118
63119  fi
63120  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
63121$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
63122
63123  if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
63124    for ac_func in fmodl
63125do :
63126  ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
63127if test "x$ac_cv_func_fmodl" = x""yes; then :
63128  cat >>confdefs.h <<_ACEOF
63129#define HAVE_FMODL 1
63130_ACEOF
63131
63132fi
63133done
63134
63135  else
63136
63137  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
63138$as_echo_n "checking for _fmodl declaration... " >&6; }
63139  if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
63140    if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
63141  $as_echo_n "(cached) " >&6
63142else
63143
63144
63145      ac_ext=cpp
63146ac_cpp='$CXXCPP $CPPFLAGS'
63147ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63148ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63149ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63150
63151      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63152/* end confdefs.h.  */
63153#include <math.h>
63154int
63155main ()
63156{
63157 _fmodl(0, 0);
63158  ;
63159  return 0;
63160}
63161_ACEOF
63162if ac_fn_cxx_try_compile "$LINENO"; then :
63163  glibcxx_cv_func__fmodl_use=yes
63164else
63165  glibcxx_cv_func__fmodl_use=no
63166fi
63167rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63168      ac_ext=c
63169ac_cpp='$CPP $CPPFLAGS'
63170ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63171ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63172ac_compiler_gnu=$ac_cv_c_compiler_gnu
63173
63174
63175fi
63176
63177  fi
63178  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
63179$as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
63180
63181    if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
63182      for ac_func in _fmodl
63183do :
63184  ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
63185if test "x$ac_cv_func__fmodl" = x""yes; then :
63186  cat >>confdefs.h <<_ACEOF
63187#define HAVE__FMODL 1
63188_ACEOF
63189
63190fi
63191done
63192
63193    fi
63194  fi
63195
63196
63197
63198
63199
63200  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
63201$as_echo_n "checking for frexpl declaration... " >&6; }
63202  if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
63203    if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
63204  $as_echo_n "(cached) " >&6
63205else
63206
63207
63208      ac_ext=cpp
63209ac_cpp='$CXXCPP $CPPFLAGS'
63210ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63211ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63212ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63213
63214      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63215/* end confdefs.h.  */
63216#include <math.h>
63217int
63218main ()
63219{
63220 frexpl(0, 0);
63221  ;
63222  return 0;
63223}
63224_ACEOF
63225if ac_fn_cxx_try_compile "$LINENO"; then :
63226  glibcxx_cv_func_frexpl_use=yes
63227else
63228  glibcxx_cv_func_frexpl_use=no
63229fi
63230rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63231      ac_ext=c
63232ac_cpp='$CPP $CPPFLAGS'
63233ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63234ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63235ac_compiler_gnu=$ac_cv_c_compiler_gnu
63236
63237
63238fi
63239
63240  fi
63241  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
63242$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
63243
63244  if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
63245    for ac_func in frexpl
63246do :
63247  ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
63248if test "x$ac_cv_func_frexpl" = x""yes; then :
63249  cat >>confdefs.h <<_ACEOF
63250#define HAVE_FREXPL 1
63251_ACEOF
63252
63253fi
63254done
63255
63256  else
63257
63258  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
63259$as_echo_n "checking for _frexpl declaration... " >&6; }
63260  if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
63261    if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
63262  $as_echo_n "(cached) " >&6
63263else
63264
63265
63266      ac_ext=cpp
63267ac_cpp='$CXXCPP $CPPFLAGS'
63268ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63269ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63270ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63271
63272      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63273/* end confdefs.h.  */
63274#include <math.h>
63275int
63276main ()
63277{
63278 _frexpl(0, 0);
63279  ;
63280  return 0;
63281}
63282_ACEOF
63283if ac_fn_cxx_try_compile "$LINENO"; then :
63284  glibcxx_cv_func__frexpl_use=yes
63285else
63286  glibcxx_cv_func__frexpl_use=no
63287fi
63288rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63289      ac_ext=c
63290ac_cpp='$CPP $CPPFLAGS'
63291ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63292ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63293ac_compiler_gnu=$ac_cv_c_compiler_gnu
63294
63295
63296fi
63297
63298  fi
63299  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
63300$as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
63301
63302    if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
63303      for ac_func in _frexpl
63304do :
63305  ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
63306if test "x$ac_cv_func__frexpl" = x""yes; then :
63307  cat >>confdefs.h <<_ACEOF
63308#define HAVE__FREXPL 1
63309_ACEOF
63310
63311fi
63312done
63313
63314    fi
63315  fi
63316
63317
63318
63319
63320
63321  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
63322$as_echo_n "checking for hypotl declaration... " >&6; }
63323  if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
63324    if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
63325  $as_echo_n "(cached) " >&6
63326else
63327
63328
63329      ac_ext=cpp
63330ac_cpp='$CXXCPP $CPPFLAGS'
63331ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63332ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63333ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63334
63335      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63336/* end confdefs.h.  */
63337#include <math.h>
63338int
63339main ()
63340{
63341 hypotl(0, 0);
63342  ;
63343  return 0;
63344}
63345_ACEOF
63346if ac_fn_cxx_try_compile "$LINENO"; then :
63347  glibcxx_cv_func_hypotl_use=yes
63348else
63349  glibcxx_cv_func_hypotl_use=no
63350fi
63351rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63352      ac_ext=c
63353ac_cpp='$CPP $CPPFLAGS'
63354ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63355ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63356ac_compiler_gnu=$ac_cv_c_compiler_gnu
63357
63358
63359fi
63360
63361  fi
63362  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
63363$as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
63364
63365  if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
63366    for ac_func in hypotl
63367do :
63368  ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
63369if test "x$ac_cv_func_hypotl" = x""yes; then :
63370  cat >>confdefs.h <<_ACEOF
63371#define HAVE_HYPOTL 1
63372_ACEOF
63373
63374fi
63375done
63376
63377  else
63378
63379  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
63380$as_echo_n "checking for _hypotl declaration... " >&6; }
63381  if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
63382    if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
63383  $as_echo_n "(cached) " >&6
63384else
63385
63386
63387      ac_ext=cpp
63388ac_cpp='$CXXCPP $CPPFLAGS'
63389ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63390ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63391ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63392
63393      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63394/* end confdefs.h.  */
63395#include <math.h>
63396int
63397main ()
63398{
63399 _hypotl(0, 0);
63400  ;
63401  return 0;
63402}
63403_ACEOF
63404if ac_fn_cxx_try_compile "$LINENO"; then :
63405  glibcxx_cv_func__hypotl_use=yes
63406else
63407  glibcxx_cv_func__hypotl_use=no
63408fi
63409rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63410      ac_ext=c
63411ac_cpp='$CPP $CPPFLAGS'
63412ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63413ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63414ac_compiler_gnu=$ac_cv_c_compiler_gnu
63415
63416
63417fi
63418
63419  fi
63420  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
63421$as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
63422
63423    if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
63424      for ac_func in _hypotl
63425do :
63426  ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
63427if test "x$ac_cv_func__hypotl" = x""yes; then :
63428  cat >>confdefs.h <<_ACEOF
63429#define HAVE__HYPOTL 1
63430_ACEOF
63431
63432fi
63433done
63434
63435    fi
63436  fi
63437
63438
63439
63440
63441
63442  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
63443$as_echo_n "checking for ldexpl declaration... " >&6; }
63444  if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
63445    if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
63446  $as_echo_n "(cached) " >&6
63447else
63448
63449
63450      ac_ext=cpp
63451ac_cpp='$CXXCPP $CPPFLAGS'
63452ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63453ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63454ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63455
63456      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63457/* end confdefs.h.  */
63458#include <math.h>
63459int
63460main ()
63461{
63462 ldexpl(0, 0);
63463  ;
63464  return 0;
63465}
63466_ACEOF
63467if ac_fn_cxx_try_compile "$LINENO"; then :
63468  glibcxx_cv_func_ldexpl_use=yes
63469else
63470  glibcxx_cv_func_ldexpl_use=no
63471fi
63472rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63473      ac_ext=c
63474ac_cpp='$CPP $CPPFLAGS'
63475ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63476ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63477ac_compiler_gnu=$ac_cv_c_compiler_gnu
63478
63479
63480fi
63481
63482  fi
63483  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
63484$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
63485
63486  if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
63487    for ac_func in ldexpl
63488do :
63489  ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
63490if test "x$ac_cv_func_ldexpl" = x""yes; then :
63491  cat >>confdefs.h <<_ACEOF
63492#define HAVE_LDEXPL 1
63493_ACEOF
63494
63495fi
63496done
63497
63498  else
63499
63500  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
63501$as_echo_n "checking for _ldexpl declaration... " >&6; }
63502  if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
63503    if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
63504  $as_echo_n "(cached) " >&6
63505else
63506
63507
63508      ac_ext=cpp
63509ac_cpp='$CXXCPP $CPPFLAGS'
63510ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63511ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63512ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63513
63514      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63515/* end confdefs.h.  */
63516#include <math.h>
63517int
63518main ()
63519{
63520 _ldexpl(0, 0);
63521  ;
63522  return 0;
63523}
63524_ACEOF
63525if ac_fn_cxx_try_compile "$LINENO"; then :
63526  glibcxx_cv_func__ldexpl_use=yes
63527else
63528  glibcxx_cv_func__ldexpl_use=no
63529fi
63530rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63531      ac_ext=c
63532ac_cpp='$CPP $CPPFLAGS'
63533ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63534ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63535ac_compiler_gnu=$ac_cv_c_compiler_gnu
63536
63537
63538fi
63539
63540  fi
63541  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
63542$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
63543
63544    if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
63545      for ac_func in _ldexpl
63546do :
63547  ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
63548if test "x$ac_cv_func__ldexpl" = x""yes; then :
63549  cat >>confdefs.h <<_ACEOF
63550#define HAVE__LDEXPL 1
63551_ACEOF
63552
63553fi
63554done
63555
63556    fi
63557  fi
63558
63559
63560
63561
63562
63563  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
63564$as_echo_n "checking for logl declaration... " >&6; }
63565  if test x${glibcxx_cv_func_logl_use+set} != xset; then
63566    if test "${glibcxx_cv_func_logl_use+set}" = set; then :
63567  $as_echo_n "(cached) " >&6
63568else
63569
63570
63571      ac_ext=cpp
63572ac_cpp='$CXXCPP $CPPFLAGS'
63573ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63574ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63575ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63576
63577      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63578/* end confdefs.h.  */
63579#include <math.h>
63580		      #ifdef HAVE_IEEEFP_H
63581		      #include <ieeefp.h>
63582		      #endif
63583
63584int
63585main ()
63586{
63587 logl(0);
63588  ;
63589  return 0;
63590}
63591_ACEOF
63592if ac_fn_cxx_try_compile "$LINENO"; then :
63593  glibcxx_cv_func_logl_use=yes
63594else
63595  glibcxx_cv_func_logl_use=no
63596fi
63597rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63598      ac_ext=c
63599ac_cpp='$CPP $CPPFLAGS'
63600ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63601ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63602ac_compiler_gnu=$ac_cv_c_compiler_gnu
63603
63604
63605fi
63606
63607  fi
63608  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
63609$as_echo "$glibcxx_cv_func_logl_use" >&6; }
63610
63611  if test x$glibcxx_cv_func_logl_use = x"yes"; then
63612    for ac_func in logl
63613do :
63614  ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
63615if test "x$ac_cv_func_logl" = x""yes; then :
63616  cat >>confdefs.h <<_ACEOF
63617#define HAVE_LOGL 1
63618_ACEOF
63619
63620fi
63621done
63622
63623  else
63624
63625  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
63626$as_echo_n "checking for _logl declaration... " >&6; }
63627  if test x${glibcxx_cv_func__logl_use+set} != xset; then
63628    if test "${glibcxx_cv_func__logl_use+set}" = set; then :
63629  $as_echo_n "(cached) " >&6
63630else
63631
63632
63633      ac_ext=cpp
63634ac_cpp='$CXXCPP $CPPFLAGS'
63635ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63636ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63637ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63638
63639      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63640/* end confdefs.h.  */
63641#include <math.h>
63642		      #ifdef HAVE_IEEEFP_H
63643		      #include <ieeefp.h>
63644		      #endif
63645
63646int
63647main ()
63648{
63649 _logl(0);
63650  ;
63651  return 0;
63652}
63653_ACEOF
63654if ac_fn_cxx_try_compile "$LINENO"; then :
63655  glibcxx_cv_func__logl_use=yes
63656else
63657  glibcxx_cv_func__logl_use=no
63658fi
63659rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63660      ac_ext=c
63661ac_cpp='$CPP $CPPFLAGS'
63662ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63663ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63664ac_compiler_gnu=$ac_cv_c_compiler_gnu
63665
63666
63667fi
63668
63669  fi
63670  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
63671$as_echo "$glibcxx_cv_func__logl_use" >&6; }
63672
63673    if test x$glibcxx_cv_func__logl_use = x"yes"; then
63674      for ac_func in _logl
63675do :
63676  ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
63677if test "x$ac_cv_func__logl" = x""yes; then :
63678  cat >>confdefs.h <<_ACEOF
63679#define HAVE__LOGL 1
63680_ACEOF
63681
63682fi
63683done
63684
63685    fi
63686  fi
63687
63688
63689
63690
63691
63692  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
63693$as_echo_n "checking for log10l declaration... " >&6; }
63694  if test x${glibcxx_cv_func_log10l_use+set} != xset; then
63695    if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
63696  $as_echo_n "(cached) " >&6
63697else
63698
63699
63700      ac_ext=cpp
63701ac_cpp='$CXXCPP $CPPFLAGS'
63702ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63703ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63704ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63705
63706      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63707/* end confdefs.h.  */
63708#include <math.h>
63709		      #ifdef HAVE_IEEEFP_H
63710		      #include <ieeefp.h>
63711		      #endif
63712
63713int
63714main ()
63715{
63716 log10l(0);
63717  ;
63718  return 0;
63719}
63720_ACEOF
63721if ac_fn_cxx_try_compile "$LINENO"; then :
63722  glibcxx_cv_func_log10l_use=yes
63723else
63724  glibcxx_cv_func_log10l_use=no
63725fi
63726rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63727      ac_ext=c
63728ac_cpp='$CPP $CPPFLAGS'
63729ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63730ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63731ac_compiler_gnu=$ac_cv_c_compiler_gnu
63732
63733
63734fi
63735
63736  fi
63737  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
63738$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
63739
63740  if test x$glibcxx_cv_func_log10l_use = x"yes"; then
63741    for ac_func in log10l
63742do :
63743  ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
63744if test "x$ac_cv_func_log10l" = x""yes; then :
63745  cat >>confdefs.h <<_ACEOF
63746#define HAVE_LOG10L 1
63747_ACEOF
63748
63749fi
63750done
63751
63752  else
63753
63754  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
63755$as_echo_n "checking for _log10l declaration... " >&6; }
63756  if test x${glibcxx_cv_func__log10l_use+set} != xset; then
63757    if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
63758  $as_echo_n "(cached) " >&6
63759else
63760
63761
63762      ac_ext=cpp
63763ac_cpp='$CXXCPP $CPPFLAGS'
63764ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63765ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63766ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63767
63768      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63769/* end confdefs.h.  */
63770#include <math.h>
63771		      #ifdef HAVE_IEEEFP_H
63772		      #include <ieeefp.h>
63773		      #endif
63774
63775int
63776main ()
63777{
63778 _log10l(0);
63779  ;
63780  return 0;
63781}
63782_ACEOF
63783if ac_fn_cxx_try_compile "$LINENO"; then :
63784  glibcxx_cv_func__log10l_use=yes
63785else
63786  glibcxx_cv_func__log10l_use=no
63787fi
63788rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63789      ac_ext=c
63790ac_cpp='$CPP $CPPFLAGS'
63791ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63792ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63793ac_compiler_gnu=$ac_cv_c_compiler_gnu
63794
63795
63796fi
63797
63798  fi
63799  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
63800$as_echo "$glibcxx_cv_func__log10l_use" >&6; }
63801
63802    if test x$glibcxx_cv_func__log10l_use = x"yes"; then
63803      for ac_func in _log10l
63804do :
63805  ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
63806if test "x$ac_cv_func__log10l" = x""yes; then :
63807  cat >>confdefs.h <<_ACEOF
63808#define HAVE__LOG10L 1
63809_ACEOF
63810
63811fi
63812done
63813
63814    fi
63815  fi
63816
63817
63818
63819
63820
63821  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
63822$as_echo_n "checking for modfl declaration... " >&6; }
63823  if test x${glibcxx_cv_func_modfl_use+set} != xset; then
63824    if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
63825  $as_echo_n "(cached) " >&6
63826else
63827
63828
63829      ac_ext=cpp
63830ac_cpp='$CXXCPP $CPPFLAGS'
63831ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63832ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63833ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63834
63835      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63836/* end confdefs.h.  */
63837#include <math.h>
63838int
63839main ()
63840{
63841 modfl(0, 0);
63842  ;
63843  return 0;
63844}
63845_ACEOF
63846if ac_fn_cxx_try_compile "$LINENO"; then :
63847  glibcxx_cv_func_modfl_use=yes
63848else
63849  glibcxx_cv_func_modfl_use=no
63850fi
63851rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63852      ac_ext=c
63853ac_cpp='$CPP $CPPFLAGS'
63854ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63855ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63856ac_compiler_gnu=$ac_cv_c_compiler_gnu
63857
63858
63859fi
63860
63861  fi
63862  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
63863$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
63864
63865  if test x$glibcxx_cv_func_modfl_use = x"yes"; then
63866    for ac_func in modfl
63867do :
63868  ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
63869if test "x$ac_cv_func_modfl" = x""yes; then :
63870  cat >>confdefs.h <<_ACEOF
63871#define HAVE_MODFL 1
63872_ACEOF
63873
63874fi
63875done
63876
63877  else
63878
63879  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
63880$as_echo_n "checking for _modfl declaration... " >&6; }
63881  if test x${glibcxx_cv_func__modfl_use+set} != xset; then
63882    if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
63883  $as_echo_n "(cached) " >&6
63884else
63885
63886
63887      ac_ext=cpp
63888ac_cpp='$CXXCPP $CPPFLAGS'
63889ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63890ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63891ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63892
63893      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63894/* end confdefs.h.  */
63895#include <math.h>
63896int
63897main ()
63898{
63899 _modfl(0, 0);
63900  ;
63901  return 0;
63902}
63903_ACEOF
63904if ac_fn_cxx_try_compile "$LINENO"; then :
63905  glibcxx_cv_func__modfl_use=yes
63906else
63907  glibcxx_cv_func__modfl_use=no
63908fi
63909rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63910      ac_ext=c
63911ac_cpp='$CPP $CPPFLAGS'
63912ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63913ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63914ac_compiler_gnu=$ac_cv_c_compiler_gnu
63915
63916
63917fi
63918
63919  fi
63920  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
63921$as_echo "$glibcxx_cv_func__modfl_use" >&6; }
63922
63923    if test x$glibcxx_cv_func__modfl_use = x"yes"; then
63924      for ac_func in _modfl
63925do :
63926  ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
63927if test "x$ac_cv_func__modfl" = x""yes; then :
63928  cat >>confdefs.h <<_ACEOF
63929#define HAVE__MODFL 1
63930_ACEOF
63931
63932fi
63933done
63934
63935    fi
63936  fi
63937
63938
63939
63940
63941
63942  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
63943$as_echo_n "checking for powl declaration... " >&6; }
63944  if test x${glibcxx_cv_func_powl_use+set} != xset; then
63945    if test "${glibcxx_cv_func_powl_use+set}" = set; then :
63946  $as_echo_n "(cached) " >&6
63947else
63948
63949
63950      ac_ext=cpp
63951ac_cpp='$CXXCPP $CPPFLAGS'
63952ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63953ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63954ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63955
63956      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63957/* end confdefs.h.  */
63958#include <math.h>
63959int
63960main ()
63961{
63962 powl(0, 0);
63963  ;
63964  return 0;
63965}
63966_ACEOF
63967if ac_fn_cxx_try_compile "$LINENO"; then :
63968  glibcxx_cv_func_powl_use=yes
63969else
63970  glibcxx_cv_func_powl_use=no
63971fi
63972rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63973      ac_ext=c
63974ac_cpp='$CPP $CPPFLAGS'
63975ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63976ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63977ac_compiler_gnu=$ac_cv_c_compiler_gnu
63978
63979
63980fi
63981
63982  fi
63983  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
63984$as_echo "$glibcxx_cv_func_powl_use" >&6; }
63985
63986  if test x$glibcxx_cv_func_powl_use = x"yes"; then
63987    for ac_func in powl
63988do :
63989  ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
63990if test "x$ac_cv_func_powl" = x""yes; then :
63991  cat >>confdefs.h <<_ACEOF
63992#define HAVE_POWL 1
63993_ACEOF
63994
63995fi
63996done
63997
63998  else
63999
64000  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
64001$as_echo_n "checking for _powl declaration... " >&6; }
64002  if test x${glibcxx_cv_func__powl_use+set} != xset; then
64003    if test "${glibcxx_cv_func__powl_use+set}" = set; then :
64004  $as_echo_n "(cached) " >&6
64005else
64006
64007
64008      ac_ext=cpp
64009ac_cpp='$CXXCPP $CPPFLAGS'
64010ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64011ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64012ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64013
64014      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64015/* end confdefs.h.  */
64016#include <math.h>
64017int
64018main ()
64019{
64020 _powl(0, 0);
64021  ;
64022  return 0;
64023}
64024_ACEOF
64025if ac_fn_cxx_try_compile "$LINENO"; then :
64026  glibcxx_cv_func__powl_use=yes
64027else
64028  glibcxx_cv_func__powl_use=no
64029fi
64030rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64031      ac_ext=c
64032ac_cpp='$CPP $CPPFLAGS'
64033ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64034ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64035ac_compiler_gnu=$ac_cv_c_compiler_gnu
64036
64037
64038fi
64039
64040  fi
64041  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
64042$as_echo "$glibcxx_cv_func__powl_use" >&6; }
64043
64044    if test x$glibcxx_cv_func__powl_use = x"yes"; then
64045      for ac_func in _powl
64046do :
64047  ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
64048if test "x$ac_cv_func__powl" = x""yes; then :
64049  cat >>confdefs.h <<_ACEOF
64050#define HAVE__POWL 1
64051_ACEOF
64052
64053fi
64054done
64055
64056    fi
64057  fi
64058
64059
64060
64061
64062
64063  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
64064$as_echo_n "checking for sqrtl declaration... " >&6; }
64065  if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
64066    if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
64067  $as_echo_n "(cached) " >&6
64068else
64069
64070
64071      ac_ext=cpp
64072ac_cpp='$CXXCPP $CPPFLAGS'
64073ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64074ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64075ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64076
64077      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64078/* end confdefs.h.  */
64079#include <math.h>
64080		      #ifdef HAVE_IEEEFP_H
64081		      #include <ieeefp.h>
64082		      #endif
64083
64084int
64085main ()
64086{
64087 sqrtl(0);
64088  ;
64089  return 0;
64090}
64091_ACEOF
64092if ac_fn_cxx_try_compile "$LINENO"; then :
64093  glibcxx_cv_func_sqrtl_use=yes
64094else
64095  glibcxx_cv_func_sqrtl_use=no
64096fi
64097rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64098      ac_ext=c
64099ac_cpp='$CPP $CPPFLAGS'
64100ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64101ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64102ac_compiler_gnu=$ac_cv_c_compiler_gnu
64103
64104
64105fi
64106
64107  fi
64108  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
64109$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
64110
64111  if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
64112    for ac_func in sqrtl
64113do :
64114  ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
64115if test "x$ac_cv_func_sqrtl" = x""yes; then :
64116  cat >>confdefs.h <<_ACEOF
64117#define HAVE_SQRTL 1
64118_ACEOF
64119
64120fi
64121done
64122
64123  else
64124
64125  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
64126$as_echo_n "checking for _sqrtl declaration... " >&6; }
64127  if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
64128    if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
64129  $as_echo_n "(cached) " >&6
64130else
64131
64132
64133      ac_ext=cpp
64134ac_cpp='$CXXCPP $CPPFLAGS'
64135ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64136ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64137ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64138
64139      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64140/* end confdefs.h.  */
64141#include <math.h>
64142		      #ifdef HAVE_IEEEFP_H
64143		      #include <ieeefp.h>
64144		      #endif
64145
64146int
64147main ()
64148{
64149 _sqrtl(0);
64150  ;
64151  return 0;
64152}
64153_ACEOF
64154if ac_fn_cxx_try_compile "$LINENO"; then :
64155  glibcxx_cv_func__sqrtl_use=yes
64156else
64157  glibcxx_cv_func__sqrtl_use=no
64158fi
64159rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64160      ac_ext=c
64161ac_cpp='$CPP $CPPFLAGS'
64162ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64163ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64164ac_compiler_gnu=$ac_cv_c_compiler_gnu
64165
64166
64167fi
64168
64169  fi
64170  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
64171$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
64172
64173    if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
64174      for ac_func in _sqrtl
64175do :
64176  ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
64177if test "x$ac_cv_func__sqrtl" = x""yes; then :
64178  cat >>confdefs.h <<_ACEOF
64179#define HAVE__SQRTL 1
64180_ACEOF
64181
64182fi
64183done
64184
64185    fi
64186  fi
64187
64188
64189
64190
64191
64192  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
64193$as_echo_n "checking for sincosl declaration... " >&6; }
64194  if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
64195    if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
64196  $as_echo_n "(cached) " >&6
64197else
64198
64199
64200      ac_ext=cpp
64201ac_cpp='$CXXCPP $CPPFLAGS'
64202ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64203ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64204ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64205
64206      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64207/* end confdefs.h.  */
64208#include <math.h>
64209int
64210main ()
64211{
64212 sincosl(0, 0, 0);
64213  ;
64214  return 0;
64215}
64216_ACEOF
64217if ac_fn_cxx_try_compile "$LINENO"; then :
64218  glibcxx_cv_func_sincosl_use=yes
64219else
64220  glibcxx_cv_func_sincosl_use=no
64221fi
64222rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64223      ac_ext=c
64224ac_cpp='$CPP $CPPFLAGS'
64225ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64226ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64227ac_compiler_gnu=$ac_cv_c_compiler_gnu
64228
64229
64230fi
64231
64232  fi
64233  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
64234$as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
64235
64236  if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
64237    for ac_func in sincosl
64238do :
64239  ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
64240if test "x$ac_cv_func_sincosl" = x""yes; then :
64241  cat >>confdefs.h <<_ACEOF
64242#define HAVE_SINCOSL 1
64243_ACEOF
64244
64245fi
64246done
64247
64248  else
64249
64250  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
64251$as_echo_n "checking for _sincosl declaration... " >&6; }
64252  if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
64253    if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
64254  $as_echo_n "(cached) " >&6
64255else
64256
64257
64258      ac_ext=cpp
64259ac_cpp='$CXXCPP $CPPFLAGS'
64260ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64261ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64262ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64263
64264      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64265/* end confdefs.h.  */
64266#include <math.h>
64267int
64268main ()
64269{
64270 _sincosl(0, 0, 0);
64271  ;
64272  return 0;
64273}
64274_ACEOF
64275if ac_fn_cxx_try_compile "$LINENO"; then :
64276  glibcxx_cv_func__sincosl_use=yes
64277else
64278  glibcxx_cv_func__sincosl_use=no
64279fi
64280rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64281      ac_ext=c
64282ac_cpp='$CPP $CPPFLAGS'
64283ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64284ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64285ac_compiler_gnu=$ac_cv_c_compiler_gnu
64286
64287
64288fi
64289
64290  fi
64291  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
64292$as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
64293
64294    if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
64295      for ac_func in _sincosl
64296do :
64297  ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
64298if test "x$ac_cv_func__sincosl" = x""yes; then :
64299  cat >>confdefs.h <<_ACEOF
64300#define HAVE__SINCOSL 1
64301_ACEOF
64302
64303fi
64304done
64305
64306    fi
64307  fi
64308
64309
64310
64311
64312
64313  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
64314$as_echo_n "checking for finitel declaration... " >&6; }
64315  if test x${glibcxx_cv_func_finitel_use+set} != xset; then
64316    if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
64317  $as_echo_n "(cached) " >&6
64318else
64319
64320
64321      ac_ext=cpp
64322ac_cpp='$CXXCPP $CPPFLAGS'
64323ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64324ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64325ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64326
64327      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64328/* end confdefs.h.  */
64329#include <math.h>
64330		      #ifdef HAVE_IEEEFP_H
64331		      #include <ieeefp.h>
64332		      #endif
64333
64334int
64335main ()
64336{
64337 finitel(0);
64338  ;
64339  return 0;
64340}
64341_ACEOF
64342if ac_fn_cxx_try_compile "$LINENO"; then :
64343  glibcxx_cv_func_finitel_use=yes
64344else
64345  glibcxx_cv_func_finitel_use=no
64346fi
64347rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64348      ac_ext=c
64349ac_cpp='$CPP $CPPFLAGS'
64350ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64351ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64352ac_compiler_gnu=$ac_cv_c_compiler_gnu
64353
64354
64355fi
64356
64357  fi
64358  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
64359$as_echo "$glibcxx_cv_func_finitel_use" >&6; }
64360
64361  if test x$glibcxx_cv_func_finitel_use = x"yes"; then
64362    for ac_func in finitel
64363do :
64364  ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
64365if test "x$ac_cv_func_finitel" = x""yes; then :
64366  cat >>confdefs.h <<_ACEOF
64367#define HAVE_FINITEL 1
64368_ACEOF
64369
64370fi
64371done
64372
64373  else
64374
64375  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
64376$as_echo_n "checking for _finitel declaration... " >&6; }
64377  if test x${glibcxx_cv_func__finitel_use+set} != xset; then
64378    if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
64379  $as_echo_n "(cached) " >&6
64380else
64381
64382
64383      ac_ext=cpp
64384ac_cpp='$CXXCPP $CPPFLAGS'
64385ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64386ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64387ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64388
64389      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64390/* end confdefs.h.  */
64391#include <math.h>
64392		      #ifdef HAVE_IEEEFP_H
64393		      #include <ieeefp.h>
64394		      #endif
64395
64396int
64397main ()
64398{
64399 _finitel(0);
64400  ;
64401  return 0;
64402}
64403_ACEOF
64404if ac_fn_cxx_try_compile "$LINENO"; then :
64405  glibcxx_cv_func__finitel_use=yes
64406else
64407  glibcxx_cv_func__finitel_use=no
64408fi
64409rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64410      ac_ext=c
64411ac_cpp='$CPP $CPPFLAGS'
64412ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64413ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64414ac_compiler_gnu=$ac_cv_c_compiler_gnu
64415
64416
64417fi
64418
64419  fi
64420  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
64421$as_echo "$glibcxx_cv_func__finitel_use" >&6; }
64422
64423    if test x$glibcxx_cv_func__finitel_use = x"yes"; then
64424      for ac_func in _finitel
64425do :
64426  ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
64427if test "x$ac_cv_func__finitel" = x""yes; then :
64428  cat >>confdefs.h <<_ACEOF
64429#define HAVE__FINITEL 1
64430_ACEOF
64431
64432fi
64433done
64434
64435    fi
64436  fi
64437
64438
64439
64440
64441  LIBS="$ac_save_LIBS"
64442  CXXFLAGS="$ac_save_CXXFLAGS"
64443
64444
64445  ac_test_CXXFLAGS="${CXXFLAGS+set}"
64446  ac_save_CXXFLAGS="$CXXFLAGS"
64447  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
64448
64449
64450  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
64451$as_echo_n "checking for at_quick_exit declaration... " >&6; }
64452  if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
64453    if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
64454  $as_echo_n "(cached) " >&6
64455else
64456
64457
64458      ac_ext=cpp
64459ac_cpp='$CXXCPP $CPPFLAGS'
64460ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64461ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64462ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64463
64464      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64465/* end confdefs.h.  */
64466#include <stdlib.h>
64467int
64468main ()
64469{
64470 at_quick_exit(0);
64471  ;
64472  return 0;
64473}
64474_ACEOF
64475if ac_fn_cxx_try_compile "$LINENO"; then :
64476  glibcxx_cv_func_at_quick_exit_use=yes
64477else
64478  glibcxx_cv_func_at_quick_exit_use=no
64479fi
64480rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64481      ac_ext=c
64482ac_cpp='$CPP $CPPFLAGS'
64483ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64484ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64485ac_compiler_gnu=$ac_cv_c_compiler_gnu
64486
64487
64488fi
64489
64490  fi
64491  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
64492$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
64493  if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
64494    for ac_func in at_quick_exit
64495do :
64496  ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
64497if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
64498  cat >>confdefs.h <<_ACEOF
64499#define HAVE_AT_QUICK_EXIT 1
64500_ACEOF
64501
64502fi
64503done
64504
64505  fi
64506
64507
64508  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
64509$as_echo_n "checking for quick_exit declaration... " >&6; }
64510  if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
64511    if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
64512  $as_echo_n "(cached) " >&6
64513else
64514
64515
64516      ac_ext=cpp
64517ac_cpp='$CXXCPP $CPPFLAGS'
64518ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64519ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64520ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64521
64522      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64523/* end confdefs.h.  */
64524#include <stdlib.h>
64525int
64526main ()
64527{
64528 quick_exit(0);
64529  ;
64530  return 0;
64531}
64532_ACEOF
64533if ac_fn_cxx_try_compile "$LINENO"; then :
64534  glibcxx_cv_func_quick_exit_use=yes
64535else
64536  glibcxx_cv_func_quick_exit_use=no
64537fi
64538rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64539      ac_ext=c
64540ac_cpp='$CPP $CPPFLAGS'
64541ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64542ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64543ac_compiler_gnu=$ac_cv_c_compiler_gnu
64544
64545
64546fi
64547
64548  fi
64549  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
64550$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
64551  if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
64552    for ac_func in quick_exit
64553do :
64554  ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
64555if test "x$ac_cv_func_quick_exit" = x""yes; then :
64556  cat >>confdefs.h <<_ACEOF
64557#define HAVE_QUICK_EXIT 1
64558_ACEOF
64559
64560fi
64561done
64562
64563  fi
64564
64565
64566  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
64567$as_echo_n "checking for strtold declaration... " >&6; }
64568  if test x${glibcxx_cv_func_strtold_use+set} != xset; then
64569    if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
64570  $as_echo_n "(cached) " >&6
64571else
64572
64573
64574      ac_ext=cpp
64575ac_cpp='$CXXCPP $CPPFLAGS'
64576ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64577ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64578ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64579
64580      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64581/* end confdefs.h.  */
64582#include <stdlib.h>
64583int
64584main ()
64585{
64586 strtold(0, 0);
64587  ;
64588  return 0;
64589}
64590_ACEOF
64591if ac_fn_cxx_try_compile "$LINENO"; then :
64592  glibcxx_cv_func_strtold_use=yes
64593else
64594  glibcxx_cv_func_strtold_use=no
64595fi
64596rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64597      ac_ext=c
64598ac_cpp='$CPP $CPPFLAGS'
64599ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64600ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64601ac_compiler_gnu=$ac_cv_c_compiler_gnu
64602
64603
64604fi
64605
64606  fi
64607  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
64608$as_echo "$glibcxx_cv_func_strtold_use" >&6; }
64609  if test x$glibcxx_cv_func_strtold_use = x"yes"; then
64610    for ac_func in strtold
64611do :
64612  ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
64613if test "x$ac_cv_func_strtold" = x""yes; then :
64614  cat >>confdefs.h <<_ACEOF
64615#define HAVE_STRTOLD 1
64616_ACEOF
64617
64618fi
64619done
64620
64621  fi
64622
64623
64624
64625
64626  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
64627$as_echo_n "checking for strtof declaration... " >&6; }
64628  if test x${glibcxx_cv_func_strtof_use+set} != xset; then
64629    if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
64630  $as_echo_n "(cached) " >&6
64631else
64632
64633
64634      ac_ext=cpp
64635ac_cpp='$CXXCPP $CPPFLAGS'
64636ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64637ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64638ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64639
64640      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64641/* end confdefs.h.  */
64642#include <stdlib.h>
64643int
64644main ()
64645{
64646 strtof(0, 0);
64647  ;
64648  return 0;
64649}
64650_ACEOF
64651if ac_fn_cxx_try_compile "$LINENO"; then :
64652  glibcxx_cv_func_strtof_use=yes
64653else
64654  glibcxx_cv_func_strtof_use=no
64655fi
64656rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64657      ac_ext=c
64658ac_cpp='$CPP $CPPFLAGS'
64659ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64660ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64661ac_compiler_gnu=$ac_cv_c_compiler_gnu
64662
64663
64664fi
64665
64666  fi
64667  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
64668$as_echo "$glibcxx_cv_func_strtof_use" >&6; }
64669  if test x$glibcxx_cv_func_strtof_use = x"yes"; then
64670    for ac_func in strtof
64671do :
64672  ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
64673if test "x$ac_cv_func_strtof" = x""yes; then :
64674  cat >>confdefs.h <<_ACEOF
64675#define HAVE_STRTOF 1
64676_ACEOF
64677
64678fi
64679done
64680
64681  fi
64682
64683
64684
64685
64686  CXXFLAGS="$ac_save_CXXFLAGS"
64687
64688    ;;
64689  *-solaris*)
64690    case "$target" in
64691      *-solaris2.9 | *-solaris2.10)
64692
64693  # If we're not using GNU ld, then there's no point in even trying these
64694  # tests.  Check for that first.  We should have already tested for gld
64695  # by now (in libtool), but require it now just to be safe...
64696  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
64697  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
64698
64699
64700
64701  # The name set by libtool depends on the version of libtool.  Shame on us
64702  # for depending on an impl detail, but c'est la vie.  Older versions used
64703  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
64704  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
64705  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
64706  # set (hence we're using an older libtool), then set it.
64707  if test x${with_gnu_ld+set} != xset; then
64708    if test x${ac_cv_prog_gnu_ld+set} != xset; then
64709      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
64710      with_gnu_ld=no
64711    else
64712      with_gnu_ld=$ac_cv_prog_gnu_ld
64713    fi
64714  fi
64715
64716  # Start by getting the version number.  I think the libtool test already
64717  # does some of this, but throws away the result.
64718  glibcxx_ld_is_gold=no
64719  if test x"$with_gnu_ld" = x"yes"; then
64720    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
64721$as_echo_n "checking for ld version... " >&6; }
64722
64723    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
64724      glibcxx_ld_is_gold=yes
64725    fi
64726    ldver=`$LD --version 2>/dev/null |
64727	   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'`
64728
64729    glibcxx_gnu_ld_version=`echo $ldver | \
64730	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
64731    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
64732$as_echo "$glibcxx_gnu_ld_version" >&6; }
64733  fi
64734
64735  # Set --gc-sections.
64736  glibcxx_have_gc_sections=no
64737  if test "$glibcxx_ld_is_gold" = "yes"; then
64738    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
64739      glibcxx_have_gc_sections=yes
64740    fi
64741  else
64742    glibcxx_gcsections_min_ld=21602
64743    if test x"$with_gnu_ld" = x"yes" &&
64744	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
64745      glibcxx_have_gc_sections=yes
64746    fi
64747  fi
64748  if test "$glibcxx_have_gc_sections" = "yes"; then
64749    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
64750    # NB: This flag only works reliably after 2.16.1. Configure tests
64751    # for this are difficult, so hard wire a value that should work.
64752
64753    ac_test_CFLAGS="${CFLAGS+set}"
64754    ac_save_CFLAGS="$CFLAGS"
64755    CFLAGS='-Wl,--gc-sections'
64756
64757    # Check for -Wl,--gc-sections
64758    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
64759$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
64760    if test x$gcc_no_link = xyes; then
64761  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64762fi
64763cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64764/* end confdefs.h.  */
64765 int one(void) { return 1; }
64766     int two(void) { return 2; }
64767
64768int
64769main ()
64770{
64771 two();
64772  ;
64773  return 0;
64774}
64775_ACEOF
64776if ac_fn_c_try_link "$LINENO"; then :
64777  ac_gcsections=yes
64778else
64779  ac_gcsections=no
64780fi
64781rm -f core conftest.err conftest.$ac_objext \
64782    conftest$ac_exeext conftest.$ac_ext
64783    if test "$ac_gcsections" = "yes"; then
64784      rm -f conftest.c
64785      touch conftest.c
64786      if $CC -c conftest.c; then
64787	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
64788	   grep "Warning: gc-sections option ignored" > /dev/null; then
64789	  ac_gcsections=no
64790	fi
64791      fi
64792      rm -f conftest.c conftest.o conftest
64793    fi
64794    if test "$ac_gcsections" = "yes"; then
64795      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
64796    fi
64797    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
64798$as_echo "$ac_gcsections" >&6; }
64799
64800    if test "$ac_test_CFLAGS" = set; then
64801      CFLAGS="$ac_save_CFLAGS"
64802    else
64803      # this is the suspicious part
64804      CFLAGS=''
64805    fi
64806  fi
64807
64808  # Set -z,relro.
64809  # Note this is only for shared objects.
64810  ac_ld_relro=no
64811  if test x"$with_gnu_ld" = x"yes"; then
64812    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
64813$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
64814    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
64815    if test -n "$cxx_z_relo"; then
64816      OPT_LDFLAGS="-Wl,-z,relro"
64817      ac_ld_relro=yes
64818    fi
64819    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
64820$as_echo "$ac_ld_relro" >&6; }
64821  fi
64822
64823  # Set linker optimization flags.
64824  if test x"$with_gnu_ld" = x"yes"; then
64825    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
64826  fi
64827
64828
64829
64830
64831         $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
64832
64833         $as_echo "#define HAVE_FINITE 1" >>confdefs.h
64834
64835         $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
64836
64837         # All of the dependencies for wide character support are here, so
64838         # turn it on.
64839         $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
64840
64841        ;;
64842    esac
64843    case "$target" in
64844      *-*-solaris2.10)
64845      # These two C99 functions are present only in Solaris >= 10
64846      $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
64847
64848      $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
64849
64850     ;;
64851    esac
64852    $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
64853
64854    $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
64855
64856    $as_echo "#define HAVE_MODFF 1" >>confdefs.h
64857
64858    $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
64859
64860    ;;
64861  *-tpf)
64862    SECTION_FLAGS='-ffunction-sections -fdata-sections'
64863    SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
64864
64865    $as_echo "#define HAVE_FINITE 1" >>confdefs.h
64866
64867    $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
64868
64869    $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
64870
64871    $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
64872
64873    $as_echo "#define HAVE_ISINF 1" >>confdefs.h
64874
64875    $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
64876
64877    $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
64878
64879    $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
64880
64881    $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
64882
64883    $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
64884
64885    if test x"long_double_math_on_this_cpu" = x"yes"; then
64886      $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
64887
64888      $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
64889
64890      $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
64891
64892      $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
64893
64894    fi
64895    ;;
64896  *-*vms*)
64897    # Check for available headers.
64898    # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
64899
64900  ac_test_CXXFLAGS="${CXXFLAGS+set}"
64901  ac_save_CXXFLAGS="$CXXFLAGS"
64902  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
64903
64904    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
64905$as_echo_n "checking for sin in -lm... " >&6; }
64906if test "${ac_cv_lib_m_sin+set}" = set; then :
64907  $as_echo_n "(cached) " >&6
64908else
64909  ac_check_lib_save_LIBS=$LIBS
64910LIBS="-lm  $LIBS"
64911if test x$gcc_no_link = xyes; then
64912  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64913fi
64914cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64915/* end confdefs.h.  */
64916
64917/* Override any GCC internal prototype to avoid an error.
64918   Use char because int might match the return type of a GCC
64919   builtin and then its argument prototype would still apply.  */
64920#ifdef __cplusplus
64921extern "C"
64922#endif
64923char sin ();
64924int
64925main ()
64926{
64927return sin ();
64928  ;
64929  return 0;
64930}
64931_ACEOF
64932if ac_fn_c_try_link "$LINENO"; then :
64933  ac_cv_lib_m_sin=yes
64934else
64935  ac_cv_lib_m_sin=no
64936fi
64937rm -f core conftest.err conftest.$ac_objext \
64938    conftest$ac_exeext conftest.$ac_ext
64939LIBS=$ac_check_lib_save_LIBS
64940fi
64941{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
64942$as_echo "$ac_cv_lib_m_sin" >&6; }
64943if test "x$ac_cv_lib_m_sin" = x""yes; then :
64944  libm="-lm"
64945fi
64946
64947  ac_save_LIBS="$LIBS"
64948  LIBS="$LIBS $libm"
64949
64950
64951
64952  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
64953$as_echo_n "checking for isinf declaration... " >&6; }
64954  if test x${glibcxx_cv_func_isinf_use+set} != xset; then
64955    if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
64956  $as_echo_n "(cached) " >&6
64957else
64958
64959
64960      ac_ext=cpp
64961ac_cpp='$CXXCPP $CPPFLAGS'
64962ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64963ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64964ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64965
64966      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64967/* end confdefs.h.  */
64968#include <math.h>
64969		      #ifdef HAVE_IEEEFP_H
64970		      #include <ieeefp.h>
64971		      #endif
64972
64973int
64974main ()
64975{
64976 isinf(0);
64977  ;
64978  return 0;
64979}
64980_ACEOF
64981if ac_fn_cxx_try_compile "$LINENO"; then :
64982  glibcxx_cv_func_isinf_use=yes
64983else
64984  glibcxx_cv_func_isinf_use=no
64985fi
64986rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64987      ac_ext=c
64988ac_cpp='$CPP $CPPFLAGS'
64989ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64990ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64991ac_compiler_gnu=$ac_cv_c_compiler_gnu
64992
64993
64994fi
64995
64996  fi
64997  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
64998$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
64999
65000  if test x$glibcxx_cv_func_isinf_use = x"yes"; then
65001    for ac_func in isinf
65002do :
65003  ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
65004if test "x$ac_cv_func_isinf" = x""yes; then :
65005  cat >>confdefs.h <<_ACEOF
65006#define HAVE_ISINF 1
65007_ACEOF
65008
65009fi
65010done
65011
65012  else
65013
65014  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
65015$as_echo_n "checking for _isinf declaration... " >&6; }
65016  if test x${glibcxx_cv_func__isinf_use+set} != xset; then
65017    if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
65018  $as_echo_n "(cached) " >&6
65019else
65020
65021
65022      ac_ext=cpp
65023ac_cpp='$CXXCPP $CPPFLAGS'
65024ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65025ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65026ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65027
65028      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65029/* end confdefs.h.  */
65030#include <math.h>
65031		      #ifdef HAVE_IEEEFP_H
65032		      #include <ieeefp.h>
65033		      #endif
65034
65035int
65036main ()
65037{
65038 _isinf(0);
65039  ;
65040  return 0;
65041}
65042_ACEOF
65043if ac_fn_cxx_try_compile "$LINENO"; then :
65044  glibcxx_cv_func__isinf_use=yes
65045else
65046  glibcxx_cv_func__isinf_use=no
65047fi
65048rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65049      ac_ext=c
65050ac_cpp='$CPP $CPPFLAGS'
65051ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65052ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65053ac_compiler_gnu=$ac_cv_c_compiler_gnu
65054
65055
65056fi
65057
65058  fi
65059  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
65060$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
65061
65062    if test x$glibcxx_cv_func__isinf_use = x"yes"; then
65063      for ac_func in _isinf
65064do :
65065  ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
65066if test "x$ac_cv_func__isinf" = x""yes; then :
65067  cat >>confdefs.h <<_ACEOF
65068#define HAVE__ISINF 1
65069_ACEOF
65070
65071fi
65072done
65073
65074    fi
65075  fi
65076
65077
65078
65079
65080
65081  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
65082$as_echo_n "checking for isnan declaration... " >&6; }
65083  if test x${glibcxx_cv_func_isnan_use+set} != xset; then
65084    if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
65085  $as_echo_n "(cached) " >&6
65086else
65087
65088
65089      ac_ext=cpp
65090ac_cpp='$CXXCPP $CPPFLAGS'
65091ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65092ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65093ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65094
65095      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65096/* end confdefs.h.  */
65097#include <math.h>
65098		      #ifdef HAVE_IEEEFP_H
65099		      #include <ieeefp.h>
65100		      #endif
65101
65102int
65103main ()
65104{
65105 isnan(0);
65106  ;
65107  return 0;
65108}
65109_ACEOF
65110if ac_fn_cxx_try_compile "$LINENO"; then :
65111  glibcxx_cv_func_isnan_use=yes
65112else
65113  glibcxx_cv_func_isnan_use=no
65114fi
65115rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65116      ac_ext=c
65117ac_cpp='$CPP $CPPFLAGS'
65118ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65119ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65120ac_compiler_gnu=$ac_cv_c_compiler_gnu
65121
65122
65123fi
65124
65125  fi
65126  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
65127$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
65128
65129  if test x$glibcxx_cv_func_isnan_use = x"yes"; then
65130    for ac_func in isnan
65131do :
65132  ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
65133if test "x$ac_cv_func_isnan" = x""yes; then :
65134  cat >>confdefs.h <<_ACEOF
65135#define HAVE_ISNAN 1
65136_ACEOF
65137
65138fi
65139done
65140
65141  else
65142
65143  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
65144$as_echo_n "checking for _isnan declaration... " >&6; }
65145  if test x${glibcxx_cv_func__isnan_use+set} != xset; then
65146    if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
65147  $as_echo_n "(cached) " >&6
65148else
65149
65150
65151      ac_ext=cpp
65152ac_cpp='$CXXCPP $CPPFLAGS'
65153ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65154ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65155ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65156
65157      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65158/* end confdefs.h.  */
65159#include <math.h>
65160		      #ifdef HAVE_IEEEFP_H
65161		      #include <ieeefp.h>
65162		      #endif
65163
65164int
65165main ()
65166{
65167 _isnan(0);
65168  ;
65169  return 0;
65170}
65171_ACEOF
65172if ac_fn_cxx_try_compile "$LINENO"; then :
65173  glibcxx_cv_func__isnan_use=yes
65174else
65175  glibcxx_cv_func__isnan_use=no
65176fi
65177rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65178      ac_ext=c
65179ac_cpp='$CPP $CPPFLAGS'
65180ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65181ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65182ac_compiler_gnu=$ac_cv_c_compiler_gnu
65183
65184
65185fi
65186
65187  fi
65188  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
65189$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
65190
65191    if test x$glibcxx_cv_func__isnan_use = x"yes"; then
65192      for ac_func in _isnan
65193do :
65194  ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
65195if test "x$ac_cv_func__isnan" = x""yes; then :
65196  cat >>confdefs.h <<_ACEOF
65197#define HAVE__ISNAN 1
65198_ACEOF
65199
65200fi
65201done
65202
65203    fi
65204  fi
65205
65206
65207
65208
65209
65210  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
65211$as_echo_n "checking for finite declaration... " >&6; }
65212  if test x${glibcxx_cv_func_finite_use+set} != xset; then
65213    if test "${glibcxx_cv_func_finite_use+set}" = set; then :
65214  $as_echo_n "(cached) " >&6
65215else
65216
65217
65218      ac_ext=cpp
65219ac_cpp='$CXXCPP $CPPFLAGS'
65220ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65221ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65222ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65223
65224      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65225/* end confdefs.h.  */
65226#include <math.h>
65227		      #ifdef HAVE_IEEEFP_H
65228		      #include <ieeefp.h>
65229		      #endif
65230
65231int
65232main ()
65233{
65234 finite(0);
65235  ;
65236  return 0;
65237}
65238_ACEOF
65239if ac_fn_cxx_try_compile "$LINENO"; then :
65240  glibcxx_cv_func_finite_use=yes
65241else
65242  glibcxx_cv_func_finite_use=no
65243fi
65244rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65245      ac_ext=c
65246ac_cpp='$CPP $CPPFLAGS'
65247ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65248ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65249ac_compiler_gnu=$ac_cv_c_compiler_gnu
65250
65251
65252fi
65253
65254  fi
65255  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
65256$as_echo "$glibcxx_cv_func_finite_use" >&6; }
65257
65258  if test x$glibcxx_cv_func_finite_use = x"yes"; then
65259    for ac_func in finite
65260do :
65261  ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
65262if test "x$ac_cv_func_finite" = x""yes; then :
65263  cat >>confdefs.h <<_ACEOF
65264#define HAVE_FINITE 1
65265_ACEOF
65266
65267fi
65268done
65269
65270  else
65271
65272  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
65273$as_echo_n "checking for _finite declaration... " >&6; }
65274  if test x${glibcxx_cv_func__finite_use+set} != xset; then
65275    if test "${glibcxx_cv_func__finite_use+set}" = set; then :
65276  $as_echo_n "(cached) " >&6
65277else
65278
65279
65280      ac_ext=cpp
65281ac_cpp='$CXXCPP $CPPFLAGS'
65282ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65283ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65284ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65285
65286      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65287/* end confdefs.h.  */
65288#include <math.h>
65289		      #ifdef HAVE_IEEEFP_H
65290		      #include <ieeefp.h>
65291		      #endif
65292
65293int
65294main ()
65295{
65296 _finite(0);
65297  ;
65298  return 0;
65299}
65300_ACEOF
65301if ac_fn_cxx_try_compile "$LINENO"; then :
65302  glibcxx_cv_func__finite_use=yes
65303else
65304  glibcxx_cv_func__finite_use=no
65305fi
65306rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65307      ac_ext=c
65308ac_cpp='$CPP $CPPFLAGS'
65309ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65310ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65311ac_compiler_gnu=$ac_cv_c_compiler_gnu
65312
65313
65314fi
65315
65316  fi
65317  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
65318$as_echo "$glibcxx_cv_func__finite_use" >&6; }
65319
65320    if test x$glibcxx_cv_func__finite_use = x"yes"; then
65321      for ac_func in _finite
65322do :
65323  ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
65324if test "x$ac_cv_func__finite" = x""yes; then :
65325  cat >>confdefs.h <<_ACEOF
65326#define HAVE__FINITE 1
65327_ACEOF
65328
65329fi
65330done
65331
65332    fi
65333  fi
65334
65335
65336
65337
65338
65339  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
65340$as_echo_n "checking for sincos declaration... " >&6; }
65341  if test x${glibcxx_cv_func_sincos_use+set} != xset; then
65342    if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
65343  $as_echo_n "(cached) " >&6
65344else
65345
65346
65347      ac_ext=cpp
65348ac_cpp='$CXXCPP $CPPFLAGS'
65349ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65350ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65351ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65352
65353      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65354/* end confdefs.h.  */
65355#include <math.h>
65356int
65357main ()
65358{
65359 sincos(0, 0, 0);
65360  ;
65361  return 0;
65362}
65363_ACEOF
65364if ac_fn_cxx_try_compile "$LINENO"; then :
65365  glibcxx_cv_func_sincos_use=yes
65366else
65367  glibcxx_cv_func_sincos_use=no
65368fi
65369rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65370      ac_ext=c
65371ac_cpp='$CPP $CPPFLAGS'
65372ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65373ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65374ac_compiler_gnu=$ac_cv_c_compiler_gnu
65375
65376
65377fi
65378
65379  fi
65380  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
65381$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
65382
65383  if test x$glibcxx_cv_func_sincos_use = x"yes"; then
65384    for ac_func in sincos
65385do :
65386  ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
65387if test "x$ac_cv_func_sincos" = x""yes; then :
65388  cat >>confdefs.h <<_ACEOF
65389#define HAVE_SINCOS 1
65390_ACEOF
65391
65392fi
65393done
65394
65395  else
65396
65397  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
65398$as_echo_n "checking for _sincos declaration... " >&6; }
65399  if test x${glibcxx_cv_func__sincos_use+set} != xset; then
65400    if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
65401  $as_echo_n "(cached) " >&6
65402else
65403
65404
65405      ac_ext=cpp
65406ac_cpp='$CXXCPP $CPPFLAGS'
65407ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65408ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65409ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65410
65411      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65412/* end confdefs.h.  */
65413#include <math.h>
65414int
65415main ()
65416{
65417 _sincos(0, 0, 0);
65418  ;
65419  return 0;
65420}
65421_ACEOF
65422if ac_fn_cxx_try_compile "$LINENO"; then :
65423  glibcxx_cv_func__sincos_use=yes
65424else
65425  glibcxx_cv_func__sincos_use=no
65426fi
65427rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65428      ac_ext=c
65429ac_cpp='$CPP $CPPFLAGS'
65430ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65431ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65432ac_compiler_gnu=$ac_cv_c_compiler_gnu
65433
65434
65435fi
65436
65437  fi
65438  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
65439$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
65440
65441    if test x$glibcxx_cv_func__sincos_use = x"yes"; then
65442      for ac_func in _sincos
65443do :
65444  ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
65445if test "x$ac_cv_func__sincos" = x""yes; then :
65446  cat >>confdefs.h <<_ACEOF
65447#define HAVE__SINCOS 1
65448_ACEOF
65449
65450fi
65451done
65452
65453    fi
65454  fi
65455
65456
65457
65458
65459
65460  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
65461$as_echo_n "checking for fpclass declaration... " >&6; }
65462  if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
65463    if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
65464  $as_echo_n "(cached) " >&6
65465else
65466
65467
65468      ac_ext=cpp
65469ac_cpp='$CXXCPP $CPPFLAGS'
65470ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65471ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65472ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65473
65474      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65475/* end confdefs.h.  */
65476#include <math.h>
65477		      #ifdef HAVE_IEEEFP_H
65478		      #include <ieeefp.h>
65479		      #endif
65480
65481int
65482main ()
65483{
65484 fpclass(0);
65485  ;
65486  return 0;
65487}
65488_ACEOF
65489if ac_fn_cxx_try_compile "$LINENO"; then :
65490  glibcxx_cv_func_fpclass_use=yes
65491else
65492  glibcxx_cv_func_fpclass_use=no
65493fi
65494rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65495      ac_ext=c
65496ac_cpp='$CPP $CPPFLAGS'
65497ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65498ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65499ac_compiler_gnu=$ac_cv_c_compiler_gnu
65500
65501
65502fi
65503
65504  fi
65505  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
65506$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
65507
65508  if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
65509    for ac_func in fpclass
65510do :
65511  ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
65512if test "x$ac_cv_func_fpclass" = x""yes; then :
65513  cat >>confdefs.h <<_ACEOF
65514#define HAVE_FPCLASS 1
65515_ACEOF
65516
65517fi
65518done
65519
65520  else
65521
65522  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
65523$as_echo_n "checking for _fpclass declaration... " >&6; }
65524  if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
65525    if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
65526  $as_echo_n "(cached) " >&6
65527else
65528
65529
65530      ac_ext=cpp
65531ac_cpp='$CXXCPP $CPPFLAGS'
65532ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65533ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65534ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65535
65536      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65537/* end confdefs.h.  */
65538#include <math.h>
65539		      #ifdef HAVE_IEEEFP_H
65540		      #include <ieeefp.h>
65541		      #endif
65542
65543int
65544main ()
65545{
65546 _fpclass(0);
65547  ;
65548  return 0;
65549}
65550_ACEOF
65551if ac_fn_cxx_try_compile "$LINENO"; then :
65552  glibcxx_cv_func__fpclass_use=yes
65553else
65554  glibcxx_cv_func__fpclass_use=no
65555fi
65556rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65557      ac_ext=c
65558ac_cpp='$CPP $CPPFLAGS'
65559ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65560ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65561ac_compiler_gnu=$ac_cv_c_compiler_gnu
65562
65563
65564fi
65565
65566  fi
65567  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
65568$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
65569
65570    if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
65571      for ac_func in _fpclass
65572do :
65573  ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
65574if test "x$ac_cv_func__fpclass" = x""yes; then :
65575  cat >>confdefs.h <<_ACEOF
65576#define HAVE__FPCLASS 1
65577_ACEOF
65578
65579fi
65580done
65581
65582    fi
65583  fi
65584
65585
65586
65587
65588
65589  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
65590$as_echo_n "checking for qfpclass declaration... " >&6; }
65591  if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
65592    if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
65593  $as_echo_n "(cached) " >&6
65594else
65595
65596
65597      ac_ext=cpp
65598ac_cpp='$CXXCPP $CPPFLAGS'
65599ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65600ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65601ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65602
65603      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65604/* end confdefs.h.  */
65605#include <math.h>
65606		      #ifdef HAVE_IEEEFP_H
65607		      #include <ieeefp.h>
65608		      #endif
65609
65610int
65611main ()
65612{
65613 qfpclass(0);
65614  ;
65615  return 0;
65616}
65617_ACEOF
65618if ac_fn_cxx_try_compile "$LINENO"; then :
65619  glibcxx_cv_func_qfpclass_use=yes
65620else
65621  glibcxx_cv_func_qfpclass_use=no
65622fi
65623rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65624      ac_ext=c
65625ac_cpp='$CPP $CPPFLAGS'
65626ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65627ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65628ac_compiler_gnu=$ac_cv_c_compiler_gnu
65629
65630
65631fi
65632
65633  fi
65634  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
65635$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
65636
65637  if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
65638    for ac_func in qfpclass
65639do :
65640  ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
65641if test "x$ac_cv_func_qfpclass" = x""yes; then :
65642  cat >>confdefs.h <<_ACEOF
65643#define HAVE_QFPCLASS 1
65644_ACEOF
65645
65646fi
65647done
65648
65649  else
65650
65651  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
65652$as_echo_n "checking for _qfpclass declaration... " >&6; }
65653  if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
65654    if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
65655  $as_echo_n "(cached) " >&6
65656else
65657
65658
65659      ac_ext=cpp
65660ac_cpp='$CXXCPP $CPPFLAGS'
65661ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65662ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65663ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65664
65665      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65666/* end confdefs.h.  */
65667#include <math.h>
65668		      #ifdef HAVE_IEEEFP_H
65669		      #include <ieeefp.h>
65670		      #endif
65671
65672int
65673main ()
65674{
65675 _qfpclass(0);
65676  ;
65677  return 0;
65678}
65679_ACEOF
65680if ac_fn_cxx_try_compile "$LINENO"; then :
65681  glibcxx_cv_func__qfpclass_use=yes
65682else
65683  glibcxx_cv_func__qfpclass_use=no
65684fi
65685rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65686      ac_ext=c
65687ac_cpp='$CPP $CPPFLAGS'
65688ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65689ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65690ac_compiler_gnu=$ac_cv_c_compiler_gnu
65691
65692
65693fi
65694
65695  fi
65696  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
65697$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
65698
65699    if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
65700      for ac_func in _qfpclass
65701do :
65702  ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
65703if test "x$ac_cv_func__qfpclass" = x""yes; then :
65704  cat >>confdefs.h <<_ACEOF
65705#define HAVE__QFPCLASS 1
65706_ACEOF
65707
65708fi
65709done
65710
65711    fi
65712  fi
65713
65714
65715
65716
65717
65718  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
65719$as_echo_n "checking for hypot declaration... " >&6; }
65720  if test x${glibcxx_cv_func_hypot_use+set} != xset; then
65721    if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
65722  $as_echo_n "(cached) " >&6
65723else
65724
65725
65726      ac_ext=cpp
65727ac_cpp='$CXXCPP $CPPFLAGS'
65728ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65729ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65730ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65731
65732      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65733/* end confdefs.h.  */
65734#include <math.h>
65735int
65736main ()
65737{
65738 hypot(0, 0);
65739  ;
65740  return 0;
65741}
65742_ACEOF
65743if ac_fn_cxx_try_compile "$LINENO"; then :
65744  glibcxx_cv_func_hypot_use=yes
65745else
65746  glibcxx_cv_func_hypot_use=no
65747fi
65748rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65749      ac_ext=c
65750ac_cpp='$CPP $CPPFLAGS'
65751ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65752ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65753ac_compiler_gnu=$ac_cv_c_compiler_gnu
65754
65755
65756fi
65757
65758  fi
65759  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
65760$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
65761
65762  if test x$glibcxx_cv_func_hypot_use = x"yes"; then
65763    for ac_func in hypot
65764do :
65765  ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
65766if test "x$ac_cv_func_hypot" = x""yes; then :
65767  cat >>confdefs.h <<_ACEOF
65768#define HAVE_HYPOT 1
65769_ACEOF
65770
65771fi
65772done
65773
65774  else
65775
65776  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
65777$as_echo_n "checking for _hypot declaration... " >&6; }
65778  if test x${glibcxx_cv_func__hypot_use+set} != xset; then
65779    if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
65780  $as_echo_n "(cached) " >&6
65781else
65782
65783
65784      ac_ext=cpp
65785ac_cpp='$CXXCPP $CPPFLAGS'
65786ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65787ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65788ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65789
65790      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65791/* end confdefs.h.  */
65792#include <math.h>
65793int
65794main ()
65795{
65796 _hypot(0, 0);
65797  ;
65798  return 0;
65799}
65800_ACEOF
65801if ac_fn_cxx_try_compile "$LINENO"; then :
65802  glibcxx_cv_func__hypot_use=yes
65803else
65804  glibcxx_cv_func__hypot_use=no
65805fi
65806rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65807      ac_ext=c
65808ac_cpp='$CPP $CPPFLAGS'
65809ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65810ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65811ac_compiler_gnu=$ac_cv_c_compiler_gnu
65812
65813
65814fi
65815
65816  fi
65817  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
65818$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
65819
65820    if test x$glibcxx_cv_func__hypot_use = x"yes"; then
65821      for ac_func in _hypot
65822do :
65823  ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
65824if test "x$ac_cv_func__hypot" = x""yes; then :
65825  cat >>confdefs.h <<_ACEOF
65826#define HAVE__HYPOT 1
65827_ACEOF
65828
65829fi
65830done
65831
65832    fi
65833  fi
65834
65835
65836
65837
65838
65839    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
65840$as_echo_n "checking for float trig functions... " >&6; }
65841  if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
65842  $as_echo_n "(cached) " >&6
65843else
65844
65845
65846    ac_ext=cpp
65847ac_cpp='$CXXCPP $CPPFLAGS'
65848ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65849ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65850ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65851
65852    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65853/* end confdefs.h.  */
65854#include <math.h>
65855int
65856main ()
65857{
65858acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
65859  ;
65860  return 0;
65861}
65862_ACEOF
65863if ac_fn_cxx_try_compile "$LINENO"; then :
65864  glibcxx_cv_func_float_trig_use=yes
65865else
65866  glibcxx_cv_func_float_trig_use=no
65867fi
65868rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65869    ac_ext=c
65870ac_cpp='$CPP $CPPFLAGS'
65871ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65872ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65873ac_compiler_gnu=$ac_cv_c_compiler_gnu
65874
65875fi
65876
65877  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
65878$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
65879  if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
65880    for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
65881do :
65882  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
65883ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
65884eval as_val=\$$as_ac_var
65885   if test "x$as_val" = x""yes; then :
65886  cat >>confdefs.h <<_ACEOF
65887#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
65888_ACEOF
65889
65890fi
65891done
65892
65893  else
65894    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
65895$as_echo_n "checking for _float trig functions... " >&6; }
65896    if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
65897  $as_echo_n "(cached) " >&6
65898else
65899
65900
65901      ac_ext=cpp
65902ac_cpp='$CXXCPP $CPPFLAGS'
65903ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65904ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65905ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65906
65907      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65908/* end confdefs.h.  */
65909#include <math.h>
65910int
65911main ()
65912{
65913_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
65914  ;
65915  return 0;
65916}
65917_ACEOF
65918if ac_fn_cxx_try_compile "$LINENO"; then :
65919  glibcxx_cv_func__float_trig_use=yes
65920else
65921  glibcxx_cv_func__float_trig_use=no
65922fi
65923rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65924      ac_ext=c
65925ac_cpp='$CPP $CPPFLAGS'
65926ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65927ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65928ac_compiler_gnu=$ac_cv_c_compiler_gnu
65929
65930fi
65931
65932    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
65933$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
65934    if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
65935      for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
65936do :
65937  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
65938ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
65939eval as_val=\$$as_ac_var
65940   if test "x$as_val" = x""yes; then :
65941  cat >>confdefs.h <<_ACEOF
65942#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
65943_ACEOF
65944
65945fi
65946done
65947
65948    fi
65949  fi
65950
65951
65952
65953
65954
65955    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
65956$as_echo_n "checking for float round functions... " >&6; }
65957  if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
65958  $as_echo_n "(cached) " >&6
65959else
65960
65961
65962    ac_ext=cpp
65963ac_cpp='$CXXCPP $CPPFLAGS'
65964ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65965ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65966ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65967
65968    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65969/* end confdefs.h.  */
65970#include <math.h>
65971int
65972main ()
65973{
65974ceilf (0); floorf (0);
65975  ;
65976  return 0;
65977}
65978_ACEOF
65979if ac_fn_cxx_try_compile "$LINENO"; then :
65980  glibcxx_cv_func_float_round_use=yes
65981else
65982  glibcxx_cv_func_float_round_use=no
65983fi
65984rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65985    ac_ext=c
65986ac_cpp='$CPP $CPPFLAGS'
65987ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65988ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65989ac_compiler_gnu=$ac_cv_c_compiler_gnu
65990
65991fi
65992
65993  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
65994$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
65995  if test x$glibcxx_cv_func_float_round_use = x"yes"; then
65996    for ac_func in ceilf floorf
65997do :
65998  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
65999ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66000eval as_val=\$$as_ac_var
66001   if test "x$as_val" = x""yes; then :
66002  cat >>confdefs.h <<_ACEOF
66003#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66004_ACEOF
66005
66006fi
66007done
66008
66009  else
66010    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
66011$as_echo_n "checking for _float round functions... " >&6; }
66012    if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
66013  $as_echo_n "(cached) " >&6
66014else
66015
66016
66017      ac_ext=cpp
66018ac_cpp='$CXXCPP $CPPFLAGS'
66019ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66020ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66021ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66022
66023      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66024/* end confdefs.h.  */
66025#include <math.h>
66026int
66027main ()
66028{
66029_ceilf (0); _floorf (0);
66030  ;
66031  return 0;
66032}
66033_ACEOF
66034if ac_fn_cxx_try_compile "$LINENO"; then :
66035  glibcxx_cv_func__float_round_use=yes
66036else
66037  glibcxx_cv_func__float_round_use=no
66038fi
66039rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66040      ac_ext=c
66041ac_cpp='$CPP $CPPFLAGS'
66042ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66043ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66044ac_compiler_gnu=$ac_cv_c_compiler_gnu
66045
66046fi
66047
66048    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
66049$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
66050    if test x$glibcxx_cv_func__float_round_use = x"yes"; then
66051      for ac_func in _ceilf _floorf
66052do :
66053  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66054ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66055eval as_val=\$$as_ac_var
66056   if test "x$as_val" = x""yes; then :
66057  cat >>confdefs.h <<_ACEOF
66058#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66059_ACEOF
66060
66061fi
66062done
66063
66064    fi
66065  fi
66066
66067
66068
66069
66070
66071
66072  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
66073$as_echo_n "checking for expf declaration... " >&6; }
66074  if test x${glibcxx_cv_func_expf_use+set} != xset; then
66075    if test "${glibcxx_cv_func_expf_use+set}" = set; then :
66076  $as_echo_n "(cached) " >&6
66077else
66078
66079
66080      ac_ext=cpp
66081ac_cpp='$CXXCPP $CPPFLAGS'
66082ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66083ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66084ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66085
66086      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66087/* end confdefs.h.  */
66088#include <math.h>
66089		      #ifdef HAVE_IEEEFP_H
66090		      #include <ieeefp.h>
66091		      #endif
66092
66093int
66094main ()
66095{
66096 expf(0);
66097  ;
66098  return 0;
66099}
66100_ACEOF
66101if ac_fn_cxx_try_compile "$LINENO"; then :
66102  glibcxx_cv_func_expf_use=yes
66103else
66104  glibcxx_cv_func_expf_use=no
66105fi
66106rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66107      ac_ext=c
66108ac_cpp='$CPP $CPPFLAGS'
66109ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66110ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66111ac_compiler_gnu=$ac_cv_c_compiler_gnu
66112
66113
66114fi
66115
66116  fi
66117  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
66118$as_echo "$glibcxx_cv_func_expf_use" >&6; }
66119
66120  if test x$glibcxx_cv_func_expf_use = x"yes"; then
66121    for ac_func in expf
66122do :
66123  ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
66124if test "x$ac_cv_func_expf" = x""yes; then :
66125  cat >>confdefs.h <<_ACEOF
66126#define HAVE_EXPF 1
66127_ACEOF
66128
66129fi
66130done
66131
66132  else
66133
66134  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
66135$as_echo_n "checking for _expf declaration... " >&6; }
66136  if test x${glibcxx_cv_func__expf_use+set} != xset; then
66137    if test "${glibcxx_cv_func__expf_use+set}" = set; then :
66138  $as_echo_n "(cached) " >&6
66139else
66140
66141
66142      ac_ext=cpp
66143ac_cpp='$CXXCPP $CPPFLAGS'
66144ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66145ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66146ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66147
66148      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66149/* end confdefs.h.  */
66150#include <math.h>
66151		      #ifdef HAVE_IEEEFP_H
66152		      #include <ieeefp.h>
66153		      #endif
66154
66155int
66156main ()
66157{
66158 _expf(0);
66159  ;
66160  return 0;
66161}
66162_ACEOF
66163if ac_fn_cxx_try_compile "$LINENO"; then :
66164  glibcxx_cv_func__expf_use=yes
66165else
66166  glibcxx_cv_func__expf_use=no
66167fi
66168rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66169      ac_ext=c
66170ac_cpp='$CPP $CPPFLAGS'
66171ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66172ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66173ac_compiler_gnu=$ac_cv_c_compiler_gnu
66174
66175
66176fi
66177
66178  fi
66179  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
66180$as_echo "$glibcxx_cv_func__expf_use" >&6; }
66181
66182    if test x$glibcxx_cv_func__expf_use = x"yes"; then
66183      for ac_func in _expf
66184do :
66185  ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
66186if test "x$ac_cv_func__expf" = x""yes; then :
66187  cat >>confdefs.h <<_ACEOF
66188#define HAVE__EXPF 1
66189_ACEOF
66190
66191fi
66192done
66193
66194    fi
66195  fi
66196
66197
66198
66199
66200
66201  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
66202$as_echo_n "checking for isnanf declaration... " >&6; }
66203  if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
66204    if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
66205  $as_echo_n "(cached) " >&6
66206else
66207
66208
66209      ac_ext=cpp
66210ac_cpp='$CXXCPP $CPPFLAGS'
66211ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66212ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66213ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66214
66215      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66216/* end confdefs.h.  */
66217#include <math.h>
66218		      #ifdef HAVE_IEEEFP_H
66219		      #include <ieeefp.h>
66220		      #endif
66221
66222int
66223main ()
66224{
66225 isnanf(0);
66226  ;
66227  return 0;
66228}
66229_ACEOF
66230if ac_fn_cxx_try_compile "$LINENO"; then :
66231  glibcxx_cv_func_isnanf_use=yes
66232else
66233  glibcxx_cv_func_isnanf_use=no
66234fi
66235rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66236      ac_ext=c
66237ac_cpp='$CPP $CPPFLAGS'
66238ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66239ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66240ac_compiler_gnu=$ac_cv_c_compiler_gnu
66241
66242
66243fi
66244
66245  fi
66246  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
66247$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
66248
66249  if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
66250    for ac_func in isnanf
66251do :
66252  ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
66253if test "x$ac_cv_func_isnanf" = x""yes; then :
66254  cat >>confdefs.h <<_ACEOF
66255#define HAVE_ISNANF 1
66256_ACEOF
66257
66258fi
66259done
66260
66261  else
66262
66263  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
66264$as_echo_n "checking for _isnanf declaration... " >&6; }
66265  if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
66266    if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
66267  $as_echo_n "(cached) " >&6
66268else
66269
66270
66271      ac_ext=cpp
66272ac_cpp='$CXXCPP $CPPFLAGS'
66273ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66274ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66275ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66276
66277      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66278/* end confdefs.h.  */
66279#include <math.h>
66280		      #ifdef HAVE_IEEEFP_H
66281		      #include <ieeefp.h>
66282		      #endif
66283
66284int
66285main ()
66286{
66287 _isnanf(0);
66288  ;
66289  return 0;
66290}
66291_ACEOF
66292if ac_fn_cxx_try_compile "$LINENO"; then :
66293  glibcxx_cv_func__isnanf_use=yes
66294else
66295  glibcxx_cv_func__isnanf_use=no
66296fi
66297rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66298      ac_ext=c
66299ac_cpp='$CPP $CPPFLAGS'
66300ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66301ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66302ac_compiler_gnu=$ac_cv_c_compiler_gnu
66303
66304
66305fi
66306
66307  fi
66308  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
66309$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
66310
66311    if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
66312      for ac_func in _isnanf
66313do :
66314  ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
66315if test "x$ac_cv_func__isnanf" = x""yes; then :
66316  cat >>confdefs.h <<_ACEOF
66317#define HAVE__ISNANF 1
66318_ACEOF
66319
66320fi
66321done
66322
66323    fi
66324  fi
66325
66326
66327
66328
66329
66330  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
66331$as_echo_n "checking for isinff declaration... " >&6; }
66332  if test x${glibcxx_cv_func_isinff_use+set} != xset; then
66333    if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
66334  $as_echo_n "(cached) " >&6
66335else
66336
66337
66338      ac_ext=cpp
66339ac_cpp='$CXXCPP $CPPFLAGS'
66340ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66341ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66342ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66343
66344      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66345/* end confdefs.h.  */
66346#include <math.h>
66347		      #ifdef HAVE_IEEEFP_H
66348		      #include <ieeefp.h>
66349		      #endif
66350
66351int
66352main ()
66353{
66354 isinff(0);
66355  ;
66356  return 0;
66357}
66358_ACEOF
66359if ac_fn_cxx_try_compile "$LINENO"; then :
66360  glibcxx_cv_func_isinff_use=yes
66361else
66362  glibcxx_cv_func_isinff_use=no
66363fi
66364rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66365      ac_ext=c
66366ac_cpp='$CPP $CPPFLAGS'
66367ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66368ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66369ac_compiler_gnu=$ac_cv_c_compiler_gnu
66370
66371
66372fi
66373
66374  fi
66375  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
66376$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
66377
66378  if test x$glibcxx_cv_func_isinff_use = x"yes"; then
66379    for ac_func in isinff
66380do :
66381  ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
66382if test "x$ac_cv_func_isinff" = x""yes; then :
66383  cat >>confdefs.h <<_ACEOF
66384#define HAVE_ISINFF 1
66385_ACEOF
66386
66387fi
66388done
66389
66390  else
66391
66392  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
66393$as_echo_n "checking for _isinff declaration... " >&6; }
66394  if test x${glibcxx_cv_func__isinff_use+set} != xset; then
66395    if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
66396  $as_echo_n "(cached) " >&6
66397else
66398
66399
66400      ac_ext=cpp
66401ac_cpp='$CXXCPP $CPPFLAGS'
66402ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66403ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66404ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66405
66406      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66407/* end confdefs.h.  */
66408#include <math.h>
66409		      #ifdef HAVE_IEEEFP_H
66410		      #include <ieeefp.h>
66411		      #endif
66412
66413int
66414main ()
66415{
66416 _isinff(0);
66417  ;
66418  return 0;
66419}
66420_ACEOF
66421if ac_fn_cxx_try_compile "$LINENO"; then :
66422  glibcxx_cv_func__isinff_use=yes
66423else
66424  glibcxx_cv_func__isinff_use=no
66425fi
66426rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66427      ac_ext=c
66428ac_cpp='$CPP $CPPFLAGS'
66429ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66430ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66431ac_compiler_gnu=$ac_cv_c_compiler_gnu
66432
66433
66434fi
66435
66436  fi
66437  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
66438$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
66439
66440    if test x$glibcxx_cv_func__isinff_use = x"yes"; then
66441      for ac_func in _isinff
66442do :
66443  ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
66444if test "x$ac_cv_func__isinff" = x""yes; then :
66445  cat >>confdefs.h <<_ACEOF
66446#define HAVE__ISINFF 1
66447_ACEOF
66448
66449fi
66450done
66451
66452    fi
66453  fi
66454
66455
66456
66457
66458
66459  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
66460$as_echo_n "checking for atan2f declaration... " >&6; }
66461  if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
66462    if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
66463  $as_echo_n "(cached) " >&6
66464else
66465
66466
66467      ac_ext=cpp
66468ac_cpp='$CXXCPP $CPPFLAGS'
66469ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66470ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66471ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66472
66473      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66474/* end confdefs.h.  */
66475#include <math.h>
66476int
66477main ()
66478{
66479 atan2f(0, 0);
66480  ;
66481  return 0;
66482}
66483_ACEOF
66484if ac_fn_cxx_try_compile "$LINENO"; then :
66485  glibcxx_cv_func_atan2f_use=yes
66486else
66487  glibcxx_cv_func_atan2f_use=no
66488fi
66489rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66490      ac_ext=c
66491ac_cpp='$CPP $CPPFLAGS'
66492ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66493ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66494ac_compiler_gnu=$ac_cv_c_compiler_gnu
66495
66496
66497fi
66498
66499  fi
66500  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
66501$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
66502
66503  if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
66504    for ac_func in atan2f
66505do :
66506  ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
66507if test "x$ac_cv_func_atan2f" = x""yes; then :
66508  cat >>confdefs.h <<_ACEOF
66509#define HAVE_ATAN2F 1
66510_ACEOF
66511
66512fi
66513done
66514
66515  else
66516
66517  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
66518$as_echo_n "checking for _atan2f declaration... " >&6; }
66519  if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
66520    if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
66521  $as_echo_n "(cached) " >&6
66522else
66523
66524
66525      ac_ext=cpp
66526ac_cpp='$CXXCPP $CPPFLAGS'
66527ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66528ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66529ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66530
66531      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66532/* end confdefs.h.  */
66533#include <math.h>
66534int
66535main ()
66536{
66537 _atan2f(0, 0);
66538  ;
66539  return 0;
66540}
66541_ACEOF
66542if ac_fn_cxx_try_compile "$LINENO"; then :
66543  glibcxx_cv_func__atan2f_use=yes
66544else
66545  glibcxx_cv_func__atan2f_use=no
66546fi
66547rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66548      ac_ext=c
66549ac_cpp='$CPP $CPPFLAGS'
66550ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66551ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66552ac_compiler_gnu=$ac_cv_c_compiler_gnu
66553
66554
66555fi
66556
66557  fi
66558  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
66559$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
66560
66561    if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
66562      for ac_func in _atan2f
66563do :
66564  ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
66565if test "x$ac_cv_func__atan2f" = x""yes; then :
66566  cat >>confdefs.h <<_ACEOF
66567#define HAVE__ATAN2F 1
66568_ACEOF
66569
66570fi
66571done
66572
66573    fi
66574  fi
66575
66576
66577
66578
66579
66580  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
66581$as_echo_n "checking for fabsf declaration... " >&6; }
66582  if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
66583    if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
66584  $as_echo_n "(cached) " >&6
66585else
66586
66587
66588      ac_ext=cpp
66589ac_cpp='$CXXCPP $CPPFLAGS'
66590ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66591ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66592ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66593
66594      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66595/* end confdefs.h.  */
66596#include <math.h>
66597		      #ifdef HAVE_IEEEFP_H
66598		      #include <ieeefp.h>
66599		      #endif
66600
66601int
66602main ()
66603{
66604 fabsf(0);
66605  ;
66606  return 0;
66607}
66608_ACEOF
66609if ac_fn_cxx_try_compile "$LINENO"; then :
66610  glibcxx_cv_func_fabsf_use=yes
66611else
66612  glibcxx_cv_func_fabsf_use=no
66613fi
66614rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66615      ac_ext=c
66616ac_cpp='$CPP $CPPFLAGS'
66617ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66618ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66619ac_compiler_gnu=$ac_cv_c_compiler_gnu
66620
66621
66622fi
66623
66624  fi
66625  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
66626$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
66627
66628  if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
66629    for ac_func in fabsf
66630do :
66631  ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
66632if test "x$ac_cv_func_fabsf" = x""yes; then :
66633  cat >>confdefs.h <<_ACEOF
66634#define HAVE_FABSF 1
66635_ACEOF
66636
66637fi
66638done
66639
66640  else
66641
66642  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
66643$as_echo_n "checking for _fabsf declaration... " >&6; }
66644  if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
66645    if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
66646  $as_echo_n "(cached) " >&6
66647else
66648
66649
66650      ac_ext=cpp
66651ac_cpp='$CXXCPP $CPPFLAGS'
66652ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66653ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66654ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66655
66656      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66657/* end confdefs.h.  */
66658#include <math.h>
66659		      #ifdef HAVE_IEEEFP_H
66660		      #include <ieeefp.h>
66661		      #endif
66662
66663int
66664main ()
66665{
66666 _fabsf(0);
66667  ;
66668  return 0;
66669}
66670_ACEOF
66671if ac_fn_cxx_try_compile "$LINENO"; then :
66672  glibcxx_cv_func__fabsf_use=yes
66673else
66674  glibcxx_cv_func__fabsf_use=no
66675fi
66676rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66677      ac_ext=c
66678ac_cpp='$CPP $CPPFLAGS'
66679ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66680ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66681ac_compiler_gnu=$ac_cv_c_compiler_gnu
66682
66683
66684fi
66685
66686  fi
66687  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
66688$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
66689
66690    if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
66691      for ac_func in _fabsf
66692do :
66693  ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
66694if test "x$ac_cv_func__fabsf" = x""yes; then :
66695  cat >>confdefs.h <<_ACEOF
66696#define HAVE__FABSF 1
66697_ACEOF
66698
66699fi
66700done
66701
66702    fi
66703  fi
66704
66705
66706
66707
66708
66709  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
66710$as_echo_n "checking for fmodf declaration... " >&6; }
66711  if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
66712    if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
66713  $as_echo_n "(cached) " >&6
66714else
66715
66716
66717      ac_ext=cpp
66718ac_cpp='$CXXCPP $CPPFLAGS'
66719ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66720ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66721ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66722
66723      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66724/* end confdefs.h.  */
66725#include <math.h>
66726int
66727main ()
66728{
66729 fmodf(0, 0);
66730  ;
66731  return 0;
66732}
66733_ACEOF
66734if ac_fn_cxx_try_compile "$LINENO"; then :
66735  glibcxx_cv_func_fmodf_use=yes
66736else
66737  glibcxx_cv_func_fmodf_use=no
66738fi
66739rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66740      ac_ext=c
66741ac_cpp='$CPP $CPPFLAGS'
66742ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66743ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66744ac_compiler_gnu=$ac_cv_c_compiler_gnu
66745
66746
66747fi
66748
66749  fi
66750  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
66751$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
66752
66753  if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
66754    for ac_func in fmodf
66755do :
66756  ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
66757if test "x$ac_cv_func_fmodf" = x""yes; then :
66758  cat >>confdefs.h <<_ACEOF
66759#define HAVE_FMODF 1
66760_ACEOF
66761
66762fi
66763done
66764
66765  else
66766
66767  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
66768$as_echo_n "checking for _fmodf declaration... " >&6; }
66769  if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
66770    if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
66771  $as_echo_n "(cached) " >&6
66772else
66773
66774
66775      ac_ext=cpp
66776ac_cpp='$CXXCPP $CPPFLAGS'
66777ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66778ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66779ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66780
66781      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66782/* end confdefs.h.  */
66783#include <math.h>
66784int
66785main ()
66786{
66787 _fmodf(0, 0);
66788  ;
66789  return 0;
66790}
66791_ACEOF
66792if ac_fn_cxx_try_compile "$LINENO"; then :
66793  glibcxx_cv_func__fmodf_use=yes
66794else
66795  glibcxx_cv_func__fmodf_use=no
66796fi
66797rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66798      ac_ext=c
66799ac_cpp='$CPP $CPPFLAGS'
66800ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66801ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66802ac_compiler_gnu=$ac_cv_c_compiler_gnu
66803
66804
66805fi
66806
66807  fi
66808  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
66809$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
66810
66811    if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
66812      for ac_func in _fmodf
66813do :
66814  ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
66815if test "x$ac_cv_func__fmodf" = x""yes; then :
66816  cat >>confdefs.h <<_ACEOF
66817#define HAVE__FMODF 1
66818_ACEOF
66819
66820fi
66821done
66822
66823    fi
66824  fi
66825
66826
66827
66828
66829
66830  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
66831$as_echo_n "checking for frexpf declaration... " >&6; }
66832  if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
66833    if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
66834  $as_echo_n "(cached) " >&6
66835else
66836
66837
66838      ac_ext=cpp
66839ac_cpp='$CXXCPP $CPPFLAGS'
66840ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66841ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66842ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66843
66844      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66845/* end confdefs.h.  */
66846#include <math.h>
66847int
66848main ()
66849{
66850 frexpf(0, 0);
66851  ;
66852  return 0;
66853}
66854_ACEOF
66855if ac_fn_cxx_try_compile "$LINENO"; then :
66856  glibcxx_cv_func_frexpf_use=yes
66857else
66858  glibcxx_cv_func_frexpf_use=no
66859fi
66860rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66861      ac_ext=c
66862ac_cpp='$CPP $CPPFLAGS'
66863ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66864ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66865ac_compiler_gnu=$ac_cv_c_compiler_gnu
66866
66867
66868fi
66869
66870  fi
66871  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
66872$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
66873
66874  if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
66875    for ac_func in frexpf
66876do :
66877  ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
66878if test "x$ac_cv_func_frexpf" = x""yes; then :
66879  cat >>confdefs.h <<_ACEOF
66880#define HAVE_FREXPF 1
66881_ACEOF
66882
66883fi
66884done
66885
66886  else
66887
66888  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
66889$as_echo_n "checking for _frexpf declaration... " >&6; }
66890  if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
66891    if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
66892  $as_echo_n "(cached) " >&6
66893else
66894
66895
66896      ac_ext=cpp
66897ac_cpp='$CXXCPP $CPPFLAGS'
66898ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66899ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66900ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66901
66902      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66903/* end confdefs.h.  */
66904#include <math.h>
66905int
66906main ()
66907{
66908 _frexpf(0, 0);
66909  ;
66910  return 0;
66911}
66912_ACEOF
66913if ac_fn_cxx_try_compile "$LINENO"; then :
66914  glibcxx_cv_func__frexpf_use=yes
66915else
66916  glibcxx_cv_func__frexpf_use=no
66917fi
66918rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66919      ac_ext=c
66920ac_cpp='$CPP $CPPFLAGS'
66921ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66922ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66923ac_compiler_gnu=$ac_cv_c_compiler_gnu
66924
66925
66926fi
66927
66928  fi
66929  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
66930$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
66931
66932    if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
66933      for ac_func in _frexpf
66934do :
66935  ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
66936if test "x$ac_cv_func__frexpf" = x""yes; then :
66937  cat >>confdefs.h <<_ACEOF
66938#define HAVE__FREXPF 1
66939_ACEOF
66940
66941fi
66942done
66943
66944    fi
66945  fi
66946
66947
66948
66949
66950
66951  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
66952$as_echo_n "checking for hypotf declaration... " >&6; }
66953  if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
66954    if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
66955  $as_echo_n "(cached) " >&6
66956else
66957
66958
66959      ac_ext=cpp
66960ac_cpp='$CXXCPP $CPPFLAGS'
66961ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66962ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66963ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66964
66965      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66966/* end confdefs.h.  */
66967#include <math.h>
66968int
66969main ()
66970{
66971 hypotf(0, 0);
66972  ;
66973  return 0;
66974}
66975_ACEOF
66976if ac_fn_cxx_try_compile "$LINENO"; then :
66977  glibcxx_cv_func_hypotf_use=yes
66978else
66979  glibcxx_cv_func_hypotf_use=no
66980fi
66981rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66982      ac_ext=c
66983ac_cpp='$CPP $CPPFLAGS'
66984ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66985ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66986ac_compiler_gnu=$ac_cv_c_compiler_gnu
66987
66988
66989fi
66990
66991  fi
66992  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
66993$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
66994
66995  if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
66996    for ac_func in hypotf
66997do :
66998  ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
66999if test "x$ac_cv_func_hypotf" = x""yes; then :
67000  cat >>confdefs.h <<_ACEOF
67001#define HAVE_HYPOTF 1
67002_ACEOF
67003
67004fi
67005done
67006
67007  else
67008
67009  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
67010$as_echo_n "checking for _hypotf declaration... " >&6; }
67011  if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
67012    if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
67013  $as_echo_n "(cached) " >&6
67014else
67015
67016
67017      ac_ext=cpp
67018ac_cpp='$CXXCPP $CPPFLAGS'
67019ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67020ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67021ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67022
67023      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67024/* end confdefs.h.  */
67025#include <math.h>
67026int
67027main ()
67028{
67029 _hypotf(0, 0);
67030  ;
67031  return 0;
67032}
67033_ACEOF
67034if ac_fn_cxx_try_compile "$LINENO"; then :
67035  glibcxx_cv_func__hypotf_use=yes
67036else
67037  glibcxx_cv_func__hypotf_use=no
67038fi
67039rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67040      ac_ext=c
67041ac_cpp='$CPP $CPPFLAGS'
67042ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67043ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67044ac_compiler_gnu=$ac_cv_c_compiler_gnu
67045
67046
67047fi
67048
67049  fi
67050  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
67051$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
67052
67053    if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
67054      for ac_func in _hypotf
67055do :
67056  ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
67057if test "x$ac_cv_func__hypotf" = x""yes; then :
67058  cat >>confdefs.h <<_ACEOF
67059#define HAVE__HYPOTF 1
67060_ACEOF
67061
67062fi
67063done
67064
67065    fi
67066  fi
67067
67068
67069
67070
67071
67072  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
67073$as_echo_n "checking for ldexpf declaration... " >&6; }
67074  if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
67075    if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
67076  $as_echo_n "(cached) " >&6
67077else
67078
67079
67080      ac_ext=cpp
67081ac_cpp='$CXXCPP $CPPFLAGS'
67082ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67083ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67084ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67085
67086      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67087/* end confdefs.h.  */
67088#include <math.h>
67089int
67090main ()
67091{
67092 ldexpf(0, 0);
67093  ;
67094  return 0;
67095}
67096_ACEOF
67097if ac_fn_cxx_try_compile "$LINENO"; then :
67098  glibcxx_cv_func_ldexpf_use=yes
67099else
67100  glibcxx_cv_func_ldexpf_use=no
67101fi
67102rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67103      ac_ext=c
67104ac_cpp='$CPP $CPPFLAGS'
67105ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67106ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67107ac_compiler_gnu=$ac_cv_c_compiler_gnu
67108
67109
67110fi
67111
67112  fi
67113  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
67114$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
67115
67116  if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
67117    for ac_func in ldexpf
67118do :
67119  ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
67120if test "x$ac_cv_func_ldexpf" = x""yes; then :
67121  cat >>confdefs.h <<_ACEOF
67122#define HAVE_LDEXPF 1
67123_ACEOF
67124
67125fi
67126done
67127
67128  else
67129
67130  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
67131$as_echo_n "checking for _ldexpf declaration... " >&6; }
67132  if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
67133    if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
67134  $as_echo_n "(cached) " >&6
67135else
67136
67137
67138      ac_ext=cpp
67139ac_cpp='$CXXCPP $CPPFLAGS'
67140ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67141ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67142ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67143
67144      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67145/* end confdefs.h.  */
67146#include <math.h>
67147int
67148main ()
67149{
67150 _ldexpf(0, 0);
67151  ;
67152  return 0;
67153}
67154_ACEOF
67155if ac_fn_cxx_try_compile "$LINENO"; then :
67156  glibcxx_cv_func__ldexpf_use=yes
67157else
67158  glibcxx_cv_func__ldexpf_use=no
67159fi
67160rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67161      ac_ext=c
67162ac_cpp='$CPP $CPPFLAGS'
67163ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67164ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67165ac_compiler_gnu=$ac_cv_c_compiler_gnu
67166
67167
67168fi
67169
67170  fi
67171  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
67172$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
67173
67174    if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
67175      for ac_func in _ldexpf
67176do :
67177  ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
67178if test "x$ac_cv_func__ldexpf" = x""yes; then :
67179  cat >>confdefs.h <<_ACEOF
67180#define HAVE__LDEXPF 1
67181_ACEOF
67182
67183fi
67184done
67185
67186    fi
67187  fi
67188
67189
67190
67191
67192
67193  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
67194$as_echo_n "checking for logf declaration... " >&6; }
67195  if test x${glibcxx_cv_func_logf_use+set} != xset; then
67196    if test "${glibcxx_cv_func_logf_use+set}" = set; then :
67197  $as_echo_n "(cached) " >&6
67198else
67199
67200
67201      ac_ext=cpp
67202ac_cpp='$CXXCPP $CPPFLAGS'
67203ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67204ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67205ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67206
67207      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67208/* end confdefs.h.  */
67209#include <math.h>
67210		      #ifdef HAVE_IEEEFP_H
67211		      #include <ieeefp.h>
67212		      #endif
67213
67214int
67215main ()
67216{
67217 logf(0);
67218  ;
67219  return 0;
67220}
67221_ACEOF
67222if ac_fn_cxx_try_compile "$LINENO"; then :
67223  glibcxx_cv_func_logf_use=yes
67224else
67225  glibcxx_cv_func_logf_use=no
67226fi
67227rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67228      ac_ext=c
67229ac_cpp='$CPP $CPPFLAGS'
67230ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67231ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67232ac_compiler_gnu=$ac_cv_c_compiler_gnu
67233
67234
67235fi
67236
67237  fi
67238  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
67239$as_echo "$glibcxx_cv_func_logf_use" >&6; }
67240
67241  if test x$glibcxx_cv_func_logf_use = x"yes"; then
67242    for ac_func in logf
67243do :
67244  ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
67245if test "x$ac_cv_func_logf" = x""yes; then :
67246  cat >>confdefs.h <<_ACEOF
67247#define HAVE_LOGF 1
67248_ACEOF
67249
67250fi
67251done
67252
67253  else
67254
67255  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
67256$as_echo_n "checking for _logf declaration... " >&6; }
67257  if test x${glibcxx_cv_func__logf_use+set} != xset; then
67258    if test "${glibcxx_cv_func__logf_use+set}" = set; then :
67259  $as_echo_n "(cached) " >&6
67260else
67261
67262
67263      ac_ext=cpp
67264ac_cpp='$CXXCPP $CPPFLAGS'
67265ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67266ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67267ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67268
67269      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67270/* end confdefs.h.  */
67271#include <math.h>
67272		      #ifdef HAVE_IEEEFP_H
67273		      #include <ieeefp.h>
67274		      #endif
67275
67276int
67277main ()
67278{
67279 _logf(0);
67280  ;
67281  return 0;
67282}
67283_ACEOF
67284if ac_fn_cxx_try_compile "$LINENO"; then :
67285  glibcxx_cv_func__logf_use=yes
67286else
67287  glibcxx_cv_func__logf_use=no
67288fi
67289rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67290      ac_ext=c
67291ac_cpp='$CPP $CPPFLAGS'
67292ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67293ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67294ac_compiler_gnu=$ac_cv_c_compiler_gnu
67295
67296
67297fi
67298
67299  fi
67300  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
67301$as_echo "$glibcxx_cv_func__logf_use" >&6; }
67302
67303    if test x$glibcxx_cv_func__logf_use = x"yes"; then
67304      for ac_func in _logf
67305do :
67306  ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
67307if test "x$ac_cv_func__logf" = x""yes; then :
67308  cat >>confdefs.h <<_ACEOF
67309#define HAVE__LOGF 1
67310_ACEOF
67311
67312fi
67313done
67314
67315    fi
67316  fi
67317
67318
67319
67320
67321
67322  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
67323$as_echo_n "checking for log10f declaration... " >&6; }
67324  if test x${glibcxx_cv_func_log10f_use+set} != xset; then
67325    if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
67326  $as_echo_n "(cached) " >&6
67327else
67328
67329
67330      ac_ext=cpp
67331ac_cpp='$CXXCPP $CPPFLAGS'
67332ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67333ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67334ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67335
67336      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67337/* end confdefs.h.  */
67338#include <math.h>
67339		      #ifdef HAVE_IEEEFP_H
67340		      #include <ieeefp.h>
67341		      #endif
67342
67343int
67344main ()
67345{
67346 log10f(0);
67347  ;
67348  return 0;
67349}
67350_ACEOF
67351if ac_fn_cxx_try_compile "$LINENO"; then :
67352  glibcxx_cv_func_log10f_use=yes
67353else
67354  glibcxx_cv_func_log10f_use=no
67355fi
67356rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67357      ac_ext=c
67358ac_cpp='$CPP $CPPFLAGS'
67359ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67360ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67361ac_compiler_gnu=$ac_cv_c_compiler_gnu
67362
67363
67364fi
67365
67366  fi
67367  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
67368$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
67369
67370  if test x$glibcxx_cv_func_log10f_use = x"yes"; then
67371    for ac_func in log10f
67372do :
67373  ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
67374if test "x$ac_cv_func_log10f" = x""yes; then :
67375  cat >>confdefs.h <<_ACEOF
67376#define HAVE_LOG10F 1
67377_ACEOF
67378
67379fi
67380done
67381
67382  else
67383
67384  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
67385$as_echo_n "checking for _log10f declaration... " >&6; }
67386  if test x${glibcxx_cv_func__log10f_use+set} != xset; then
67387    if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
67388  $as_echo_n "(cached) " >&6
67389else
67390
67391
67392      ac_ext=cpp
67393ac_cpp='$CXXCPP $CPPFLAGS'
67394ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67395ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67396ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67397
67398      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67399/* end confdefs.h.  */
67400#include <math.h>
67401		      #ifdef HAVE_IEEEFP_H
67402		      #include <ieeefp.h>
67403		      #endif
67404
67405int
67406main ()
67407{
67408 _log10f(0);
67409  ;
67410  return 0;
67411}
67412_ACEOF
67413if ac_fn_cxx_try_compile "$LINENO"; then :
67414  glibcxx_cv_func__log10f_use=yes
67415else
67416  glibcxx_cv_func__log10f_use=no
67417fi
67418rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67419      ac_ext=c
67420ac_cpp='$CPP $CPPFLAGS'
67421ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67422ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67423ac_compiler_gnu=$ac_cv_c_compiler_gnu
67424
67425
67426fi
67427
67428  fi
67429  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
67430$as_echo "$glibcxx_cv_func__log10f_use" >&6; }
67431
67432    if test x$glibcxx_cv_func__log10f_use = x"yes"; then
67433      for ac_func in _log10f
67434do :
67435  ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
67436if test "x$ac_cv_func__log10f" = x""yes; then :
67437  cat >>confdefs.h <<_ACEOF
67438#define HAVE__LOG10F 1
67439_ACEOF
67440
67441fi
67442done
67443
67444    fi
67445  fi
67446
67447
67448
67449
67450
67451  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
67452$as_echo_n "checking for modff declaration... " >&6; }
67453  if test x${glibcxx_cv_func_modff_use+set} != xset; then
67454    if test "${glibcxx_cv_func_modff_use+set}" = set; then :
67455  $as_echo_n "(cached) " >&6
67456else
67457
67458
67459      ac_ext=cpp
67460ac_cpp='$CXXCPP $CPPFLAGS'
67461ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67462ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67463ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67464
67465      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67466/* end confdefs.h.  */
67467#include <math.h>
67468int
67469main ()
67470{
67471 modff(0, 0);
67472  ;
67473  return 0;
67474}
67475_ACEOF
67476if ac_fn_cxx_try_compile "$LINENO"; then :
67477  glibcxx_cv_func_modff_use=yes
67478else
67479  glibcxx_cv_func_modff_use=no
67480fi
67481rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67482      ac_ext=c
67483ac_cpp='$CPP $CPPFLAGS'
67484ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67485ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67486ac_compiler_gnu=$ac_cv_c_compiler_gnu
67487
67488
67489fi
67490
67491  fi
67492  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
67493$as_echo "$glibcxx_cv_func_modff_use" >&6; }
67494
67495  if test x$glibcxx_cv_func_modff_use = x"yes"; then
67496    for ac_func in modff
67497do :
67498  ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
67499if test "x$ac_cv_func_modff" = x""yes; then :
67500  cat >>confdefs.h <<_ACEOF
67501#define HAVE_MODFF 1
67502_ACEOF
67503
67504fi
67505done
67506
67507  else
67508
67509  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
67510$as_echo_n "checking for _modff declaration... " >&6; }
67511  if test x${glibcxx_cv_func__modff_use+set} != xset; then
67512    if test "${glibcxx_cv_func__modff_use+set}" = set; then :
67513  $as_echo_n "(cached) " >&6
67514else
67515
67516
67517      ac_ext=cpp
67518ac_cpp='$CXXCPP $CPPFLAGS'
67519ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67520ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67521ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67522
67523      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67524/* end confdefs.h.  */
67525#include <math.h>
67526int
67527main ()
67528{
67529 _modff(0, 0);
67530  ;
67531  return 0;
67532}
67533_ACEOF
67534if ac_fn_cxx_try_compile "$LINENO"; then :
67535  glibcxx_cv_func__modff_use=yes
67536else
67537  glibcxx_cv_func__modff_use=no
67538fi
67539rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67540      ac_ext=c
67541ac_cpp='$CPP $CPPFLAGS'
67542ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67543ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67544ac_compiler_gnu=$ac_cv_c_compiler_gnu
67545
67546
67547fi
67548
67549  fi
67550  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
67551$as_echo "$glibcxx_cv_func__modff_use" >&6; }
67552
67553    if test x$glibcxx_cv_func__modff_use = x"yes"; then
67554      for ac_func in _modff
67555do :
67556  ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
67557if test "x$ac_cv_func__modff" = x""yes; then :
67558  cat >>confdefs.h <<_ACEOF
67559#define HAVE__MODFF 1
67560_ACEOF
67561
67562fi
67563done
67564
67565    fi
67566  fi
67567
67568
67569
67570
67571
67572  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
67573$as_echo_n "checking for modf declaration... " >&6; }
67574  if test x${glibcxx_cv_func_modf_use+set} != xset; then
67575    if test "${glibcxx_cv_func_modf_use+set}" = set; then :
67576  $as_echo_n "(cached) " >&6
67577else
67578
67579
67580      ac_ext=cpp
67581ac_cpp='$CXXCPP $CPPFLAGS'
67582ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67583ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67584ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67585
67586      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67587/* end confdefs.h.  */
67588#include <math.h>
67589int
67590main ()
67591{
67592 modf(0, 0);
67593  ;
67594  return 0;
67595}
67596_ACEOF
67597if ac_fn_cxx_try_compile "$LINENO"; then :
67598  glibcxx_cv_func_modf_use=yes
67599else
67600  glibcxx_cv_func_modf_use=no
67601fi
67602rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67603      ac_ext=c
67604ac_cpp='$CPP $CPPFLAGS'
67605ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67606ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67607ac_compiler_gnu=$ac_cv_c_compiler_gnu
67608
67609
67610fi
67611
67612  fi
67613  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
67614$as_echo "$glibcxx_cv_func_modf_use" >&6; }
67615
67616  if test x$glibcxx_cv_func_modf_use = x"yes"; then
67617    for ac_func in modf
67618do :
67619  ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
67620if test "x$ac_cv_func_modf" = x""yes; then :
67621  cat >>confdefs.h <<_ACEOF
67622#define HAVE_MODF 1
67623_ACEOF
67624
67625fi
67626done
67627
67628  else
67629
67630  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
67631$as_echo_n "checking for _modf declaration... " >&6; }
67632  if test x${glibcxx_cv_func__modf_use+set} != xset; then
67633    if test "${glibcxx_cv_func__modf_use+set}" = set; then :
67634  $as_echo_n "(cached) " >&6
67635else
67636
67637
67638      ac_ext=cpp
67639ac_cpp='$CXXCPP $CPPFLAGS'
67640ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67641ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67642ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67643
67644      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67645/* end confdefs.h.  */
67646#include <math.h>
67647int
67648main ()
67649{
67650 _modf(0, 0);
67651  ;
67652  return 0;
67653}
67654_ACEOF
67655if ac_fn_cxx_try_compile "$LINENO"; then :
67656  glibcxx_cv_func__modf_use=yes
67657else
67658  glibcxx_cv_func__modf_use=no
67659fi
67660rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67661      ac_ext=c
67662ac_cpp='$CPP $CPPFLAGS'
67663ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67664ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67665ac_compiler_gnu=$ac_cv_c_compiler_gnu
67666
67667
67668fi
67669
67670  fi
67671  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
67672$as_echo "$glibcxx_cv_func__modf_use" >&6; }
67673
67674    if test x$glibcxx_cv_func__modf_use = x"yes"; then
67675      for ac_func in _modf
67676do :
67677  ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
67678if test "x$ac_cv_func__modf" = x""yes; then :
67679  cat >>confdefs.h <<_ACEOF
67680#define HAVE__MODF 1
67681_ACEOF
67682
67683fi
67684done
67685
67686    fi
67687  fi
67688
67689
67690
67691
67692
67693  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
67694$as_echo_n "checking for powf declaration... " >&6; }
67695  if test x${glibcxx_cv_func_powf_use+set} != xset; then
67696    if test "${glibcxx_cv_func_powf_use+set}" = set; then :
67697  $as_echo_n "(cached) " >&6
67698else
67699
67700
67701      ac_ext=cpp
67702ac_cpp='$CXXCPP $CPPFLAGS'
67703ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67704ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67705ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67706
67707      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67708/* end confdefs.h.  */
67709#include <math.h>
67710int
67711main ()
67712{
67713 powf(0, 0);
67714  ;
67715  return 0;
67716}
67717_ACEOF
67718if ac_fn_cxx_try_compile "$LINENO"; then :
67719  glibcxx_cv_func_powf_use=yes
67720else
67721  glibcxx_cv_func_powf_use=no
67722fi
67723rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67724      ac_ext=c
67725ac_cpp='$CPP $CPPFLAGS'
67726ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67727ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67728ac_compiler_gnu=$ac_cv_c_compiler_gnu
67729
67730
67731fi
67732
67733  fi
67734  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
67735$as_echo "$glibcxx_cv_func_powf_use" >&6; }
67736
67737  if test x$glibcxx_cv_func_powf_use = x"yes"; then
67738    for ac_func in powf
67739do :
67740  ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
67741if test "x$ac_cv_func_powf" = x""yes; then :
67742  cat >>confdefs.h <<_ACEOF
67743#define HAVE_POWF 1
67744_ACEOF
67745
67746fi
67747done
67748
67749  else
67750
67751  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
67752$as_echo_n "checking for _powf declaration... " >&6; }
67753  if test x${glibcxx_cv_func__powf_use+set} != xset; then
67754    if test "${glibcxx_cv_func__powf_use+set}" = set; then :
67755  $as_echo_n "(cached) " >&6
67756else
67757
67758
67759      ac_ext=cpp
67760ac_cpp='$CXXCPP $CPPFLAGS'
67761ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67762ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67763ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67764
67765      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67766/* end confdefs.h.  */
67767#include <math.h>
67768int
67769main ()
67770{
67771 _powf(0, 0);
67772  ;
67773  return 0;
67774}
67775_ACEOF
67776if ac_fn_cxx_try_compile "$LINENO"; then :
67777  glibcxx_cv_func__powf_use=yes
67778else
67779  glibcxx_cv_func__powf_use=no
67780fi
67781rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67782      ac_ext=c
67783ac_cpp='$CPP $CPPFLAGS'
67784ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67785ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67786ac_compiler_gnu=$ac_cv_c_compiler_gnu
67787
67788
67789fi
67790
67791  fi
67792  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
67793$as_echo "$glibcxx_cv_func__powf_use" >&6; }
67794
67795    if test x$glibcxx_cv_func__powf_use = x"yes"; then
67796      for ac_func in _powf
67797do :
67798  ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
67799if test "x$ac_cv_func__powf" = x""yes; then :
67800  cat >>confdefs.h <<_ACEOF
67801#define HAVE__POWF 1
67802_ACEOF
67803
67804fi
67805done
67806
67807    fi
67808  fi
67809
67810
67811
67812
67813
67814  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
67815$as_echo_n "checking for sqrtf declaration... " >&6; }
67816  if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
67817    if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
67818  $as_echo_n "(cached) " >&6
67819else
67820
67821
67822      ac_ext=cpp
67823ac_cpp='$CXXCPP $CPPFLAGS'
67824ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67825ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67826ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67827
67828      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67829/* end confdefs.h.  */
67830#include <math.h>
67831		      #ifdef HAVE_IEEEFP_H
67832		      #include <ieeefp.h>
67833		      #endif
67834
67835int
67836main ()
67837{
67838 sqrtf(0);
67839  ;
67840  return 0;
67841}
67842_ACEOF
67843if ac_fn_cxx_try_compile "$LINENO"; then :
67844  glibcxx_cv_func_sqrtf_use=yes
67845else
67846  glibcxx_cv_func_sqrtf_use=no
67847fi
67848rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67849      ac_ext=c
67850ac_cpp='$CPP $CPPFLAGS'
67851ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67852ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67853ac_compiler_gnu=$ac_cv_c_compiler_gnu
67854
67855
67856fi
67857
67858  fi
67859  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
67860$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
67861
67862  if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
67863    for ac_func in sqrtf
67864do :
67865  ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
67866if test "x$ac_cv_func_sqrtf" = x""yes; then :
67867  cat >>confdefs.h <<_ACEOF
67868#define HAVE_SQRTF 1
67869_ACEOF
67870
67871fi
67872done
67873
67874  else
67875
67876  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
67877$as_echo_n "checking for _sqrtf declaration... " >&6; }
67878  if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
67879    if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
67880  $as_echo_n "(cached) " >&6
67881else
67882
67883
67884      ac_ext=cpp
67885ac_cpp='$CXXCPP $CPPFLAGS'
67886ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67887ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67888ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67889
67890      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67891/* end confdefs.h.  */
67892#include <math.h>
67893		      #ifdef HAVE_IEEEFP_H
67894		      #include <ieeefp.h>
67895		      #endif
67896
67897int
67898main ()
67899{
67900 _sqrtf(0);
67901  ;
67902  return 0;
67903}
67904_ACEOF
67905if ac_fn_cxx_try_compile "$LINENO"; then :
67906  glibcxx_cv_func__sqrtf_use=yes
67907else
67908  glibcxx_cv_func__sqrtf_use=no
67909fi
67910rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67911      ac_ext=c
67912ac_cpp='$CPP $CPPFLAGS'
67913ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67914ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67915ac_compiler_gnu=$ac_cv_c_compiler_gnu
67916
67917
67918fi
67919
67920  fi
67921  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
67922$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
67923
67924    if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
67925      for ac_func in _sqrtf
67926do :
67927  ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
67928if test "x$ac_cv_func__sqrtf" = x""yes; then :
67929  cat >>confdefs.h <<_ACEOF
67930#define HAVE__SQRTF 1
67931_ACEOF
67932
67933fi
67934done
67935
67936    fi
67937  fi
67938
67939
67940
67941
67942
67943  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
67944$as_echo_n "checking for sincosf declaration... " >&6; }
67945  if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
67946    if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
67947  $as_echo_n "(cached) " >&6
67948else
67949
67950
67951      ac_ext=cpp
67952ac_cpp='$CXXCPP $CPPFLAGS'
67953ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67954ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67955ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67956
67957      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67958/* end confdefs.h.  */
67959#include <math.h>
67960int
67961main ()
67962{
67963 sincosf(0, 0, 0);
67964  ;
67965  return 0;
67966}
67967_ACEOF
67968if ac_fn_cxx_try_compile "$LINENO"; then :
67969  glibcxx_cv_func_sincosf_use=yes
67970else
67971  glibcxx_cv_func_sincosf_use=no
67972fi
67973rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67974      ac_ext=c
67975ac_cpp='$CPP $CPPFLAGS'
67976ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67977ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67978ac_compiler_gnu=$ac_cv_c_compiler_gnu
67979
67980
67981fi
67982
67983  fi
67984  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
67985$as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
67986
67987  if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
67988    for ac_func in sincosf
67989do :
67990  ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
67991if test "x$ac_cv_func_sincosf" = x""yes; then :
67992  cat >>confdefs.h <<_ACEOF
67993#define HAVE_SINCOSF 1
67994_ACEOF
67995
67996fi
67997done
67998
67999  else
68000
68001  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
68002$as_echo_n "checking for _sincosf declaration... " >&6; }
68003  if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
68004    if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
68005  $as_echo_n "(cached) " >&6
68006else
68007
68008
68009      ac_ext=cpp
68010ac_cpp='$CXXCPP $CPPFLAGS'
68011ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68012ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68013ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68014
68015      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68016/* end confdefs.h.  */
68017#include <math.h>
68018int
68019main ()
68020{
68021 _sincosf(0, 0, 0);
68022  ;
68023  return 0;
68024}
68025_ACEOF
68026if ac_fn_cxx_try_compile "$LINENO"; then :
68027  glibcxx_cv_func__sincosf_use=yes
68028else
68029  glibcxx_cv_func__sincosf_use=no
68030fi
68031rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68032      ac_ext=c
68033ac_cpp='$CPP $CPPFLAGS'
68034ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68035ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68036ac_compiler_gnu=$ac_cv_c_compiler_gnu
68037
68038
68039fi
68040
68041  fi
68042  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
68043$as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
68044
68045    if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
68046      for ac_func in _sincosf
68047do :
68048  ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
68049if test "x$ac_cv_func__sincosf" = x""yes; then :
68050  cat >>confdefs.h <<_ACEOF
68051#define HAVE__SINCOSF 1
68052_ACEOF
68053
68054fi
68055done
68056
68057    fi
68058  fi
68059
68060
68061
68062
68063
68064  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
68065$as_echo_n "checking for finitef declaration... " >&6; }
68066  if test x${glibcxx_cv_func_finitef_use+set} != xset; then
68067    if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
68068  $as_echo_n "(cached) " >&6
68069else
68070
68071
68072      ac_ext=cpp
68073ac_cpp='$CXXCPP $CPPFLAGS'
68074ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68075ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68076ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68077
68078      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68079/* end confdefs.h.  */
68080#include <math.h>
68081		      #ifdef HAVE_IEEEFP_H
68082		      #include <ieeefp.h>
68083		      #endif
68084
68085int
68086main ()
68087{
68088 finitef(0);
68089  ;
68090  return 0;
68091}
68092_ACEOF
68093if ac_fn_cxx_try_compile "$LINENO"; then :
68094  glibcxx_cv_func_finitef_use=yes
68095else
68096  glibcxx_cv_func_finitef_use=no
68097fi
68098rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68099      ac_ext=c
68100ac_cpp='$CPP $CPPFLAGS'
68101ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68102ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68103ac_compiler_gnu=$ac_cv_c_compiler_gnu
68104
68105
68106fi
68107
68108  fi
68109  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
68110$as_echo "$glibcxx_cv_func_finitef_use" >&6; }
68111
68112  if test x$glibcxx_cv_func_finitef_use = x"yes"; then
68113    for ac_func in finitef
68114do :
68115  ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
68116if test "x$ac_cv_func_finitef" = x""yes; then :
68117  cat >>confdefs.h <<_ACEOF
68118#define HAVE_FINITEF 1
68119_ACEOF
68120
68121fi
68122done
68123
68124  else
68125
68126  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
68127$as_echo_n "checking for _finitef declaration... " >&6; }
68128  if test x${glibcxx_cv_func__finitef_use+set} != xset; then
68129    if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
68130  $as_echo_n "(cached) " >&6
68131else
68132
68133
68134      ac_ext=cpp
68135ac_cpp='$CXXCPP $CPPFLAGS'
68136ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68137ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68138ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68139
68140      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68141/* end confdefs.h.  */
68142#include <math.h>
68143		      #ifdef HAVE_IEEEFP_H
68144		      #include <ieeefp.h>
68145		      #endif
68146
68147int
68148main ()
68149{
68150 _finitef(0);
68151  ;
68152  return 0;
68153}
68154_ACEOF
68155if ac_fn_cxx_try_compile "$LINENO"; then :
68156  glibcxx_cv_func__finitef_use=yes
68157else
68158  glibcxx_cv_func__finitef_use=no
68159fi
68160rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68161      ac_ext=c
68162ac_cpp='$CPP $CPPFLAGS'
68163ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68164ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68165ac_compiler_gnu=$ac_cv_c_compiler_gnu
68166
68167
68168fi
68169
68170  fi
68171  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
68172$as_echo "$glibcxx_cv_func__finitef_use" >&6; }
68173
68174    if test x$glibcxx_cv_func__finitef_use = x"yes"; then
68175      for ac_func in _finitef
68176do :
68177  ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
68178if test "x$ac_cv_func__finitef" = x""yes; then :
68179  cat >>confdefs.h <<_ACEOF
68180#define HAVE__FINITEF 1
68181_ACEOF
68182
68183fi
68184done
68185
68186    fi
68187  fi
68188
68189
68190
68191
68192
68193    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
68194$as_echo_n "checking for long double trig functions... " >&6; }
68195  if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
68196  $as_echo_n "(cached) " >&6
68197else
68198
68199
68200    ac_ext=cpp
68201ac_cpp='$CXXCPP $CPPFLAGS'
68202ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68203ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68204ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68205
68206    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68207/* end confdefs.h.  */
68208#include <math.h>
68209int
68210main ()
68211{
68212acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
68213  ;
68214  return 0;
68215}
68216_ACEOF
68217if ac_fn_cxx_try_compile "$LINENO"; then :
68218  glibcxx_cv_func_long_double_trig_use=yes
68219else
68220  glibcxx_cv_func_long_double_trig_use=no
68221fi
68222rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68223    ac_ext=c
68224ac_cpp='$CPP $CPPFLAGS'
68225ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68226ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68227ac_compiler_gnu=$ac_cv_c_compiler_gnu
68228
68229fi
68230
68231  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
68232$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
68233  if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
68234    for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
68235do :
68236  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68237ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68238eval as_val=\$$as_ac_var
68239   if test "x$as_val" = x""yes; then :
68240  cat >>confdefs.h <<_ACEOF
68241#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68242_ACEOF
68243
68244fi
68245done
68246
68247  else
68248    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
68249$as_echo_n "checking for _long double trig functions... " >&6; }
68250    if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
68251  $as_echo_n "(cached) " >&6
68252else
68253
68254
68255      ac_ext=cpp
68256ac_cpp='$CXXCPP $CPPFLAGS'
68257ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68258ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68259ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68260
68261      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68262/* end confdefs.h.  */
68263#include <math.h>
68264int
68265main ()
68266{
68267_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
68268  ;
68269  return 0;
68270}
68271_ACEOF
68272if ac_fn_cxx_try_compile "$LINENO"; then :
68273  glibcxx_cv_func__long_double_trig_use=yes
68274else
68275  glibcxx_cv_func__long_double_trig_use=no
68276fi
68277rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68278      ac_ext=c
68279ac_cpp='$CPP $CPPFLAGS'
68280ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68281ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68282ac_compiler_gnu=$ac_cv_c_compiler_gnu
68283
68284fi
68285
68286    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
68287$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
68288    if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
68289      for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
68290do :
68291  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68292ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68293eval as_val=\$$as_ac_var
68294   if test "x$as_val" = x""yes; then :
68295  cat >>confdefs.h <<_ACEOF
68296#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68297_ACEOF
68298
68299fi
68300done
68301
68302    fi
68303  fi
68304
68305
68306
68307
68308
68309    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
68310$as_echo_n "checking for long double round functions... " >&6; }
68311  if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
68312  $as_echo_n "(cached) " >&6
68313else
68314
68315
68316    ac_ext=cpp
68317ac_cpp='$CXXCPP $CPPFLAGS'
68318ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68319ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68320ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68321
68322    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68323/* end confdefs.h.  */
68324#include <math.h>
68325int
68326main ()
68327{
68328ceill (0); floorl (0);
68329  ;
68330  return 0;
68331}
68332_ACEOF
68333if ac_fn_cxx_try_compile "$LINENO"; then :
68334  glibcxx_cv_func_long_double_round_use=yes
68335else
68336  glibcxx_cv_func_long_double_round_use=no
68337fi
68338rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68339    ac_ext=c
68340ac_cpp='$CPP $CPPFLAGS'
68341ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68342ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68343ac_compiler_gnu=$ac_cv_c_compiler_gnu
68344
68345fi
68346
68347  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
68348$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
68349  if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
68350    for ac_func in ceill floorl
68351do :
68352  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68353ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68354eval as_val=\$$as_ac_var
68355   if test "x$as_val" = x""yes; then :
68356  cat >>confdefs.h <<_ACEOF
68357#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68358_ACEOF
68359
68360fi
68361done
68362
68363  else
68364    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
68365$as_echo_n "checking for _long double round functions... " >&6; }
68366    if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
68367  $as_echo_n "(cached) " >&6
68368else
68369
68370
68371      ac_ext=cpp
68372ac_cpp='$CXXCPP $CPPFLAGS'
68373ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68374ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68375ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68376
68377      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68378/* end confdefs.h.  */
68379#include <math.h>
68380int
68381main ()
68382{
68383_ceill (0); _floorl (0);
68384  ;
68385  return 0;
68386}
68387_ACEOF
68388if ac_fn_cxx_try_compile "$LINENO"; then :
68389  glibcxx_cv_func__long_double_round_use=yes
68390else
68391  glibcxx_cv_func__long_double_round_use=no
68392fi
68393rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68394      ac_ext=c
68395ac_cpp='$CPP $CPPFLAGS'
68396ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68397ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68398ac_compiler_gnu=$ac_cv_c_compiler_gnu
68399
68400fi
68401
68402    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
68403$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
68404    if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
68405      for ac_func in _ceill _floorl
68406do :
68407  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68408ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68409eval as_val=\$$as_ac_var
68410   if test "x$as_val" = x""yes; then :
68411  cat >>confdefs.h <<_ACEOF
68412#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68413_ACEOF
68414
68415fi
68416done
68417
68418    fi
68419  fi
68420
68421
68422
68423
68424
68425
68426  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
68427$as_echo_n "checking for isnanl declaration... " >&6; }
68428  if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
68429    if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
68430  $as_echo_n "(cached) " >&6
68431else
68432
68433
68434      ac_ext=cpp
68435ac_cpp='$CXXCPP $CPPFLAGS'
68436ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68437ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68438ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68439
68440      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68441/* end confdefs.h.  */
68442#include <math.h>
68443		      #ifdef HAVE_IEEEFP_H
68444		      #include <ieeefp.h>
68445		      #endif
68446
68447int
68448main ()
68449{
68450 isnanl(0);
68451  ;
68452  return 0;
68453}
68454_ACEOF
68455if ac_fn_cxx_try_compile "$LINENO"; then :
68456  glibcxx_cv_func_isnanl_use=yes
68457else
68458  glibcxx_cv_func_isnanl_use=no
68459fi
68460rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68461      ac_ext=c
68462ac_cpp='$CPP $CPPFLAGS'
68463ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68464ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68465ac_compiler_gnu=$ac_cv_c_compiler_gnu
68466
68467
68468fi
68469
68470  fi
68471  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
68472$as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
68473
68474  if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
68475    for ac_func in isnanl
68476do :
68477  ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
68478if test "x$ac_cv_func_isnanl" = x""yes; then :
68479  cat >>confdefs.h <<_ACEOF
68480#define HAVE_ISNANL 1
68481_ACEOF
68482
68483fi
68484done
68485
68486  else
68487
68488  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
68489$as_echo_n "checking for _isnanl declaration... " >&6; }
68490  if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
68491    if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
68492  $as_echo_n "(cached) " >&6
68493else
68494
68495
68496      ac_ext=cpp
68497ac_cpp='$CXXCPP $CPPFLAGS'
68498ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68499ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68500ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68501
68502      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68503/* end confdefs.h.  */
68504#include <math.h>
68505		      #ifdef HAVE_IEEEFP_H
68506		      #include <ieeefp.h>
68507		      #endif
68508
68509int
68510main ()
68511{
68512 _isnanl(0);
68513  ;
68514  return 0;
68515}
68516_ACEOF
68517if ac_fn_cxx_try_compile "$LINENO"; then :
68518  glibcxx_cv_func__isnanl_use=yes
68519else
68520  glibcxx_cv_func__isnanl_use=no
68521fi
68522rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68523      ac_ext=c
68524ac_cpp='$CPP $CPPFLAGS'
68525ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68526ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68527ac_compiler_gnu=$ac_cv_c_compiler_gnu
68528
68529
68530fi
68531
68532  fi
68533  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
68534$as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
68535
68536    if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
68537      for ac_func in _isnanl
68538do :
68539  ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
68540if test "x$ac_cv_func__isnanl" = x""yes; then :
68541  cat >>confdefs.h <<_ACEOF
68542#define HAVE__ISNANL 1
68543_ACEOF
68544
68545fi
68546done
68547
68548    fi
68549  fi
68550
68551
68552
68553
68554
68555  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
68556$as_echo_n "checking for isinfl declaration... " >&6; }
68557  if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
68558    if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
68559  $as_echo_n "(cached) " >&6
68560else
68561
68562
68563      ac_ext=cpp
68564ac_cpp='$CXXCPP $CPPFLAGS'
68565ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68566ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68567ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68568
68569      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68570/* end confdefs.h.  */
68571#include <math.h>
68572		      #ifdef HAVE_IEEEFP_H
68573		      #include <ieeefp.h>
68574		      #endif
68575
68576int
68577main ()
68578{
68579 isinfl(0);
68580  ;
68581  return 0;
68582}
68583_ACEOF
68584if ac_fn_cxx_try_compile "$LINENO"; then :
68585  glibcxx_cv_func_isinfl_use=yes
68586else
68587  glibcxx_cv_func_isinfl_use=no
68588fi
68589rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68590      ac_ext=c
68591ac_cpp='$CPP $CPPFLAGS'
68592ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68593ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68594ac_compiler_gnu=$ac_cv_c_compiler_gnu
68595
68596
68597fi
68598
68599  fi
68600  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
68601$as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
68602
68603  if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
68604    for ac_func in isinfl
68605do :
68606  ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
68607if test "x$ac_cv_func_isinfl" = x""yes; then :
68608  cat >>confdefs.h <<_ACEOF
68609#define HAVE_ISINFL 1
68610_ACEOF
68611
68612fi
68613done
68614
68615  else
68616
68617  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
68618$as_echo_n "checking for _isinfl declaration... " >&6; }
68619  if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
68620    if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
68621  $as_echo_n "(cached) " >&6
68622else
68623
68624
68625      ac_ext=cpp
68626ac_cpp='$CXXCPP $CPPFLAGS'
68627ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68628ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68629ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68630
68631      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68632/* end confdefs.h.  */
68633#include <math.h>
68634		      #ifdef HAVE_IEEEFP_H
68635		      #include <ieeefp.h>
68636		      #endif
68637
68638int
68639main ()
68640{
68641 _isinfl(0);
68642  ;
68643  return 0;
68644}
68645_ACEOF
68646if ac_fn_cxx_try_compile "$LINENO"; then :
68647  glibcxx_cv_func__isinfl_use=yes
68648else
68649  glibcxx_cv_func__isinfl_use=no
68650fi
68651rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68652      ac_ext=c
68653ac_cpp='$CPP $CPPFLAGS'
68654ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68655ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68656ac_compiler_gnu=$ac_cv_c_compiler_gnu
68657
68658
68659fi
68660
68661  fi
68662  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
68663$as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
68664
68665    if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
68666      for ac_func in _isinfl
68667do :
68668  ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
68669if test "x$ac_cv_func__isinfl" = x""yes; then :
68670  cat >>confdefs.h <<_ACEOF
68671#define HAVE__ISINFL 1
68672_ACEOF
68673
68674fi
68675done
68676
68677    fi
68678  fi
68679
68680
68681
68682
68683
68684  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
68685$as_echo_n "checking for atan2l declaration... " >&6; }
68686  if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
68687    if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
68688  $as_echo_n "(cached) " >&6
68689else
68690
68691
68692      ac_ext=cpp
68693ac_cpp='$CXXCPP $CPPFLAGS'
68694ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68695ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68696ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68697
68698      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68699/* end confdefs.h.  */
68700#include <math.h>
68701int
68702main ()
68703{
68704 atan2l(0, 0);
68705  ;
68706  return 0;
68707}
68708_ACEOF
68709if ac_fn_cxx_try_compile "$LINENO"; then :
68710  glibcxx_cv_func_atan2l_use=yes
68711else
68712  glibcxx_cv_func_atan2l_use=no
68713fi
68714rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68715      ac_ext=c
68716ac_cpp='$CPP $CPPFLAGS'
68717ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68718ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68719ac_compiler_gnu=$ac_cv_c_compiler_gnu
68720
68721
68722fi
68723
68724  fi
68725  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
68726$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
68727
68728  if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
68729    for ac_func in atan2l
68730do :
68731  ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
68732if test "x$ac_cv_func_atan2l" = x""yes; then :
68733  cat >>confdefs.h <<_ACEOF
68734#define HAVE_ATAN2L 1
68735_ACEOF
68736
68737fi
68738done
68739
68740  else
68741
68742  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
68743$as_echo_n "checking for _atan2l declaration... " >&6; }
68744  if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
68745    if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
68746  $as_echo_n "(cached) " >&6
68747else
68748
68749
68750      ac_ext=cpp
68751ac_cpp='$CXXCPP $CPPFLAGS'
68752ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68753ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68754ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68755
68756      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68757/* end confdefs.h.  */
68758#include <math.h>
68759int
68760main ()
68761{
68762 _atan2l(0, 0);
68763  ;
68764  return 0;
68765}
68766_ACEOF
68767if ac_fn_cxx_try_compile "$LINENO"; then :
68768  glibcxx_cv_func__atan2l_use=yes
68769else
68770  glibcxx_cv_func__atan2l_use=no
68771fi
68772rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68773      ac_ext=c
68774ac_cpp='$CPP $CPPFLAGS'
68775ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68776ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68777ac_compiler_gnu=$ac_cv_c_compiler_gnu
68778
68779
68780fi
68781
68782  fi
68783  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
68784$as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
68785
68786    if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
68787      for ac_func in _atan2l
68788do :
68789  ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
68790if test "x$ac_cv_func__atan2l" = x""yes; then :
68791  cat >>confdefs.h <<_ACEOF
68792#define HAVE__ATAN2L 1
68793_ACEOF
68794
68795fi
68796done
68797
68798    fi
68799  fi
68800
68801
68802
68803
68804
68805  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
68806$as_echo_n "checking for expl declaration... " >&6; }
68807  if test x${glibcxx_cv_func_expl_use+set} != xset; then
68808    if test "${glibcxx_cv_func_expl_use+set}" = set; then :
68809  $as_echo_n "(cached) " >&6
68810else
68811
68812
68813      ac_ext=cpp
68814ac_cpp='$CXXCPP $CPPFLAGS'
68815ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68816ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68817ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68818
68819      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68820/* end confdefs.h.  */
68821#include <math.h>
68822		      #ifdef HAVE_IEEEFP_H
68823		      #include <ieeefp.h>
68824		      #endif
68825
68826int
68827main ()
68828{
68829 expl(0);
68830  ;
68831  return 0;
68832}
68833_ACEOF
68834if ac_fn_cxx_try_compile "$LINENO"; then :
68835  glibcxx_cv_func_expl_use=yes
68836else
68837  glibcxx_cv_func_expl_use=no
68838fi
68839rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68840      ac_ext=c
68841ac_cpp='$CPP $CPPFLAGS'
68842ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68843ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68844ac_compiler_gnu=$ac_cv_c_compiler_gnu
68845
68846
68847fi
68848
68849  fi
68850  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
68851$as_echo "$glibcxx_cv_func_expl_use" >&6; }
68852
68853  if test x$glibcxx_cv_func_expl_use = x"yes"; then
68854    for ac_func in expl
68855do :
68856  ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
68857if test "x$ac_cv_func_expl" = x""yes; then :
68858  cat >>confdefs.h <<_ACEOF
68859#define HAVE_EXPL 1
68860_ACEOF
68861
68862fi
68863done
68864
68865  else
68866
68867  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
68868$as_echo_n "checking for _expl declaration... " >&6; }
68869  if test x${glibcxx_cv_func__expl_use+set} != xset; then
68870    if test "${glibcxx_cv_func__expl_use+set}" = set; then :
68871  $as_echo_n "(cached) " >&6
68872else
68873
68874
68875      ac_ext=cpp
68876ac_cpp='$CXXCPP $CPPFLAGS'
68877ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68878ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68879ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68880
68881      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68882/* end confdefs.h.  */
68883#include <math.h>
68884		      #ifdef HAVE_IEEEFP_H
68885		      #include <ieeefp.h>
68886		      #endif
68887
68888int
68889main ()
68890{
68891 _expl(0);
68892  ;
68893  return 0;
68894}
68895_ACEOF
68896if ac_fn_cxx_try_compile "$LINENO"; then :
68897  glibcxx_cv_func__expl_use=yes
68898else
68899  glibcxx_cv_func__expl_use=no
68900fi
68901rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68902      ac_ext=c
68903ac_cpp='$CPP $CPPFLAGS'
68904ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68905ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68906ac_compiler_gnu=$ac_cv_c_compiler_gnu
68907
68908
68909fi
68910
68911  fi
68912  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
68913$as_echo "$glibcxx_cv_func__expl_use" >&6; }
68914
68915    if test x$glibcxx_cv_func__expl_use = x"yes"; then
68916      for ac_func in _expl
68917do :
68918  ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
68919if test "x$ac_cv_func__expl" = x""yes; then :
68920  cat >>confdefs.h <<_ACEOF
68921#define HAVE__EXPL 1
68922_ACEOF
68923
68924fi
68925done
68926
68927    fi
68928  fi
68929
68930
68931
68932
68933
68934  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
68935$as_echo_n "checking for fabsl declaration... " >&6; }
68936  if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
68937    if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
68938  $as_echo_n "(cached) " >&6
68939else
68940
68941
68942      ac_ext=cpp
68943ac_cpp='$CXXCPP $CPPFLAGS'
68944ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68945ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68946ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68947
68948      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68949/* end confdefs.h.  */
68950#include <math.h>
68951		      #ifdef HAVE_IEEEFP_H
68952		      #include <ieeefp.h>
68953		      #endif
68954
68955int
68956main ()
68957{
68958 fabsl(0);
68959  ;
68960  return 0;
68961}
68962_ACEOF
68963if ac_fn_cxx_try_compile "$LINENO"; then :
68964  glibcxx_cv_func_fabsl_use=yes
68965else
68966  glibcxx_cv_func_fabsl_use=no
68967fi
68968rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68969      ac_ext=c
68970ac_cpp='$CPP $CPPFLAGS'
68971ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68972ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68973ac_compiler_gnu=$ac_cv_c_compiler_gnu
68974
68975
68976fi
68977
68978  fi
68979  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
68980$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
68981
68982  if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
68983    for ac_func in fabsl
68984do :
68985  ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
68986if test "x$ac_cv_func_fabsl" = x""yes; then :
68987  cat >>confdefs.h <<_ACEOF
68988#define HAVE_FABSL 1
68989_ACEOF
68990
68991fi
68992done
68993
68994  else
68995
68996  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
68997$as_echo_n "checking for _fabsl declaration... " >&6; }
68998  if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
68999    if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
69000  $as_echo_n "(cached) " >&6
69001else
69002
69003
69004      ac_ext=cpp
69005ac_cpp='$CXXCPP $CPPFLAGS'
69006ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69007ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69008ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69009
69010      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69011/* end confdefs.h.  */
69012#include <math.h>
69013		      #ifdef HAVE_IEEEFP_H
69014		      #include <ieeefp.h>
69015		      #endif
69016
69017int
69018main ()
69019{
69020 _fabsl(0);
69021  ;
69022  return 0;
69023}
69024_ACEOF
69025if ac_fn_cxx_try_compile "$LINENO"; then :
69026  glibcxx_cv_func__fabsl_use=yes
69027else
69028  glibcxx_cv_func__fabsl_use=no
69029fi
69030rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69031      ac_ext=c
69032ac_cpp='$CPP $CPPFLAGS'
69033ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69034ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69035ac_compiler_gnu=$ac_cv_c_compiler_gnu
69036
69037
69038fi
69039
69040  fi
69041  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
69042$as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
69043
69044    if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
69045      for ac_func in _fabsl
69046do :
69047  ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
69048if test "x$ac_cv_func__fabsl" = x""yes; then :
69049  cat >>confdefs.h <<_ACEOF
69050#define HAVE__FABSL 1
69051_ACEOF
69052
69053fi
69054done
69055
69056    fi
69057  fi
69058
69059
69060
69061
69062
69063  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
69064$as_echo_n "checking for fmodl declaration... " >&6; }
69065  if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
69066    if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
69067  $as_echo_n "(cached) " >&6
69068else
69069
69070
69071      ac_ext=cpp
69072ac_cpp='$CXXCPP $CPPFLAGS'
69073ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69074ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69075ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69076
69077      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69078/* end confdefs.h.  */
69079#include <math.h>
69080int
69081main ()
69082{
69083 fmodl(0, 0);
69084  ;
69085  return 0;
69086}
69087_ACEOF
69088if ac_fn_cxx_try_compile "$LINENO"; then :
69089  glibcxx_cv_func_fmodl_use=yes
69090else
69091  glibcxx_cv_func_fmodl_use=no
69092fi
69093rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69094      ac_ext=c
69095ac_cpp='$CPP $CPPFLAGS'
69096ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69097ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69098ac_compiler_gnu=$ac_cv_c_compiler_gnu
69099
69100
69101fi
69102
69103  fi
69104  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
69105$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
69106
69107  if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
69108    for ac_func in fmodl
69109do :
69110  ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
69111if test "x$ac_cv_func_fmodl" = x""yes; then :
69112  cat >>confdefs.h <<_ACEOF
69113#define HAVE_FMODL 1
69114_ACEOF
69115
69116fi
69117done
69118
69119  else
69120
69121  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
69122$as_echo_n "checking for _fmodl declaration... " >&6; }
69123  if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
69124    if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
69125  $as_echo_n "(cached) " >&6
69126else
69127
69128
69129      ac_ext=cpp
69130ac_cpp='$CXXCPP $CPPFLAGS'
69131ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69132ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69133ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69134
69135      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69136/* end confdefs.h.  */
69137#include <math.h>
69138int
69139main ()
69140{
69141 _fmodl(0, 0);
69142  ;
69143  return 0;
69144}
69145_ACEOF
69146if ac_fn_cxx_try_compile "$LINENO"; then :
69147  glibcxx_cv_func__fmodl_use=yes
69148else
69149  glibcxx_cv_func__fmodl_use=no
69150fi
69151rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69152      ac_ext=c
69153ac_cpp='$CPP $CPPFLAGS'
69154ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69155ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69156ac_compiler_gnu=$ac_cv_c_compiler_gnu
69157
69158
69159fi
69160
69161  fi
69162  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
69163$as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
69164
69165    if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
69166      for ac_func in _fmodl
69167do :
69168  ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
69169if test "x$ac_cv_func__fmodl" = x""yes; then :
69170  cat >>confdefs.h <<_ACEOF
69171#define HAVE__FMODL 1
69172_ACEOF
69173
69174fi
69175done
69176
69177    fi
69178  fi
69179
69180
69181
69182
69183
69184  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
69185$as_echo_n "checking for frexpl declaration... " >&6; }
69186  if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
69187    if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
69188  $as_echo_n "(cached) " >&6
69189else
69190
69191
69192      ac_ext=cpp
69193ac_cpp='$CXXCPP $CPPFLAGS'
69194ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69195ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69196ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69197
69198      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69199/* end confdefs.h.  */
69200#include <math.h>
69201int
69202main ()
69203{
69204 frexpl(0, 0);
69205  ;
69206  return 0;
69207}
69208_ACEOF
69209if ac_fn_cxx_try_compile "$LINENO"; then :
69210  glibcxx_cv_func_frexpl_use=yes
69211else
69212  glibcxx_cv_func_frexpl_use=no
69213fi
69214rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69215      ac_ext=c
69216ac_cpp='$CPP $CPPFLAGS'
69217ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69218ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69219ac_compiler_gnu=$ac_cv_c_compiler_gnu
69220
69221
69222fi
69223
69224  fi
69225  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
69226$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
69227
69228  if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
69229    for ac_func in frexpl
69230do :
69231  ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
69232if test "x$ac_cv_func_frexpl" = x""yes; then :
69233  cat >>confdefs.h <<_ACEOF
69234#define HAVE_FREXPL 1
69235_ACEOF
69236
69237fi
69238done
69239
69240  else
69241
69242  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
69243$as_echo_n "checking for _frexpl declaration... " >&6; }
69244  if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
69245    if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
69246  $as_echo_n "(cached) " >&6
69247else
69248
69249
69250      ac_ext=cpp
69251ac_cpp='$CXXCPP $CPPFLAGS'
69252ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69253ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69254ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69255
69256      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69257/* end confdefs.h.  */
69258#include <math.h>
69259int
69260main ()
69261{
69262 _frexpl(0, 0);
69263  ;
69264  return 0;
69265}
69266_ACEOF
69267if ac_fn_cxx_try_compile "$LINENO"; then :
69268  glibcxx_cv_func__frexpl_use=yes
69269else
69270  glibcxx_cv_func__frexpl_use=no
69271fi
69272rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69273      ac_ext=c
69274ac_cpp='$CPP $CPPFLAGS'
69275ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69276ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69277ac_compiler_gnu=$ac_cv_c_compiler_gnu
69278
69279
69280fi
69281
69282  fi
69283  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
69284$as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
69285
69286    if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
69287      for ac_func in _frexpl
69288do :
69289  ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
69290if test "x$ac_cv_func__frexpl" = x""yes; then :
69291  cat >>confdefs.h <<_ACEOF
69292#define HAVE__FREXPL 1
69293_ACEOF
69294
69295fi
69296done
69297
69298    fi
69299  fi
69300
69301
69302
69303
69304
69305  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
69306$as_echo_n "checking for hypotl declaration... " >&6; }
69307  if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
69308    if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
69309  $as_echo_n "(cached) " >&6
69310else
69311
69312
69313      ac_ext=cpp
69314ac_cpp='$CXXCPP $CPPFLAGS'
69315ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69316ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69317ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69318
69319      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69320/* end confdefs.h.  */
69321#include <math.h>
69322int
69323main ()
69324{
69325 hypotl(0, 0);
69326  ;
69327  return 0;
69328}
69329_ACEOF
69330if ac_fn_cxx_try_compile "$LINENO"; then :
69331  glibcxx_cv_func_hypotl_use=yes
69332else
69333  glibcxx_cv_func_hypotl_use=no
69334fi
69335rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69336      ac_ext=c
69337ac_cpp='$CPP $CPPFLAGS'
69338ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69339ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69340ac_compiler_gnu=$ac_cv_c_compiler_gnu
69341
69342
69343fi
69344
69345  fi
69346  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
69347$as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
69348
69349  if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
69350    for ac_func in hypotl
69351do :
69352  ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
69353if test "x$ac_cv_func_hypotl" = x""yes; then :
69354  cat >>confdefs.h <<_ACEOF
69355#define HAVE_HYPOTL 1
69356_ACEOF
69357
69358fi
69359done
69360
69361  else
69362
69363  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
69364$as_echo_n "checking for _hypotl declaration... " >&6; }
69365  if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
69366    if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
69367  $as_echo_n "(cached) " >&6
69368else
69369
69370
69371      ac_ext=cpp
69372ac_cpp='$CXXCPP $CPPFLAGS'
69373ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69374ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69375ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69376
69377      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69378/* end confdefs.h.  */
69379#include <math.h>
69380int
69381main ()
69382{
69383 _hypotl(0, 0);
69384  ;
69385  return 0;
69386}
69387_ACEOF
69388if ac_fn_cxx_try_compile "$LINENO"; then :
69389  glibcxx_cv_func__hypotl_use=yes
69390else
69391  glibcxx_cv_func__hypotl_use=no
69392fi
69393rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69394      ac_ext=c
69395ac_cpp='$CPP $CPPFLAGS'
69396ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69397ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69398ac_compiler_gnu=$ac_cv_c_compiler_gnu
69399
69400
69401fi
69402
69403  fi
69404  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
69405$as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
69406
69407    if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
69408      for ac_func in _hypotl
69409do :
69410  ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
69411if test "x$ac_cv_func__hypotl" = x""yes; then :
69412  cat >>confdefs.h <<_ACEOF
69413#define HAVE__HYPOTL 1
69414_ACEOF
69415
69416fi
69417done
69418
69419    fi
69420  fi
69421
69422
69423
69424
69425
69426  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
69427$as_echo_n "checking for ldexpl declaration... " >&6; }
69428  if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
69429    if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
69430  $as_echo_n "(cached) " >&6
69431else
69432
69433
69434      ac_ext=cpp
69435ac_cpp='$CXXCPP $CPPFLAGS'
69436ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69437ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69438ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69439
69440      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69441/* end confdefs.h.  */
69442#include <math.h>
69443int
69444main ()
69445{
69446 ldexpl(0, 0);
69447  ;
69448  return 0;
69449}
69450_ACEOF
69451if ac_fn_cxx_try_compile "$LINENO"; then :
69452  glibcxx_cv_func_ldexpl_use=yes
69453else
69454  glibcxx_cv_func_ldexpl_use=no
69455fi
69456rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69457      ac_ext=c
69458ac_cpp='$CPP $CPPFLAGS'
69459ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69460ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69461ac_compiler_gnu=$ac_cv_c_compiler_gnu
69462
69463
69464fi
69465
69466  fi
69467  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
69468$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
69469
69470  if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
69471    for ac_func in ldexpl
69472do :
69473  ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
69474if test "x$ac_cv_func_ldexpl" = x""yes; then :
69475  cat >>confdefs.h <<_ACEOF
69476#define HAVE_LDEXPL 1
69477_ACEOF
69478
69479fi
69480done
69481
69482  else
69483
69484  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
69485$as_echo_n "checking for _ldexpl declaration... " >&6; }
69486  if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
69487    if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
69488  $as_echo_n "(cached) " >&6
69489else
69490
69491
69492      ac_ext=cpp
69493ac_cpp='$CXXCPP $CPPFLAGS'
69494ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69495ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69496ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69497
69498      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69499/* end confdefs.h.  */
69500#include <math.h>
69501int
69502main ()
69503{
69504 _ldexpl(0, 0);
69505  ;
69506  return 0;
69507}
69508_ACEOF
69509if ac_fn_cxx_try_compile "$LINENO"; then :
69510  glibcxx_cv_func__ldexpl_use=yes
69511else
69512  glibcxx_cv_func__ldexpl_use=no
69513fi
69514rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69515      ac_ext=c
69516ac_cpp='$CPP $CPPFLAGS'
69517ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69518ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69519ac_compiler_gnu=$ac_cv_c_compiler_gnu
69520
69521
69522fi
69523
69524  fi
69525  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
69526$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
69527
69528    if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
69529      for ac_func in _ldexpl
69530do :
69531  ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
69532if test "x$ac_cv_func__ldexpl" = x""yes; then :
69533  cat >>confdefs.h <<_ACEOF
69534#define HAVE__LDEXPL 1
69535_ACEOF
69536
69537fi
69538done
69539
69540    fi
69541  fi
69542
69543
69544
69545
69546
69547  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
69548$as_echo_n "checking for logl declaration... " >&6; }
69549  if test x${glibcxx_cv_func_logl_use+set} != xset; then
69550    if test "${glibcxx_cv_func_logl_use+set}" = set; then :
69551  $as_echo_n "(cached) " >&6
69552else
69553
69554
69555      ac_ext=cpp
69556ac_cpp='$CXXCPP $CPPFLAGS'
69557ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69558ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69559ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69560
69561      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69562/* end confdefs.h.  */
69563#include <math.h>
69564		      #ifdef HAVE_IEEEFP_H
69565		      #include <ieeefp.h>
69566		      #endif
69567
69568int
69569main ()
69570{
69571 logl(0);
69572  ;
69573  return 0;
69574}
69575_ACEOF
69576if ac_fn_cxx_try_compile "$LINENO"; then :
69577  glibcxx_cv_func_logl_use=yes
69578else
69579  glibcxx_cv_func_logl_use=no
69580fi
69581rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69582      ac_ext=c
69583ac_cpp='$CPP $CPPFLAGS'
69584ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69585ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69586ac_compiler_gnu=$ac_cv_c_compiler_gnu
69587
69588
69589fi
69590
69591  fi
69592  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
69593$as_echo "$glibcxx_cv_func_logl_use" >&6; }
69594
69595  if test x$glibcxx_cv_func_logl_use = x"yes"; then
69596    for ac_func in logl
69597do :
69598  ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
69599if test "x$ac_cv_func_logl" = x""yes; then :
69600  cat >>confdefs.h <<_ACEOF
69601#define HAVE_LOGL 1
69602_ACEOF
69603
69604fi
69605done
69606
69607  else
69608
69609  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
69610$as_echo_n "checking for _logl declaration... " >&6; }
69611  if test x${glibcxx_cv_func__logl_use+set} != xset; then
69612    if test "${glibcxx_cv_func__logl_use+set}" = set; then :
69613  $as_echo_n "(cached) " >&6
69614else
69615
69616
69617      ac_ext=cpp
69618ac_cpp='$CXXCPP $CPPFLAGS'
69619ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69620ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69621ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69622
69623      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69624/* end confdefs.h.  */
69625#include <math.h>
69626		      #ifdef HAVE_IEEEFP_H
69627		      #include <ieeefp.h>
69628		      #endif
69629
69630int
69631main ()
69632{
69633 _logl(0);
69634  ;
69635  return 0;
69636}
69637_ACEOF
69638if ac_fn_cxx_try_compile "$LINENO"; then :
69639  glibcxx_cv_func__logl_use=yes
69640else
69641  glibcxx_cv_func__logl_use=no
69642fi
69643rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69644      ac_ext=c
69645ac_cpp='$CPP $CPPFLAGS'
69646ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69647ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69648ac_compiler_gnu=$ac_cv_c_compiler_gnu
69649
69650
69651fi
69652
69653  fi
69654  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
69655$as_echo "$glibcxx_cv_func__logl_use" >&6; }
69656
69657    if test x$glibcxx_cv_func__logl_use = x"yes"; then
69658      for ac_func in _logl
69659do :
69660  ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
69661if test "x$ac_cv_func__logl" = x""yes; then :
69662  cat >>confdefs.h <<_ACEOF
69663#define HAVE__LOGL 1
69664_ACEOF
69665
69666fi
69667done
69668
69669    fi
69670  fi
69671
69672
69673
69674
69675
69676  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
69677$as_echo_n "checking for log10l declaration... " >&6; }
69678  if test x${glibcxx_cv_func_log10l_use+set} != xset; then
69679    if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
69680  $as_echo_n "(cached) " >&6
69681else
69682
69683
69684      ac_ext=cpp
69685ac_cpp='$CXXCPP $CPPFLAGS'
69686ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69687ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69688ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69689
69690      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69691/* end confdefs.h.  */
69692#include <math.h>
69693		      #ifdef HAVE_IEEEFP_H
69694		      #include <ieeefp.h>
69695		      #endif
69696
69697int
69698main ()
69699{
69700 log10l(0);
69701  ;
69702  return 0;
69703}
69704_ACEOF
69705if ac_fn_cxx_try_compile "$LINENO"; then :
69706  glibcxx_cv_func_log10l_use=yes
69707else
69708  glibcxx_cv_func_log10l_use=no
69709fi
69710rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69711      ac_ext=c
69712ac_cpp='$CPP $CPPFLAGS'
69713ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69714ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69715ac_compiler_gnu=$ac_cv_c_compiler_gnu
69716
69717
69718fi
69719
69720  fi
69721  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
69722$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
69723
69724  if test x$glibcxx_cv_func_log10l_use = x"yes"; then
69725    for ac_func in log10l
69726do :
69727  ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
69728if test "x$ac_cv_func_log10l" = x""yes; then :
69729  cat >>confdefs.h <<_ACEOF
69730#define HAVE_LOG10L 1
69731_ACEOF
69732
69733fi
69734done
69735
69736  else
69737
69738  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
69739$as_echo_n "checking for _log10l declaration... " >&6; }
69740  if test x${glibcxx_cv_func__log10l_use+set} != xset; then
69741    if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
69742  $as_echo_n "(cached) " >&6
69743else
69744
69745
69746      ac_ext=cpp
69747ac_cpp='$CXXCPP $CPPFLAGS'
69748ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69749ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69750ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69751
69752      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69753/* end confdefs.h.  */
69754#include <math.h>
69755		      #ifdef HAVE_IEEEFP_H
69756		      #include <ieeefp.h>
69757		      #endif
69758
69759int
69760main ()
69761{
69762 _log10l(0);
69763  ;
69764  return 0;
69765}
69766_ACEOF
69767if ac_fn_cxx_try_compile "$LINENO"; then :
69768  glibcxx_cv_func__log10l_use=yes
69769else
69770  glibcxx_cv_func__log10l_use=no
69771fi
69772rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69773      ac_ext=c
69774ac_cpp='$CPP $CPPFLAGS'
69775ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69776ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69777ac_compiler_gnu=$ac_cv_c_compiler_gnu
69778
69779
69780fi
69781
69782  fi
69783  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
69784$as_echo "$glibcxx_cv_func__log10l_use" >&6; }
69785
69786    if test x$glibcxx_cv_func__log10l_use = x"yes"; then
69787      for ac_func in _log10l
69788do :
69789  ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
69790if test "x$ac_cv_func__log10l" = x""yes; then :
69791  cat >>confdefs.h <<_ACEOF
69792#define HAVE__LOG10L 1
69793_ACEOF
69794
69795fi
69796done
69797
69798    fi
69799  fi
69800
69801
69802
69803
69804
69805  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
69806$as_echo_n "checking for modfl declaration... " >&6; }
69807  if test x${glibcxx_cv_func_modfl_use+set} != xset; then
69808    if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
69809  $as_echo_n "(cached) " >&6
69810else
69811
69812
69813      ac_ext=cpp
69814ac_cpp='$CXXCPP $CPPFLAGS'
69815ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69816ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69817ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69818
69819      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69820/* end confdefs.h.  */
69821#include <math.h>
69822int
69823main ()
69824{
69825 modfl(0, 0);
69826  ;
69827  return 0;
69828}
69829_ACEOF
69830if ac_fn_cxx_try_compile "$LINENO"; then :
69831  glibcxx_cv_func_modfl_use=yes
69832else
69833  glibcxx_cv_func_modfl_use=no
69834fi
69835rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69836      ac_ext=c
69837ac_cpp='$CPP $CPPFLAGS'
69838ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69839ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69840ac_compiler_gnu=$ac_cv_c_compiler_gnu
69841
69842
69843fi
69844
69845  fi
69846  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
69847$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
69848
69849  if test x$glibcxx_cv_func_modfl_use = x"yes"; then
69850    for ac_func in modfl
69851do :
69852  ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
69853if test "x$ac_cv_func_modfl" = x""yes; then :
69854  cat >>confdefs.h <<_ACEOF
69855#define HAVE_MODFL 1
69856_ACEOF
69857
69858fi
69859done
69860
69861  else
69862
69863  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
69864$as_echo_n "checking for _modfl declaration... " >&6; }
69865  if test x${glibcxx_cv_func__modfl_use+set} != xset; then
69866    if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
69867  $as_echo_n "(cached) " >&6
69868else
69869
69870
69871      ac_ext=cpp
69872ac_cpp='$CXXCPP $CPPFLAGS'
69873ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69874ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69875ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69876
69877      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69878/* end confdefs.h.  */
69879#include <math.h>
69880int
69881main ()
69882{
69883 _modfl(0, 0);
69884  ;
69885  return 0;
69886}
69887_ACEOF
69888if ac_fn_cxx_try_compile "$LINENO"; then :
69889  glibcxx_cv_func__modfl_use=yes
69890else
69891  glibcxx_cv_func__modfl_use=no
69892fi
69893rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69894      ac_ext=c
69895ac_cpp='$CPP $CPPFLAGS'
69896ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69897ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69898ac_compiler_gnu=$ac_cv_c_compiler_gnu
69899
69900
69901fi
69902
69903  fi
69904  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
69905$as_echo "$glibcxx_cv_func__modfl_use" >&6; }
69906
69907    if test x$glibcxx_cv_func__modfl_use = x"yes"; then
69908      for ac_func in _modfl
69909do :
69910  ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
69911if test "x$ac_cv_func__modfl" = x""yes; then :
69912  cat >>confdefs.h <<_ACEOF
69913#define HAVE__MODFL 1
69914_ACEOF
69915
69916fi
69917done
69918
69919    fi
69920  fi
69921
69922
69923
69924
69925
69926  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
69927$as_echo_n "checking for powl declaration... " >&6; }
69928  if test x${glibcxx_cv_func_powl_use+set} != xset; then
69929    if test "${glibcxx_cv_func_powl_use+set}" = set; then :
69930  $as_echo_n "(cached) " >&6
69931else
69932
69933
69934      ac_ext=cpp
69935ac_cpp='$CXXCPP $CPPFLAGS'
69936ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69937ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69938ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69939
69940      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69941/* end confdefs.h.  */
69942#include <math.h>
69943int
69944main ()
69945{
69946 powl(0, 0);
69947  ;
69948  return 0;
69949}
69950_ACEOF
69951if ac_fn_cxx_try_compile "$LINENO"; then :
69952  glibcxx_cv_func_powl_use=yes
69953else
69954  glibcxx_cv_func_powl_use=no
69955fi
69956rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69957      ac_ext=c
69958ac_cpp='$CPP $CPPFLAGS'
69959ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69960ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69961ac_compiler_gnu=$ac_cv_c_compiler_gnu
69962
69963
69964fi
69965
69966  fi
69967  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
69968$as_echo "$glibcxx_cv_func_powl_use" >&6; }
69969
69970  if test x$glibcxx_cv_func_powl_use = x"yes"; then
69971    for ac_func in powl
69972do :
69973  ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
69974if test "x$ac_cv_func_powl" = x""yes; then :
69975  cat >>confdefs.h <<_ACEOF
69976#define HAVE_POWL 1
69977_ACEOF
69978
69979fi
69980done
69981
69982  else
69983
69984  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
69985$as_echo_n "checking for _powl declaration... " >&6; }
69986  if test x${glibcxx_cv_func__powl_use+set} != xset; then
69987    if test "${glibcxx_cv_func__powl_use+set}" = set; then :
69988  $as_echo_n "(cached) " >&6
69989else
69990
69991
69992      ac_ext=cpp
69993ac_cpp='$CXXCPP $CPPFLAGS'
69994ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69995ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69996ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69997
69998      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69999/* end confdefs.h.  */
70000#include <math.h>
70001int
70002main ()
70003{
70004 _powl(0, 0);
70005  ;
70006  return 0;
70007}
70008_ACEOF
70009if ac_fn_cxx_try_compile "$LINENO"; then :
70010  glibcxx_cv_func__powl_use=yes
70011else
70012  glibcxx_cv_func__powl_use=no
70013fi
70014rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70015      ac_ext=c
70016ac_cpp='$CPP $CPPFLAGS'
70017ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70018ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70019ac_compiler_gnu=$ac_cv_c_compiler_gnu
70020
70021
70022fi
70023
70024  fi
70025  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
70026$as_echo "$glibcxx_cv_func__powl_use" >&6; }
70027
70028    if test x$glibcxx_cv_func__powl_use = x"yes"; then
70029      for ac_func in _powl
70030do :
70031  ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
70032if test "x$ac_cv_func__powl" = x""yes; then :
70033  cat >>confdefs.h <<_ACEOF
70034#define HAVE__POWL 1
70035_ACEOF
70036
70037fi
70038done
70039
70040    fi
70041  fi
70042
70043
70044
70045
70046
70047  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
70048$as_echo_n "checking for sqrtl declaration... " >&6; }
70049  if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
70050    if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
70051  $as_echo_n "(cached) " >&6
70052else
70053
70054
70055      ac_ext=cpp
70056ac_cpp='$CXXCPP $CPPFLAGS'
70057ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70058ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70059ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70060
70061      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70062/* end confdefs.h.  */
70063#include <math.h>
70064		      #ifdef HAVE_IEEEFP_H
70065		      #include <ieeefp.h>
70066		      #endif
70067
70068int
70069main ()
70070{
70071 sqrtl(0);
70072  ;
70073  return 0;
70074}
70075_ACEOF
70076if ac_fn_cxx_try_compile "$LINENO"; then :
70077  glibcxx_cv_func_sqrtl_use=yes
70078else
70079  glibcxx_cv_func_sqrtl_use=no
70080fi
70081rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70082      ac_ext=c
70083ac_cpp='$CPP $CPPFLAGS'
70084ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70085ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70086ac_compiler_gnu=$ac_cv_c_compiler_gnu
70087
70088
70089fi
70090
70091  fi
70092  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
70093$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
70094
70095  if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
70096    for ac_func in sqrtl
70097do :
70098  ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
70099if test "x$ac_cv_func_sqrtl" = x""yes; then :
70100  cat >>confdefs.h <<_ACEOF
70101#define HAVE_SQRTL 1
70102_ACEOF
70103
70104fi
70105done
70106
70107  else
70108
70109  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
70110$as_echo_n "checking for _sqrtl declaration... " >&6; }
70111  if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
70112    if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
70113  $as_echo_n "(cached) " >&6
70114else
70115
70116
70117      ac_ext=cpp
70118ac_cpp='$CXXCPP $CPPFLAGS'
70119ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70120ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70121ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70122
70123      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70124/* end confdefs.h.  */
70125#include <math.h>
70126		      #ifdef HAVE_IEEEFP_H
70127		      #include <ieeefp.h>
70128		      #endif
70129
70130int
70131main ()
70132{
70133 _sqrtl(0);
70134  ;
70135  return 0;
70136}
70137_ACEOF
70138if ac_fn_cxx_try_compile "$LINENO"; then :
70139  glibcxx_cv_func__sqrtl_use=yes
70140else
70141  glibcxx_cv_func__sqrtl_use=no
70142fi
70143rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70144      ac_ext=c
70145ac_cpp='$CPP $CPPFLAGS'
70146ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70147ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70148ac_compiler_gnu=$ac_cv_c_compiler_gnu
70149
70150
70151fi
70152
70153  fi
70154  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
70155$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
70156
70157    if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
70158      for ac_func in _sqrtl
70159do :
70160  ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
70161if test "x$ac_cv_func__sqrtl" = x""yes; then :
70162  cat >>confdefs.h <<_ACEOF
70163#define HAVE__SQRTL 1
70164_ACEOF
70165
70166fi
70167done
70168
70169    fi
70170  fi
70171
70172
70173
70174
70175
70176  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
70177$as_echo_n "checking for sincosl declaration... " >&6; }
70178  if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
70179    if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
70180  $as_echo_n "(cached) " >&6
70181else
70182
70183
70184      ac_ext=cpp
70185ac_cpp='$CXXCPP $CPPFLAGS'
70186ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70187ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70188ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70189
70190      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70191/* end confdefs.h.  */
70192#include <math.h>
70193int
70194main ()
70195{
70196 sincosl(0, 0, 0);
70197  ;
70198  return 0;
70199}
70200_ACEOF
70201if ac_fn_cxx_try_compile "$LINENO"; then :
70202  glibcxx_cv_func_sincosl_use=yes
70203else
70204  glibcxx_cv_func_sincosl_use=no
70205fi
70206rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70207      ac_ext=c
70208ac_cpp='$CPP $CPPFLAGS'
70209ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70210ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70211ac_compiler_gnu=$ac_cv_c_compiler_gnu
70212
70213
70214fi
70215
70216  fi
70217  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
70218$as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
70219
70220  if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
70221    for ac_func in sincosl
70222do :
70223  ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
70224if test "x$ac_cv_func_sincosl" = x""yes; then :
70225  cat >>confdefs.h <<_ACEOF
70226#define HAVE_SINCOSL 1
70227_ACEOF
70228
70229fi
70230done
70231
70232  else
70233
70234  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
70235$as_echo_n "checking for _sincosl declaration... " >&6; }
70236  if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
70237    if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
70238  $as_echo_n "(cached) " >&6
70239else
70240
70241
70242      ac_ext=cpp
70243ac_cpp='$CXXCPP $CPPFLAGS'
70244ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70245ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70246ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70247
70248      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70249/* end confdefs.h.  */
70250#include <math.h>
70251int
70252main ()
70253{
70254 _sincosl(0, 0, 0);
70255  ;
70256  return 0;
70257}
70258_ACEOF
70259if ac_fn_cxx_try_compile "$LINENO"; then :
70260  glibcxx_cv_func__sincosl_use=yes
70261else
70262  glibcxx_cv_func__sincosl_use=no
70263fi
70264rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70265      ac_ext=c
70266ac_cpp='$CPP $CPPFLAGS'
70267ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70268ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70269ac_compiler_gnu=$ac_cv_c_compiler_gnu
70270
70271
70272fi
70273
70274  fi
70275  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
70276$as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
70277
70278    if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
70279      for ac_func in _sincosl
70280do :
70281  ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
70282if test "x$ac_cv_func__sincosl" = x""yes; then :
70283  cat >>confdefs.h <<_ACEOF
70284#define HAVE__SINCOSL 1
70285_ACEOF
70286
70287fi
70288done
70289
70290    fi
70291  fi
70292
70293
70294
70295
70296
70297  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
70298$as_echo_n "checking for finitel declaration... " >&6; }
70299  if test x${glibcxx_cv_func_finitel_use+set} != xset; then
70300    if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
70301  $as_echo_n "(cached) " >&6
70302else
70303
70304
70305      ac_ext=cpp
70306ac_cpp='$CXXCPP $CPPFLAGS'
70307ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70308ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70309ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70310
70311      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70312/* end confdefs.h.  */
70313#include <math.h>
70314		      #ifdef HAVE_IEEEFP_H
70315		      #include <ieeefp.h>
70316		      #endif
70317
70318int
70319main ()
70320{
70321 finitel(0);
70322  ;
70323  return 0;
70324}
70325_ACEOF
70326if ac_fn_cxx_try_compile "$LINENO"; then :
70327  glibcxx_cv_func_finitel_use=yes
70328else
70329  glibcxx_cv_func_finitel_use=no
70330fi
70331rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70332      ac_ext=c
70333ac_cpp='$CPP $CPPFLAGS'
70334ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70335ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70336ac_compiler_gnu=$ac_cv_c_compiler_gnu
70337
70338
70339fi
70340
70341  fi
70342  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
70343$as_echo "$glibcxx_cv_func_finitel_use" >&6; }
70344
70345  if test x$glibcxx_cv_func_finitel_use = x"yes"; then
70346    for ac_func in finitel
70347do :
70348  ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
70349if test "x$ac_cv_func_finitel" = x""yes; then :
70350  cat >>confdefs.h <<_ACEOF
70351#define HAVE_FINITEL 1
70352_ACEOF
70353
70354fi
70355done
70356
70357  else
70358
70359  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
70360$as_echo_n "checking for _finitel declaration... " >&6; }
70361  if test x${glibcxx_cv_func__finitel_use+set} != xset; then
70362    if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
70363  $as_echo_n "(cached) " >&6
70364else
70365
70366
70367      ac_ext=cpp
70368ac_cpp='$CXXCPP $CPPFLAGS'
70369ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70370ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70371ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70372
70373      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70374/* end confdefs.h.  */
70375#include <math.h>
70376		      #ifdef HAVE_IEEEFP_H
70377		      #include <ieeefp.h>
70378		      #endif
70379
70380int
70381main ()
70382{
70383 _finitel(0);
70384  ;
70385  return 0;
70386}
70387_ACEOF
70388if ac_fn_cxx_try_compile "$LINENO"; then :
70389  glibcxx_cv_func__finitel_use=yes
70390else
70391  glibcxx_cv_func__finitel_use=no
70392fi
70393rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70394      ac_ext=c
70395ac_cpp='$CPP $CPPFLAGS'
70396ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70397ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70398ac_compiler_gnu=$ac_cv_c_compiler_gnu
70399
70400
70401fi
70402
70403  fi
70404  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
70405$as_echo "$glibcxx_cv_func__finitel_use" >&6; }
70406
70407    if test x$glibcxx_cv_func__finitel_use = x"yes"; then
70408      for ac_func in _finitel
70409do :
70410  ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
70411if test "x$ac_cv_func__finitel" = x""yes; then :
70412  cat >>confdefs.h <<_ACEOF
70413#define HAVE__FINITEL 1
70414_ACEOF
70415
70416fi
70417done
70418
70419    fi
70420  fi
70421
70422
70423
70424
70425  LIBS="$ac_save_LIBS"
70426  CXXFLAGS="$ac_save_CXXFLAGS"
70427
70428
70429  ac_test_CXXFLAGS="${CXXFLAGS+set}"
70430  ac_save_CXXFLAGS="$CXXFLAGS"
70431  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
70432
70433
70434  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
70435$as_echo_n "checking for at_quick_exit declaration... " >&6; }
70436  if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
70437    if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
70438  $as_echo_n "(cached) " >&6
70439else
70440
70441
70442      ac_ext=cpp
70443ac_cpp='$CXXCPP $CPPFLAGS'
70444ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70445ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70446ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70447
70448      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70449/* end confdefs.h.  */
70450#include <stdlib.h>
70451int
70452main ()
70453{
70454 at_quick_exit(0);
70455  ;
70456  return 0;
70457}
70458_ACEOF
70459if ac_fn_cxx_try_compile "$LINENO"; then :
70460  glibcxx_cv_func_at_quick_exit_use=yes
70461else
70462  glibcxx_cv_func_at_quick_exit_use=no
70463fi
70464rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70465      ac_ext=c
70466ac_cpp='$CPP $CPPFLAGS'
70467ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70468ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70469ac_compiler_gnu=$ac_cv_c_compiler_gnu
70470
70471
70472fi
70473
70474  fi
70475  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
70476$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
70477  if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
70478    for ac_func in at_quick_exit
70479do :
70480  ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
70481if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
70482  cat >>confdefs.h <<_ACEOF
70483#define HAVE_AT_QUICK_EXIT 1
70484_ACEOF
70485
70486fi
70487done
70488
70489  fi
70490
70491
70492  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
70493$as_echo_n "checking for quick_exit declaration... " >&6; }
70494  if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
70495    if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
70496  $as_echo_n "(cached) " >&6
70497else
70498
70499
70500      ac_ext=cpp
70501ac_cpp='$CXXCPP $CPPFLAGS'
70502ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70503ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70504ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70505
70506      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70507/* end confdefs.h.  */
70508#include <stdlib.h>
70509int
70510main ()
70511{
70512 quick_exit(0);
70513  ;
70514  return 0;
70515}
70516_ACEOF
70517if ac_fn_cxx_try_compile "$LINENO"; then :
70518  glibcxx_cv_func_quick_exit_use=yes
70519else
70520  glibcxx_cv_func_quick_exit_use=no
70521fi
70522rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70523      ac_ext=c
70524ac_cpp='$CPP $CPPFLAGS'
70525ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70526ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70527ac_compiler_gnu=$ac_cv_c_compiler_gnu
70528
70529
70530fi
70531
70532  fi
70533  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
70534$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
70535  if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
70536    for ac_func in quick_exit
70537do :
70538  ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
70539if test "x$ac_cv_func_quick_exit" = x""yes; then :
70540  cat >>confdefs.h <<_ACEOF
70541#define HAVE_QUICK_EXIT 1
70542_ACEOF
70543
70544fi
70545done
70546
70547  fi
70548
70549
70550  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
70551$as_echo_n "checking for strtold declaration... " >&6; }
70552  if test x${glibcxx_cv_func_strtold_use+set} != xset; then
70553    if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
70554  $as_echo_n "(cached) " >&6
70555else
70556
70557
70558      ac_ext=cpp
70559ac_cpp='$CXXCPP $CPPFLAGS'
70560ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70561ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70562ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70563
70564      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70565/* end confdefs.h.  */
70566#include <stdlib.h>
70567int
70568main ()
70569{
70570 strtold(0, 0);
70571  ;
70572  return 0;
70573}
70574_ACEOF
70575if ac_fn_cxx_try_compile "$LINENO"; then :
70576  glibcxx_cv_func_strtold_use=yes
70577else
70578  glibcxx_cv_func_strtold_use=no
70579fi
70580rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70581      ac_ext=c
70582ac_cpp='$CPP $CPPFLAGS'
70583ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70584ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70585ac_compiler_gnu=$ac_cv_c_compiler_gnu
70586
70587
70588fi
70589
70590  fi
70591  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
70592$as_echo "$glibcxx_cv_func_strtold_use" >&6; }
70593  if test x$glibcxx_cv_func_strtold_use = x"yes"; then
70594    for ac_func in strtold
70595do :
70596  ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
70597if test "x$ac_cv_func_strtold" = x""yes; then :
70598  cat >>confdefs.h <<_ACEOF
70599#define HAVE_STRTOLD 1
70600_ACEOF
70601
70602fi
70603done
70604
70605  fi
70606
70607
70608
70609
70610  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
70611$as_echo_n "checking for strtof declaration... " >&6; }
70612  if test x${glibcxx_cv_func_strtof_use+set} != xset; then
70613    if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
70614  $as_echo_n "(cached) " >&6
70615else
70616
70617
70618      ac_ext=cpp
70619ac_cpp='$CXXCPP $CPPFLAGS'
70620ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70621ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70622ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70623
70624      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70625/* end confdefs.h.  */
70626#include <stdlib.h>
70627int
70628main ()
70629{
70630 strtof(0, 0);
70631  ;
70632  return 0;
70633}
70634_ACEOF
70635if ac_fn_cxx_try_compile "$LINENO"; then :
70636  glibcxx_cv_func_strtof_use=yes
70637else
70638  glibcxx_cv_func_strtof_use=no
70639fi
70640rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70641      ac_ext=c
70642ac_cpp='$CPP $CPPFLAGS'
70643ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70644ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70645ac_compiler_gnu=$ac_cv_c_compiler_gnu
70646
70647
70648fi
70649
70650  fi
70651  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
70652$as_echo "$glibcxx_cv_func_strtof_use" >&6; }
70653  if test x$glibcxx_cv_func_strtof_use = x"yes"; then
70654    for ac_func in strtof
70655do :
70656  ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
70657if test "x$ac_cv_func_strtof" = x""yes; then :
70658  cat >>confdefs.h <<_ACEOF
70659#define HAVE_STRTOF 1
70660_ACEOF
70661
70662fi
70663done
70664
70665  fi
70666
70667
70668
70669
70670  CXXFLAGS="$ac_save_CXXFLAGS"
70671
70672    ;;
70673  *-vxworks)
70674    $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
70675
70676    $as_echo "#define HAVE_ASINF 1" >>confdefs.h
70677
70678    $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
70679
70680    $as_echo "#define HAVE_ATANF 1" >>confdefs.h
70681
70682    $as_echo "#define HAVE_CEILF 1" >>confdefs.h
70683
70684    $as_echo "#define HAVE_COSF 1" >>confdefs.h
70685
70686    $as_echo "#define HAVE_COSHF 1" >>confdefs.h
70687
70688    $as_echo "#define HAVE_EXPF 1" >>confdefs.h
70689
70690    $as_echo "#define HAVE_FABSF 1" >>confdefs.h
70691
70692    $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
70693
70694    $as_echo "#define HAVE_FMODF 1" >>confdefs.h
70695
70696    $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
70697
70698    $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
70699
70700    $as_echo "#define HAVE_LOGF 1" >>confdefs.h
70701
70702    $as_echo "#define HAVE_POWF 1" >>confdefs.h
70703
70704    $as_echo "#define HAVE_SINF 1" >>confdefs.h
70705
70706    $as_echo "#define HAVE_SINHF 1" >>confdefs.h
70707
70708    $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
70709
70710    $as_echo "#define HAVE_TANF 1" >>confdefs.h
70711
70712    $as_echo "#define HAVE_TANHF 1" >>confdefs.h
70713
70714    ;;
70715  *)
70716    as_fn_error "No support for this host/target combination." "$LINENO" 5
70717   ;;
70718esac
70719
70720  fi
70721
70722  # At some point, we should differentiate between architectures
70723  # like x86, which have long double versions, and alpha/powerpc/etc.,
70724  # which don't. For the time being, punt.
70725  if test x"long_double_math_on_this_cpu" = x"yes"; then
70726    $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
70727
70728    $as_echo "#define HAVE_ASINL 1" >>confdefs.h
70729
70730    $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
70731
70732    $as_echo "#define HAVE_ATANL 1" >>confdefs.h
70733
70734    $as_echo "#define HAVE_CEILL 1" >>confdefs.h
70735
70736    $as_echo "#define HAVE_COSL 1" >>confdefs.h
70737
70738    $as_echo "#define HAVE_COSHL 1" >>confdefs.h
70739
70740    $as_echo "#define HAVE_EXPL 1" >>confdefs.h
70741
70742    $as_echo "#define HAVE_FABSL 1" >>confdefs.h
70743
70744    $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
70745
70746    $as_echo "#define HAVE_FMODL 1" >>confdefs.h
70747
70748    $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
70749
70750    $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
70751
70752    $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
70753
70754    $as_echo "#define HAVE_LOGL 1" >>confdefs.h
70755
70756    $as_echo "#define HAVE_MODFL 1" >>confdefs.h
70757
70758    $as_echo "#define HAVE_POWL 1" >>confdefs.h
70759
70760    $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
70761
70762    $as_echo "#define HAVE_SINL 1" >>confdefs.h
70763
70764    $as_echo "#define HAVE_SINHL 1" >>confdefs.h
70765
70766    $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
70767
70768    $as_echo "#define HAVE_TANL 1" >>confdefs.h
70769
70770    $as_echo "#define HAVE_TANHL 1" >>confdefs.h
70771
70772  fi
70773fi
70774
70775# Check for _Unwind_GetIPInfo.
70776
70777
70778# Check whether --with-system-libunwind was given.
70779if test "${with_system_libunwind+set}" = set; then :
70780  withval=$with_system_libunwind;
70781fi
70782
70783  # If system-libunwind was not specifically set, pick a default setting.
70784  if test x$with_system_libunwind = x; then
70785    case ${target} in
70786      ia64-*-hpux*) with_system_libunwind=yes ;;
70787      *) with_system_libunwind=no ;;
70788    esac
70789  fi
70790  # Based on system-libunwind and target, do we have ipinfo?
70791  if  test x$with_system_libunwind = xyes; then
70792    case ${target} in
70793      ia64-*-*) have_unwind_getipinfo=no ;;
70794      *) have_unwind_getipinfo=yes ;;
70795    esac
70796  else
70797    # Darwin before version 9 does not have _Unwind_GetIPInfo.
70798
70799    case ${target} in
70800      *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
70801      *) have_unwind_getipinfo=yes ;;
70802    esac
70803
70804  fi
70805
70806  if test x$have_unwind_getipinfo = xyes; then
70807
70808$as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
70809
70810  fi
70811
70812
70813 # Check whether --enable-linux-futex was given.
70814if test "${enable_linux_futex+set}" = set; then :
70815  enableval=$enable_linux_futex;
70816      case "$enableval" in
70817       yes|no|default) ;;
70818       *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
70819                          esac
70820
70821else
70822  enable_linux_futex=default
70823fi
70824
70825
70826case "$target" in
70827  *-linux*)
70828    case "$enable_linux_futex" in
70829      default)
70830	# If headers don't have gettid/futex syscalls definition, then
70831	# default to no, otherwise there will be compile time failures.
70832	# Otherwise, default to yes.  If we don't detect we are
70833	# compiled/linked against NPTL and not cross-compiling, check
70834	# if programs are run by default against NPTL and if not, issue
70835	# a warning.
70836	enable_linux_futex=no
70837	if test x$gcc_no_link = xyes; then
70838  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70839fi
70840cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70841/* end confdefs.h.  */
70842#include <sys/syscall.h>
70843	   int lk;
70844int
70845main ()
70846{
70847syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
70848  ;
70849  return 0;
70850}
70851_ACEOF
70852if ac_fn_c_try_link "$LINENO"; then :
70853  save_LIBS="$LIBS"
70854	   LIBS="-lpthread $LIBS"
70855	   if test x$gcc_no_link = xyes; then
70856  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70857fi
70858cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70859/* end confdefs.h.  */
70860#ifndef _GNU_SOURCE
70861	     #define _GNU_SOURCE 1
70862	     #endif
70863	     #include <pthread.h>
70864	     pthread_t th; void *status;
70865int
70866main ()
70867{
70868pthread_tryjoin_np (th, &status);
70869  ;
70870  return 0;
70871}
70872_ACEOF
70873if ac_fn_c_try_link "$LINENO"; then :
70874  enable_linux_futex=yes
70875else
70876  if test x$cross_compiling = xno; then
70877	       if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
70878		  | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
70879		 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
70880If so, please configure with --disable-linux-futex" >&5
70881$as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
70882If so, please configure with --disable-linux-futex" >&2;}
70883	       fi
70884	     fi
70885	     enable_linux_futex=yes
70886fi
70887rm -f core conftest.err conftest.$ac_objext \
70888    conftest$ac_exeext conftest.$ac_ext
70889	   LIBS="$save_LIBS"
70890fi
70891rm -f core conftest.err conftest.$ac_objext \
70892    conftest$ac_exeext conftest.$ac_ext
70893	;;
70894      yes)
70895	if test x$gcc_no_link = xyes; then
70896  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70897fi
70898cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70899/* end confdefs.h.  */
70900#include <sys/syscall.h>
70901	   int lk;
70902int
70903main ()
70904{
70905syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
70906  ;
70907  return 0;
70908}
70909_ACEOF
70910if ac_fn_c_try_link "$LINENO"; then :
70911
70912else
70913  as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
70914fi
70915rm -f core conftest.err conftest.$ac_objext \
70916    conftest$ac_exeext conftest.$ac_ext
70917	;;
70918    esac
70919    ;;
70920  *)
70921    enable_linux_futex=no
70922    ;;
70923esac
70924if test x$enable_linux_futex = xyes; then
70925
70926$as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
70927
70928fi
70929
70930
70931
70932
70933inttype_headers=`echo inttypes.h sys/inttypes.h  | sed -e 's/,/ /g'`
70934
70935acx_cv_header_stdint=stddef.h
70936acx_cv_header_stdint_kind="(already complete)"
70937for i in stdint.h $inttype_headers; do
70938  unset ac_cv_type_uintptr_t
70939  unset ac_cv_type_uintmax_t
70940  unset ac_cv_type_int_least32_t
70941  unset ac_cv_type_int_fast32_t
70942  unset ac_cv_type_uint64_t
70943  $as_echo_n "looking for a compliant stdint.h in $i, " >&6
70944  ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
70945#include <$i>
70946"
70947if test "x$ac_cv_type_uintmax_t" = x""yes; then :
70948  acx_cv_header_stdint=$i
70949else
70950  continue
70951fi
70952
70953  ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
70954#include <$i>
70955"
70956if test "x$ac_cv_type_uintptr_t" = x""yes; then :
70957
70958else
70959  acx_cv_header_stdint_kind="(mostly complete)"
70960fi
70961
70962  ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
70963#include <$i>
70964"
70965if test "x$ac_cv_type_int_least32_t" = x""yes; then :
70966
70967else
70968  acx_cv_header_stdint_kind="(mostly complete)"
70969fi
70970
70971  ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
70972#include <$i>
70973"
70974if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
70975
70976else
70977  acx_cv_header_stdint_kind="(mostly complete)"
70978fi
70979
70980  ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
70981#include <$i>
70982"
70983if test "x$ac_cv_type_uint64_t" = x""yes; then :
70984
70985else
70986  acx_cv_header_stdint_kind="(lacks uint64_t)"
70987fi
70988
70989  break
70990done
70991if test "$acx_cv_header_stdint" = stddef.h; then
70992  acx_cv_header_stdint_kind="(lacks uintmax_t)"
70993  for i in stdint.h $inttype_headers; do
70994    unset ac_cv_type_uintptr_t
70995    unset ac_cv_type_uint32_t
70996    unset ac_cv_type_uint64_t
70997    $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
70998    ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
70999#include <$i>
71000"
71001if test "x$ac_cv_type_uint32_t" = x""yes; then :
71002  acx_cv_header_stdint=$i
71003else
71004  continue
71005fi
71006
71007    ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
71008#include <$i>
71009"
71010if test "x$ac_cv_type_uint64_t" = x""yes; then :
71011
71012fi
71013
71014    ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
71015#include <$i>
71016"
71017if test "x$ac_cv_type_uintptr_t" = x""yes; then :
71018
71019fi
71020
71021    break
71022  done
71023fi
71024if test "$acx_cv_header_stdint" = stddef.h; then
71025  acx_cv_header_stdint_kind="(u_intXX_t style)"
71026  for i in sys/types.h $inttype_headers; do
71027    unset ac_cv_type_u_int32_t
71028    unset ac_cv_type_u_int64_t
71029    $as_echo_n "looking for u_intXX_t types in $i, " >&6
71030    ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
71031#include <$i>
71032"
71033if test "x$ac_cv_type_u_int32_t" = x""yes; then :
71034  acx_cv_header_stdint=$i
71035else
71036  continue
71037fi
71038
71039    ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
71040#include <$i>
71041"
71042if test "x$ac_cv_type_u_int64_t" = x""yes; then :
71043
71044fi
71045
71046    break
71047  done
71048fi
71049if test "$acx_cv_header_stdint" = stddef.h; then
71050  acx_cv_header_stdint_kind="(using manual detection)"
71051fi
71052
71053test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
71054test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
71055test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
71056test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
71057test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
71058
71059# ----------------- Summarize what we found so far
71060
71061{ $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
71062$as_echo_n "checking what to include in include/gstdint.h... " >&6; }
71063
71064case `$as_basename -- include/gstdint.h ||
71065$as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
71066	 Xinclude/gstdint.h : 'X\(//\)$' \| \
71067	 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
71068$as_echo X/include/gstdint.h |
71069    sed '/^.*\/\([^/][^/]*\)\/*$/{
71070	    s//\1/
71071	    q
71072	  }
71073	  /^X\/\(\/\/\)$/{
71074	    s//\1/
71075	    q
71076	  }
71077	  /^X\/\(\/\).*/{
71078	    s//\1/
71079	    q
71080	  }
71081	  s/.*/./; q'` in
71082  stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
71083$as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
71084  inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
71085$as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
71086  *) ;;
71087esac
71088
71089{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
71090$as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
71091
71092# ----------------- done included file, check C basic types --------
71093
71094# Lacking an uintptr_t?  Test size of void *
71095case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
71096  stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
71097# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71098# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71099# This bug is HP SR number 8606223364.
71100{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
71101$as_echo_n "checking size of void *... " >&6; }
71102if test "${ac_cv_sizeof_void_p+set}" = set; then :
71103  $as_echo_n "(cached) " >&6
71104else
71105  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
71106
71107else
71108  if test "$ac_cv_type_void_p" = yes; then
71109     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71110$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71111{ as_fn_set_status 77
71112as_fn_error "cannot compute sizeof (void *)
71113See \`config.log' for more details." "$LINENO" 5; }; }
71114   else
71115     ac_cv_sizeof_void_p=0
71116   fi
71117fi
71118
71119fi
71120{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
71121$as_echo "$ac_cv_sizeof_void_p" >&6; }
71122
71123
71124
71125cat >>confdefs.h <<_ACEOF
71126#define SIZEOF_VOID_P $ac_cv_sizeof_void_p
71127_ACEOF
71128
71129 ;;
71130esac
71131
71132# Lacking an uint64_t?  Test size of long
71133case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
71134  stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
71135# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71136# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71137# This bug is HP SR number 8606223364.
71138{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
71139$as_echo_n "checking size of long... " >&6; }
71140if test "${ac_cv_sizeof_long+set}" = set; then :
71141  $as_echo_n "(cached) " >&6
71142else
71143  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
71144
71145else
71146  if test "$ac_cv_type_long" = yes; then
71147     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71148$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71149{ as_fn_set_status 77
71150as_fn_error "cannot compute sizeof (long)
71151See \`config.log' for more details." "$LINENO" 5; }; }
71152   else
71153     ac_cv_sizeof_long=0
71154   fi
71155fi
71156
71157fi
71158{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
71159$as_echo "$ac_cv_sizeof_long" >&6; }
71160
71161
71162
71163cat >>confdefs.h <<_ACEOF
71164#define SIZEOF_LONG $ac_cv_sizeof_long
71165_ACEOF
71166
71167 ;;
71168esac
71169
71170if test $acx_cv_header_stdint = stddef.h; then
71171  # Lacking a good header?  Test size of everything and deduce all types.
71172  # The cast to long int works around a bug in the HP C Compiler
71173# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71174# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71175# This bug is HP SR number 8606223364.
71176{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
71177$as_echo_n "checking size of int... " >&6; }
71178if test "${ac_cv_sizeof_int+set}" = set; then :
71179  $as_echo_n "(cached) " >&6
71180else
71181  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
71182
71183else
71184  if test "$ac_cv_type_int" = yes; then
71185     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71186$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71187{ as_fn_set_status 77
71188as_fn_error "cannot compute sizeof (int)
71189See \`config.log' for more details." "$LINENO" 5; }; }
71190   else
71191     ac_cv_sizeof_int=0
71192   fi
71193fi
71194
71195fi
71196{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
71197$as_echo "$ac_cv_sizeof_int" >&6; }
71198
71199
71200
71201cat >>confdefs.h <<_ACEOF
71202#define SIZEOF_INT $ac_cv_sizeof_int
71203_ACEOF
71204
71205
71206  # The cast to long int works around a bug in the HP C Compiler
71207# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71208# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71209# This bug is HP SR number 8606223364.
71210{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
71211$as_echo_n "checking size of short... " >&6; }
71212if test "${ac_cv_sizeof_short+set}" = set; then :
71213  $as_echo_n "(cached) " >&6
71214else
71215  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
71216
71217else
71218  if test "$ac_cv_type_short" = yes; then
71219     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71220$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71221{ as_fn_set_status 77
71222as_fn_error "cannot compute sizeof (short)
71223See \`config.log' for more details." "$LINENO" 5; }; }
71224   else
71225     ac_cv_sizeof_short=0
71226   fi
71227fi
71228
71229fi
71230{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
71231$as_echo "$ac_cv_sizeof_short" >&6; }
71232
71233
71234
71235cat >>confdefs.h <<_ACEOF
71236#define SIZEOF_SHORT $ac_cv_sizeof_short
71237_ACEOF
71238
71239
71240  # The cast to long int works around a bug in the HP C Compiler
71241# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71242# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71243# This bug is HP SR number 8606223364.
71244{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
71245$as_echo_n "checking size of char... " >&6; }
71246if test "${ac_cv_sizeof_char+set}" = set; then :
71247  $as_echo_n "(cached) " >&6
71248else
71249  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
71250
71251else
71252  if test "$ac_cv_type_char" = yes; then
71253     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71254$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71255{ as_fn_set_status 77
71256as_fn_error "cannot compute sizeof (char)
71257See \`config.log' for more details." "$LINENO" 5; }; }
71258   else
71259     ac_cv_sizeof_char=0
71260   fi
71261fi
71262
71263fi
71264{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
71265$as_echo "$ac_cv_sizeof_char" >&6; }
71266
71267
71268
71269cat >>confdefs.h <<_ACEOF
71270#define SIZEOF_CHAR $ac_cv_sizeof_char
71271_ACEOF
71272
71273
71274
71275  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
71276$as_echo_n "checking for type equivalent to int8_t... " >&6; }
71277  case "$ac_cv_sizeof_char" in
71278    1) acx_cv_type_int8_t=char ;;
71279    *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
71280  esac
71281  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
71282$as_echo "$acx_cv_type_int8_t" >&6; }
71283
71284  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
71285$as_echo_n "checking for type equivalent to int16_t... " >&6; }
71286  case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
71287    2:*) acx_cv_type_int16_t=int ;;
71288    *:2) acx_cv_type_int16_t=short ;;
71289    *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
71290  esac
71291  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
71292$as_echo "$acx_cv_type_int16_t" >&6; }
71293
71294  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
71295$as_echo_n "checking for type equivalent to int32_t... " >&6; }
71296  case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
71297    4:*) acx_cv_type_int32_t=int ;;
71298    *:4) acx_cv_type_int32_t=long ;;
71299    *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
71300  esac
71301  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
71302$as_echo "$acx_cv_type_int32_t" >&6; }
71303fi
71304
71305# These tests are here to make the output prettier
71306
71307if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
71308  case "$ac_cv_sizeof_long" in
71309    8) acx_cv_type_int64_t=long ;;
71310  esac
71311  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
71312$as_echo_n "checking for type equivalent to int64_t... " >&6; }
71313  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
71314$as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
71315fi
71316
71317# Now we can use the above types
71318
71319if test "$ac_cv_type_uintptr_t" != yes; then
71320  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
71321$as_echo_n "checking for type equivalent to intptr_t... " >&6; }
71322  case $ac_cv_sizeof_void_p in
71323    2) acx_cv_type_intptr_t=int16_t ;;
71324    4) acx_cv_type_intptr_t=int32_t ;;
71325    8) acx_cv_type_intptr_t=int64_t ;;
71326    *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
71327  esac
71328  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
71329$as_echo "$acx_cv_type_intptr_t" >&6; }
71330fi
71331
71332# ----------------- done all checks, emit header -------------
71333ac_config_commands="$ac_config_commands include/gstdint.h"
71334
71335
71336
71337
71338
71339  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
71340$as_echo_n "checking for GNU c++filt... " >&6; }
71341if test "${ac_cv_path_CXXFILT+set}" = set; then :
71342  $as_echo_n "(cached) " >&6
71343else
71344  if test -z "$CXXFILT"; then
71345  ac_path_CXXFILT_found=false
71346  # Loop through the user's path and test for each of PROGNAME-LIST
71347  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71348for as_dir in $PATH
71349do
71350  IFS=$as_save_IFS
71351  test -z "$as_dir" && as_dir=.
71352    for ac_prog in c++filt gc++filt; do
71353    for ac_exec_ext in '' $ac_executable_extensions; do
71354      ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
71355      { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
71356# Check for GNU $ac_path_CXXFILT
71357case `"$ac_path_CXXFILT" --version 2>&1` in
71358*GNU*)
71359  ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
71360esac
71361
71362      $ac_path_CXXFILT_found && break 3
71363    done
71364  done
71365  done
71366IFS=$as_save_IFS
71367  if test -z "$ac_cv_path_CXXFILT"; then
71368    :
71369  fi
71370else
71371  ac_cv_path_CXXFILT=$CXXFILT
71372fi
71373
71374fi
71375{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
71376$as_echo "$ac_cv_path_CXXFILT" >&6; }
71377  CXXFILT=$ac_cv_path_CXXFILT
71378
71379
71380
71381 # Check whether --enable-symvers was given.
71382if test "${enable_symvers+set}" = set; then :
71383  enableval=$enable_symvers;
71384      case "$enableval" in
71385       yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
71386       *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
71387	  	        esac
71388
71389else
71390  enable_symvers=yes
71391fi
71392
71393
71394
71395# If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
71396# don't know enough about $LD to do tricks...
71397
71398# Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
71399# with extern "C++" in version scripts.
71400
71401
71402# Turn a 'yes' into a suitable default.
71403if test x$enable_symvers = xyes ; then
71404  if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
71405    enable_symvers=no
71406  else
71407    if test $with_gnu_ld = yes ; then
71408      case ${target_os} in
71409	hpux*)
71410	  enable_symvers=no ;;
71411	*)
71412	  enable_symvers=gnu ;;
71413      esac
71414    else
71415      case ${target_os} in
71416	darwin*)
71417	  enable_symvers=darwin ;;
71418	# Sun symbol versioning exists since Solaris 2.5.
71419	solaris2.[5-9]* | solaris2.1[0-9]*)
71420	  # make_sunver.pl needs GNU c++filt to support extern "C++" in
71421	  # version scripts, so disable symbol versioning if none can be
71422	  # found.
71423	  if test -z "$ac_cv_path_CXXFILT"; then
71424	    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
71425$as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
71426	    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could  be found." >&5
71427$as_echo "$as_me: WARNING: === no GNU c++filt could  be found." >&2;}
71428	    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71429$as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71430	    enable_symvers=no
71431	  else
71432	    enable_symvers=sun
71433	  fi
71434	  ;;
71435	*)
71436	  enable_symvers=no ;;
71437      esac
71438    fi
71439  fi
71440fi
71441
71442# Check to see if 'darwin' or 'darwin-export' can win.
71443if test x$enable_symvers = xdarwin-export ; then
71444    enable_symvers=darwin
71445fi
71446
71447# Check if 'sun' was requested on non-Solaris 2 platforms.
71448if test x$enable_symvers = xsun ; then
71449  case ${target_os} in
71450    solaris2*)
71451      # All fine.
71452      ;;
71453    *)
71454      # Unlikely to work.
71455      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
71456$as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
71457      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
71458$as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
71459      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71460$as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71461      enable_symvers=no
71462      ;;
71463  esac
71464fi
71465
71466# Check to see if 'gnu' can win.
71467if test $enable_symvers = gnu ||
71468  test $enable_symvers = gnu-versioned-namespace ||
71469  test $enable_symvers = sun; then
71470  # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
71471  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
71472$as_echo_n "checking for shared libgcc... " >&6; }
71473  ac_save_CFLAGS="$CFLAGS"
71474  CFLAGS=' -lgcc_s'
71475  if test x$gcc_no_link = xyes; then
71476  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71477fi
71478cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71479/* end confdefs.h.  */
71480
71481int
71482main ()
71483{
71484return 0;
71485  ;
71486  return 0;
71487}
71488_ACEOF
71489if ac_fn_c_try_link "$LINENO"; then :
71490  glibcxx_shared_libgcc=yes
71491else
71492  glibcxx_shared_libgcc=no
71493fi
71494rm -f core conftest.err conftest.$ac_objext \
71495    conftest$ac_exeext conftest.$ac_ext
71496  CFLAGS="$ac_save_CFLAGS"
71497  if test $glibcxx_shared_libgcc = no; then
71498    cat > conftest.c <<EOF
71499int main (void) { return 0; }
71500EOF
71501    glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
71502			     -shared -shared-libgcc -o conftest.so \
71503			     conftest.c -v 2>&1 >/dev/null \
71504			     | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
71505    rm -f conftest.c conftest.so
71506    if test x${glibcxx_libgcc_s_suffix+set} = xset; then
71507      CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
71508      if test x$gcc_no_link = xyes; then
71509  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71510fi
71511cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71512/* end confdefs.h.  */
71513
71514int
71515main ()
71516{
71517return 0;
71518  ;
71519  return 0;
71520}
71521_ACEOF
71522if ac_fn_c_try_link "$LINENO"; then :
71523  glibcxx_shared_libgcc=yes
71524fi
71525rm -f core conftest.err conftest.$ac_objext \
71526    conftest$ac_exeext conftest.$ac_ext
71527      CFLAGS="$ac_save_CFLAGS"
71528    fi
71529  fi
71530  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
71531$as_echo "$glibcxx_shared_libgcc" >&6; }
71532
71533  # For GNU ld, we need at least this version.  The format is described in
71534  # GLIBCXX_CHECK_LINKER_FEATURES above.
71535  glibcxx_min_gnu_ld_version=21400
71536
71537  # If no shared libgcc, can't win.
71538  if test $glibcxx_shared_libgcc != yes; then
71539      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
71540$as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
71541      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
71542$as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
71543      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71544$as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71545      enable_symvers=no
71546  elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
71547    : All interesting versions of Sun ld support sun style symbol versioning.
71548  elif test $with_gnu_ld != yes ; then
71549    # just fail for now
71550    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
71551$as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
71552    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
71553$as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
71554    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71555$as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71556    enable_symvers=no
71557  elif test $glibcxx_ld_is_gold = yes ; then
71558    : All versions of gold support symbol versioning.
71559  elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
71560    # The right tools, the right setup, but too old.  Fallbacks?
71561    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
71562$as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
71563    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
71564$as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
71565    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
71566$as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
71567    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
71568$as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
71569    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71570$as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71571    enable_symvers=no
71572  fi
71573fi
71574
71575# For libtool versioning info, format is CURRENT:REVISION:AGE
71576libtool_VERSION=6:18:0
71577
71578# Everything parsed; figure out what files and settings to use.
71579case $enable_symvers in
71580  no)
71581    SYMVER_FILE=config/abi/pre/none.ver
71582    ;;
71583  gnu)
71584    SYMVER_FILE=config/abi/pre/gnu.ver
71585
71586$as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
71587
71588    ;;
71589  gnu-versioned-namespace)
71590    libtool_VERSION=7:0:0
71591    SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
71592
71593$as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
71594
71595    ;;
71596  darwin)
71597    SYMVER_FILE=config/abi/pre/gnu.ver
71598
71599$as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
71600
71601    ;;
71602  sun)
71603    SYMVER_FILE=config/abi/pre/gnu.ver
71604
71605$as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
71606
71607    ;;
71608esac
71609
71610if test x$enable_symvers != xno ; then
71611
71612$as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
71613
71614fi
71615
71616{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
71617$as_echo_n "checking whether the target supports .symver directive... " >&6; }
71618if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
71619  $as_echo_n "(cached) " >&6
71620else
71621
71622  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71623/* end confdefs.h.  */
71624void foo (void); __asm (".symver foo, bar@SYMVER");
71625int
71626main ()
71627{
71628
71629  ;
71630  return 0;
71631}
71632_ACEOF
71633if ac_fn_c_try_compile "$LINENO"; then :
71634  glibcxx_cv_have_as_symver_directive=yes
71635else
71636  glibcxx_cv_have_as_symver_directive=no
71637fi
71638rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71639fi
71640{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
71641$as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
71642if test $glibcxx_cv_have_as_symver_directive = yes; then
71643
71644$as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
71645
71646fi
71647
71648
71649
71650
71651
71652
71653
71654
71655{ $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
71656$as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
71657
71658if test $enable_symvers != no ; then
71659   case ${target_os} in
71660     # The Solaris 2 runtime linker doesn't support the GNU extension of
71661     # binding the same symbol to different versions
71662     solaris2*)
71663       ;;
71664     # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
71665     *)
71666
71667$as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
71668
71669       ;;
71670    esac
71671fi
71672
71673# Now, set up compatibility support, if any.
71674# In addition, need this to deal with std::size_t mangling in
71675# src/compatibility.cc.  In a perfect world, could use
71676# typeid(std::size_t).name()[0] to do direct substitution.
71677{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
71678$as_echo_n "checking for size_t as unsigned int... " >&6; }
71679ac_save_CFLAGS="$CFLAGS"
71680CFLAGS="-Werror"
71681cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71682/* end confdefs.h.  */
71683
71684int
71685main ()
71686{
71687__SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
71688  ;
71689  return 0;
71690}
71691_ACEOF
71692if ac_fn_c_try_compile "$LINENO"; then :
71693  glibcxx_size_t_is_i=yes
71694else
71695  glibcxx_size_t_is_i=no
71696fi
71697rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71698CFLAGS=$ac_save_CFLAGS
71699if test "$glibcxx_size_t_is_i" = yes; then
71700
71701$as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
71702
71703fi
71704{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
71705$as_echo "$glibcxx_size_t_is_i" >&6; }
71706
71707{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
71708$as_echo_n "checking for ptrdiff_t as int... " >&6; }
71709ac_save_CFLAGS="$CFLAGS"
71710CFLAGS="-Werror"
71711cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71712/* end confdefs.h.  */
71713
71714int
71715main ()
71716{
71717__PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
71718  ;
71719  return 0;
71720}
71721_ACEOF
71722if ac_fn_c_try_compile "$LINENO"; then :
71723  glibcxx_ptrdiff_t_is_i=yes
71724else
71725  glibcxx_ptrdiff_t_is_i=no
71726fi
71727rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71728CFLAGS=$ac_save_CFLAGS
71729if test "$glibcxx_ptrdiff_t_is_i" = yes; then
71730
71731$as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
71732
71733fi
71734{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
71735$as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
71736
71737
71738
71739
71740 # Check whether --enable-libstdcxx-visibility was given.
71741if test "${enable_libstdcxx_visibility+set}" = set; then :
71742  enableval=$enable_libstdcxx_visibility;
71743      case "$enableval" in
71744       yes|no) ;;
71745       *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
71746      esac
71747
71748else
71749  enable_libstdcxx_visibility=yes
71750fi
71751
71752
71753
71754if test x$enable_libstdcxx_visibility = xyes ; then
71755      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
71756$as_echo_n "checking whether the target supports hidden visibility... " >&6; }
71757if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
71758  $as_echo_n "(cached) " >&6
71759else
71760
71761  save_CFLAGS="$CFLAGS"
71762  CFLAGS="$CFLAGS -Werror"
71763  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71764/* end confdefs.h.  */
71765void __attribute__((visibility("hidden"))) foo(void) { }
71766int
71767main ()
71768{
71769
71770  ;
71771  return 0;
71772}
71773_ACEOF
71774if ac_fn_c_try_compile "$LINENO"; then :
71775  glibcxx_cv_have_attribute_visibility=yes
71776else
71777  glibcxx_cv_have_attribute_visibility=no
71778fi
71779rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71780  CFLAGS="$save_CFLAGS"
71781fi
71782{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
71783$as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
71784  if test $glibcxx_cv_have_attribute_visibility = no; then
71785    enable_libstdcxx_visibility=no
71786  fi
71787fi
71788
71789
71790{ $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
71791$as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
71792
71793
71794ac_ldbl_compat=no
71795case "$target" in
71796  powerpc*-*-linux* | \
71797  sparc*-*-linux* | \
71798  s390*-*-linux* | \
71799  alpha*-*-linux*)
71800  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71801/* end confdefs.h.  */
71802
71803int
71804main ()
71805{
71806
71807#if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
71808#error no need for long double compatibility
71809#endif
71810
71811  ;
71812  return 0;
71813}
71814_ACEOF
71815if ac_fn_c_try_compile "$LINENO"; then :
71816  ac_ldbl_compat=yes
71817else
71818  ac_ldbl_compat=no
71819fi
71820rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71821  if test "$ac_ldbl_compat" = yes; then
71822
71823$as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
71824
71825    port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
71826  fi
71827esac
71828
71829
71830# Check if assembler supports disabling hardware capability support.
71831
71832  test -z "$HWCAP_FLAGS" && HWCAP_FLAGS=''
71833
71834  # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
71835  # with a different meaning.
71836  case ${target_os} in
71837    solaris2*)
71838      ac_save_CFLAGS="$CFLAGS"
71839      CFLAGS="$CFLAGS -Wa,-nH"
71840
71841      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
71842$as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
71843      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71844/* end confdefs.h.  */
71845
71846int
71847main ()
71848{
71849return 0;
71850  ;
71851  return 0;
71852}
71853_ACEOF
71854if ac_fn_c_try_compile "$LINENO"; then :
71855  ac_hwcap_flags=yes
71856else
71857  ac_hwcap_flags=no
71858fi
71859rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71860      if test "$ac_hwcap_flags" = "yes"; then
71861	HWCAP_FLAGS="-Wa,-nH $HWCAP_FLAGS"
71862      fi
71863      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
71864$as_echo "$ac_hwcap_flags" >&6; }
71865
71866      CFLAGS="$ac_save_CFLAGS"
71867      ;;
71868  esac
71869
71870
71871
71872
71873# Check if assembler supports rdrand opcode.
71874
71875  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
71876$as_echo_n "checking for rdrand support in assembler... " >&6; }
71877  if test "${ac_cv_x86_rdrand+set}" = set; then :
71878  $as_echo_n "(cached) " >&6
71879else
71880
71881  ac_cv_x86_rdrand=no
71882  case "$target" in
71883    i?86-*-* | \
71884    x86_64-*-*)
71885    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71886/* end confdefs.h.  */
71887
71888int
71889main ()
71890{
71891asm("rdrand %eax");
71892  ;
71893  return 0;
71894}
71895_ACEOF
71896if ac_fn_c_try_compile "$LINENO"; then :
71897  ac_cv_x86_rdrand=yes
71898else
71899  ac_cv_x86_rdrand=no
71900fi
71901rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71902  esac
71903
71904fi
71905
71906  if test $ac_cv_x86_rdrand = yes; then
71907
71908$as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
71909
71910  fi
71911  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
71912$as_echo "$ac_cv_x86_rdrand" >&6; }
71913
71914
71915# This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
71916
71917  if $GLIBCXX_IS_NATIVE ; then
71918    # Do checks for resource limit functions.
71919
71920  setrlimit_have_headers=yes
71921  for ac_header in unistd.h sys/time.h sys/resource.h
71922do :
71923  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
71924ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
71925eval as_val=\$$as_ac_Header
71926   if test "x$as_val" = x""yes; then :
71927  cat >>confdefs.h <<_ACEOF
71928#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
71929_ACEOF
71930
71931else
71932  setrlimit_have_headers=no
71933fi
71934
71935done
71936
71937  # If don't have the headers, then we can't run the tests now, and we
71938  # won't be seeing any of these during testsuite compilation.
71939  if test $setrlimit_have_headers = yes; then
71940    # Can't do these in a loop, else the resulting syntax is wrong.
71941
71942  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
71943$as_echo_n "checking for RLIMIT_DATA... " >&6; }
71944  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71945/* end confdefs.h.  */
71946#include <unistd.h>
71947     #include <sys/time.h>
71948     #include <sys/resource.h>
71949
71950int
71951main ()
71952{
71953 int f = RLIMIT_DATA ;
71954  ;
71955  return 0;
71956}
71957_ACEOF
71958if ac_fn_c_try_compile "$LINENO"; then :
71959  glibcxx_mresult=1
71960else
71961  glibcxx_mresult=0
71962fi
71963rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71964
71965cat >>confdefs.h <<_ACEOF
71966#define HAVE_LIMIT_DATA $glibcxx_mresult
71967_ACEOF
71968
71969  if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
71970  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
71971$as_echo "$res" >&6; }
71972
71973
71974  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
71975$as_echo_n "checking for RLIMIT_RSS... " >&6; }
71976  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71977/* end confdefs.h.  */
71978#include <unistd.h>
71979     #include <sys/time.h>
71980     #include <sys/resource.h>
71981
71982int
71983main ()
71984{
71985 int f = RLIMIT_RSS ;
71986  ;
71987  return 0;
71988}
71989_ACEOF
71990if ac_fn_c_try_compile "$LINENO"; then :
71991  glibcxx_mresult=1
71992else
71993  glibcxx_mresult=0
71994fi
71995rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71996
71997cat >>confdefs.h <<_ACEOF
71998#define HAVE_LIMIT_RSS $glibcxx_mresult
71999_ACEOF
72000
72001  if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
72002  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
72003$as_echo "$res" >&6; }
72004
72005
72006  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
72007$as_echo_n "checking for RLIMIT_VMEM... " >&6; }
72008  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72009/* end confdefs.h.  */
72010#include <unistd.h>
72011     #include <sys/time.h>
72012     #include <sys/resource.h>
72013
72014int
72015main ()
72016{
72017 int f = RLIMIT_VMEM ;
72018  ;
72019  return 0;
72020}
72021_ACEOF
72022if ac_fn_c_try_compile "$LINENO"; then :
72023  glibcxx_mresult=1
72024else
72025  glibcxx_mresult=0
72026fi
72027rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72028
72029cat >>confdefs.h <<_ACEOF
72030#define HAVE_LIMIT_VMEM $glibcxx_mresult
72031_ACEOF
72032
72033  if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
72034  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
72035$as_echo "$res" >&6; }
72036
72037
72038  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
72039$as_echo_n "checking for RLIMIT_AS... " >&6; }
72040  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72041/* end confdefs.h.  */
72042#include <unistd.h>
72043     #include <sys/time.h>
72044     #include <sys/resource.h>
72045
72046int
72047main ()
72048{
72049 int f = RLIMIT_AS ;
72050  ;
72051  return 0;
72052}
72053_ACEOF
72054if ac_fn_c_try_compile "$LINENO"; then :
72055  glibcxx_mresult=1
72056else
72057  glibcxx_mresult=0
72058fi
72059rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72060
72061cat >>confdefs.h <<_ACEOF
72062#define HAVE_LIMIT_AS $glibcxx_mresult
72063_ACEOF
72064
72065  if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
72066  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
72067$as_echo "$res" >&6; }
72068
72069
72070  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
72071$as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
72072  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72073/* end confdefs.h.  */
72074#include <unistd.h>
72075     #include <sys/time.h>
72076     #include <sys/resource.h>
72077
72078int
72079main ()
72080{
72081 int f = RLIMIT_FSIZE ;
72082  ;
72083  return 0;
72084}
72085_ACEOF
72086if ac_fn_c_try_compile "$LINENO"; then :
72087  glibcxx_mresult=1
72088else
72089  glibcxx_mresult=0
72090fi
72091rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72092
72093cat >>confdefs.h <<_ACEOF
72094#define HAVE_LIMIT_FSIZE $glibcxx_mresult
72095_ACEOF
72096
72097  if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
72098  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
72099$as_echo "$res" >&6; }
72100
72101
72102    # Check for rlimit, setrlimit.
72103    if test "${glibcxx_cv_setrlimit+set}" = set; then :
72104  $as_echo_n "(cached) " >&6
72105else
72106
72107      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72108/* end confdefs.h.  */
72109#include <unistd.h>
72110	 #include <sys/time.h>
72111	 #include <sys/resource.h>
72112
72113int
72114main ()
72115{
72116struct rlimit r;
72117	 setrlimit(0, &r);
72118  ;
72119  return 0;
72120}
72121_ACEOF
72122if ac_fn_c_try_compile "$LINENO"; then :
72123  glibcxx_cv_setrlimit=yes
72124else
72125  glibcxx_cv_setrlimit=no
72126fi
72127rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72128
72129fi
72130
72131  fi
72132
72133  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
72134$as_echo_n "checking for testsuite resource limits support... " >&6; }
72135  if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
72136    ac_res_limits=yes
72137
72138$as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
72139
72140  else
72141    ac_res_limits=no
72142  fi
72143  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
72144$as_echo "$ac_res_limits" >&6; }
72145
72146
72147    # Look for setenv, so that extended locale tests can be performed.
72148
72149  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
72150$as_echo_n "checking for setenv declaration... " >&6; }
72151  if test x${glibcxx_cv_func_setenv_use+set} != xset; then
72152    if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
72153  $as_echo_n "(cached) " >&6
72154else
72155
72156
72157      ac_ext=cpp
72158ac_cpp='$CXXCPP $CPPFLAGS'
72159ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72160ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72161ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72162
72163      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72164/* end confdefs.h.  */
72165#include <stdlib.h>
72166int
72167main ()
72168{
72169 setenv(0, 0, 0);
72170  ;
72171  return 0;
72172}
72173_ACEOF
72174if ac_fn_cxx_try_compile "$LINENO"; then :
72175  glibcxx_cv_func_setenv_use=yes
72176else
72177  glibcxx_cv_func_setenv_use=no
72178fi
72179rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72180      ac_ext=c
72181ac_cpp='$CPP $CPPFLAGS'
72182ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72183ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72184ac_compiler_gnu=$ac_cv_c_compiler_gnu
72185
72186
72187fi
72188
72189  fi
72190  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
72191$as_echo "$glibcxx_cv_func_setenv_use" >&6; }
72192  if test x$glibcxx_cv_func_setenv_use = x"yes"; then
72193    for ac_func in setenv
72194do :
72195  ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
72196if test "x$ac_cv_func_setenv" = x""yes; then :
72197  cat >>confdefs.h <<_ACEOF
72198#define HAVE_SETENV 1
72199_ACEOF
72200
72201fi
72202done
72203
72204  fi
72205
72206  fi
72207
72208  if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
72209     test $enable_symvers != no; then
72210    case "$host" in
72211      *-*-cygwin*)
72212	enable_abi_check=no ;;
72213      *)
72214	enable_abi_check=yes ;;
72215    esac
72216  else
72217    # Only build this as native, since automake does not understand
72218    # CXX_FOR_BUILD.
72219    enable_abi_check=no
72220  fi
72221
72222  # Export file names for ABI checking.
72223  baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
72224
72225  baseline_subdir_switch="$abi_baseline_subdir_switch"
72226
72227
72228
72229# For gthread support.  Depends on GLIBCXX_ENABLE_SYMVERS.
72230
72231   # Check whether --enable-libstdcxx-threads was given.
72232if test "${enable_libstdcxx_threads+set}" = set; then :
72233  enableval=$enable_libstdcxx_threads;
72234      case "$enableval" in
72235       yes|no) ;;
72236       *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
72237      esac
72238
72239else
72240  enable_libstdcxx_threads=auto
72241fi
72242
72243
72244
72245  if test x$enable_libstdcxx_threads = xauto ||
72246     test x$enable_libstdcxx_threads = xyes; then
72247
72248
72249  ac_ext=cpp
72250ac_cpp='$CXXCPP $CPPFLAGS'
72251ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72252ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72253ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72254
72255
72256  ac_save_CXXFLAGS="$CXXFLAGS"
72257  CXXFLAGS="$CXXFLAGS -fno-exceptions \
72258	-I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
72259
72260  target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
72261  case $target_thread_file in
72262    posix)
72263      CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
72264  esac
72265
72266  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
72267$as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
72268
72269  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72270/* end confdefs.h.  */
72271#include <unistd.h>
72272int
72273main ()
72274{
72275
72276      // In case of POSIX threads check _POSIX_TIMEOUTS.
72277      #if (defined(_PTHREADS) \
72278	  && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
72279      #error
72280      #endif
72281
72282  ;
72283  return 0;
72284}
72285_ACEOF
72286if ac_fn_cxx_try_compile "$LINENO"; then :
72287  ac_gthread_use_mutex_timedlock=1
72288else
72289  ac_gthread_use_mutex_timedlock=0
72290fi
72291rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72292
72293
72294cat >>confdefs.h <<_ACEOF
72295#define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
72296_ACEOF
72297
72298
72299  if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
72300  else res_mutex_timedlock=no ; fi
72301  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
72302$as_echo "$res_mutex_timedlock" >&6; }
72303
72304  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
72305$as_echo_n "checking for gthreads library... " >&6; }
72306
72307  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72308/* end confdefs.h.  */
72309#include "gthr.h"
72310int
72311main ()
72312{
72313
72314      #ifndef __GTHREADS_CXX0X
72315      #error
72316      #endif
72317
72318  ;
72319  return 0;
72320}
72321_ACEOF
72322if ac_fn_cxx_try_compile "$LINENO"; then :
72323  case $target_os in
72324	  # gthreads support breaks symbol versioning on Solaris 9 (PR
72325	  # libstdc++/52189).
72326          solaris2.9*)
72327	    if test x$enable_symvers = xno; then
72328	      ac_has_gthreads=yes
72329	    elif test x$enable_libstdcxx_threads = xyes; then
72330	      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You have requested C++11 threads support, but" >&5
72331$as_echo "$as_me: WARNING: You have requested C++11 threads support, but" >&2;}
72332	      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: this breaks symbol versioning." >&5
72333$as_echo "$as_me: WARNING: this breaks symbol versioning." >&2;}
72334	      ac_has_gthreads=yes
72335	    else
72336	      ac_has_gthreads=no
72337	    fi
72338	    ;;
72339	  *)
72340	    ac_has_gthreads=yes
72341	    ;;
72342        esac
72343else
72344  ac_has_gthreads=no
72345fi
72346rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72347  else
72348    ac_has_gthreads=no
72349  fi
72350
72351  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
72352$as_echo "$ac_has_gthreads" >&6; }
72353
72354  if test x"$ac_has_gthreads" = x"yes"; then
72355
72356$as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
72357
72358  fi
72359
72360  CXXFLAGS="$ac_save_CXXFLAGS"
72361  ac_ext=c
72362ac_cpp='$CPP $CPPFLAGS'
72363ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72364ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72365ac_compiler_gnu=$ac_cv_c_compiler_gnu
72366
72367
72368
72369# Define documentation rules conditionally.
72370
72371# See if makeinfo has been installed and is modern enough
72372# that we can use it.
72373
72374  # Extract the first word of "makeinfo", so it can be a program name with args.
72375set dummy makeinfo; ac_word=$2
72376{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72377$as_echo_n "checking for $ac_word... " >&6; }
72378if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
72379  $as_echo_n "(cached) " >&6
72380else
72381  if test -n "$MAKEINFO"; then
72382  ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
72383else
72384as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72385for as_dir in $PATH
72386do
72387  IFS=$as_save_IFS
72388  test -z "$as_dir" && as_dir=.
72389    for ac_exec_ext in '' $ac_executable_extensions; do
72390  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72391    ac_cv_prog_MAKEINFO="makeinfo"
72392    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72393    break 2
72394  fi
72395done
72396  done
72397IFS=$as_save_IFS
72398
72399fi
72400fi
72401MAKEINFO=$ac_cv_prog_MAKEINFO
72402if test -n "$MAKEINFO"; then
72403  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
72404$as_echo "$MAKEINFO" >&6; }
72405else
72406  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72407$as_echo "no" >&6; }
72408fi
72409
72410
72411  if test -n "$MAKEINFO"; then
72412    # Found it, now check the version.
72413    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
72414$as_echo_n "checking for modern makeinfo... " >&6; }
72415if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
72416  $as_echo_n "(cached) " >&6
72417else
72418  ac_prog_version=`eval $MAKEINFO --version 2>&1 |
72419                                     sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
72420
72421                    case $ac_prog_version in
72422                      '')  gcc_cv_prog_makeinfo_modern=no;;
72423                      4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*)  gcc_cv_prog_makeinfo_modern=yes;;
72424                      *)   gcc_cv_prog_makeinfo_modern=no;;
72425                    esac
72426
72427fi
72428{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
72429$as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
72430  else
72431    gcc_cv_prog_makeinfo_modern=no
72432  fi
72433  if test $gcc_cv_prog_makeinfo_modern = no; then
72434    MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
72435  fi
72436
72437 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
72438  BUILD_INFO_TRUE=
72439  BUILD_INFO_FALSE='#'
72440else
72441  BUILD_INFO_TRUE='#'
72442  BUILD_INFO_FALSE=
72443fi
72444
72445
72446# Check for doxygen
72447# Extract the first word of "doxygen", so it can be a program name with args.
72448set dummy doxygen; ac_word=$2
72449{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72450$as_echo_n "checking for $ac_word... " >&6; }
72451if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
72452  $as_echo_n "(cached) " >&6
72453else
72454  if test -n "$DOXYGEN"; then
72455  ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
72456else
72457as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72458for as_dir in $PATH
72459do
72460  IFS=$as_save_IFS
72461  test -z "$as_dir" && as_dir=.
72462    for ac_exec_ext in '' $ac_executable_extensions; do
72463  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72464    ac_cv_prog_DOXYGEN="yes"
72465    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72466    break 2
72467  fi
72468done
72469  done
72470IFS=$as_save_IFS
72471
72472  test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
72473fi
72474fi
72475DOXYGEN=$ac_cv_prog_DOXYGEN
72476if test -n "$DOXYGEN"; then
72477  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
72478$as_echo "$DOXYGEN" >&6; }
72479else
72480  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72481$as_echo "no" >&6; }
72482fi
72483
72484
72485# Extract the first word of "dot", so it can be a program name with args.
72486set dummy dot; ac_word=$2
72487{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72488$as_echo_n "checking for $ac_word... " >&6; }
72489if test "${ac_cv_prog_DOT+set}" = set; then :
72490  $as_echo_n "(cached) " >&6
72491else
72492  if test -n "$DOT"; then
72493  ac_cv_prog_DOT="$DOT" # Let the user override the test.
72494else
72495as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72496for as_dir in $PATH
72497do
72498  IFS=$as_save_IFS
72499  test -z "$as_dir" && as_dir=.
72500    for ac_exec_ext in '' $ac_executable_extensions; do
72501  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72502    ac_cv_prog_DOT="yes"
72503    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72504    break 2
72505  fi
72506done
72507  done
72508IFS=$as_save_IFS
72509
72510  test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
72511fi
72512fi
72513DOT=$ac_cv_prog_DOT
72514if test -n "$DOT"; then
72515  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
72516$as_echo "$DOT" >&6; }
72517else
72518  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72519$as_echo "no" >&6; }
72520fi
72521
72522
72523
72524# Check for docbook
72525# Extract the first word of "xsltproc", so it can be a program name with args.
72526set dummy xsltproc; ac_word=$2
72527{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72528$as_echo_n "checking for $ac_word... " >&6; }
72529if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
72530  $as_echo_n "(cached) " >&6
72531else
72532  if test -n "$XSLTPROC"; then
72533  ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
72534else
72535as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72536for as_dir in $PATH
72537do
72538  IFS=$as_save_IFS
72539  test -z "$as_dir" && as_dir=.
72540    for ac_exec_ext in '' $ac_executable_extensions; do
72541  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72542    ac_cv_prog_XSLTPROC="yes"
72543    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72544    break 2
72545  fi
72546done
72547  done
72548IFS=$as_save_IFS
72549
72550  test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
72551fi
72552fi
72553XSLTPROC=$ac_cv_prog_XSLTPROC
72554if test -n "$XSLTPROC"; then
72555  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
72556$as_echo "$XSLTPROC" >&6; }
72557else
72558  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72559$as_echo "no" >&6; }
72560fi
72561
72562
72563# Extract the first word of "xmllint", so it can be a program name with args.
72564set dummy xmllint; ac_word=$2
72565{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72566$as_echo_n "checking for $ac_word... " >&6; }
72567if test "${ac_cv_prog_XMLLINT+set}" = set; then :
72568  $as_echo_n "(cached) " >&6
72569else
72570  if test -n "$XMLLINT"; then
72571  ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
72572else
72573as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72574for as_dir in $PATH
72575do
72576  IFS=$as_save_IFS
72577  test -z "$as_dir" && as_dir=.
72578    for ac_exec_ext in '' $ac_executable_extensions; do
72579  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72580    ac_cv_prog_XMLLINT="yes"
72581    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72582    break 2
72583  fi
72584done
72585  done
72586IFS=$as_save_IFS
72587
72588  test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
72589fi
72590fi
72591XMLLINT=$ac_cv_prog_XMLLINT
72592if test -n "$XMLLINT"; then
72593  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
72594$as_echo "$XMLLINT" >&6; }
72595else
72596  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72597$as_echo "no" >&6; }
72598fi
72599
72600
72601
72602
72603{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
72604$as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
72605glibcxx_stylesheets=no
72606if test x${XSLTPROC} = xyes && echo '<title/>' | xsltproc --noout --nonet --xinclude http://docbook.sourceforge.net/release/xsl-ns/current/xhtml-1_1/docbook.xsl - 2>/dev/null; then
72607  glibcxx_stylesheets=yes
72608fi
72609{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
72610$as_echo "$glibcxx_stylesheets" >&6; }
72611
72612{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
72613$as_echo_n "checking for local stylesheet directory... " >&6; }
72614glibcxx_local_stylesheets=no
72615if test x"$glibcxx_stylesheets" = x"yes"; then
72616  if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
72617    glibcxx_local_stylesheets=yes
72618    XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
72619  fi
72620  if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
72621    glibcxx_local_stylesheets=yes
72622    XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
72623  fi
72624  if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
72625    glibcxx_local_stylesheets=yes
72626    XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
72627  fi
72628fi
72629{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
72630$as_echo "$glibcxx_local_stylesheets" >&6; }
72631
72632if test x"$glibcxx_local_stylesheets" = x"yes"; then
72633
72634  { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
72635$as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
72636else
72637  glibcxx_stylesheets=no
72638fi
72639
72640# Check for epub3 dependencies.
72641{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
72642$as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
72643glibcxx_epub_stylesheets=no
72644if test x"$glibcxx_local_stylesheets" = x"yes"; then
72645   if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
72646      glibcxx_epub_stylesheets=yes
72647   fi
72648fi
72649{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
72650$as_echo "$glibcxx_epub_stylesheets" >&6; }
72651 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
72652  BUILD_EPUB_TRUE=
72653  BUILD_EPUB_FALSE='#'
72654else
72655  BUILD_EPUB_TRUE='#'
72656  BUILD_EPUB_FALSE=
72657fi
72658
72659
72660
72661
72662# Check for xml/html dependencies.
72663 if test $ac_cv_prog_DOXYGEN = "yes" &&
72664	       test $ac_cv_prog_DOT = "yes" &&
72665	       test $ac_cv_prog_XSLTPROC = "yes" &&
72666	       test $ac_cv_prog_XMLLINT = "yes" &&
72667	       test $glibcxx_stylesheets = "yes"; then
72668  BUILD_XML_TRUE=
72669  BUILD_XML_FALSE='#'
72670else
72671  BUILD_XML_TRUE='#'
72672  BUILD_XML_FALSE=
72673fi
72674
72675
72676 if test $ac_cv_prog_DOXYGEN = "yes" &&
72677	       test $ac_cv_prog_DOT = "yes" &&
72678	       test $ac_cv_prog_XSLTPROC = "yes" &&
72679	       test $ac_cv_prog_XMLLINT = "yes" &&
72680	       test $glibcxx_stylesheets = "yes"; then
72681  BUILD_HTML_TRUE=
72682  BUILD_HTML_FALSE='#'
72683else
72684  BUILD_HTML_TRUE='#'
72685  BUILD_HTML_FALSE=
72686fi
72687
72688
72689# Check for man dependencies.
72690 if test $ac_cv_prog_DOXYGEN = "yes" &&
72691	       test $ac_cv_prog_DOT = "yes"; then
72692  BUILD_MAN_TRUE=
72693  BUILD_MAN_FALSE='#'
72694else
72695  BUILD_MAN_TRUE='#'
72696  BUILD_MAN_FALSE=
72697fi
72698
72699
72700# Check for pdf dependencies.
72701# Extract the first word of "dblatex", so it can be a program name with args.
72702set dummy dblatex; ac_word=$2
72703{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72704$as_echo_n "checking for $ac_word... " >&6; }
72705if test "${ac_cv_prog_DBLATEX+set}" = set; then :
72706  $as_echo_n "(cached) " >&6
72707else
72708  if test -n "$DBLATEX"; then
72709  ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
72710else
72711as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72712for as_dir in $PATH
72713do
72714  IFS=$as_save_IFS
72715  test -z "$as_dir" && as_dir=.
72716    for ac_exec_ext in '' $ac_executable_extensions; do
72717  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72718    ac_cv_prog_DBLATEX="yes"
72719    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72720    break 2
72721  fi
72722done
72723  done
72724IFS=$as_save_IFS
72725
72726  test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
72727fi
72728fi
72729DBLATEX=$ac_cv_prog_DBLATEX
72730if test -n "$DBLATEX"; then
72731  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
72732$as_echo "$DBLATEX" >&6; }
72733else
72734  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72735$as_echo "no" >&6; }
72736fi
72737
72738
72739# Extract the first word of "pdflatex", so it can be a program name with args.
72740set dummy pdflatex; ac_word=$2
72741{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72742$as_echo_n "checking for $ac_word... " >&6; }
72743if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
72744  $as_echo_n "(cached) " >&6
72745else
72746  if test -n "$PDFLATEX"; then
72747  ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
72748else
72749as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72750for as_dir in $PATH
72751do
72752  IFS=$as_save_IFS
72753  test -z "$as_dir" && as_dir=.
72754    for ac_exec_ext in '' $ac_executable_extensions; do
72755  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72756    ac_cv_prog_PDFLATEX="yes"
72757    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72758    break 2
72759  fi
72760done
72761  done
72762IFS=$as_save_IFS
72763
72764  test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
72765fi
72766fi
72767PDFLATEX=$ac_cv_prog_PDFLATEX
72768if test -n "$PDFLATEX"; then
72769  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
72770$as_echo "$PDFLATEX" >&6; }
72771else
72772  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72773$as_echo "no" >&6; }
72774fi
72775
72776
72777 if test $ac_cv_prog_DBLATEX = "yes" &&
72778	       test $ac_cv_prog_PDFLATEX = "yes"; then
72779  BUILD_PDF_TRUE=
72780  BUILD_PDF_FALSE='#'
72781else
72782  BUILD_PDF_TRUE='#'
72783  BUILD_PDF_FALSE=
72784fi
72785
72786
72787
72788# Propagate the target-specific source directories through the build chain.
72789ATOMICITY_SRCDIR=config/${atomicity_dir}
72790ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
72791ATOMIC_FLAGS=${atomic_flags}
72792CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
72793OS_INC_SRCDIR=config/${os_include_dir}
72794ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
72795ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
72796CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
72797CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
72798
72799
72800
72801
72802
72803
72804
72805
72806
72807
72808
72809# Determine cross-compile flags and AM_CONDITIONALs.
72810#AC_SUBST(GLIBCXX_IS_NATIVE)
72811#AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
72812    if test $is_hosted = yes; then
72813  GLIBCXX_HOSTED_TRUE=
72814  GLIBCXX_HOSTED_FALSE='#'
72815else
72816  GLIBCXX_HOSTED_TRUE='#'
72817  GLIBCXX_HOSTED_FALSE=
72818fi
72819
72820
72821    if test $enable_libstdcxx_pch = yes; then
72822  GLIBCXX_BUILD_PCH_TRUE=
72823  GLIBCXX_BUILD_PCH_FALSE='#'
72824else
72825  GLIBCXX_BUILD_PCH_TRUE='#'
72826  GLIBCXX_BUILD_PCH_FALSE=
72827fi
72828
72829
72830    if test $enable_cheaders = c; then
72831  GLIBCXX_C_HEADERS_C_TRUE=
72832  GLIBCXX_C_HEADERS_C_FALSE='#'
72833else
72834  GLIBCXX_C_HEADERS_C_TRUE='#'
72835  GLIBCXX_C_HEADERS_C_FALSE=
72836fi
72837
72838
72839    if test $enable_cheaders = c_std; then
72840  GLIBCXX_C_HEADERS_C_STD_TRUE=
72841  GLIBCXX_C_HEADERS_C_STD_FALSE='#'
72842else
72843  GLIBCXX_C_HEADERS_C_STD_TRUE='#'
72844  GLIBCXX_C_HEADERS_C_STD_FALSE=
72845fi
72846
72847
72848    if test $enable_cheaders = c_global; then
72849  GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
72850  GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
72851else
72852  GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
72853  GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
72854fi
72855
72856
72857    if test $c_compatibility = yes; then
72858  GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
72859  GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
72860else
72861  GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
72862  GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
72863fi
72864
72865
72866    if test $enable_libstdcxx_debug = yes; then
72867  GLIBCXX_BUILD_DEBUG_TRUE=
72868  GLIBCXX_BUILD_DEBUG_FALSE='#'
72869else
72870  GLIBCXX_BUILD_DEBUG_TRUE='#'
72871  GLIBCXX_BUILD_DEBUG_FALSE=
72872fi
72873
72874
72875    if test $enable_extern_template = yes; then
72876  ENABLE_EXTERN_TEMPLATE_TRUE=
72877  ENABLE_EXTERN_TEMPLATE_FALSE='#'
72878else
72879  ENABLE_EXTERN_TEMPLATE_TRUE='#'
72880  ENABLE_EXTERN_TEMPLATE_FALSE=
72881fi
72882
72883
72884    if test $python_mod_dir != no; then
72885  ENABLE_PYTHONDIR_TRUE=
72886  ENABLE_PYTHONDIR_FALSE='#'
72887else
72888  ENABLE_PYTHONDIR_TRUE='#'
72889  ENABLE_PYTHONDIR_FALSE=
72890fi
72891
72892
72893    if test $enable_werror = yes; then
72894  ENABLE_WERROR_TRUE=
72895  ENABLE_WERROR_FALSE='#'
72896else
72897  ENABLE_WERROR_TRUE='#'
72898  ENABLE_WERROR_FALSE=
72899fi
72900
72901
72902    if test $enable_symvers != no; then
72903  ENABLE_SYMVERS_TRUE=
72904  ENABLE_SYMVERS_FALSE='#'
72905else
72906  ENABLE_SYMVERS_TRUE='#'
72907  ENABLE_SYMVERS_FALSE=
72908fi
72909
72910
72911    if test $enable_symvers = gnu; then
72912  ENABLE_SYMVERS_GNU_TRUE=
72913  ENABLE_SYMVERS_GNU_FALSE='#'
72914else
72915  ENABLE_SYMVERS_GNU_TRUE='#'
72916  ENABLE_SYMVERS_GNU_FALSE=
72917fi
72918
72919
72920    if test $enable_symvers = gnu-versioned-namespace; then
72921  ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
72922  ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
72923else
72924  ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
72925  ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
72926fi
72927
72928
72929    if test $enable_symvers = darwin; then
72930  ENABLE_SYMVERS_DARWIN_TRUE=
72931  ENABLE_SYMVERS_DARWIN_FALSE='#'
72932else
72933  ENABLE_SYMVERS_DARWIN_TRUE='#'
72934  ENABLE_SYMVERS_DARWIN_FALSE=
72935fi
72936
72937
72938    if test $enable_symvers = sun; then
72939  ENABLE_SYMVERS_SUN_TRUE=
72940  ENABLE_SYMVERS_SUN_FALSE='#'
72941else
72942  ENABLE_SYMVERS_SUN_TRUE='#'
72943  ENABLE_SYMVERS_SUN_FALSE=
72944fi
72945
72946
72947    if test $enable_libstdcxx_visibility = yes; then
72948  ENABLE_VISIBILITY_TRUE=
72949  ENABLE_VISIBILITY_FALSE='#'
72950else
72951  ENABLE_VISIBILITY_TRUE='#'
72952  ENABLE_VISIBILITY_FALSE=
72953fi
72954
72955
72956    if test $ac_ldbl_compat = yes; then
72957  GLIBCXX_LDBL_COMPAT_TRUE=
72958  GLIBCXX_LDBL_COMPAT_FALSE='#'
72959else
72960  GLIBCXX_LDBL_COMPAT_TRUE='#'
72961  GLIBCXX_LDBL_COMPAT_FALSE=
72962fi
72963
72964
72965
72966
72967cat >confcache <<\_ACEOF
72968# This file is a shell script that caches the results of configure
72969# tests run on this system so they can be shared between configure
72970# scripts and configure runs, see configure's option --config-cache.
72971# It is not useful on other systems.  If it contains results you don't
72972# want to keep, you may remove or edit it.
72973#
72974# config.status only pays attention to the cache file if you give it
72975# the --recheck option to rerun configure.
72976#
72977# `ac_cv_env_foo' variables (set or unset) will be overridden when
72978# loading this file, other *unset* `ac_cv_foo' will be assigned the
72979# following values.
72980
72981_ACEOF
72982
72983# The following way of writing the cache mishandles newlines in values,
72984# but we know of no workaround that is simple, portable, and efficient.
72985# So, we kill variables containing newlines.
72986# Ultrix sh set writes to stderr and can't be redirected directly,
72987# and sets the high bit in the cache file unless we assign to the vars.
72988(
72989  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
72990    eval ac_val=\$$ac_var
72991    case $ac_val in #(
72992    *${as_nl}*)
72993      case $ac_var in #(
72994      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
72995$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
72996      esac
72997      case $ac_var in #(
72998      _ | IFS | as_nl) ;; #(
72999      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
73000      *) { eval $ac_var=; unset $ac_var;} ;;
73001      esac ;;
73002    esac
73003  done
73004
73005  (set) 2>&1 |
73006    case $as_nl`(ac_space=' '; set) 2>&1` in #(
73007    *${as_nl}ac_space=\ *)
73008      # `set' does not quote correctly, so add quotes: double-quote
73009      # substitution turns \\\\ into \\, and sed turns \\ into \.
73010      sed -n \
73011	"s/'/'\\\\''/g;
73012	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
73013      ;; #(
73014    *)
73015      # `set' quotes correctly as required by POSIX, so do not add quotes.
73016      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
73017      ;;
73018    esac |
73019    sort
73020) |
73021  sed '
73022     /^ac_cv_env_/b end
73023     t clear
73024     :clear
73025     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
73026     t end
73027     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
73028     :end' >>confcache
73029if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
73030  if test -w "$cache_file"; then
73031    test "x$cache_file" != "x/dev/null" &&
73032      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
73033$as_echo "$as_me: updating cache $cache_file" >&6;}
73034    cat confcache >$cache_file
73035  else
73036    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
73037$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
73038  fi
73039fi
73040rm -f confcache
73041
73042if test ${multilib} = yes; then
73043  multilib_arg="--enable-multilib"
73044else
73045  multilib_arg=
73046fi
73047
73048# Export all the install information.
73049
73050  glibcxx_toolexecdir=no
73051  glibcxx_toolexeclibdir=no
73052  glibcxx_prefixdir=$prefix
73053
73054  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
73055$as_echo_n "checking for gxx-include-dir... " >&6; }
73056
73057# Check whether --with-gxx-include-dir was given.
73058if test "${with_gxx_include_dir+set}" = set; then :
73059  withval=$with_gxx_include_dir; case "$withval" in
73060      yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
73061      no)  gxx_include_dir=no ;;
73062      *)   gxx_include_dir=$withval ;;
73063     esac
73064else
73065  gxx_include_dir=no
73066fi
73067
73068  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
73069$as_echo "$gxx_include_dir" >&6; }
73070
73071  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
73072$as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
73073  # Check whether --enable-version-specific-runtime-libs was given.
73074if test "${enable_version_specific_runtime_libs+set}" = set; then :
73075  enableval=$enable_version_specific_runtime_libs; case "$enableval" in
73076      yes) version_specific_libs=yes ;;
73077      no)  version_specific_libs=no ;;
73078      *)   as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
73079     esac
73080else
73081  version_specific_libs=no
73082fi
73083
73084  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
73085$as_echo "$version_specific_libs" >&6; }
73086
73087  # Default case for install directory for include files.
73088  if test $version_specific_libs = no && test $gxx_include_dir = no; then
73089    gxx_include_dir='include/c++/${gcc_version}'
73090    if test -n "$with_cross_host" &&
73091       test x"$with_cross_host" != x"no"; then
73092      gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
73093    else
73094      gxx_include_dir='${prefix}/'"$gxx_include_dir"
73095    fi
73096  fi
73097
73098  # Version-specific runtime libs processing.
73099  if test $version_specific_libs = yes; then
73100    # Need the gcc compiler version to know where to install libraries
73101    # and header files if --enable-version-specific-runtime-libs option
73102    # is selected.  FIXME: these variables are misnamed, there are
73103    # no executables installed in _toolexecdir or _toolexeclibdir.
73104    if test x"$gxx_include_dir" = x"no"; then
73105      gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
73106    fi
73107    glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
73108    glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
73109  fi
73110
73111  # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
73112  # Install a library built with a cross compiler in tooldir, not libdir.
73113  if test x"$glibcxx_toolexecdir" = x"no"; then
73114    if test -n "$with_cross_host" &&
73115       test x"$with_cross_host" != x"no"; then
73116      glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
73117      glibcxx_toolexeclibdir='${toolexecdir}/lib'
73118    else
73119      glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
73120      glibcxx_toolexeclibdir='${libdir}'
73121    fi
73122    multi_os_directory=`$CXX -print-multi-os-directory`
73123    case $multi_os_directory in
73124      .) ;; # Avoid trailing /.
73125      *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
73126    esac
73127  fi
73128
73129  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
73130$as_echo_n "checking for install location... " >&6; }
73131  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
73132$as_echo "$gxx_include_dir" >&6; }
73133
73134
73135
73136
73137
73138
73139
73140# Export all the include and flag information to Makefiles.
73141
73142  # Used for every C++ compile we perform.
73143  GLIBCXX_INCLUDES="\
73144-I$glibcxx_builddir/include/$host_alias \
73145-I$glibcxx_builddir/include \
73146-I$glibcxx_srcdir/libsupc++"
73147
73148  # For Canadian crosses, pick this up too.
73149  if test $CANADIAN = yes; then
73150    GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
73151  fi
73152
73153  # Stuff in the actual top level.  Currently only used by libsupc++ to
73154  # get unwind* headers from the libgcc dir.
73155  #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
73156  TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
73157
73158  # Now, export this to all the little Makefiles....
73159
73160
73161
73162
73163  # Optimization flags that are probably a good idea for thrill-seekers. Just
73164  # uncomment the lines below and make, everything else is ready to go...
73165  # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
73166  # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
73167
73168
73169  WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
73170
73171
73172
73173ac_config_files="$ac_config_files Makefile"
73174
73175ac_config_files="$ac_config_files scripts/testsuite_flags"
73176
73177ac_config_files="$ac_config_files scripts/extract_symvers"
73178
73179ac_config_files="$ac_config_files doc/xsl/customization.xsl"
73180
73181
73182# Multilibs need MULTISUBDIR defined correctly in certain makefiles so
73183# that multilib installs will end up installed in the correct place.
73184# The testsuite needs it for multilib-aware ABI baseline files.
73185# To work around this not being passed down from config-ml.in ->
73186# srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
73187# append it here.  Only modify Makefiles that have just been created.
73188#
73189# Also, get rid of this simulated-VPATH thing that automake does.
73190ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile python/Makefile src/Makefile src/c++98/Makefile src/c++11/Makefile doc/Makefile po/Makefile testsuite/Makefile"
73191
73192
73193ac_config_commands="$ac_config_commands generate-headers"
73194
73195
73196cat >confcache <<\_ACEOF
73197# This file is a shell script that caches the results of configure
73198# tests run on this system so they can be shared between configure
73199# scripts and configure runs, see configure's option --config-cache.
73200# It is not useful on other systems.  If it contains results you don't
73201# want to keep, you may remove or edit it.
73202#
73203# config.status only pays attention to the cache file if you give it
73204# the --recheck option to rerun configure.
73205#
73206# `ac_cv_env_foo' variables (set or unset) will be overridden when
73207# loading this file, other *unset* `ac_cv_foo' will be assigned the
73208# following values.
73209
73210_ACEOF
73211
73212# The following way of writing the cache mishandles newlines in values,
73213# but we know of no workaround that is simple, portable, and efficient.
73214# So, we kill variables containing newlines.
73215# Ultrix sh set writes to stderr and can't be redirected directly,
73216# and sets the high bit in the cache file unless we assign to the vars.
73217(
73218  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
73219    eval ac_val=\$$ac_var
73220    case $ac_val in #(
73221    *${as_nl}*)
73222      case $ac_var in #(
73223      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
73224$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
73225      esac
73226      case $ac_var in #(
73227      _ | IFS | as_nl) ;; #(
73228      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
73229      *) { eval $ac_var=; unset $ac_var;} ;;
73230      esac ;;
73231    esac
73232  done
73233
73234  (set) 2>&1 |
73235    case $as_nl`(ac_space=' '; set) 2>&1` in #(
73236    *${as_nl}ac_space=\ *)
73237      # `set' does not quote correctly, so add quotes: double-quote
73238      # substitution turns \\\\ into \\, and sed turns \\ into \.
73239      sed -n \
73240	"s/'/'\\\\''/g;
73241	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
73242      ;; #(
73243    *)
73244      # `set' quotes correctly as required by POSIX, so do not add quotes.
73245      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
73246      ;;
73247    esac |
73248    sort
73249) |
73250  sed '
73251     /^ac_cv_env_/b end
73252     t clear
73253     :clear
73254     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
73255     t end
73256     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
73257     :end' >>confcache
73258if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
73259  if test -w "$cache_file"; then
73260    test "x$cache_file" != "x/dev/null" &&
73261      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
73262$as_echo "$as_me: updating cache $cache_file" >&6;}
73263    cat confcache >$cache_file
73264  else
73265    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
73266$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
73267  fi
73268fi
73269rm -f confcache
73270
73271test "x$prefix" = xNONE && prefix=$ac_default_prefix
73272# Let make expand exec_prefix.
73273test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
73274
73275DEFS=-DHAVE_CONFIG_H
73276
73277ac_libobjs=
73278ac_ltlibobjs=
73279for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
73280  # 1. Remove the extension, and $U if already installed.
73281  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
73282  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
73283  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
73284  #    will be set to the directory where LIBOBJS objects are built.
73285  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
73286  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
73287done
73288LIBOBJS=$ac_libobjs
73289
73290LTLIBOBJS=$ac_ltlibobjs
73291
73292
73293 if test -n "$EXEEXT"; then
73294  am__EXEEXT_TRUE=
73295  am__EXEEXT_FALSE='#'
73296else
73297  am__EXEEXT_TRUE='#'
73298  am__EXEEXT_FALSE=
73299fi
73300
73301if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
73302  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
73303Usually this means the macro was only invoked conditionally." "$LINENO" 5
73304fi
73305if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
73306  as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
73307Usually this means the macro was only invoked conditionally." "$LINENO" 5
73308fi
73309if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
73310  as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
73311Usually this means the macro was only invoked conditionally." "$LINENO" 5
73312fi
73313if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
73314  as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
73315Usually this means the macro was only invoked conditionally." "$LINENO" 5
73316fi
73317if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
73318  as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
73319Usually this means the macro was only invoked conditionally." "$LINENO" 5
73320fi
73321if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
73322  as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
73323Usually this means the macro was only invoked conditionally." "$LINENO" 5
73324fi
73325if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
73326  as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
73327Usually this means the macro was only invoked conditionally." "$LINENO" 5
73328fi
73329if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
73330  as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
73331Usually this means the macro was only invoked conditionally." "$LINENO" 5
73332fi
73333if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
73334  as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
73335Usually this means the macro was only invoked conditionally." "$LINENO" 5
73336fi
73337if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
73338  as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
73339Usually this means the macro was only invoked conditionally." "$LINENO" 5
73340fi
73341if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
73342  as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
73343Usually this means the macro was only invoked conditionally." "$LINENO" 5
73344fi
73345if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
73346  as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
73347Usually this means the macro was only invoked conditionally." "$LINENO" 5
73348fi
73349if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
73350  as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
73351Usually this means the macro was only invoked conditionally." "$LINENO" 5
73352fi
73353if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
73354  as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
73355Usually this means the macro was only invoked conditionally." "$LINENO" 5
73356fi
73357if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
73358  as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
73359Usually this means the macro was only invoked conditionally." "$LINENO" 5
73360fi
73361if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
73362  as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
73363Usually this means the macro was only invoked conditionally." "$LINENO" 5
73364fi
73365if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
73366  as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
73367Usually this means the macro was only invoked conditionally." "$LINENO" 5
73368fi
73369if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
73370  as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
73371Usually this means the macro was only invoked conditionally." "$LINENO" 5
73372fi
73373if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
73374  as_fn_error "conditional \"BUILD_INFO\" was never defined.
73375Usually this means the macro was only invoked conditionally." "$LINENO" 5
73376fi
73377if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
73378  as_fn_error "conditional \"BUILD_EPUB\" was never defined.
73379Usually this means the macro was only invoked conditionally." "$LINENO" 5
73380fi
73381if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
73382  as_fn_error "conditional \"BUILD_XML\" was never defined.
73383Usually this means the macro was only invoked conditionally." "$LINENO" 5
73384fi
73385if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
73386  as_fn_error "conditional \"BUILD_HTML\" was never defined.
73387Usually this means the macro was only invoked conditionally." "$LINENO" 5
73388fi
73389if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
73390  as_fn_error "conditional \"BUILD_MAN\" was never defined.
73391Usually this means the macro was only invoked conditionally." "$LINENO" 5
73392fi
73393if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
73394  as_fn_error "conditional \"BUILD_PDF\" was never defined.
73395Usually this means the macro was only invoked conditionally." "$LINENO" 5
73396fi
73397
73398: ${CONFIG_STATUS=./config.status}
73399ac_write_fail=0
73400ac_clean_files_save=$ac_clean_files
73401ac_clean_files="$ac_clean_files $CONFIG_STATUS"
73402{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
73403$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
73404as_write_fail=0
73405cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
73406#! $SHELL
73407# Generated by $as_me.
73408# Run this file to recreate the current configuration.
73409# Compiler output produced by configure, useful for debugging
73410# configure, is in config.log if it exists.
73411
73412debug=false
73413ac_cs_recheck=false
73414ac_cs_silent=false
73415
73416SHELL=\${CONFIG_SHELL-$SHELL}
73417export SHELL
73418_ASEOF
73419cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
73420## -------------------- ##
73421## M4sh Initialization. ##
73422## -------------------- ##
73423
73424# Be more Bourne compatible
73425DUALCASE=1; export DUALCASE # for MKS sh
73426if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
73427  emulate sh
73428  NULLCMD=:
73429  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
73430  # is contrary to our usage.  Disable this feature.
73431  alias -g '${1+"$@"}'='"$@"'
73432  setopt NO_GLOB_SUBST
73433else
73434  case `(set -o) 2>/dev/null` in #(
73435  *posix*) :
73436    set -o posix ;; #(
73437  *) :
73438     ;;
73439esac
73440fi
73441
73442
73443as_nl='
73444'
73445export as_nl
73446# Printing a long string crashes Solaris 7 /usr/bin/printf.
73447as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
73448as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
73449as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
73450# Prefer a ksh shell builtin over an external printf program on Solaris,
73451# but without wasting forks for bash or zsh.
73452if test -z "$BASH_VERSION$ZSH_VERSION" \
73453    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
73454  as_echo='print -r --'
73455  as_echo_n='print -rn --'
73456elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
73457  as_echo='printf %s\n'
73458  as_echo_n='printf %s'
73459else
73460  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
73461    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
73462    as_echo_n='/usr/ucb/echo -n'
73463  else
73464    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
73465    as_echo_n_body='eval
73466      arg=$1;
73467      case $arg in #(
73468      *"$as_nl"*)
73469	expr "X$arg" : "X\\(.*\\)$as_nl";
73470	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
73471      esac;
73472      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
73473    '
73474    export as_echo_n_body
73475    as_echo_n='sh -c $as_echo_n_body as_echo'
73476  fi
73477  export as_echo_body
73478  as_echo='sh -c $as_echo_body as_echo'
73479fi
73480
73481# The user is always right.
73482if test "${PATH_SEPARATOR+set}" != set; then
73483  PATH_SEPARATOR=:
73484  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
73485    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
73486      PATH_SEPARATOR=';'
73487  }
73488fi
73489
73490
73491# IFS
73492# We need space, tab and new line, in precisely that order.  Quoting is
73493# there to prevent editors from complaining about space-tab.
73494# (If _AS_PATH_WALK were called with IFS unset, it would disable word
73495# splitting by setting IFS to empty value.)
73496IFS=" ""	$as_nl"
73497
73498# Find who we are.  Look in the path if we contain no directory separator.
73499case $0 in #((
73500  *[\\/]* ) as_myself=$0 ;;
73501  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
73502for as_dir in $PATH
73503do
73504  IFS=$as_save_IFS
73505  test -z "$as_dir" && as_dir=.
73506    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
73507  done
73508IFS=$as_save_IFS
73509
73510     ;;
73511esac
73512# We did not find ourselves, most probably we were run as `sh COMMAND'
73513# in which case we are not to be found in the path.
73514if test "x$as_myself" = x; then
73515  as_myself=$0
73516fi
73517if test ! -f "$as_myself"; then
73518  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
73519  exit 1
73520fi
73521
73522# Unset variables that we do not need and which cause bugs (e.g. in
73523# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
73524# suppresses any "Segmentation fault" message there.  '((' could
73525# trigger a bug in pdksh 5.2.14.
73526for as_var in BASH_ENV ENV MAIL MAILPATH
73527do eval test x\${$as_var+set} = xset \
73528  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
73529done
73530PS1='$ '
73531PS2='> '
73532PS4='+ '
73533
73534# NLS nuisances.
73535LC_ALL=C
73536export LC_ALL
73537LANGUAGE=C
73538export LANGUAGE
73539
73540# CDPATH.
73541(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
73542
73543
73544# as_fn_error ERROR [LINENO LOG_FD]
73545# ---------------------------------
73546# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
73547# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
73548# script with status $?, using 1 if that was 0.
73549as_fn_error ()
73550{
73551  as_status=$?; test $as_status -eq 0 && as_status=1
73552  if test "$3"; then
73553    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
73554    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
73555  fi
73556  $as_echo "$as_me: error: $1" >&2
73557  as_fn_exit $as_status
73558} # as_fn_error
73559
73560
73561# as_fn_set_status STATUS
73562# -----------------------
73563# Set $? to STATUS, without forking.
73564as_fn_set_status ()
73565{
73566  return $1
73567} # as_fn_set_status
73568
73569# as_fn_exit STATUS
73570# -----------------
73571# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
73572as_fn_exit ()
73573{
73574  set +e
73575  as_fn_set_status $1
73576  exit $1
73577} # as_fn_exit
73578
73579# as_fn_unset VAR
73580# ---------------
73581# Portably unset VAR.
73582as_fn_unset ()
73583{
73584  { eval $1=; unset $1;}
73585}
73586as_unset=as_fn_unset
73587# as_fn_append VAR VALUE
73588# ----------------------
73589# Append the text in VALUE to the end of the definition contained in VAR. Take
73590# advantage of any shell optimizations that allow amortized linear growth over
73591# repeated appends, instead of the typical quadratic growth present in naive
73592# implementations.
73593if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
73594  eval 'as_fn_append ()
73595  {
73596    eval $1+=\$2
73597  }'
73598else
73599  as_fn_append ()
73600  {
73601    eval $1=\$$1\$2
73602  }
73603fi # as_fn_append
73604
73605# as_fn_arith ARG...
73606# ------------------
73607# Perform arithmetic evaluation on the ARGs, and store the result in the
73608# global $as_val. Take advantage of shells that can avoid forks. The arguments
73609# must be portable across $(()) and expr.
73610if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
73611  eval 'as_fn_arith ()
73612  {
73613    as_val=$(( $* ))
73614  }'
73615else
73616  as_fn_arith ()
73617  {
73618    as_val=`expr "$@" || test $? -eq 1`
73619  }
73620fi # as_fn_arith
73621
73622
73623if expr a : '\(a\)' >/dev/null 2>&1 &&
73624   test "X`expr 00001 : '.*\(...\)'`" = X001; then
73625  as_expr=expr
73626else
73627  as_expr=false
73628fi
73629
73630if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
73631  as_basename=basename
73632else
73633  as_basename=false
73634fi
73635
73636if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
73637  as_dirname=dirname
73638else
73639  as_dirname=false
73640fi
73641
73642as_me=`$as_basename -- "$0" ||
73643$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
73644	 X"$0" : 'X\(//\)$' \| \
73645	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
73646$as_echo X/"$0" |
73647    sed '/^.*\/\([^/][^/]*\)\/*$/{
73648	    s//\1/
73649	    q
73650	  }
73651	  /^X\/\(\/\/\)$/{
73652	    s//\1/
73653	    q
73654	  }
73655	  /^X\/\(\/\).*/{
73656	    s//\1/
73657	    q
73658	  }
73659	  s/.*/./; q'`
73660
73661# Avoid depending upon Character Ranges.
73662as_cr_letters='abcdefghijklmnopqrstuvwxyz'
73663as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
73664as_cr_Letters=$as_cr_letters$as_cr_LETTERS
73665as_cr_digits='0123456789'
73666as_cr_alnum=$as_cr_Letters$as_cr_digits
73667
73668ECHO_C= ECHO_N= ECHO_T=
73669case `echo -n x` in #(((((
73670-n*)
73671  case `echo 'xy\c'` in
73672  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
73673  xy)  ECHO_C='\c';;
73674  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
73675       ECHO_T='	';;
73676  esac;;
73677*)
73678  ECHO_N='-n';;
73679esac
73680
73681rm -f conf$$ conf$$.exe conf$$.file
73682if test -d conf$$.dir; then
73683  rm -f conf$$.dir/conf$$.file
73684else
73685  rm -f conf$$.dir
73686  mkdir conf$$.dir 2>/dev/null
73687fi
73688if (echo >conf$$.file) 2>/dev/null; then
73689  if ln -s conf$$.file conf$$ 2>/dev/null; then
73690    as_ln_s='ln -s'
73691    # ... but there are two gotchas:
73692    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
73693    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
73694    # In both cases, we have to default to `cp -p'.
73695    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
73696      as_ln_s='cp -p'
73697  elif ln conf$$.file conf$$ 2>/dev/null; then
73698    as_ln_s=ln
73699  else
73700    as_ln_s='cp -p'
73701  fi
73702else
73703  as_ln_s='cp -p'
73704fi
73705rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
73706rmdir conf$$.dir 2>/dev/null
73707
73708
73709# as_fn_mkdir_p
73710# -------------
73711# Create "$as_dir" as a directory, including parents if necessary.
73712as_fn_mkdir_p ()
73713{
73714
73715  case $as_dir in #(
73716  -*) as_dir=./$as_dir;;
73717  esac
73718  test -d "$as_dir" || eval $as_mkdir_p || {
73719    as_dirs=
73720    while :; do
73721      case $as_dir in #(
73722      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
73723      *) as_qdir=$as_dir;;
73724      esac
73725      as_dirs="'$as_qdir' $as_dirs"
73726      as_dir=`$as_dirname -- "$as_dir" ||
73727$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
73728	 X"$as_dir" : 'X\(//\)[^/]' \| \
73729	 X"$as_dir" : 'X\(//\)$' \| \
73730	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
73731$as_echo X"$as_dir" |
73732    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
73733	    s//\1/
73734	    q
73735	  }
73736	  /^X\(\/\/\)[^/].*/{
73737	    s//\1/
73738	    q
73739	  }
73740	  /^X\(\/\/\)$/{
73741	    s//\1/
73742	    q
73743	  }
73744	  /^X\(\/\).*/{
73745	    s//\1/
73746	    q
73747	  }
73748	  s/.*/./; q'`
73749      test -d "$as_dir" && break
73750    done
73751    test -z "$as_dirs" || eval "mkdir $as_dirs"
73752  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
73753
73754
73755} # as_fn_mkdir_p
73756if mkdir -p . 2>/dev/null; then
73757  as_mkdir_p='mkdir -p "$as_dir"'
73758else
73759  test -d ./-p && rmdir ./-p
73760  as_mkdir_p=false
73761fi
73762
73763if test -x / >/dev/null 2>&1; then
73764  as_test_x='test -x'
73765else
73766  if ls -dL / >/dev/null 2>&1; then
73767    as_ls_L_option=L
73768  else
73769    as_ls_L_option=
73770  fi
73771  as_test_x='
73772    eval sh -c '\''
73773      if test -d "$1"; then
73774	test -d "$1/.";
73775      else
73776	case $1 in #(
73777	-*)set "./$1";;
73778	esac;
73779	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
73780	???[sx]*):;;*)false;;esac;fi
73781    '\'' sh
73782  '
73783fi
73784as_executable_p=$as_test_x
73785
73786# Sed expression to map a string onto a valid CPP name.
73787as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
73788
73789# Sed expression to map a string onto a valid variable name.
73790as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
73791
73792
73793exec 6>&1
73794## ----------------------------------- ##
73795## Main body of $CONFIG_STATUS script. ##
73796## ----------------------------------- ##
73797_ASEOF
73798test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
73799
73800cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73801# Save the log message, to keep $0 and so on meaningful, and to
73802# report actual input values of CONFIG_FILES etc. instead of their
73803# values after options handling.
73804ac_log="
73805This file was extended by package-unused $as_me version-unused, which was
73806generated by GNU Autoconf 2.64.  Invocation command line was
73807
73808  CONFIG_FILES    = $CONFIG_FILES
73809  CONFIG_HEADERS  = $CONFIG_HEADERS
73810  CONFIG_LINKS    = $CONFIG_LINKS
73811  CONFIG_COMMANDS = $CONFIG_COMMANDS
73812  $ $0 $@
73813
73814on `(hostname || uname -n) 2>/dev/null | sed 1q`
73815"
73816
73817_ACEOF
73818
73819case $ac_config_files in *"
73820"*) set x $ac_config_files; shift; ac_config_files=$*;;
73821esac
73822
73823case $ac_config_headers in *"
73824"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
73825esac
73826
73827
73828cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73829# Files that config.status was made for.
73830config_files="$ac_config_files"
73831config_headers="$ac_config_headers"
73832config_commands="$ac_config_commands"
73833
73834_ACEOF
73835
73836cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73837ac_cs_usage="\
73838\`$as_me' instantiates files and other configuration actions
73839from templates according to the current configuration.  Unless the files
73840and actions are specified as TAGs, all are instantiated by default.
73841
73842Usage: $0 [OPTION]... [TAG]...
73843
73844  -h, --help       print this help, then exit
73845  -V, --version    print version number and configuration settings, then exit
73846  -q, --quiet, --silent
73847                   do not print progress messages
73848  -d, --debug      don't remove temporary files
73849      --recheck    update $as_me by reconfiguring in the same conditions
73850      --file=FILE[:TEMPLATE]
73851                   instantiate the configuration file FILE
73852      --header=FILE[:TEMPLATE]
73853                   instantiate the configuration header FILE
73854
73855Configuration files:
73856$config_files
73857
73858Configuration headers:
73859$config_headers
73860
73861Configuration commands:
73862$config_commands
73863
73864Report bugs to the package provider."
73865
73866_ACEOF
73867cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73868ac_cs_version="\\
73869package-unused config.status version-unused
73870configured by $0, generated by GNU Autoconf 2.64,
73871  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
73872
73873Copyright (C) 2009 Free Software Foundation, Inc.
73874This config.status script is free software; the Free Software Foundation
73875gives unlimited permission to copy, distribute and modify it."
73876
73877ac_pwd='$ac_pwd'
73878srcdir='$srcdir'
73879INSTALL='$INSTALL'
73880MKDIR_P='$MKDIR_P'
73881AWK='$AWK'
73882test -n "\$AWK" || AWK=awk
73883_ACEOF
73884
73885cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73886# The default lists apply if the user does not specify any file.
73887ac_need_defaults=:
73888while test $# != 0
73889do
73890  case $1 in
73891  --*=*)
73892    ac_option=`expr "X$1" : 'X\([^=]*\)='`
73893    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
73894    ac_shift=:
73895    ;;
73896  *)
73897    ac_option=$1
73898    ac_optarg=$2
73899    ac_shift=shift
73900    ;;
73901  esac
73902
73903  case $ac_option in
73904  # Handling of the options.
73905  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
73906    ac_cs_recheck=: ;;
73907  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
73908    $as_echo "$ac_cs_version"; exit ;;
73909  --debug | --debu | --deb | --de | --d | -d )
73910    debug=: ;;
73911  --file | --fil | --fi | --f )
73912    $ac_shift
73913    case $ac_optarg in
73914    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
73915    esac
73916    as_fn_append CONFIG_FILES " '$ac_optarg'"
73917    ac_need_defaults=false;;
73918  --header | --heade | --head | --hea )
73919    $ac_shift
73920    case $ac_optarg in
73921    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
73922    esac
73923    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
73924    ac_need_defaults=false;;
73925  --he | --h)
73926    # Conflict between --help and --header
73927    as_fn_error "ambiguous option: \`$1'
73928Try \`$0 --help' for more information.";;
73929  --help | --hel | -h )
73930    $as_echo "$ac_cs_usage"; exit ;;
73931  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
73932  | -silent | --silent | --silen | --sile | --sil | --si | --s)
73933    ac_cs_silent=: ;;
73934
73935  # This is an error.
73936  -*) as_fn_error "unrecognized option: \`$1'
73937Try \`$0 --help' for more information." ;;
73938
73939  *) as_fn_append ac_config_targets " $1"
73940     ac_need_defaults=false ;;
73941
73942  esac
73943  shift
73944done
73945
73946ac_configure_extra_args=
73947
73948if $ac_cs_silent; then
73949  exec 6>/dev/null
73950  ac_configure_extra_args="$ac_configure_extra_args --silent"
73951fi
73952
73953_ACEOF
73954cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73955if \$ac_cs_recheck; then
73956  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
73957  shift
73958  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
73959  CONFIG_SHELL='$SHELL'
73960  export CONFIG_SHELL
73961  exec "\$@"
73962fi
73963
73964_ACEOF
73965cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73966exec 5>>config.log
73967{
73968  echo
73969  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
73970## Running $as_me. ##
73971_ASBOX
73972  $as_echo "$ac_log"
73973} >&5
73974
73975_ACEOF
73976cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73977#
73978# INIT-COMMANDS
73979#
73980
73981srcdir="$srcdir"
73982host="$host"
73983target="$target"
73984with_multisubdir="$with_multisubdir"
73985with_multisrctop="$with_multisrctop"
73986with_target_subdir="$with_target_subdir"
73987ac_configure_args="${multilib_arg} ${ac_configure_args}"
73988multi_basedir="$multi_basedir"
73989CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
73990CC="$CC"
73991CXX="$CXX"
73992GFORTRAN="$GFORTRAN"
73993GCJ="$GCJ"
73994
73995
73996# The HP-UX ksh and POSIX shell print the target directory to stdout
73997# if CDPATH is set.
73998(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
73999
74000sed_quote_subst='$sed_quote_subst'
74001double_quote_subst='$double_quote_subst'
74002delay_variable_subst='$delay_variable_subst'
74003macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
74004macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
74005enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
74006enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
74007pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
74008enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
74009SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
74010ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
74011host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
74012host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
74013host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
74014build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
74015build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
74016build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
74017SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
74018Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
74019GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
74020EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
74021FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
74022LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
74023NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
74024LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
74025max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
74026ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
74027exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
74028lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
74029lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
74030lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
74031reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
74032reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
74033OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
74034deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
74035file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
74036AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
74037AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
74038STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
74039RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
74040old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
74041old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
74042old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
74043lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
74044CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
74045CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
74046compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
74047GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
74048lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
74049lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
74050lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
74051lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
74052objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
74053MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
74054lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
74055lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
74056lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
74057lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
74058lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
74059need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
74060DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
74061NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
74062LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
74063OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
74064OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
74065libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
74066shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
74067extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
74068archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
74069enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
74070export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
74071whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
74072compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
74073old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
74074old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
74075archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
74076archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
74077module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
74078module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
74079with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
74080allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
74081no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
74082hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
74083hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
74084hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
74085hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
74086hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
74087hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
74088hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
74089hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
74090inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
74091link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
74092fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
74093always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
74094export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
74095exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
74096include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
74097prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
74098file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
74099variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
74100need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
74101need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
74102version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
74103runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
74104shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
74105shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
74106libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
74107library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
74108soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
74109install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
74110postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
74111postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
74112finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
74113finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
74114hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
74115sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
74116sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
74117hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
74118enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
74119enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
74120enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
74121old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
74122striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
74123compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
74124predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
74125postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
74126predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
74127postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
74128compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
74129LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
74130reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
74131reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74132old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74133compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
74134GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
74135lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
74136lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
74137lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
74138lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
74139lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
74140archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
74141enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
74142export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
74143whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
74144compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
74145old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74146old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74147archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74148archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74149module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74150module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74151with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
74152allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
74153no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
74154hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
74155hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
74156hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
74157hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
74158hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
74159hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
74160hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
74161hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
74162inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
74163link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
74164fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
74165always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
74166export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74167exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
74168include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
74169prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74170file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
74171hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
74172compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
74173predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
74174postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
74175predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
74176postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
74177compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
74178
74179LTCC='$LTCC'
74180LTCFLAGS='$LTCFLAGS'
74181compiler='$compiler_DEFAULT'
74182
74183# A function that is used when there is no print builtin or printf.
74184func_fallback_echo ()
74185{
74186  eval 'cat <<_LTECHO_EOF
74187\$1
74188_LTECHO_EOF'
74189}
74190
74191# Quote evaled strings.
74192for var in SHELL \
74193ECHO \
74194SED \
74195GREP \
74196EGREP \
74197FGREP \
74198LD \
74199NM \
74200LN_S \
74201lt_SP2NL \
74202lt_NL2SP \
74203reload_flag \
74204OBJDUMP \
74205deplibs_check_method \
74206file_magic_cmd \
74207AR \
74208AR_FLAGS \
74209STRIP \
74210RANLIB \
74211CC \
74212CFLAGS \
74213compiler \
74214lt_cv_sys_global_symbol_pipe \
74215lt_cv_sys_global_symbol_to_cdecl \
74216lt_cv_sys_global_symbol_to_c_name_address \
74217lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
74218lt_prog_compiler_no_builtin_flag \
74219lt_prog_compiler_wl \
74220lt_prog_compiler_pic \
74221lt_prog_compiler_static \
74222lt_cv_prog_compiler_c_o \
74223need_locks \
74224DSYMUTIL \
74225NMEDIT \
74226LIPO \
74227OTOOL \
74228OTOOL64 \
74229shrext_cmds \
74230export_dynamic_flag_spec \
74231whole_archive_flag_spec \
74232compiler_needs_object \
74233with_gnu_ld \
74234allow_undefined_flag \
74235no_undefined_flag \
74236hardcode_libdir_flag_spec \
74237hardcode_libdir_flag_spec_ld \
74238hardcode_libdir_separator \
74239fix_srcfile_path \
74240exclude_expsyms \
74241include_expsyms \
74242file_list_spec \
74243variables_saved_for_relink \
74244libname_spec \
74245library_names_spec \
74246soname_spec \
74247install_override_mode \
74248finish_eval \
74249old_striplib \
74250striplib \
74251compiler_lib_search_dirs \
74252predep_objects \
74253postdep_objects \
74254predeps \
74255postdeps \
74256compiler_lib_search_path \
74257LD_CXX \
74258reload_flag_CXX \
74259compiler_CXX \
74260lt_prog_compiler_no_builtin_flag_CXX \
74261lt_prog_compiler_wl_CXX \
74262lt_prog_compiler_pic_CXX \
74263lt_prog_compiler_static_CXX \
74264lt_cv_prog_compiler_c_o_CXX \
74265export_dynamic_flag_spec_CXX \
74266whole_archive_flag_spec_CXX \
74267compiler_needs_object_CXX \
74268with_gnu_ld_CXX \
74269allow_undefined_flag_CXX \
74270no_undefined_flag_CXX \
74271hardcode_libdir_flag_spec_CXX \
74272hardcode_libdir_flag_spec_ld_CXX \
74273hardcode_libdir_separator_CXX \
74274fix_srcfile_path_CXX \
74275exclude_expsyms_CXX \
74276include_expsyms_CXX \
74277file_list_spec_CXX \
74278compiler_lib_search_dirs_CXX \
74279predep_objects_CXX \
74280postdep_objects_CXX \
74281predeps_CXX \
74282postdeps_CXX \
74283compiler_lib_search_path_CXX; do
74284    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
74285    *[\\\\\\\`\\"\\\$]*)
74286      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
74287      ;;
74288    *)
74289      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
74290      ;;
74291    esac
74292done
74293
74294# Double-quote double-evaled strings.
74295for var in reload_cmds \
74296old_postinstall_cmds \
74297old_postuninstall_cmds \
74298old_archive_cmds \
74299extract_expsyms_cmds \
74300old_archive_from_new_cmds \
74301old_archive_from_expsyms_cmds \
74302archive_cmds \
74303archive_expsym_cmds \
74304module_cmds \
74305module_expsym_cmds \
74306export_symbols_cmds \
74307prelink_cmds \
74308postinstall_cmds \
74309postuninstall_cmds \
74310finish_cmds \
74311sys_lib_search_path_spec \
74312sys_lib_dlsearch_path_spec \
74313reload_cmds_CXX \
74314old_archive_cmds_CXX \
74315old_archive_from_new_cmds_CXX \
74316old_archive_from_expsyms_cmds_CXX \
74317archive_cmds_CXX \
74318archive_expsym_cmds_CXX \
74319module_cmds_CXX \
74320module_expsym_cmds_CXX \
74321export_symbols_cmds_CXX \
74322prelink_cmds_CXX; do
74323    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
74324    *[\\\\\\\`\\"\\\$]*)
74325      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
74326      ;;
74327    *)
74328      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
74329      ;;
74330    esac
74331done
74332
74333ac_aux_dir='$ac_aux_dir'
74334xsi_shell='$xsi_shell'
74335lt_shell_append='$lt_shell_append'
74336
74337# See if we are running on zsh, and set the options which allow our
74338# commands through without removal of \ escapes INIT.
74339if test -n "\${ZSH_VERSION+set}" ; then
74340   setopt NO_GLOB_SUBST
74341fi
74342
74343
74344    PACKAGE='$PACKAGE'
74345    VERSION='$VERSION'
74346    TIMESTAMP='$TIMESTAMP'
74347    RM='$RM'
74348    ofile='$ofile'
74349
74350
74351
74352
74353
74354
74355GCC="$GCC"
74356CC="$CC"
74357acx_cv_header_stdint="$acx_cv_header_stdint"
74358acx_cv_type_int8_t="$acx_cv_type_int8_t"
74359acx_cv_type_int16_t="$acx_cv_type_int16_t"
74360acx_cv_type_int32_t="$acx_cv_type_int32_t"
74361acx_cv_type_int64_t="$acx_cv_type_int64_t"
74362acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
74363ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
74364ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
74365ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
74366ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
74367ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
74368ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
74369ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
74370ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
74371
74372
74373_ACEOF
74374
74375cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74376
74377# Handling of arguments.
74378for ac_config_target in $ac_config_targets
74379do
74380  case $ac_config_target in
74381    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
74382    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
74383    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
74384    "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
74385    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
74386    "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
74387    "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
74388    "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
74389    "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
74390    "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
74391    "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
74392    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
74393    "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
74394    "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
74395    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
74396    "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
74397    "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
74398    "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
74399
74400  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
74401  esac
74402done
74403
74404
74405# If the user did not use the arguments to specify the items to instantiate,
74406# then the envvar interface is used.  Set only those that are not.
74407# We use the long form for the default assignment because of an extremely
74408# bizarre bug on SunOS 4.1.3.
74409if $ac_need_defaults; then
74410  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
74411  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
74412  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
74413fi
74414
74415# Have a temporary directory for convenience.  Make it in the build tree
74416# simply because there is no reason against having it here, and in addition,
74417# creating and moving files from /tmp can sometimes cause problems.
74418# Hook for its removal unless debugging.
74419# Note that there is a small window in which the directory will not be cleaned:
74420# after its creation but before its name has been assigned to `$tmp'.
74421$debug ||
74422{
74423  tmp=
74424  trap 'exit_status=$?
74425  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
74426' 0
74427  trap 'as_fn_exit 1' 1 2 13 15
74428}
74429# Create a (secure) tmp directory for tmp files.
74430
74431{
74432  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
74433  test -n "$tmp" && test -d "$tmp"
74434}  ||
74435{
74436  tmp=./conf$$-$RANDOM
74437  (umask 077 && mkdir "$tmp")
74438} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
74439
74440# Set up the scripts for CONFIG_FILES section.
74441# No need to generate them if there are no CONFIG_FILES.
74442# This happens for instance with `./config.status config.h'.
74443if test -n "$CONFIG_FILES"; then
74444
74445
74446ac_cr=`echo X | tr X '\015'`
74447# On cygwin, bash can eat \r inside `` if the user requested igncr.
74448# But we know of no other shell where ac_cr would be empty at this
74449# point, so we can use a bashism as a fallback.
74450if test "x$ac_cr" = x; then
74451  eval ac_cr=\$\'\\r\'
74452fi
74453ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
74454if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
74455  ac_cs_awk_cr='\r'
74456else
74457  ac_cs_awk_cr=$ac_cr
74458fi
74459
74460echo 'BEGIN {' >"$tmp/subs1.awk" &&
74461_ACEOF
74462
74463
74464{
74465  echo "cat >conf$$subs.awk <<_ACEOF" &&
74466  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
74467  echo "_ACEOF"
74468} >conf$$subs.sh ||
74469  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
74470ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
74471ac_delim='%!_!# '
74472for ac_last_try in false false false false false :; do
74473  . ./conf$$subs.sh ||
74474    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
74475
74476  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
74477  if test $ac_delim_n = $ac_delim_num; then
74478    break
74479  elif $ac_last_try; then
74480    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
74481  else
74482    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
74483  fi
74484done
74485rm -f conf$$subs.sh
74486
74487cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74488cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
74489_ACEOF
74490sed -n '
74491h
74492s/^/S["/; s/!.*/"]=/
74493p
74494g
74495s/^[^!]*!//
74496:repl
74497t repl
74498s/'"$ac_delim"'$//
74499t delim
74500:nl
74501h
74502s/\(.\{148\}\).*/\1/
74503t more1
74504s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
74505p
74506n
74507b repl
74508:more1
74509s/["\\]/\\&/g; s/^/"/; s/$/"\\/
74510p
74511g
74512s/.\{148\}//
74513t nl
74514:delim
74515h
74516s/\(.\{148\}\).*/\1/
74517t more2
74518s/["\\]/\\&/g; s/^/"/; s/$/"/
74519p
74520b
74521:more2
74522s/["\\]/\\&/g; s/^/"/; s/$/"\\/
74523p
74524g
74525s/.\{148\}//
74526t delim
74527' <conf$$subs.awk | sed '
74528/^[^""]/{
74529  N
74530  s/\n//
74531}
74532' >>$CONFIG_STATUS || ac_write_fail=1
74533rm -f conf$$subs.awk
74534cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74535_ACAWK
74536cat >>"\$tmp/subs1.awk" <<_ACAWK &&
74537  for (key in S) S_is_set[key] = 1
74538  FS = ""
74539
74540}
74541{
74542  line = $ 0
74543  nfields = split(line, field, "@")
74544  substed = 0
74545  len = length(field[1])
74546  for (i = 2; i < nfields; i++) {
74547    key = field[i]
74548    keylen = length(key)
74549    if (S_is_set[key]) {
74550      value = S[key]
74551      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
74552      len += length(value) + length(field[++i])
74553      substed = 1
74554    } else
74555      len += 1 + keylen
74556  }
74557
74558  print line
74559}
74560
74561_ACAWK
74562_ACEOF
74563cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74564if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
74565  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
74566else
74567  cat
74568fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
74569  || as_fn_error "could not setup config files machinery" "$LINENO" 5
74570_ACEOF
74571
74572# VPATH may cause trouble with some makes, so we remove $(srcdir),
74573# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
74574# trailing colons and then remove the whole line if VPATH becomes empty
74575# (actually we leave an empty line to preserve line numbers).
74576if test "x$srcdir" = x.; then
74577  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
74578s/:*\$(srcdir):*/:/
74579s/:*\${srcdir}:*/:/
74580s/:*@srcdir@:*/:/
74581s/^\([^=]*=[	 ]*\):*/\1/
74582s/:*$//
74583s/^[^=]*=[	 ]*$//
74584}'
74585fi
74586
74587cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74588fi # test -n "$CONFIG_FILES"
74589
74590# Set up the scripts for CONFIG_HEADERS section.
74591# No need to generate them if there are no CONFIG_HEADERS.
74592# This happens for instance with `./config.status Makefile'.
74593if test -n "$CONFIG_HEADERS"; then
74594cat >"$tmp/defines.awk" <<\_ACAWK ||
74595BEGIN {
74596_ACEOF
74597
74598# Transform confdefs.h into an awk script `defines.awk', embedded as
74599# here-document in config.status, that substitutes the proper values into
74600# config.h.in to produce config.h.
74601
74602# Create a delimiter string that does not exist in confdefs.h, to ease
74603# handling of long lines.
74604ac_delim='%!_!# '
74605for ac_last_try in false false :; do
74606  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
74607  if test -z "$ac_t"; then
74608    break
74609  elif $ac_last_try; then
74610    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
74611  else
74612    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
74613  fi
74614done
74615
74616# For the awk script, D is an array of macro values keyed by name,
74617# likewise P contains macro parameters if any.  Preserve backslash
74618# newline sequences.
74619
74620ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
74621sed -n '
74622s/.\{148\}/&'"$ac_delim"'/g
74623t rset
74624:rset
74625s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
74626t def
74627d
74628:def
74629s/\\$//
74630t bsnl
74631s/["\\]/\\&/g
74632s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
74633D["\1"]=" \3"/p
74634s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
74635d
74636:bsnl
74637s/["\\]/\\&/g
74638s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
74639D["\1"]=" \3\\\\\\n"\\/p
74640t cont
74641s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
74642t cont
74643d
74644:cont
74645n
74646s/.\{148\}/&'"$ac_delim"'/g
74647t clear
74648:clear
74649s/\\$//
74650t bsnlc
74651s/["\\]/\\&/g; s/^/"/; s/$/"/p
74652d
74653:bsnlc
74654s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
74655b cont
74656' <confdefs.h | sed '
74657s/'"$ac_delim"'/"\\\
74658"/g' >>$CONFIG_STATUS || ac_write_fail=1
74659
74660cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74661  for (key in D) D_is_set[key] = 1
74662  FS = ""
74663}
74664/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
74665  line = \$ 0
74666  split(line, arg, " ")
74667  if (arg[1] == "#") {
74668    defundef = arg[2]
74669    mac1 = arg[3]
74670  } else {
74671    defundef = substr(arg[1], 2)
74672    mac1 = arg[2]
74673  }
74674  split(mac1, mac2, "(") #)
74675  macro = mac2[1]
74676  prefix = substr(line, 1, index(line, defundef) - 1)
74677  if (D_is_set[macro]) {
74678    # Preserve the white space surrounding the "#".
74679    print prefix "define", macro P[macro] D[macro]
74680    next
74681  } else {
74682    # Replace #undef with comments.  This is necessary, for example,
74683    # in the case of _POSIX_SOURCE, which is predefined and required
74684    # on some systems where configure will not decide to define it.
74685    if (defundef == "undef") {
74686      print "/*", prefix defundef, macro, "*/"
74687      next
74688    }
74689  }
74690}
74691{ print }
74692_ACAWK
74693_ACEOF
74694cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74695  as_fn_error "could not setup config headers machinery" "$LINENO" 5
74696fi # test -n "$CONFIG_HEADERS"
74697
74698
74699eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
74700shift
74701for ac_tag
74702do
74703  case $ac_tag in
74704  :[FHLC]) ac_mode=$ac_tag; continue;;
74705  esac
74706  case $ac_mode$ac_tag in
74707  :[FHL]*:*);;
74708  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
74709  :[FH]-) ac_tag=-:-;;
74710  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
74711  esac
74712  ac_save_IFS=$IFS
74713  IFS=:
74714  set x $ac_tag
74715  IFS=$ac_save_IFS
74716  shift
74717  ac_file=$1
74718  shift
74719
74720  case $ac_mode in
74721  :L) ac_source=$1;;
74722  :[FH])
74723    ac_file_inputs=
74724    for ac_f
74725    do
74726      case $ac_f in
74727      -) ac_f="$tmp/stdin";;
74728      *) # Look for the file first in the build tree, then in the source tree
74729	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
74730	 # because $ac_f cannot contain `:'.
74731	 test -f "$ac_f" ||
74732	   case $ac_f in
74733	   [\\/$]*) false;;
74734	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
74735	   esac ||
74736	   as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
74737      esac
74738      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
74739      as_fn_append ac_file_inputs " '$ac_f'"
74740    done
74741
74742    # Let's still pretend it is `configure' which instantiates (i.e., don't
74743    # use $as_me), people would be surprised to read:
74744    #    /* config.h.  Generated by config.status.  */
74745    configure_input='Generated from '`
74746	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
74747	`' by configure.'
74748    if test x"$ac_file" != x-; then
74749      configure_input="$ac_file.  $configure_input"
74750      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
74751$as_echo "$as_me: creating $ac_file" >&6;}
74752    fi
74753    # Neutralize special characters interpreted by sed in replacement strings.
74754    case $configure_input in #(
74755    *\&* | *\|* | *\\* )
74756       ac_sed_conf_input=`$as_echo "$configure_input" |
74757       sed 's/[\\\\&|]/\\\\&/g'`;; #(
74758    *) ac_sed_conf_input=$configure_input;;
74759    esac
74760
74761    case $ac_tag in
74762    *:-:* | *:-) cat >"$tmp/stdin" \
74763      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
74764    esac
74765    ;;
74766  esac
74767
74768  ac_dir=`$as_dirname -- "$ac_file" ||
74769$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
74770	 X"$ac_file" : 'X\(//\)[^/]' \| \
74771	 X"$ac_file" : 'X\(//\)$' \| \
74772	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
74773$as_echo X"$ac_file" |
74774    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
74775	    s//\1/
74776	    q
74777	  }
74778	  /^X\(\/\/\)[^/].*/{
74779	    s//\1/
74780	    q
74781	  }
74782	  /^X\(\/\/\)$/{
74783	    s//\1/
74784	    q
74785	  }
74786	  /^X\(\/\).*/{
74787	    s//\1/
74788	    q
74789	  }
74790	  s/.*/./; q'`
74791  as_dir="$ac_dir"; as_fn_mkdir_p
74792  ac_builddir=.
74793
74794case "$ac_dir" in
74795.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
74796*)
74797  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
74798  # A ".." for each directory in $ac_dir_suffix.
74799  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
74800  case $ac_top_builddir_sub in
74801  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
74802  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
74803  esac ;;
74804esac
74805ac_abs_top_builddir=$ac_pwd
74806ac_abs_builddir=$ac_pwd$ac_dir_suffix
74807# for backward compatibility:
74808ac_top_builddir=$ac_top_build_prefix
74809
74810case $srcdir in
74811  .)  # We are building in place.
74812    ac_srcdir=.
74813    ac_top_srcdir=$ac_top_builddir_sub
74814    ac_abs_top_srcdir=$ac_pwd ;;
74815  [\\/]* | ?:[\\/]* )  # Absolute name.
74816    ac_srcdir=$srcdir$ac_dir_suffix;
74817    ac_top_srcdir=$srcdir
74818    ac_abs_top_srcdir=$srcdir ;;
74819  *) # Relative name.
74820    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
74821    ac_top_srcdir=$ac_top_build_prefix$srcdir
74822    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
74823esac
74824ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
74825
74826
74827  case $ac_mode in
74828  :F)
74829  #
74830  # CONFIG_FILE
74831  #
74832
74833  case $INSTALL in
74834  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
74835  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
74836  esac
74837  ac_MKDIR_P=$MKDIR_P
74838  case $MKDIR_P in
74839  [\\/$]* | ?:[\\/]* ) ;;
74840  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
74841  esac
74842_ACEOF
74843
74844cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74845# If the template does not know about datarootdir, expand it.
74846# FIXME: This hack should be removed a few years after 2.60.
74847ac_datarootdir_hack=; ac_datarootdir_seen=
74848ac_sed_dataroot='
74849/datarootdir/ {
74850  p
74851  q
74852}
74853/@datadir@/p
74854/@docdir@/p
74855/@infodir@/p
74856/@localedir@/p
74857/@mandir@/p'
74858case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
74859*datarootdir*) ac_datarootdir_seen=yes;;
74860*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
74861  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
74862$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
74863_ACEOF
74864cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74865  ac_datarootdir_hack='
74866  s&@datadir@&$datadir&g
74867  s&@docdir@&$docdir&g
74868  s&@infodir@&$infodir&g
74869  s&@localedir@&$localedir&g
74870  s&@mandir@&$mandir&g
74871  s&\\\${datarootdir}&$datarootdir&g' ;;
74872esac
74873_ACEOF
74874
74875# Neutralize VPATH when `$srcdir' = `.'.
74876# Shell code in configure.ac might set extrasub.
74877# FIXME: do we really want to maintain this feature?
74878cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74879ac_sed_extra="$ac_vpsub
74880$extrasub
74881_ACEOF
74882cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74883:t
74884/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
74885s|@configure_input@|$ac_sed_conf_input|;t t
74886s&@top_builddir@&$ac_top_builddir_sub&;t t
74887s&@top_build_prefix@&$ac_top_build_prefix&;t t
74888s&@srcdir@&$ac_srcdir&;t t
74889s&@abs_srcdir@&$ac_abs_srcdir&;t t
74890s&@top_srcdir@&$ac_top_srcdir&;t t
74891s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
74892s&@builddir@&$ac_builddir&;t t
74893s&@abs_builddir@&$ac_abs_builddir&;t t
74894s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
74895s&@INSTALL@&$ac_INSTALL&;t t
74896s&@MKDIR_P@&$ac_MKDIR_P&;t t
74897$ac_datarootdir_hack
74898"
74899eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
74900  || as_fn_error "could not create $ac_file" "$LINENO" 5
74901
74902test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
74903  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
74904  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
74905  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
74906which seems to be undefined.  Please make sure it is defined." >&5
74907$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
74908which seems to be undefined.  Please make sure it is defined." >&2;}
74909
74910  rm -f "$tmp/stdin"
74911  case $ac_file in
74912  -) cat "$tmp/out" && rm -f "$tmp/out";;
74913  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
74914  esac \
74915  || as_fn_error "could not create $ac_file" "$LINENO" 5
74916 ;;
74917  :H)
74918  #
74919  # CONFIG_HEADER
74920  #
74921  if test x"$ac_file" != x-; then
74922    {
74923      $as_echo "/* $configure_input  */" \
74924      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
74925    } >"$tmp/config.h" \
74926      || as_fn_error "could not create $ac_file" "$LINENO" 5
74927    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
74928      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
74929$as_echo "$as_me: $ac_file is unchanged" >&6;}
74930    else
74931      rm -f "$ac_file"
74932      mv "$tmp/config.h" "$ac_file" \
74933	|| as_fn_error "could not create $ac_file" "$LINENO" 5
74934    fi
74935  else
74936    $as_echo "/* $configure_input  */" \
74937      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
74938      || as_fn_error "could not create -" "$LINENO" 5
74939  fi
74940# Compute "$ac_file"'s index in $config_headers.
74941_am_arg="$ac_file"
74942_am_stamp_count=1
74943for _am_header in $config_headers :; do
74944  case $_am_header in
74945    $_am_arg | $_am_arg:* )
74946      break ;;
74947    * )
74948      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
74949  esac
74950done
74951echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
74952$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
74953	 X"$_am_arg" : 'X\(//\)[^/]' \| \
74954	 X"$_am_arg" : 'X\(//\)$' \| \
74955	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
74956$as_echo X"$_am_arg" |
74957    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
74958	    s//\1/
74959	    q
74960	  }
74961	  /^X\(\/\/\)[^/].*/{
74962	    s//\1/
74963	    q
74964	  }
74965	  /^X\(\/\/\)$/{
74966	    s//\1/
74967	    q
74968	  }
74969	  /^X\(\/\).*/{
74970	    s//\1/
74971	    q
74972	  }
74973	  s/.*/./; q'`/stamp-h$_am_stamp_count
74974 ;;
74975
74976  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
74977$as_echo "$as_me: executing $ac_file commands" >&6;}
74978 ;;
74979  esac
74980
74981
74982  case $ac_file$ac_mode in
74983    "default-1":C)
74984# Only add multilib support code if we just rebuilt the top-level
74985# Makefile.
74986case " $CONFIG_FILES " in
74987 *" Makefile "*)
74988   ac_file=Makefile . ${multi_basedir}/config-ml.in
74989   ;;
74990esac ;;
74991    "libtool":C)
74992
74993    # See if we are running on zsh, and set the options which allow our
74994    # commands through without removal of \ escapes.
74995    if test -n "${ZSH_VERSION+set}" ; then
74996      setopt NO_GLOB_SUBST
74997    fi
74998
74999    cfgfile="${ofile}T"
75000    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
75001    $RM "$cfgfile"
75002
75003    cat <<_LT_EOF >> "$cfgfile"
75004#! $SHELL
75005
75006# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
75007# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
75008# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
75009# NOTE: Changes made to this file will be lost: look at ltmain.sh.
75010#
75011#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
75012#                 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
75013#   Written by Gordon Matzigkeit, 1996
75014#
75015#   This file is part of GNU Libtool.
75016#
75017# GNU Libtool is free software; you can redistribute it and/or
75018# modify it under the terms of the GNU General Public License as
75019# published by the Free Software Foundation; either version 2 of
75020# the License, or (at your option) any later version.
75021#
75022# As a special exception to the GNU General Public License,
75023# if you distribute this file as part of a program or library that
75024# is built using GNU Libtool, you may include this file under the
75025# same distribution terms that you use for the rest of that program.
75026#
75027# GNU Libtool is distributed in the hope that it will be useful,
75028# but WITHOUT ANY WARRANTY; without even the implied warranty of
75029# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
75030# GNU General Public License for more details.
75031#
75032# You should have received a copy of the GNU General Public License
75033# along with GNU Libtool; see the file COPYING.  If not, a copy
75034# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
75035# obtained by writing to the Free Software Foundation, Inc.,
75036# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
75037
75038
75039# The names of the tagged configurations supported by this script.
75040available_tags="CXX "
75041
75042# ### BEGIN LIBTOOL CONFIG
75043
75044# Which release of libtool.m4 was used?
75045macro_version=$macro_version
75046macro_revision=$macro_revision
75047
75048# Whether or not to build shared libraries.
75049build_libtool_libs=$enable_shared
75050
75051# Whether or not to build static libraries.
75052build_old_libs=$enable_static
75053
75054# What type of objects to build.
75055pic_mode=$pic_mode
75056
75057# Whether or not to optimize for fast installation.
75058fast_install=$enable_fast_install
75059
75060# Shell to use when invoking shell scripts.
75061SHELL=$lt_SHELL
75062
75063# An echo program that protects backslashes.
75064ECHO=$lt_ECHO
75065
75066# The host system.
75067host_alias=$host_alias
75068host=$host
75069host_os=$host_os
75070
75071# The build system.
75072build_alias=$build_alias
75073build=$build
75074build_os=$build_os
75075
75076# A sed program that does not truncate output.
75077SED=$lt_SED
75078
75079# Sed that helps us avoid accidentally triggering echo(1) options like -n.
75080Xsed="\$SED -e 1s/^X//"
75081
75082# A grep program that handles long lines.
75083GREP=$lt_GREP
75084
75085# An ERE matcher.
75086EGREP=$lt_EGREP
75087
75088# A literal string matcher.
75089FGREP=$lt_FGREP
75090
75091# A BSD- or MS-compatible name lister.
75092NM=$lt_NM
75093
75094# Whether we need soft or hard links.
75095LN_S=$lt_LN_S
75096
75097# What is the maximum length of a command?
75098max_cmd_len=$max_cmd_len
75099
75100# Object file suffix (normally "o").
75101objext=$ac_objext
75102
75103# Executable file suffix (normally "").
75104exeext=$exeext
75105
75106# whether the shell understands "unset".
75107lt_unset=$lt_unset
75108
75109# turn spaces into newlines.
75110SP2NL=$lt_lt_SP2NL
75111
75112# turn newlines into spaces.
75113NL2SP=$lt_lt_NL2SP
75114
75115# An object symbol dumper.
75116OBJDUMP=$lt_OBJDUMP
75117
75118# Method to check whether dependent libraries are shared objects.
75119deplibs_check_method=$lt_deplibs_check_method
75120
75121# Command to use when deplibs_check_method == "file_magic".
75122file_magic_cmd=$lt_file_magic_cmd
75123
75124# The archiver.
75125AR=$lt_AR
75126AR_FLAGS=$lt_AR_FLAGS
75127
75128# A symbol stripping program.
75129STRIP=$lt_STRIP
75130
75131# Commands used to install an old-style archive.
75132RANLIB=$lt_RANLIB
75133old_postinstall_cmds=$lt_old_postinstall_cmds
75134old_postuninstall_cmds=$lt_old_postuninstall_cmds
75135
75136# Whether to use a lock for old archive extraction.
75137lock_old_archive_extraction=$lock_old_archive_extraction
75138
75139# A C compiler.
75140LTCC=$lt_CC
75141
75142# LTCC compiler flags.
75143LTCFLAGS=$lt_CFLAGS
75144
75145# Take the output of nm and produce a listing of raw symbols and C names.
75146global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
75147
75148# Transform the output of nm in a proper C declaration.
75149global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
75150
75151# Transform the output of nm in a C name address pair.
75152global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
75153
75154# Transform the output of nm in a C name address pair when lib prefix is needed.
75155global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
75156
75157# The name of the directory that contains temporary libtool files.
75158objdir=$objdir
75159
75160# Used to examine libraries when file_magic_cmd begins with "file".
75161MAGIC_CMD=$MAGIC_CMD
75162
75163# Must we lock files when doing compilation?
75164need_locks=$lt_need_locks
75165
75166# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
75167DSYMUTIL=$lt_DSYMUTIL
75168
75169# Tool to change global to local symbols on Mac OS X.
75170NMEDIT=$lt_NMEDIT
75171
75172# Tool to manipulate fat objects and archives on Mac OS X.
75173LIPO=$lt_LIPO
75174
75175# ldd/readelf like tool for Mach-O binaries on Mac OS X.
75176OTOOL=$lt_OTOOL
75177
75178# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
75179OTOOL64=$lt_OTOOL64
75180
75181# Old archive suffix (normally "a").
75182libext=$libext
75183
75184# Shared library suffix (normally ".so").
75185shrext_cmds=$lt_shrext_cmds
75186
75187# The commands to extract the exported symbol list from a shared archive.
75188extract_expsyms_cmds=$lt_extract_expsyms_cmds
75189
75190# Variables whose values should be saved in libtool wrapper scripts and
75191# restored at link time.
75192variables_saved_for_relink=$lt_variables_saved_for_relink
75193
75194# Do we need the "lib" prefix for modules?
75195need_lib_prefix=$need_lib_prefix
75196
75197# Do we need a version for libraries?
75198need_version=$need_version
75199
75200# Library versioning type.
75201version_type=$version_type
75202
75203# Shared library runtime path variable.
75204runpath_var=$runpath_var
75205
75206# Shared library path variable.
75207shlibpath_var=$shlibpath_var
75208
75209# Is shlibpath searched before the hard-coded library search path?
75210shlibpath_overrides_runpath=$shlibpath_overrides_runpath
75211
75212# Format of library name prefix.
75213libname_spec=$lt_libname_spec
75214
75215# List of archive names.  First name is the real one, the rest are links.
75216# The last name is the one that the linker finds with -lNAME
75217library_names_spec=$lt_library_names_spec
75218
75219# The coded name of the library, if different from the real name.
75220soname_spec=$lt_soname_spec
75221
75222# Permission mode override for installation of shared libraries.
75223install_override_mode=$lt_install_override_mode
75224
75225# Command to use after installation of a shared archive.
75226postinstall_cmds=$lt_postinstall_cmds
75227
75228# Command to use after uninstallation of a shared archive.
75229postuninstall_cmds=$lt_postuninstall_cmds
75230
75231# Commands used to finish a libtool library installation in a directory.
75232finish_cmds=$lt_finish_cmds
75233
75234# As "finish_cmds", except a single script fragment to be evaled but
75235# not shown.
75236finish_eval=$lt_finish_eval
75237
75238# Whether we should hardcode library paths into libraries.
75239hardcode_into_libs=$hardcode_into_libs
75240
75241# Compile-time system search path for libraries.
75242sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
75243
75244# Run-time system search path for libraries.
75245sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
75246
75247# Whether dlopen is supported.
75248dlopen_support=$enable_dlopen
75249
75250# Whether dlopen of programs is supported.
75251dlopen_self=$enable_dlopen_self
75252
75253# Whether dlopen of statically linked programs is supported.
75254dlopen_self_static=$enable_dlopen_self_static
75255
75256# Commands to strip libraries.
75257old_striplib=$lt_old_striplib
75258striplib=$lt_striplib
75259
75260
75261# The linker used to build libraries.
75262LD=$lt_LD
75263
75264# How to create reloadable object files.
75265reload_flag=$lt_reload_flag
75266reload_cmds=$lt_reload_cmds
75267
75268# Commands used to build an old-style archive.
75269old_archive_cmds=$lt_old_archive_cmds
75270
75271# A language specific compiler.
75272CC=$lt_compiler
75273
75274# Is the compiler the GNU compiler?
75275with_gcc=$GCC
75276
75277# Compiler flag to turn off builtin functions.
75278no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
75279
75280# How to pass a linker flag through the compiler.
75281wl=$lt_lt_prog_compiler_wl
75282
75283# Additional compiler flags for building library objects.
75284pic_flag=$lt_lt_prog_compiler_pic
75285
75286# Compiler flag to prevent dynamic linking.
75287link_static_flag=$lt_lt_prog_compiler_static
75288
75289# Does compiler simultaneously support -c and -o options?
75290compiler_c_o=$lt_lt_cv_prog_compiler_c_o
75291
75292# Whether or not to add -lc for building shared libraries.
75293build_libtool_need_lc=$archive_cmds_need_lc
75294
75295# Whether or not to disallow shared libs when runtime libs are static.
75296allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
75297
75298# Compiler flag to allow reflexive dlopens.
75299export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
75300
75301# Compiler flag to generate shared objects directly from archives.
75302whole_archive_flag_spec=$lt_whole_archive_flag_spec
75303
75304# Whether the compiler copes with passing no objects directly.
75305compiler_needs_object=$lt_compiler_needs_object
75306
75307# Create an old-style archive from a shared archive.
75308old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
75309
75310# Create a temporary old-style archive to link instead of a shared archive.
75311old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
75312
75313# Commands used to build a shared archive.
75314archive_cmds=$lt_archive_cmds
75315archive_expsym_cmds=$lt_archive_expsym_cmds
75316
75317# Commands used to build a loadable module if different from building
75318# a shared archive.
75319module_cmds=$lt_module_cmds
75320module_expsym_cmds=$lt_module_expsym_cmds
75321
75322# Whether we are building with GNU ld or not.
75323with_gnu_ld=$lt_with_gnu_ld
75324
75325# Flag that allows shared libraries with undefined symbols to be built.
75326allow_undefined_flag=$lt_allow_undefined_flag
75327
75328# Flag that enforces no undefined symbols.
75329no_undefined_flag=$lt_no_undefined_flag
75330
75331# Flag to hardcode \$libdir into a binary during linking.
75332# This must work even if \$libdir does not exist
75333hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
75334
75335# If ld is used when linking, flag to hardcode \$libdir into a binary
75336# during linking.  This must work even if \$libdir does not exist.
75337hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
75338
75339# Whether we need a single "-rpath" flag with a separated argument.
75340hardcode_libdir_separator=$lt_hardcode_libdir_separator
75341
75342# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75343# DIR into the resulting binary.
75344hardcode_direct=$hardcode_direct
75345
75346# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75347# DIR into the resulting binary and the resulting library dependency is
75348# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
75349# library is relocated.
75350hardcode_direct_absolute=$hardcode_direct_absolute
75351
75352# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
75353# into the resulting binary.
75354hardcode_minus_L=$hardcode_minus_L
75355
75356# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
75357# into the resulting binary.
75358hardcode_shlibpath_var=$hardcode_shlibpath_var
75359
75360# Set to "yes" if building a shared library automatically hardcodes DIR
75361# into the library and all subsequent libraries and executables linked
75362# against it.
75363hardcode_automatic=$hardcode_automatic
75364
75365# Set to yes if linker adds runtime paths of dependent libraries
75366# to runtime path list.
75367inherit_rpath=$inherit_rpath
75368
75369# Whether libtool must link a program against all its dependency libraries.
75370link_all_deplibs=$link_all_deplibs
75371
75372# Fix the shell variable \$srcfile for the compiler.
75373fix_srcfile_path=$lt_fix_srcfile_path
75374
75375# Set to "yes" if exported symbols are required.
75376always_export_symbols=$always_export_symbols
75377
75378# The commands to list exported symbols.
75379export_symbols_cmds=$lt_export_symbols_cmds
75380
75381# Symbols that should not be listed in the preloaded symbols.
75382exclude_expsyms=$lt_exclude_expsyms
75383
75384# Symbols that must always be exported.
75385include_expsyms=$lt_include_expsyms
75386
75387# Commands necessary for linking programs (against libraries) with templates.
75388prelink_cmds=$lt_prelink_cmds
75389
75390# Specify filename containing input files.
75391file_list_spec=$lt_file_list_spec
75392
75393# How to hardcode a shared library path into an executable.
75394hardcode_action=$hardcode_action
75395
75396# The directories searched by this compiler when creating a shared library.
75397compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
75398
75399# Dependencies to place before and after the objects being linked to
75400# create a shared library.
75401predep_objects=$lt_predep_objects
75402postdep_objects=$lt_postdep_objects
75403predeps=$lt_predeps
75404postdeps=$lt_postdeps
75405
75406# The library search path used internally by the compiler when linking
75407# a shared library.
75408compiler_lib_search_path=$lt_compiler_lib_search_path
75409
75410# ### END LIBTOOL CONFIG
75411
75412_LT_EOF
75413
75414  case $host_os in
75415  aix3*)
75416    cat <<\_LT_EOF >> "$cfgfile"
75417# AIX sometimes has problems with the GCC collect2 program.  For some
75418# reason, if we set the COLLECT_NAMES environment variable, the problems
75419# vanish in a puff of smoke.
75420if test "X${COLLECT_NAMES+set}" != Xset; then
75421  COLLECT_NAMES=
75422  export COLLECT_NAMES
75423fi
75424_LT_EOF
75425    ;;
75426  esac
75427
75428
75429ltmain="$ac_aux_dir/ltmain.sh"
75430
75431
75432  # We use sed instead of cat because bash on DJGPP gets confused if
75433  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
75434  # text mode, it properly converts lines to CR/LF.  This bash problem
75435  # is reportedly fixed, but why not run on old versions too?
75436  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
75437    || (rm -f "$cfgfile"; exit 1)
75438
75439  case $xsi_shell in
75440  yes)
75441    cat << \_LT_EOF >> "$cfgfile"
75442
75443# func_dirname file append nondir_replacement
75444# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
75445# otherwise set result to NONDIR_REPLACEMENT.
75446func_dirname ()
75447{
75448  case ${1} in
75449    */*) func_dirname_result="${1%/*}${2}" ;;
75450    *  ) func_dirname_result="${3}" ;;
75451  esac
75452}
75453
75454# func_basename file
75455func_basename ()
75456{
75457  func_basename_result="${1##*/}"
75458}
75459
75460# func_dirname_and_basename file append nondir_replacement
75461# perform func_basename and func_dirname in a single function
75462# call:
75463#   dirname:  Compute the dirname of FILE.  If nonempty,
75464#             add APPEND to the result, otherwise set result
75465#             to NONDIR_REPLACEMENT.
75466#             value returned in "$func_dirname_result"
75467#   basename: Compute filename of FILE.
75468#             value retuned in "$func_basename_result"
75469# Implementation must be kept synchronized with func_dirname
75470# and func_basename. For efficiency, we do not delegate to
75471# those functions but instead duplicate the functionality here.
75472func_dirname_and_basename ()
75473{
75474  case ${1} in
75475    */*) func_dirname_result="${1%/*}${2}" ;;
75476    *  ) func_dirname_result="${3}" ;;
75477  esac
75478  func_basename_result="${1##*/}"
75479}
75480
75481# func_stripname prefix suffix name
75482# strip PREFIX and SUFFIX off of NAME.
75483# PREFIX and SUFFIX must not contain globbing or regex special
75484# characters, hashes, percent signs, but SUFFIX may contain a leading
75485# dot (in which case that matches only a dot).
75486func_stripname ()
75487{
75488  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
75489  # positional parameters, so assign one to ordinary parameter first.
75490  func_stripname_result=${3}
75491  func_stripname_result=${func_stripname_result#"${1}"}
75492  func_stripname_result=${func_stripname_result%"${2}"}
75493}
75494
75495# func_opt_split
75496func_opt_split ()
75497{
75498  func_opt_split_opt=${1%%=*}
75499  func_opt_split_arg=${1#*=}
75500}
75501
75502# func_lo2o object
75503func_lo2o ()
75504{
75505  case ${1} in
75506    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
75507    *)    func_lo2o_result=${1} ;;
75508  esac
75509}
75510
75511# func_xform libobj-or-source
75512func_xform ()
75513{
75514  func_xform_result=${1%.*}.lo
75515}
75516
75517# func_arith arithmetic-term...
75518func_arith ()
75519{
75520  func_arith_result=$(( $* ))
75521}
75522
75523# func_len string
75524# STRING may not start with a hyphen.
75525func_len ()
75526{
75527  func_len_result=${#1}
75528}
75529
75530_LT_EOF
75531    ;;
75532  *) # Bourne compatible functions.
75533    cat << \_LT_EOF >> "$cfgfile"
75534
75535# func_dirname file append nondir_replacement
75536# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
75537# otherwise set result to NONDIR_REPLACEMENT.
75538func_dirname ()
75539{
75540  # Extract subdirectory from the argument.
75541  func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
75542  if test "X$func_dirname_result" = "X${1}"; then
75543    func_dirname_result="${3}"
75544  else
75545    func_dirname_result="$func_dirname_result${2}"
75546  fi
75547}
75548
75549# func_basename file
75550func_basename ()
75551{
75552  func_basename_result=`$ECHO "${1}" | $SED "$basename"`
75553}
75554
75555
75556# func_stripname prefix suffix name
75557# strip PREFIX and SUFFIX off of NAME.
75558# PREFIX and SUFFIX must not contain globbing or regex special
75559# characters, hashes, percent signs, but SUFFIX may contain a leading
75560# dot (in which case that matches only a dot).
75561# func_strip_suffix prefix name
75562func_stripname ()
75563{
75564  case ${2} in
75565    .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
75566    *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
75567  esac
75568}
75569
75570# sed scripts:
75571my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
75572my_sed_long_arg='1s/^-[^=]*=//'
75573
75574# func_opt_split
75575func_opt_split ()
75576{
75577  func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
75578  func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
75579}
75580
75581# func_lo2o object
75582func_lo2o ()
75583{
75584  func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
75585}
75586
75587# func_xform libobj-or-source
75588func_xform ()
75589{
75590  func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
75591}
75592
75593# func_arith arithmetic-term...
75594func_arith ()
75595{
75596  func_arith_result=`expr "$@"`
75597}
75598
75599# func_len string
75600# STRING may not start with a hyphen.
75601func_len ()
75602{
75603  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
75604}
75605
75606_LT_EOF
75607esac
75608
75609case $lt_shell_append in
75610  yes)
75611    cat << \_LT_EOF >> "$cfgfile"
75612
75613# func_append var value
75614# Append VALUE to the end of shell variable VAR.
75615func_append ()
75616{
75617  eval "$1+=\$2"
75618}
75619_LT_EOF
75620    ;;
75621  *)
75622    cat << \_LT_EOF >> "$cfgfile"
75623
75624# func_append var value
75625# Append VALUE to the end of shell variable VAR.
75626func_append ()
75627{
75628  eval "$1=\$$1\$2"
75629}
75630
75631_LT_EOF
75632    ;;
75633  esac
75634
75635
75636  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
75637    || (rm -f "$cfgfile"; exit 1)
75638
75639  mv -f "$cfgfile" "$ofile" ||
75640    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
75641  chmod +x "$ofile"
75642
75643
75644    cat <<_LT_EOF >> "$ofile"
75645
75646# ### BEGIN LIBTOOL TAG CONFIG: CXX
75647
75648# The linker used to build libraries.
75649LD=$lt_LD_CXX
75650
75651# How to create reloadable object files.
75652reload_flag=$lt_reload_flag_CXX
75653reload_cmds=$lt_reload_cmds_CXX
75654
75655# Commands used to build an old-style archive.
75656old_archive_cmds=$lt_old_archive_cmds_CXX
75657
75658# A language specific compiler.
75659CC=$lt_compiler_CXX
75660
75661# Is the compiler the GNU compiler?
75662with_gcc=$GCC_CXX
75663
75664# Compiler flag to turn off builtin functions.
75665no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
75666
75667# How to pass a linker flag through the compiler.
75668wl=$lt_lt_prog_compiler_wl_CXX
75669
75670# Additional compiler flags for building library objects.
75671pic_flag=$lt_lt_prog_compiler_pic_CXX
75672
75673# Compiler flag to prevent dynamic linking.
75674link_static_flag=$lt_lt_prog_compiler_static_CXX
75675
75676# Does compiler simultaneously support -c and -o options?
75677compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
75678
75679# Whether or not to add -lc for building shared libraries.
75680build_libtool_need_lc=$archive_cmds_need_lc_CXX
75681
75682# Whether or not to disallow shared libs when runtime libs are static.
75683allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
75684
75685# Compiler flag to allow reflexive dlopens.
75686export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
75687
75688# Compiler flag to generate shared objects directly from archives.
75689whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
75690
75691# Whether the compiler copes with passing no objects directly.
75692compiler_needs_object=$lt_compiler_needs_object_CXX
75693
75694# Create an old-style archive from a shared archive.
75695old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
75696
75697# Create a temporary old-style archive to link instead of a shared archive.
75698old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
75699
75700# Commands used to build a shared archive.
75701archive_cmds=$lt_archive_cmds_CXX
75702archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
75703
75704# Commands used to build a loadable module if different from building
75705# a shared archive.
75706module_cmds=$lt_module_cmds_CXX
75707module_expsym_cmds=$lt_module_expsym_cmds_CXX
75708
75709# Whether we are building with GNU ld or not.
75710with_gnu_ld=$lt_with_gnu_ld_CXX
75711
75712# Flag that allows shared libraries with undefined symbols to be built.
75713allow_undefined_flag=$lt_allow_undefined_flag_CXX
75714
75715# Flag that enforces no undefined symbols.
75716no_undefined_flag=$lt_no_undefined_flag_CXX
75717
75718# Flag to hardcode \$libdir into a binary during linking.
75719# This must work even if \$libdir does not exist
75720hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
75721
75722# If ld is used when linking, flag to hardcode \$libdir into a binary
75723# during linking.  This must work even if \$libdir does not exist.
75724hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
75725
75726# Whether we need a single "-rpath" flag with a separated argument.
75727hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
75728
75729# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75730# DIR into the resulting binary.
75731hardcode_direct=$hardcode_direct_CXX
75732
75733# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75734# DIR into the resulting binary and the resulting library dependency is
75735# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
75736# library is relocated.
75737hardcode_direct_absolute=$hardcode_direct_absolute_CXX
75738
75739# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
75740# into the resulting binary.
75741hardcode_minus_L=$hardcode_minus_L_CXX
75742
75743# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
75744# into the resulting binary.
75745hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
75746
75747# Set to "yes" if building a shared library automatically hardcodes DIR
75748# into the library and all subsequent libraries and executables linked
75749# against it.
75750hardcode_automatic=$hardcode_automatic_CXX
75751
75752# Set to yes if linker adds runtime paths of dependent libraries
75753# to runtime path list.
75754inherit_rpath=$inherit_rpath_CXX
75755
75756# Whether libtool must link a program against all its dependency libraries.
75757link_all_deplibs=$link_all_deplibs_CXX
75758
75759# Fix the shell variable \$srcfile for the compiler.
75760fix_srcfile_path=$lt_fix_srcfile_path_CXX
75761
75762# Set to "yes" if exported symbols are required.
75763always_export_symbols=$always_export_symbols_CXX
75764
75765# The commands to list exported symbols.
75766export_symbols_cmds=$lt_export_symbols_cmds_CXX
75767
75768# Symbols that should not be listed in the preloaded symbols.
75769exclude_expsyms=$lt_exclude_expsyms_CXX
75770
75771# Symbols that must always be exported.
75772include_expsyms=$lt_include_expsyms_CXX
75773
75774# Commands necessary for linking programs (against libraries) with templates.
75775prelink_cmds=$lt_prelink_cmds_CXX
75776
75777# Specify filename containing input files.
75778file_list_spec=$lt_file_list_spec_CXX
75779
75780# How to hardcode a shared library path into an executable.
75781hardcode_action=$hardcode_action_CXX
75782
75783# The directories searched by this compiler when creating a shared library.
75784compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
75785
75786# Dependencies to place before and after the objects being linked to
75787# create a shared library.
75788predep_objects=$lt_predep_objects_CXX
75789postdep_objects=$lt_postdep_objects_CXX
75790predeps=$lt_predeps_CXX
75791postdeps=$lt_postdeps_CXX
75792
75793# The library search path used internally by the compiler when linking
75794# a shared library.
75795compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
75796
75797# ### END LIBTOOL TAG CONFIG: CXX
75798_LT_EOF
75799
75800 ;;
75801    "include/gstdint.h":C)
75802if test "$GCC" = yes; then
75803  echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
75804else
75805  echo "/* generated for $CC */" > tmp-stdint.h
75806fi
75807
75808sed 's/^ *//' >> tmp-stdint.h <<EOF
75809
75810  #ifndef GCC_GENERATED_STDINT_H
75811  #define GCC_GENERATED_STDINT_H 1
75812
75813  #include <sys/types.h>
75814EOF
75815
75816if test "$acx_cv_header_stdint" != stdint.h; then
75817  echo "#include <stddef.h>" >> tmp-stdint.h
75818fi
75819if test "$acx_cv_header_stdint" != stddef.h; then
75820  echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
75821fi
75822
75823sed 's/^ *//' >> tmp-stdint.h <<EOF
75824  /* glibc uses these symbols as guards to prevent redefinitions.  */
75825  #ifdef __int8_t_defined
75826  #define _INT8_T
75827  #define _INT16_T
75828  #define _INT32_T
75829  #endif
75830  #ifdef __uint32_t_defined
75831  #define _UINT32_T
75832  #endif
75833
75834EOF
75835
75836# ----------------- done header, emit basic int types -------------
75837if test "$acx_cv_header_stdint" = stddef.h; then
75838  sed 's/^ *//' >> tmp-stdint.h <<EOF
75839
75840    #ifndef _UINT8_T
75841    #define _UINT8_T
75842    #ifndef __uint8_t_defined
75843    #define __uint8_t_defined
75844    #ifndef uint8_t
75845    typedef unsigned $acx_cv_type_int8_t uint8_t;
75846    #endif
75847    #endif
75848    #endif
75849
75850    #ifndef _UINT16_T
75851    #define _UINT16_T
75852    #ifndef __uint16_t_defined
75853    #define __uint16_t_defined
75854    #ifndef uint16_t
75855    typedef unsigned $acx_cv_type_int16_t uint16_t;
75856    #endif
75857    #endif
75858    #endif
75859
75860    #ifndef _UINT32_T
75861    #define _UINT32_T
75862    #ifndef __uint32_t_defined
75863    #define __uint32_t_defined
75864    #ifndef uint32_t
75865    typedef unsigned $acx_cv_type_int32_t uint32_t;
75866    #endif
75867    #endif
75868    #endif
75869
75870    #ifndef _INT8_T
75871    #define _INT8_T
75872    #ifndef __int8_t_defined
75873    #define __int8_t_defined
75874    #ifndef int8_t
75875    typedef $acx_cv_type_int8_t int8_t;
75876    #endif
75877    #endif
75878    #endif
75879
75880    #ifndef _INT16_T
75881    #define _INT16_T
75882    #ifndef __int16_t_defined
75883    #define __int16_t_defined
75884    #ifndef int16_t
75885    typedef $acx_cv_type_int16_t int16_t;
75886    #endif
75887    #endif
75888    #endif
75889
75890    #ifndef _INT32_T
75891    #define _INT32_T
75892    #ifndef __int32_t_defined
75893    #define __int32_t_defined
75894    #ifndef int32_t
75895    typedef $acx_cv_type_int32_t int32_t;
75896    #endif
75897    #endif
75898    #endif
75899EOF
75900elif test "$ac_cv_type_u_int32_t" = yes; then
75901  sed 's/^ *//' >> tmp-stdint.h <<EOF
75902
75903    /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
75904    #ifndef _INT8_T
75905    #define _INT8_T
75906    #endif
75907    #ifndef _INT16_T
75908    #define _INT16_T
75909    #endif
75910    #ifndef _INT32_T
75911    #define _INT32_T
75912    #endif
75913
75914    #ifndef _UINT8_T
75915    #define _UINT8_T
75916    #ifndef __uint8_t_defined
75917    #define __uint8_t_defined
75918    #ifndef uint8_t
75919    typedef u_int8_t uint8_t;
75920    #endif
75921    #endif
75922    #endif
75923
75924    #ifndef _UINT16_T
75925    #define _UINT16_T
75926    #ifndef __uint16_t_defined
75927    #define __uint16_t_defined
75928    #ifndef uint16_t
75929    typedef u_int16_t uint16_t;
75930    #endif
75931    #endif
75932    #endif
75933
75934    #ifndef _UINT32_T
75935    #define _UINT32_T
75936    #ifndef __uint32_t_defined
75937    #define __uint32_t_defined
75938    #ifndef uint32_t
75939    typedef u_int32_t uint32_t;
75940    #endif
75941    #endif
75942    #endif
75943EOF
75944else
75945  sed 's/^ *//' >> tmp-stdint.h <<EOF
75946
75947    /* Some systems have guard macros to prevent redefinitions, define them.  */
75948    #ifndef _INT8_T
75949    #define _INT8_T
75950    #endif
75951    #ifndef _INT16_T
75952    #define _INT16_T
75953    #endif
75954    #ifndef _INT32_T
75955    #define _INT32_T
75956    #endif
75957    #ifndef _UINT8_T
75958    #define _UINT8_T
75959    #endif
75960    #ifndef _UINT16_T
75961    #define _UINT16_T
75962    #endif
75963    #ifndef _UINT32_T
75964    #define _UINT32_T
75965    #endif
75966EOF
75967fi
75968
75969# ------------- done basic int types, emit int64_t types ------------
75970if test "$ac_cv_type_uint64_t" = yes; then
75971  sed 's/^ *//' >> tmp-stdint.h <<EOF
75972
75973    /* system headers have good uint64_t and int64_t */
75974    #ifndef _INT64_T
75975    #define _INT64_T
75976    #endif
75977    #ifndef _UINT64_T
75978    #define _UINT64_T
75979    #endif
75980EOF
75981elif test "$ac_cv_type_u_int64_t" = yes; then
75982  sed 's/^ *//' >> tmp-stdint.h <<EOF
75983
75984    /* system headers have an u_int64_t (and int64_t) */
75985    #ifndef _INT64_T
75986    #define _INT64_T
75987    #endif
75988    #ifndef _UINT64_T
75989    #define _UINT64_T
75990    #ifndef __uint64_t_defined
75991    #define __uint64_t_defined
75992    #ifndef uint64_t
75993    typedef u_int64_t uint64_t;
75994    #endif
75995    #endif
75996    #endif
75997EOF
75998elif test -n "$acx_cv_type_int64_t"; then
75999  sed 's/^ *//' >> tmp-stdint.h <<EOF
76000
76001    /* architecture has a 64-bit type, $acx_cv_type_int64_t */
76002    #ifndef _INT64_T
76003    #define _INT64_T
76004    #ifndef int64_t
76005    typedef $acx_cv_type_int64_t int64_t;
76006    #endif
76007    #endif
76008    #ifndef _UINT64_T
76009    #define _UINT64_T
76010    #ifndef __uint64_t_defined
76011    #define __uint64_t_defined
76012    #ifndef uint64_t
76013    typedef unsigned $acx_cv_type_int64_t uint64_t;
76014    #endif
76015    #endif
76016    #endif
76017EOF
76018else
76019  sed 's/^ *//' >> tmp-stdint.h <<EOF
76020
76021    /* some common heuristics for int64_t, using compiler-specific tests */
76022    #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
76023    #ifndef _INT64_T
76024    #define _INT64_T
76025    #ifndef __int64_t_defined
76026    #ifndef int64_t
76027    typedef long long int64_t;
76028    #endif
76029    #endif
76030    #endif
76031    #ifndef _UINT64_T
76032    #define _UINT64_T
76033    #ifndef uint64_t
76034    typedef unsigned long long uint64_t;
76035    #endif
76036    #endif
76037
76038    #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
76039    /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
76040       does not implement __extension__.  But that compiler doesn't define
76041       __GNUC_MINOR__.  */
76042    # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
76043    # define __extension__
76044    # endif
76045
76046    # ifndef _INT64_T
76047    # define _INT64_T
76048    # ifndef int64_t
76049    __extension__ typedef long long int64_t;
76050    # endif
76051    # endif
76052    # ifndef _UINT64_T
76053    # define _UINT64_T
76054    # ifndef uint64_t
76055    __extension__ typedef unsigned long long uint64_t;
76056    # endif
76057    # endif
76058
76059    #elif !defined __STRICT_ANSI__
76060    # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
76061
76062    #  ifndef _INT64_T
76063    #  define _INT64_T
76064    #  ifndef int64_t
76065    typedef __int64 int64_t;
76066    #  endif
76067    #  endif
76068    #  ifndef _UINT64_T
76069    #  define _UINT64_T
76070    #  ifndef uint64_t
76071    typedef unsigned __int64 uint64_t;
76072    #  endif
76073    #  endif
76074    # endif /* compiler */
76075
76076    #endif /* ANSI version */
76077EOF
76078fi
76079
76080# ------------- done int64_t types, emit intptr types ------------
76081if test "$ac_cv_type_uintptr_t" != yes; then
76082  sed 's/^ *//' >> tmp-stdint.h <<EOF
76083
76084    /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
76085    #ifndef __uintptr_t_defined
76086    #ifndef uintptr_t
76087    typedef u$acx_cv_type_intptr_t uintptr_t;
76088    #endif
76089    #endif
76090    #ifndef __intptr_t_defined
76091    #ifndef intptr_t
76092    typedef $acx_cv_type_intptr_t  intptr_t;
76093    #endif
76094    #endif
76095EOF
76096fi
76097
76098# ------------- done intptr types, emit int_least types ------------
76099if test "$ac_cv_type_int_least32_t" != yes; then
76100  sed 's/^ *//' >> tmp-stdint.h <<EOF
76101
76102    /* Define int_least types */
76103    typedef int8_t     int_least8_t;
76104    typedef int16_t    int_least16_t;
76105    typedef int32_t    int_least32_t;
76106    #ifdef _INT64_T
76107    typedef int64_t    int_least64_t;
76108    #endif
76109
76110    typedef uint8_t    uint_least8_t;
76111    typedef uint16_t   uint_least16_t;
76112    typedef uint32_t   uint_least32_t;
76113    #ifdef _UINT64_T
76114    typedef uint64_t   uint_least64_t;
76115    #endif
76116EOF
76117fi
76118
76119# ------------- done intptr types, emit int_fast types ------------
76120if test "$ac_cv_type_int_fast32_t" != yes; then
76121      sed 's/^ *//' >> tmp-stdint.h <<EOF
76122
76123    /* Define int_fast types.  short is often slow */
76124    typedef int8_t       int_fast8_t;
76125    typedef int          int_fast16_t;
76126    typedef int32_t      int_fast32_t;
76127    #ifdef _INT64_T
76128    typedef int64_t      int_fast64_t;
76129    #endif
76130
76131    typedef uint8_t      uint_fast8_t;
76132    typedef unsigned int uint_fast16_t;
76133    typedef uint32_t     uint_fast32_t;
76134    #ifdef _UINT64_T
76135    typedef uint64_t     uint_fast64_t;
76136    #endif
76137EOF
76138fi
76139
76140if test "$ac_cv_type_uintmax_t" != yes; then
76141  sed 's/^ *//' >> tmp-stdint.h <<EOF
76142
76143    /* Define intmax based on what we found */
76144    #ifndef intmax_t
76145    #ifdef _INT64_T
76146    typedef int64_t       intmax_t;
76147    #else
76148    typedef long          intmax_t;
76149    #endif
76150    #endif
76151    #ifndef uintmax_t
76152    #ifdef _UINT64_T
76153    typedef uint64_t      uintmax_t;
76154    #else
76155    typedef unsigned long uintmax_t;
76156    #endif
76157    #endif
76158EOF
76159fi
76160
76161sed 's/^ *//' >> tmp-stdint.h <<EOF
76162
76163  #endif /* GCC_GENERATED_STDINT_H */
76164EOF
76165
76166if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
76167  rm -f tmp-stdint.h
76168else
76169  mv -f tmp-stdint.h include/gstdint.h
76170fi
76171
76172 ;;
76173    "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
76174    "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
76175    "include/Makefile":F) cat > vpsed$$ << \_EOF
76176s!`test -f '$<' || echo '$(srcdir)/'`!!
76177_EOF
76178   sed -f vpsed$$ $ac_file > tmp$$
76179   mv tmp$$ $ac_file
76180   rm vpsed$$
76181   echo 'MULTISUBDIR =' >> $ac_file
76182   ml_norecursion=yes
76183   . ${multi_basedir}/config-ml.in
76184   { ml_norecursion=; unset ml_norecursion;}
76185 ;;
76186    "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
76187s!`test -f '$<' || echo '$(srcdir)/'`!!
76188_EOF
76189   sed -f vpsed$$ $ac_file > tmp$$
76190   mv tmp$$ $ac_file
76191   rm vpsed$$
76192   echo 'MULTISUBDIR =' >> $ac_file
76193   ml_norecursion=yes
76194   . ${multi_basedir}/config-ml.in
76195   { ml_norecursion=; unset ml_norecursion;}
76196 ;;
76197    "python/Makefile":F) cat > vpsed$$ << \_EOF
76198s!`test -f '$<' || echo '$(srcdir)/'`!!
76199_EOF
76200   sed -f vpsed$$ $ac_file > tmp$$
76201   mv tmp$$ $ac_file
76202   rm vpsed$$
76203   echo 'MULTISUBDIR =' >> $ac_file
76204   ml_norecursion=yes
76205   . ${multi_basedir}/config-ml.in
76206   { ml_norecursion=; unset ml_norecursion;}
76207 ;;
76208    "src/Makefile":F) cat > vpsed$$ << \_EOF
76209s!`test -f '$<' || echo '$(srcdir)/'`!!
76210_EOF
76211   sed -f vpsed$$ $ac_file > tmp$$
76212   mv tmp$$ $ac_file
76213   rm vpsed$$
76214   echo 'MULTISUBDIR =' >> $ac_file
76215   ml_norecursion=yes
76216   . ${multi_basedir}/config-ml.in
76217   { ml_norecursion=; unset ml_norecursion;}
76218 ;;
76219    "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
76220s!`test -f '$<' || echo '$(srcdir)/'`!!
76221_EOF
76222   sed -f vpsed$$ $ac_file > tmp$$
76223   mv tmp$$ $ac_file
76224   rm vpsed$$
76225   echo 'MULTISUBDIR =' >> $ac_file
76226   ml_norecursion=yes
76227   . ${multi_basedir}/config-ml.in
76228   { ml_norecursion=; unset ml_norecursion;}
76229 ;;
76230    "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
76231s!`test -f '$<' || echo '$(srcdir)/'`!!
76232_EOF
76233   sed -f vpsed$$ $ac_file > tmp$$
76234   mv tmp$$ $ac_file
76235   rm vpsed$$
76236   echo 'MULTISUBDIR =' >> $ac_file
76237   ml_norecursion=yes
76238   . ${multi_basedir}/config-ml.in
76239   { ml_norecursion=; unset ml_norecursion;}
76240 ;;
76241    "doc/Makefile":F) cat > vpsed$$ << \_EOF
76242s!`test -f '$<' || echo '$(srcdir)/'`!!
76243_EOF
76244   sed -f vpsed$$ $ac_file > tmp$$
76245   mv tmp$$ $ac_file
76246   rm vpsed$$
76247   echo 'MULTISUBDIR =' >> $ac_file
76248   ml_norecursion=yes
76249   . ${multi_basedir}/config-ml.in
76250   { ml_norecursion=; unset ml_norecursion;}
76251 ;;
76252    "po/Makefile":F) cat > vpsed$$ << \_EOF
76253s!`test -f '$<' || echo '$(srcdir)/'`!!
76254_EOF
76255   sed -f vpsed$$ $ac_file > tmp$$
76256   mv tmp$$ $ac_file
76257   rm vpsed$$
76258   echo 'MULTISUBDIR =' >> $ac_file
76259   ml_norecursion=yes
76260   . ${multi_basedir}/config-ml.in
76261   { ml_norecursion=; unset ml_norecursion;}
76262 ;;
76263    "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
76264s!`test -f '$<' || echo '$(srcdir)/'`!!
76265_EOF
76266   sed -f vpsed$$ $ac_file > tmp$$
76267   mv tmp$$ $ac_file
76268   rm vpsed$$
76269   echo 'MULTISUBDIR =' >> $ac_file
76270   ml_norecursion=yes
76271   . ${multi_basedir}/config-ml.in
76272   { ml_norecursion=; unset ml_norecursion;}
76273 ;;
76274    "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
76275
76276  esac
76277done # for ac_tag
76278
76279
76280as_fn_exit 0
76281_ACEOF
76282ac_clean_files=$ac_clean_files_save
76283
76284test $ac_write_fail = 0 ||
76285  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
76286
76287
76288# configure is writing to config.log, and then calls config.status.
76289# config.status does its own redirection, appending to config.log.
76290# Unfortunately, on DOS this fails, as config.log is still kept open
76291# by configure, so config.status won't be able to write to it; its
76292# output is simply discarded.  So we exec the FD to /dev/null,
76293# effectively closing config.log, so it can be properly (re)opened and
76294# appended to by config.status.  When coming back to configure, we
76295# need to make the FD available again.
76296if test "$no_create" != yes; then
76297  ac_cs_success=:
76298  ac_config_status_args=
76299  test "$silent" = yes &&
76300    ac_config_status_args="$ac_config_status_args --quiet"
76301  exec 5>/dev/null
76302  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
76303  exec 5>>config.log
76304  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
76305  # would make configure fail if this is the last instruction.
76306  $ac_cs_success || as_fn_exit $?
76307fi
76308if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
76309  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
76310$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
76311fi
76312
76313